[libav-api] Cannot open stream

Luca Barbato lu_zero at gentoo.org
Tue Jun 10 12:31:07 CEST 2014


On 06/06/14 09:26, Manuel Torres wrote:
> Hello,
> 
> I have a H264 video stream that I cannot open with my libav-based code. I
> tested it with avplay and I got a number of the following traces:
> 
> [h264 @ 02F2F400] non-existing PPS referenced
> [h264 @ 02F2F400] non-existing PPS 0 referenced
> [h264 @ 02F2F400] decode_slice_header error
> [h264 @ 02F2F400] no frame!
> 
> Then these:
> 
> [rtsp @ 0191F5E0] max_analyze_duration reached
> [rtsp @ 0191F5E0] Estimating duration from bitrate, this may be inaccurate
> Input #0, rtsp, from [URL ommited]:
>   Metadata:
>     title           : Live
>   Duration: N/A, start: 536870.810000, bitrate: N/A
>     Stream #0.0: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
>     Stream #0.1: Video: h264, 25 fps, 25 tbr, 90k tbn
>     Stream #0.2: Data: [0][0][0][0] / 0x0000
> [buffer @ 02F33820] Invalid pixel format string '-1'
> [h264 @ 02F2F400] non-existing PPS referenced
>     Last message repeated 460 times
> 
> The video was not displayed either.
> 
> I tested with VLC and it does open the stream.
> 
> I would really appreciate if someone could help.

Looks like the sps is somehow missing.

lu



More information about the libav-api mailing list