Log in

View Full Version : Demux A/V


chits007
27th February 2006, 08:48
Hello Frinds,

I want to create a MPEG2-TS Demux which reads the TS data
from file/network or any other source.
Now I have adopted this this technique.

1) Discard Audio till I get first Video I Frame and Audio frame time (CTS) is near to video_start_time.

video_start_time = time of first I frame

After this I will start filling the Audio/Video frame queue.

Is my idea right?

Thanks

frednerk
28th February 2006, 11:58
PVAStrumento 2.1.0.15 - I've found this recommended all over the place, and it's always worked very well for me... fixing dud streams, demuxing multiple embedded audio, auto re-syncing each, detecting scrambled packets, etc... http://www.offeryn.de/dv.htm
If you want to write your own, I guess have a look at it to get some sort of handle on the issues you'll face. Also, DGIndex ?