[FFmpeg-user] capturing television rtp

Moritz Barsnick barsnick at gmx.net
Tue Feb 2 09:19:21 CET 2016


On Tue, Feb 02, 2016 at 00:41:34 +0100, juan carlos Rebate wrote:
> I have tried to preserve the codec of video and the quality,

The input stream is H.264, you chose "-vcodec libxvid". That does not
preserve the codec. I am also quite convinced that the resulting video
will look bad, judging by the resulting bitrate.

The easiest way to preserve codec and quality is to use "-vcodec copy".

> the subtitles track to reduce the size of the file, nevertheless I
> obtain multiple bugs that I believe they are related to the audio, I
> have realized the input of the following departure:

Which bugs are you referring to? Do you mean the warning messages?

All your warning messages relate to video - note the "[h264 @" at the
beginning.

> [h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
> [h264 @ 0000005d32a21620] non-existing PPS 0 referenced
> [h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
> [h264 @ 0000005d32a21620] non-existing PPS 0 referenced
> [h264 @ 0000005d32a21620] decode_slice_header error
> [h264 @ 0000005d32a21620] no frame!

I think this often happens when beginning at an arbitrary position in
MPEG transport streams. No need to worry.

> [h264 @ 0000005d3347fb80] co located POCs unavailable
> [h264 @ 0000005d33480000] reference picture missing during reorder
> [h264 @ 0000005d33480000] Missing reference picture, default is 65660
> [h264 @ 0000005d3347fb80] mmco: unref short failure
> [h264 @ 0000005d33480000] mmco: unref short failure
> [mpegts @ 0000005d329fa840] PES packet size mismatch4:59.28 bitrate= 515.2kbits/s
> [h264 @ 0000005d32e60a80] error while decoding MB 23 32, bytestream -48
> [h264 @ 0000005d32e60a80] concealing 206 DC, 206 AC, 206 MV errors in P frame

I think this is an error in the received stream. Either the connection
got bad, or it was created incorrectly.

Biggest question: Does your resulting file play fine, or does it not?

Moritz


More information about the ffmpeg-user mailing list