root@ubuntu:/tmp# cat test.sdp
v=0
o=SerTest 0 0 IN IP4 0.0.0.0
s=-
c=IN IP4 0.0.0.0
t=0 0
m=video 30010 RTP/AVP 100
a=rtpmap:100 H264/90000
a=recvonly
root@ubuntu:/tmp# ffmpeg -i /tmp/test.sdp -g 5 -c copy -f flv rtmp://localhost/hls/test
ffmpeg version N-76045-g97be5d4 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
libavutil 55. 4.100 / 55. 4.100
libavcodec 57. 6.100 / 57. 6.100
libavformat 57. 4.100 / 57. 4.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x3bb50c0] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3bb50c0] decode_slice_header error
[h264 @ 0x3bb50c0] no frame!
[h264 @ 0x3bb50c0] non-existing PPS 0 referenced
Last message repeated 1 times
Any hint for the issue is appreciated.
Thanks!
在 2015年9月1日星期二 UTC+8上午7:27:15,Mark Hassman写道: