
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (97)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (7148)
-
avformat/movenc : Do not pass AVCodecParameters in avpriv_request_sample
27 juin 2018, par Michael Niedermayeravformat/movenc : Do not pass AVCodecParameters in avpriv_request_sample
Fixes : out of array read
Fixes : ffmpeg_crash_8.aviFound-by : Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to detect the real orientation of a video recorded by mobile with "auto rotate" disabled
28 octobre 2022, par FlamingMoeWhen you record a video, the rotation metadata has 4 possible values (0, 90, 180 and 270) and it stores how the device was held when starting the recording.


But mobile phones has also a feature to enable or disable "auto rotation" of screen.


It's very typical, nowadays, to have that feature disable, and many people record videos with the phone horizontally, but since the "auto rotation" is disable, the metadata stores like the video was recorded as vertically.


How to handle this ?


-
Why ANativeWindow_Buffer.stride is different for different devices
17 août 2020, par user2578525I am writing simple video player using ffmpeg for android. Following are the steps I followed


- 

- Read AVFrame from file
- Convert AVFrame to RGB565 format using
sws_scale
- Get buffer from using
av_image_copy_to_buffer
- Display this buffer to
SurfaceView
by copying buffer toANativeWindow_Buffer










Most of the videos are playing fine, but there is issue with videos which have lower resolution than window. For ex, when I play a 656x480 video on my OnePlus 7T (2206x1080), video looks distorted. The same video plays fine on emulator (2160x1080).


When I debugged whole pipe, I found that on OP7T, after locking
ANativeWindow
,ANativeWindow_Buffer.stride
was set to 704 instead of 656. For all videos which plays normal, stride is same as width of buffer. The same is not the case with Android emulator.

I did some trials and tried to scale width to 600, then stride jumped to 640 and video was distorted. When I scaled width to 640, video was displayed vertically half correct.


Can anyone help me understand, How stride is calculated ? And What is the reason stride is wrongly calculated ?


I found one same problem here : Simple FFMpeg player for Android
OP mentions that video works fine for 640, 1280, 1920.