[FFmpeg-user] Why is length and bitrate zero?

Michael Heuberger michael.heuberger at binarykitchen.com
Mon Dec 19 12:21:56 EET 2016


Hi Carl

Nice one.

The first command

$ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv

resulted into a video whose length is 00:00:10 but with a bitrate of 0
kbps (says my SMPlayer)

The second command is exactly the same. Defined length 00:00:10 but zero
bitrate on the SMPlayer.

- Michael

On 19/12/16 13:53, Carl Eugen Hoyos wrote:
> 2016-12-18 21:57 GMT+01:00 Michael Heuberger
> <michael.heuberger at binarykitchen.com>:
>
>> ffmpeg -f image2 -thread_queue_size 2048 -framerate 18.9 -i
>> /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/frames/%d.webp
>> -y -an -vcodec libvpx -filter:v
>> drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1:shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2
>> -crf 8 -pix_fmt yuv420p -deadline good -cpu-used 1 -loglevel warning
>> /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/uploads/videomail.io/videomail/11e6/c1/e3/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/videomail_good.webm
> Apart from what Cley wrote (complete, uncut console output missing),
> please note that questions with "-loglevel warning" are only acceptable
> if you have a question about loglevel, please remove it.
>
> Is the issue reproducible with one of the following command lines?
> $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv
> $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx -crf
> 8 out2.mkv
> (You do agree that if one of the two command lines allow to reproduce
> the issue, it will be much easier to track it down, no?)
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

-- 

Binary Kitchen
Michael Heuberger
1/33 Parrish Road
Sandringham
Auckland 1025
(New Zealand)

Mobile (text only) ...  +64 21 261 89 81
Email ................  michael at binarykitchen.com
Website ..............  http://www.binarykitchen.com



More information about the ffmpeg-user mailing list