[FFmpeg-user] set image width only?

lovelove googol at wolke7.net
Fri Sep 9 11:19:27 CEST 2011


Tim Nicholson wrote:
> 
> ffmpeg.exe -i inputfile.avi -vsync 0 -vf 
> "select=eq(pict_type\,PICT_TYPE_I), scale=400:-1" -f image2 
> outputfile.AVI-%03d.tif
> 

just to confirm that this works and to thank you.

What I find extremely curious, is that this command doesn't generate a
console output with repeating lines. The output is as follows:

frame=    1 fps=  0 q=0.0 size=      -0kB time=00:00:00.04 bitrate= 
-4.4kbits/s
frame=    2 fps=  0 q=0.0 size=      -0kB time=00:00:03.04 bitrate= 
-0.1kbits/s
frame=    3 fps=  2 q=0.0 size=      -0kB time=00:00:06.04 bitrate= 
-0.0kbits/s
frame=    4 fps=  2 q=0.0 size=      -0kB time=00:00:09.04 bitrate= 
-0.0kbits/s
frame=    5 fps=  2 q=0.0 size=      -0kB time=00:00:12.04 bitrate= 
-0.0kbits/s
frame=    6 fps=  2 q=0.0 size=      -0kB time=00:00:15.04 bitrate= 
-0.0kbits/s
frame=    7 fps=  2 q=0.0 size=      -0kB time=00:00:18.04 bitrate= 
-0.0kbits/s
frame=    8 fps=  2 q=0.0 size=      -0kB time=00:00:21.04 bitrate= 
-0.0kbits/s
frame=    9 fps=  2 q=0.0 size=      -0kB time=00:00:24.04 bitrate= 
-0.0kbits/s
frame=   10 fps=  2 q=0.0 size=      -0kB time=00:00:27.04 bitrate= 
-0.0kbits/s
frame=   11 fps=  2 q=0.0 size=      -0kB time=00:00:30.04 bitrate= 
-0.0kbits/s
[...]

whereas 

*ffmpeg.exe -i inputfile.flv -r 0.1 -f image2 output-%03d.jpeg*

generates repeating lines in console and is much slower (hence my fear that
each output image is overwritten several times, thus slowing down the
process). Is there something wrong with the command?

frame=    2 fps=  0 q=2.7 size=      -0kB time=00:00:20.00 bitrate= 
-0.0kbits/s 
frame=    2 fps=  0 q=2.7 size=      -0kB time=00:00:20.00 bitrate= 
-0.0kbits/s 
frame=    2 fps=  1 q=2.7 size=      -0kB time=00:00:20.00 bitrate= 
-0.0kbits/s 
frame=    2 fps=  1 q=2.7 size=      -0kB time=00:00:20.00 bitrate= 
-0.0kbits/s 
frame=    3 fps=  1 q=1.6 size=      -0kB time=00:00:30.00 bitrate= 
-0.0kbits/s 
frame=    3 fps=  1 q=1.6 size=      -0kB time=00:00:30.00 bitrate= 
-0.0kbits/s 
frame=    3 fps=  1 q=1.6 size=      -0kB time=00:00:30.00 bitrate= 
-0.0kbits/s 
frame=    3 fps=  1 q=1.6 size=      -0kB time=00:00:30.00 bitrate= 
-0.0kbits/s 
frame=    3 fps=  1 q=1.6 size=      -0kB time=00:00:30.00 bitrate= 
-0.0kbits/s 
frame=    3 fps=  1 q=1.6 size=      -0kB time=00:00:30.00 bitrate= 
-0.0kbits/s 
frame=    4 fps=  1 q=1.6 size=      -0kB time=00:00:40.00 bitrate= 
-0.0kbits/s 
frame=    4 fps=  1 q=1.6 size=      -0kB time=00:00:40.00 bitrate= 
-0.0kbits/s 
frame=    4 fps=  1 q=1.6 size=      -0kB time=00:00:40.00 bitrate= 
-0.0kbits/s 
frame=    4 fps=  1 q=1.6 size=      -0kB time=00:00:40.00 bitrate= 
-0.0kbits/s 
frame=    4 fps=  1 q=1.6 size=      -0kB time=00:00:40.00 bitrate= 
-0.0kbits/s 
frame=    4 fps=  0 q=1.6 size=      -0kB time=00:00:40.00 bitrate= 
-0.0kbits/s 
frame=    5 fps=  1 q=1.6 size=      -0kB time=00:00:50.00 bitrate= 
-0.0kbits/s 
frame=    5 fps=  1 q=1.6 size=      -0kB time=00:00:50.00 bitrate= 
-0.0kbits/s 
frame=    5 fps=  1 q=1.6 size=      -0kB time=00:00:50.00 bitrate= 
-0.0kbits/s 
frame=    5 fps=  0 q=1.6 size=      -0kB time=00:00:50.00 bitrate= 
-0.0kbits/s 
frame=    5 fps=  0 q=1.6 size=      -0kB time=00:00:50.00 bitrate= 
-0.0kbits/s 
frame=    5 fps=  0 q=1.6 size=      -0kB time=00:00:50.00 bitrate= 
-0.0kbits/s




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/set-image-width-only-tp3797158p3801166.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list