[FFmpeg-user] [ffmpeg-user] Remove/reduce streaming errors
Massimo Battistel
battistel at gmail.com
Sat Feb 2 15:00:06 CET 2013
hi,
I'm streaming from a webcam this way:
ffmpeg -re -f dshow -i video="Logitech QuickCam Communicate
STX":audio="Logitech Mic (Communicate STX)" -vcodec libx264 -s 320x240 -g
15 -r 15 -q:v 1 -acodec libmp3lame -q:a 1 -f mpegts udp://192.168.0.27:1200
ffmpeg version N-48241-g9e04e11 Copyright (c) 2000-2012 the FFmpeg
developers
built on Dec 27 2012 23:42:19 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.102 / 54. 50.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[dshow @ 02499020] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=Logitech QuickCam Communicate
STX:audio=Logitech Mic (Communicate STX)':
Duration: N/A, start: 16440.677000, bitrate: 1411 kb/s
Stream #0:0: Video: rawvideo, bgr24, 320x240, 15 fps, 15 tbr, 10000k
tbn, 15 tbc
Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
[libx264 @ 025ad540] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 025ad540] profile High 4:4:4 Predictive, level 1.2, 4:4:4 8-bit
Output #0, mpegts, to 'udp://192.168.0.27:1200':
Metadata:
encoder : Lavf54.50.102
Stream #0:0: Video: h264, yuv444p, 320x240, q=-1--1, 90k tbn, 15 tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> libx264)
Stream #0:1 -> #0:1 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
First question: do I have to worry about:
A. [dshow @ 02499020] Estimating duration from bitrate, this may be
inaccurate
B. Guessed Channel Layout for Input Stream #0.1 : stereo
And if so, how to fix?
## phase 2: playing stream ##
ffplay udp://192.168.0.27:1200
ffplay version N-48241-g9e04e11 Copyright (c) 2003-2012 the FFmpeg
developers
built on Dec 27 2012 23:42:19 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.102 / 54. 50.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mpegts @ 02587e60] Unable to seek back to the start
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[h264 @ 02599840] non-existing PPS referenced
[h264 @ 02599840] non-existing PPS 0 referenced
[h264 @ 02599840] decode_slice_header error
[h264 @ 02599840] no frame!
[mpegts @ 02587e60] max_analyze_duration 5000000 reached at 5015467
[mpegts @ 02587e60] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://192.168.0.27:1200':
Duration: N/A, start: 35.563222, bitrate: 80 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive) ([27][0][0][0]
/ 0x001B), yuv444p, 320x240, 15 fps, 15 tbr, 90k tbn, 30 tbc
Stream #0:1[0x101]: Audio: mp3 ([3][0][0][0] / 0x0003), 44100 Hz,
stereo, s16p, 80 kb/s
[h264 @ 03627be0] reference picture missing during reorder
Last message repeated 3 times
[h264 @ 03627be0] Missing reference picture, default is 0
[h264 @ 03627be0] decode_slice_header error
[h264 @ 03627be0] concealing 300 DC, 300 AC, 300 MV errors in P frame
[h264 @ 035c2fc0] Missing reference picture, default is 65552
[h264 @ 0363a220] reference picture missing during reorder
Last message repeated 1 times
[h264 @ 0363a220] Missing reference picture, default is 65552
Last message repeated 1 times
[h264 @ 03627be0] reference picture missing during reorder
[h264 @ 03627be0] Missing reference picture, default is 65554
[h264 @ 035c2fc0] mmco: unref short failure
Last message repeated 1 times
Frame changed from size:0x0 to size:320x240
[mpegts @ 02587e60] PES packet size mismatch
The stream, after the previous errors (they apper just before the video
window is displayed), works well with no problems.
Are all the previous messages shown because ffplay is waiting for key frame?
How to make them disapper?
thanks,
Massimo
More information about the ffmpeg-user
mailing list