[Libav-user] Missing Header on MP2/MPEG-TS (audio bad)

RichardP tuxbox.guru at gmail.com
Sat Nov 19 21:25:01 CET 2011


Hi all,

I have a DVB-S card streaming data to a VLC/Other client with no problems. I
added LibAVCodec/Format/Friends and transcode the MPEG2 to a MPEG4 inside a
mpegts container. 

Below is the trace of decode_audio3() with Decoded_bytes being its
return.(inQueue is the packet.size) If I record the original stream and then
transcode using ffmpeg there are no problems... when I do the same, I get
millions of "Missing Headers" and no audio is transcoded. (below is the
first instance of it going bad.. and it does not appear to recover)

Can anyone offer me an insight as to why this happens ? 

Best Regards,
Richard


[ 20:09:58 ] Stream Index is 1
[ 20:09:58 ] Decoded 576 bytes [Samples 4608][InQueue 576]
[ 20:09:58 ] Stream Index is 1
[ 20:09:58 ] Decoded 576 bytes [Samples 4608][InQueue 576]
[ 20:09:58 ] Stream Index is 1
[ 20:09:58 ] Decoded 576 bytes [Samples 4608][InQueue 576]
[ 20:09:58 ] Stream Index is 1
[mp2 @ 0x97a600] Header missing
[ 20:09:58 ] Decoded -1 bytes [Samples 192000][InQueue 5872]
00000000  23 49 24 92 4d 24 40 00 00 00 00 00 ac ff aa ba #I$.M$@.........
00000010  aa ae ba a8 aa 4d 36 d8 65 66 de 59 c5 9e 5d e5 .....M6.ef.Y..].
00000020  db 72 07 e1 8e 07 9d 75 e6 db 79 d7 dc 71 c7 dc .r.....u..y..q..
00000030  65 95 d7 65 87 19 69 96 5a 2d 6a 3c 4a ed fa a4 e..e..i.Z-j<J...
00000040  1c ed 4d dd a6 99 6b 6f 56 46 9b 69 d5 93 75 2b ..M...koVF.i..u+
00000050  45 a2 29 19 2b d4 a3 77 b0 d3 dc 4c a0 7a c1 12 E.).+..w...L.z..


--
View this message in context: http://libav-users.943685.n4.nabble.com/Missing-Header-on-MP2-MPEG-TS-audio-bad-tp4087127p4087127.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list