Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: How to use 5.1 with VDR?



On 18 Jan 2003 "Jan Rieger" <jan@ricomp.de> wrote:

Ok, I tested your new version. Runs fine.

The change
               // extract if PTS info
-              uchar PTSflags = b[i + 7] >> 6;
+              uchar PTSflags = (subStreamType == 0x8) ? 2 : b[i + 7] >> 6;  // For PES we use fixed flags ??

doesn't seems to be necessary, although I suggested it yesterday.
My recordings play fine without it.

I think the complete buffer handling with bufptr,bufpos is very
complicated and hard to understand. If we assume that
cMultiChannelAudio::Encapsulate() will always receive complete
pakets, we could simplify the code a lot by eleminating one
buffering level (if this assumption is not true, the code will
fail anyways as it doesn't knows how to start in the middle of
0xBD paket and it dosen't checks paket boundaries in all
places).

My problem with the one strange recording is related to the
substreamtype detection (the old code doesn't had such thing). If
I hardcode the type to 0x8 the recording is played fine. May be
channels away from Pro7 use other encoding. I'll have to dig into
this.

Any hints on a document describing the PES audio pakets?

-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index