[FFmpeg-user] UDP converting
Mārtiņš Bisenieks
martins.bisenieks at coastcore.com
Wed Jun 1 15:19:52 CEST 2011
Hi
I'm trying to encode udp live stream and send to wowza meda server with
ffmpeg. At the beginning ffmpeg works fine but after some errors it
crashes and dont do anything. Mybe someone can help me with this.
There is my console log:
martins at topaz:~$ ffmpeg -i "udp://225.1.1.4:5000" -vcodec libx264 -vpre
baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar
48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts
udp://127.0.0.1:10000?pkt_size=1316
ffmpeg version git-N-30421-gc328122, Copyright (c) 2000-2011 the FFmpeg
developers
built on May 30 2011 13:45:56 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 51. 3. 0 / 51. 3. 0
libavcodec 53. 6. 1 / 53. 6. 1
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 1. 0 / 53. 1. 0
libavfilter 2. 11. 0 / 2. 11. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegts @ 0x26b23e0] Unable to seek back to the start
[mpeg2video @ 0x26b3560] mpeg_decode_postinit() failure
Last message repeated 7 times
[mpegts @ 0x26b23e0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x26b23e0] Estimating duration from bitrate, this may be
inaccurate
Input #0, mpegts, from 'udp://225.1.1.4:5000':
Duration: N/A, start: 90805.007222, bitrate: 4192 kb/s
Program 113
Stream #0.0[0x65]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
16:15 DAR 4:3], 4000 kb/s, 26.27 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x66](eng): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
[buffer @ 0x274c5e0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15
sws_param:
[libx264 @ 0x26cabe0] Default settings detected, using medium profile
[libx264 @ 0x26cabe0] using SAR=16/15
[libx264 @ 0x26cabe0] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x26cabe0] profile High, level 3.0
[mpegts @ 0x26ab040] muxrate VBR, pcr every 2 pkts, sdt every 200,
pat/pmt every 40 pkts
Output #0, mpegts, to 'udp://127.0.0.1:10000?pkt_size=1316':
Metadata:
encoder : Lavf53.2.0
Stream #0.0: Video: libx264, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
q=2-31, 150 kb/s, 90k tbn, 25 tbc
Stream #0.1(eng): Audio: libfaac, 48000 Hz, stereo, s16, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpeg2video @ 0x26b3560] warning: first frame is no keyframe
[udp @ 0x26b2960] circular_buffer: OVERRUN time=9.08 bitrate=
316.0kbits/s dup=9 drop=0
frame= 520 fps= 18 q=50.0 size= 693kB time=19.08 bitrate=
297.7kbits/s dup=9 drop=0
--
Coast Core
*Mārtiņš Bisenieks*
Lead programmer
Phone: +371 26129622
E-mail: martins.bisenieks at coastcore.com
Web: http://www.coastcore.com
More information about the ffmpeg-user
mailing list