
Recherche avancée
Autres articles (101)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (6202)
-
avcodec/hevc_filter : copy_CTB() only within width&height
21 juillet 2022, par Michael Niedermayeravcodec/hevc_filter : copy_CTB() only within width&height
Fixes : out of array access
Fixes : 49271/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5424984922652672Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to fix height-width problem with ffmpeg when producing a video from a bunch of images ?
26 juillet 2022, par Pratik MullickI am using
ffmpeg
to produce a video from a set of .png images. All the images have :width = 4251 pixels
,height = 2834 pixels
, which I can not change. When I use the following code :

ffmpeg -start_number 1 -r:v 40 -i "plot_%01d.png" -codec:v libx264 -preset veryslow -pix_fmt yuv422p -crf 28 -an "video.mp4" -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"



it yields an error :.


[libx264 @ 0x5619ad3ba600] width not divisible by 2 (4251x2834)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!



How to fix this ? Thanks for your help !


-
Incorrect height for U and V channel when creating video from jpgs using ffmpeg
27 juillet 2022, par Chu BunI use the method in the ffmpeg source sample decode_video.c to decode a series of jpgs into AVFrames. Then use the method in the sample encode_video.c to combine the AVFrames into a video file.


AV_CODEC_ID_MJPEG is used to set up the decoder for the jpgs. The output frames have the format AV_PIX_FMT_YUVJ422P which has (full-width x full-height) Y-channel, and (half-width x full-height) U and V channels. The problem is when I try to encode the frames, ffmpeg seems to expect (half-width x half-height) U and V channels. As a result the colors are stretch in the vertical direction and do not match with the image in the Y-channel.


I could not figure out how to either decode the jpgs into YUV420 (half-width x half-height) frames, or encode frames in YUV422 format. Any pointers ?