[FFmpeg-devel] Bypass video H264 IP UDP Multicast over FLV RTMP
Dang Duc Hung
ddhung at vasc.com.vn
Wed Nov 19 07:43:38 CET 2014
This is ouput full message when I run ffmpeg
[root at Flexi108 ~]# ffmpeg -i udp://x.x.x.x:x -vcodec copy -acodec aac -strict -2 -b:a 32k -ac 1 -ar 32000 -f flv "rtmp://x.x.x.x/ app=x playpath=x"
ffmpeg version N-55517-g640a36a Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 19 2014 10:52:59 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-librtmp --enable-libfreetype --enable-pthreads --extra-cflags=-fPIC
libavutil 52. 42.100 / 52. 42.100
libavcodec 55. 27.100 / 55. 27.100
libavformat 55. 13.102 / 55. 13.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 82.100 / 3. 82.100
libswscale 2. 4.100 / 2. 4.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] non-existing PPS referenced
[h264 @ 0x138cce0] non-existing PPS 0 referenced
[h264 @ 0x138cce0] decode_slice_header error
[h264 @ 0x138cce0] no frame!
[h264 @ 0x138cce0] mmco: unref short failure
Last message repeated 5 times
Input #0, mpegts, from 'udp://x.x.x.x:x':
Duration: N/A, start: 36360.007233, bitrate: 384 kb/s
Program 334
Metadata:
service_name : HD Channel
service_provider:
Stream #0:0[0x2a]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:1[0x2b]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 t bc
Stream #0:2[0x30]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Output #0, flv, to 'rtmp://x.x.x.x/ app=x playpath=x':
Metadata:
encoder : Lavf55.13.102
Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn, 90k tbc
Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 32000 Hz, mono, fltp, 32 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (mp2 -> aac)
Press [q] to stop, [?] for help
[flv @ 0x1383760] Failed to update header with correct duration.ate=6720.7kbits/s
[flv @ 0x1383760] Failed to update header with correct filesize.
frame= 7904 fps= 51 q=-1.0 Lsize= 132279kB time=00:02:40.31 bitrate=6759.6kbits/s
video:131415kB audio:626kB subtitle:0 global headers:0kB muxing overhead 0.179916%
Received signal 2: terminating.
You have new mail in /var/spool/mail/root
Best Regards
Đặng Đức Hưng
-----Original Message-----
From: ffmpeg-devel-bounces at ffmpeg.org [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Steven Liu
Sent: Wednesday, November 12, 2014 7:44 AM
To: and patches development discussions FFmpeg
Cc: Steven Liu; Tran Phung Tho Anh; ddhung at vasc.com.vn
Subject: Re: [FFmpeg-devel] Bypass video H264 IP UDP Multicast over FLV RTMP
> On Nov 5, 2014, at 4:36 PM, Dang Duc Hung <ddhung at vasc.com.vn> wrote:
>
> Hi
>
> I’m using FFmpeg to convert UDP video to RTMP like that
>
> ffmpeg -i "udp://x.x.x.x:xxx -vcodec copy -acodec aac -strict -2 -b:a 32k -ac 1 -ar 32000 -f flv "rtmp://x.x.x.x/ app=testtv playpath=high"
>
> And then convert RTMP output to HLS by Server
>
> But when I use VLC player or other player to play link HLS, I only hear audio don’t see Video.
>
> Please give me some advise.
>
>
the full output message here please.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list