
Recherche avancée
Autres articles (102)
-
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 : (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (6681)
-
swscale/swscale_unscaled : Fix odd height with nv24_to_yuv420p_chroma()
22 septembre 2024, par Michael Niedermayerswscale/swscale_unscaled : Fix odd height with nv24_to_yuv420p_chroma()
Fixes : out of array read
Fixes : 71726/clusterfuzz-testcase-ffmpeg_SWS_fuzzer-5876893532880896
Fixes : 377735917/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-6686071112400896Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Approved-by : Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
ffmpeg - force_original_aspect_ratio=increase - stretches video height but not width [closed]
10 février, par RhysI am trying to concat 3 videos. But the middle video, is only stretching in height.


test1.mp4
test2.mkv
test3.gif



Which have been encoded into mp4s with ffmpeg


test1.mp4
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 720x1280 [SAR 1:1 DAR 9:16], 30 fps, 30 tbr, 90k tbn

test2.mp4
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 538x662 [SAR 1:1 DAR 269:331], 30 fps, 30 tbr, 90k tbn

test3.mp4
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 333x592 [SAR 1:1 DAR 9:16], 30 fps, 30 tbr, 90k tbn



When I attempt the concat them.
test3.gif
scales up to fit the screen. Buttest2.mkv
only scales up its height to fit the screen. (Its width does not increase to match)

When using, force_original_aspect_ratio=decrease,
test2.mkv
has correct aspect ratio (does not stretch) ... but does not stretch to fit screen (1280x720) ... it just sits in the middle of the screen like a thumbnail. Whereastest3.gif
correctly scales up to fit the screen.

When using, force_original_aspect_ratio=increase,
test2.mkv
has the incorrect aspect ratio (only the height scales up to fit the screen) ... but the width does not scale up and the video appears squashed in width.

These are the codes I am using for both examples,


force_original_aspect_ratio=increase


ffmpeg -f concat -i mylist.txt -vf scale=force_original_aspect_ratio=increase,setsar=1 merged_video2.mp4



force_original_aspect_ratio=decrease


ffmpeg -f concat -i mylist.txt -vf "scale=720:1280:force_original_aspect_ratio=decrease:eval=frame,pad=720:1280:-1:-1:color=black" merged_video2.mp4



Question


How can I get test2.mkv width to scale up with the height ? So the aspect ratio stays fixed.


test2.mkv has a DAR 269:331 and the other 2 videos both have, DAR 9:16 ... could this be causing the problem ?


-
resample : update copyright years, they where incorrect.
10 avril 2012, par Michael Niedermayerresample : update copyright years, they where incorrect.