[FFmpeg-user] Errors in ffmpeg while trying to encode dvb-stream

Roger Pack rogerdpack2 at gmail.com
Wed Oct 10 18:49:06 CEST 2012


> [h264 @ 000000000217f8c0] sps_id out of range
> [h264 @ 000000000217f8c0] non-existing SPS 1 referenced in buffering period
> [h264 @ 000000000217f8c0] non-existing PPS referenced
> [h264 @ 000000000217f8c0] sps_id out of range
> [h264 @ 000000000217f8c0] non-existing SPS 1 referenced in buffering period
> [h264 @ 000000000217f8c0] non-existing PPS 0 referenced
> [h264 @ 000000000217f8c0] decode_slice_header error
> [h264 @ 000000000217f8c0] no frame!
> [mpegts @ 000000000217ec60] Estimating duration from bitrate, this may be
> inaccurate
> Input #0, mpegts, from 'http://@127.0.0.1:1234':
>   Duration: N/A, start: 57640.335200, bitrate: 640 kb/s
>   Program 1131
>     Stream #0:0[0x1022]: Video: h264 (High) ([27][0][0][0] / 0x001B),
> yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 60.82 fps, 50 tbr, 90k tbn, 50 tbc
>     Stream #0:1[0x1222](swe): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz,
> stereo, s16, 640 kb/s

Wow something seems messed up. What if you save to a file first does
it fail similarly?


> bitrate=3893.2kbits/s dup=41 drop=0
> frame=14375 fps= 25 q=24.0 size=  272853kB time=00:09:34.24
> bitrate=3892.5kbits/s dup=41 drop=0
> frame=14389 fps= 25 q=24.0 size=  273142kB time=00:09:34.78
> bitrate=3892.9kbits/s dup=41 drop=0
> frame=14402 fps= 25 q=24.0 size=  273323kB time=00:09:35.29
> bitrate=3892.0kbits/s dup=41 drop=0
>
> This is the most stable pc we are using this line with
> and it doesn't really matter what crf we´re using :/ .
>
> With the other computer we either get some errors at intervals of about
> every 30-50 seconds or ffmpeg freezes randomly.

You could try running ffmpeg_g through gdb and ctrl+c to interrupt it
after it pauses, to see where the threads are.

http://rogerdpack.t28.net/incoming/ffmpeg_distros/ffmpeg-distro-static-2012-10-10-73ad355d23ab0db0c3de098932a2691a42930ee2.debug_symbols.7z

Be aware that that particular build uses a windows posix thread
wrapper (so doesn't use ffmpeg windows native threads) so that might
affect your results, though I can't quite imagine how with an http
input source.
GL!
-r


More information about the ffmpeg-user mailing list