[FFmpeg-user] Why is length and bitrate zero?
Michael Heuberger
michael.heuberger at binarykitchen.com
Mon Dec 19 12:17:00 EET 2016
Hi Cley
Sure, sorry for not sharing the full output earlier. Here again, the
command:
ffmpeg -f image2 -thread_queue_size 2048 -framerate 17.8 -i
/home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/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 12 -pix_fmt yuv420p -deadline realtime -cpu-used 4
/home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/videomail_preview.webm
And the full output
ffmpeg version 3.0.5-0ubuntu0.16.10.1 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 6.2.0 (Ubuntu 6.2.0-5ubuntu12) 20161005
configuration: --prefix=/usr --extra-version=0ubuntu0.16.10.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample --enable-avisynth
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librubberband --enable-librtmp --enable-libschroedinger
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libtwolame
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal
--enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint --enable-libx264
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, image2, from
'/home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/frames/%d.webp':
Duration: 00:00:02.30, start: 0.000000, bitrate: N/A
Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown),
400x300, 17.83 fps, 17.80 tbr, 17.80 tbn, 17.80 tbc
[libvpx @ 0x55b4300d8d40] v1.5.0
Output #0, webm, to
'/home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/videomail_preview.webm':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: vp8 (libvpx), yuv420p, 400x300, q=-1--1, 200
kb/s, 17.80 fps, 1k tbn, 17.80 tbc
Metadata:
encoder : Lavc57.24.102 libvpx
Side data:
unknown side data type 10 (24 bytes)
Stream mapping:
Stream #0:0 -> #0:0 (webp (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
frame= 41 fps=0.0 q=0.0 Lsize= 53kB time=00:00:02.30 bitrate=
187.8kbits/s speed=18.6x
video:52kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.400739%
Hope this gives any clues why the produced video had a length and
bitrate of zero?
Thanks
Michael
On 19/12/16 10:03, Cley Faye 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
>>
> ​Unless I missed something obvious here, the full output of ffmpeg
> (including headers) will be required to be able to tell more.
> _______________________________________________
> 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