[FFmpeg-user] Ffplay problem for dynamic stream switch

Yevgen Voronetskyy yvoronetskyy at heliostech.hk
Thu May 1 18:41:00 CEST 2014


Hi everyone,

I have a Wowza 4 server which serves the live RTMP streams.
One of the stream feature we have is to add some video effects on live streams (logo, blurring, etc). This is done through ffmpeg filters which connects to the initial stream and transcode the video.

Actually, the Flash players can interpret well this switch, there is one second lag, and after transcoded video is played correctly.

For some reason, I need to read the same stream with ffplay command. And here, I get some strange error - fflplay can’t read properly the stream after the switch.
FFplay outputs the following:
——
h264 @ 0x7ffd33827000] decode_slice_header error
[h264 @ 0x7ffd33815600] deblocking_filter_idc 5 out of rangef=30/30
[h264 @ 0x7ffd33826a00] [h264 @ 0x7ffd33815600] top block unavailable for requested intra mode at 17 0
decode_slice_header error
[h264 @ 0x7ffd33826a00] error while decoding MB 17 0
[h264 @ 0x7ffd33826a00] Inconsistent MMCO state between slices [4, 1]
[h264 @ 0x7ffd33826a00] top block unavailable for requested intra4x4 mode -1 at 9 15
[h264 @ 0x7ffd33826a00] error while decoding MB 9 15
[h264 @ 0x7ffd33827000] left block unavailable for requested intra mode at 0 5
[h264 @ 0x7ffd33827000] error while decoding MB 0 5
[h264 @ 0x7ffd33827000] reference count overflow
[h264 @ 0x7ffd33827000] decode_slice_header error
[h264 @ 0x7ffd33815600] top block unavailable for requested intra mode at 0 0
[h264 @ 0x7ffd33815600] error while decoding MB 0 0
[h264 @ 0x7ffd33826a00] negative number of zero coeffs at 2 0
[h264 @ 0x7ffd33826a00] error while decoding MB 2 0
MMCO opcode [1, 2] at 0 mismatches between slices
[h264 @ 0x7ffd33826a00] Inconsistent MMCO state between slices [1, 1]
[h264 @ 0x7ffd33826a00] top block unavailable for requested intra mode at 2 15
[h264 @ 0x7ffd33826a00] error while decoding MB 2 15
——

When I restart ffplay, it works properly.

Any idea? 

--
Voronetskyy Yevgen







More information about the ffmpeg-user mailing list