
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Sur d’autres sites (2120)
-
avformat/avio : Document the end of list case in avio_read_dir()
27 mars 2015, par Michael Niedermayer -
avfilter/vf_showinfo : Fix erroneous results for mean and stdev with pixel bits >8
6 janvier 2020, par Limin Wangavfilter/vf_showinfo : Fix erroneous results for mean and stdev with pixel bits >8
Have tested with be and le pixel format on be and le system for >8bit.
System :
lmwang@ubuntu : /ffmpeg.git.mips$ grep HAVE_BIGENDIAN config.h
ffmpeg.git git :(showinfo) ✗ grep HAVE_BIGENDIAN config.hTest result :
1, yuv420p
./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo
Master :
mean :[16 128 128] stdev :[0.0 0.0 0.0]
After applied the patch :
mean :[16 128 128] stdev :[0.0 0.0 0.0]2, yuv420p10le
./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p10le,showinfo
Master :
mean :[32 1 1] stdev :[32.0 1.0 1.0]
After applied the patch :
mean :[64 512 512] stdev :[0.0 0.0 0.0]3, yuv420p10be
./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p10be,showinfo
Master :
mean :[32 1 1] stdev :[32.0 1.0 1.0]
After applied the patch :
mean :[64 512 512] stdev :[0.0 0.0 0.0]Signed-off-by : Limin Wang <lance.lmwang@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to get dimension and aspect ratio of input video and pass it as param to another input in the same command ?
2 mars 2020, par theapache64I’ve a
mp4
file. I want to create an input color feed with samedimension
andsample aspect ratio
. Currently, I useffprobe
to getdimension
andsar
as a separate command and pass it toffmpeg
command manually.ffmpeg -y
-i input.mp4
-i bgm.mp3
-f lavfi -i color=c=black :s="1280"x"544":sar=1299/1280:d=3.0
-filter_complex ...Is there any way to get
dimension
andsar
of first input video to-f lavfi -i color
.Something like
-f lavfi -i color=c=black:s="widthOfFirstVideo"x"heightOfFirstVideo":sar=sarOfFirstVideo:d=3.0