[FFmpeg-user] trying to add a color screen to a radio input

JULIAN GARDNER joolzg at btinternet.com
Tue Mar 19 12:08:31 CET 2013



>________________________________
> From: Paul B Mahol <onemda at gmail.com>
>To: FFmpeg user questions <ffmpeg-user at ffmpeg.org> 
>Sent: Tuesday, 19 March 2013, 11:46
>Subject: Re: [FFmpeg-user] trying to add a color screen to a radio input
> 
>On 3/19/13, JULIAN GARDNER <joolzg at btinternet.com> wrote:
>>
>>
>>>________________________________
>>> From: JULIAN GARDNER <joolzg at btinternet.com>
>>>To: F Fmpeg user questions andRTFMs <ffmpeg-user at ffmpeg.org>
>>>Sent: Saturday, 16 March 2013, 23:45
>>>Subject: [FFmpeg-user] trying to add a color screen to a radio input
>>>
>>>I have this running on an old version 33000, but on a newer build i get
>>> 1000 fps+
>>>
>>>my command line for the old one is
>>>
>>>-i "http://http-live.sr.se/p1-mp3-192';; -metadata service_name="SVT P1" -f
>>> lavfi -i color=black:qcif:25 -vcodec libx264 -preset faster -x264opts
>>> keyint=75:bitrate=100 -bufsize 1M -r 25 -acodec libfaac -ab 128k -ar 32k
>>> -ac 2 -f mpegts
>>> "udp://225.170.150.32:1234?pkt_size=1316;buffer_size=1048576"
>>>
>>>This works, but running this on a new ffmpeg i get fps over 1000 for the
>>> above, now i changed this to
>>>
>>>So i change a test one to
>>>
>>>ffmpeg -i
>>> "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio1_p?s=1361437907&e=1361452307&h=69ffe22fd4569876fc2ecba42df034d9";;
>>> -metadata service_name="BBC Radio 1" -f lavfi -i color=r=25 -vcodec
>>> libx264 -preset faster -x264opts keyint=75:bitrate=100 -bufsize 1M -r 25
>>> -acodec libfaac -ab 128k -ar 32k -ac 2 -f mpegts
>>> "udp://225.170.200.32:1234?pkt_size=1316;buffer_size=1048576"
>>>
>>>and the output is
>>>
>>>ffmpeg version N-50481-ge228270 Copyright (c) 2000-2013 the FFmpeg
>>> developers
>>>  built on Mar  5 2013 10:29:56 with gcc 4.6.1 (Ubuntu/Linaro
>>> 4.6.1-9ubuntu3)
>>>  configuration: --enable-gpl --enable-version3 --enable-nonfree
>>> --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libx264
>>>  libavutil      52. 17.103 / 52. 17.103
>>>  libavcodec     54. 92.100 / 54. 92.100
>>>  libavformat    54. 63.102 / 54. 63.102
>>>  libavdevice    54.  3.103 / 54.  3.103
>>>  libavfilter     3. 41.100 /  3. 41.100
>>>  libswscale      2.  2.100 /  2.  2.100
>>>  libswresample   0. 17.102 /  0. 17.102
>>>  libpostproc    52.  2.100 / 52.  2.100
>>>[aac @ 0x190b960] max_analyze_duration 5000000 reached at 5024000
>>> microseconds
>>>[aac @ 0x190b960] Estimating duration from bitrate, this may be inaccurate
>>>Input #0, aac, from
>>> 'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio1_p?s=1361437907&e=1361452307&h=69ffe22fd4569876fc2ecba42df034d9';;:
>>>  Duration: N/A, bitrate: 55 kb/s
>>>    Stream #0:0: Audio: aac, 32000 Hz, stereo, fltp, 55 kb/s
>>>[lavfi @ 0x191fb80] Estimating duration from bitrate, this may be
>>> inaccurate
>>>Input #1, lavfi, from 'color=r=25':
>>>  Duration: N/A, start: 0.000000, bitrate: N/A
>>>    Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR
>>> 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
>>>[libx264 @ 0x1921a40] VBV maxrate unspecified, assuming CBR
>>>[libx264 @ 0x1921a40] using SAR=1/1
>>>[libx264 @ 0x1921a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
>>> AVX
>>>[libx264 @ 0x1921a40] profile High, level 1.3
>>>Output #0, mpegts, to
>>> 'udp://225.170.200.32:1234?pkt_size=1316;buffer_size=1048576':
>>>  Metadata:
>>>    encoder         : Lavf54.63.102
>>>    Stream #0:0: Video: h264, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1,
>>> 100 kb/s, 90k tbn, 25 tbc
>>>    Stream #0:1: Audio: aac, 32000 Hz, stereo, s16, 128 kb/s
>>>Stream mapping:
>>>  Stream #1:0 -> #0:0 (rawvideo -> libx264)
>>>  Stream #0:0 -> #0:1 (aac -> libfaac)
>>>Press [q] to stop, [?] for help
>>>frame= 4209 fps=869 q=32766.0 Lsize=    1036kB time=00:02:48.28 bitrate=
>>> 50.4kbits/s
>>>video:76kB audio:193kB subtitle:0 global headers:0kB muxing overhead
>>> 284.644791%
>>>[libx264 @ 0x1921a40] frame I:57    Avg QP: 0.00  size:   118
>>>[libx264 @ 0x1921a40] frame P:1066  Avg QP: 0.00  size:    19
>>>[libx264 @ 0x1921a40] frame B:3086  Avg QP: 0.02  size:    17
>>>[libx264 @ 0x1921a40] consecutive B-frames:  1.4%  2.7%  0.0% 96.0%
>>>[libx264 @ 0x1921a40] mb I  I16..4: 99.7%  0.0%  0.3%
>>>[libx264 @ 0x1921a40] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%
>>> 0.0%  0.0%  0.0%    skip:100.0%
>>>[libx264 @ 0x1921a40] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%
>>> 0.0%  direct: 0.0%  skip:100.0%
>>>[libx264 @ 0x1921a40] 8x8 transform intra:0.0%
>>>[libx264 @ 0x1921a40] coded y,uvDC,uvAC intra: 0.1% 0.0% 0.0% inter: 0.0%
>>> 0.0% 0.0%
>>>[libx264 @ 0x1921a40] i16 v,h,dc,p: 94%  0%  6%  0%
>>>[libx264 @ 0x1921a40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%
>>> 0%  0%  0%  0%
>>>[libx264 @ 0x1921a40] i8c dc,h,v,p: 100%  0%  0%  0%
>>>[libx264 @ 0x1921a40] Weighted P-Frames: Y:0.0% UV:0.0%
>>>[libx264 @ 0x1921a40] kb/s:3.72
>>>
>>>Im still getting over 900 fps, any ideas?
>>>
>>>joolz
>>>_______________________________________________
>>>ffmpeg-user mailing list
>>>ffmpeg-user at ffmpeg.org
>>>http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>>>
>>>
>>
>> Anybody help?
>>
>> I have just tried mandlbrot and life and with a =rate=25 in each, get 700
>> and 300 fps for each.
>>
>> So it would seem that the rate does not work, or am i doing something
>> wrong.
>>
>> joolz
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>Did you got/read previous reply?
>_______________________________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user

OK solved, need a "-re" before the input.

joolz


More information about the ffmpeg-user mailing list