[linux-dvb] dvb mpeg2?
Nicola.Sabbi at poste.it
Thu Jul 24 15:57:06 CEST 2008
On Thursday 24 July 2008 15:43:28 Tim Farrington wrote:
> Hi all,
> Got there:
> Filetype is MPEG2-TS (generic PES Container)
> Need to use mplayer, projectx to ascertain this.
> This is what I have just done to achieve an a/v sync perfect,
> edited, recorded dvb file:
> 1. Run file through project-x; divides files into *.mp2 (MPEG audio
> stream), *.m2v (video stream),
> (plus for HDTV *.ac3 (for Dolby Digital aka AC3 stream))
> projectx rec-file.mpeg => rec-file.m2v rec-file.mp2
> 2. Run *.mp2 *.m2v through mplex to recombine into PS format
> mplex -f 8 -o rec-file-a.mpeg rec-file.m2v rec-file.mp2 =>
> 3. Edit resultant file with avidemux on I-Frames while retaining
> a/v sync => rec-file-a-a.mpeg
> And it produces a perfect new file!
> My huge thanks to you all for your assistance.
> Tim Farrington
be aware that demuxing the TS in its elementary streams implicitly
drops all timestamps (that are recorded in the PES headers), thus
recombining the audio and video streams will produce a desynchronized
output, unless you are lucky.
There simply aren't enough informations to keep synchrony without
timestamps. With your method if a stream is corrupt
you will likely see a desynchronization from the first breakage
onward, while working on the TS the muxer has a chance to recover
More information about the linux-dvb