[linux-dvb] Converting TS file to DVD format

Marcus Metzler mocm at mocm.de
Sun Mar 27 22:52:42 CEST 2005


>>>>> "Eric" == Eric Vaandering <ewv at fnal.gov> writes:

    >> Does it find the PIDs? If not that may be the reason and
    >> setting them may help. Otherwise, it is always bad if the
    >> stream has some errors. There is no error detection of for that
    >> matter repair mechanism in replex yet.

    Eric> I don't know. Is there a program I can use to look at what
    Eric> PIDs are in a TS file.

replex -s

    Eric> I have a 1 minute file which doesn't seem to have any
    Eric> errors. It's already 720x480 and the codec is mpgv, which is
    Eric> the correct codec for a DVD, right?

    Eric> ts2ps gives me this, which is good, I think.

    Eric> [vondo at vondo-d video]$ ts2ps analog.ts 0 0 > analog.ps
    Eric> Videostream: ASPECT: 4:3 Size = 720x480 FRate: 29.97 fps
    Eric> BRate: 7.50 Mbit/s

    Eric> --------------------------------------------------

    Eric> dvdauthor gives me this, which doesn't look good.

    Eric> [vondo at vondo-d video]$ dvdauthor analog.ps -o test-dvd/ |&
    Eric> more DVDAuthor::dvdauthor, version 0.6.8.  Build options:
    Eric> gnugetopt magick Send bugs to
    Eric> <dvdauthor-users at lists.sourceforge.net>

    Eric> INFO: dvdauthor creating VTS STAT: Picking VTS 01

    Eric> STAT: Processing analog.ps...  WARN: System header found,
    Eric> but PCI/DSI information is not where expected (make sure
    Eric> your system header is 18 bytes!)  WARN: Skipping sector,
    Eric> waiting for first VOBU...  WARN: Skipping sector, waiting
    Eric> for first VOBU...  WARN: Skipping sector, waiting for first
    Eric> VOBU...  ...

    Eric> --------------------------------------

    Eric> If I try to replex analog.ps, I get this:

    Eric> [vondo at vondo-d video]$ ../Linux/replex -i PS -t DVD -o
    Eric> analog2.ps analog.ps Reading from analog.ps Input file
    Eric> length: 46.12 MB Output File is: analog2.ps STARTING REPLEX
    Eric> read 100% Can't find all required streams Please check if
    Eric> audio and video have standard IDs (0xc0 or 0xe0)

Try the -s option on replex to find the IDs.

    Eric> ----------------------------------------------------------

    Eric> If I try to replex the original TS and dvdauthor it, I get
    Eric> this:

    Eric> [vondo at vondo-d video]$ ../Linux/replex -i TS -t DVD -o
    Eric> analog3.ps analog.ts Reading from analog.ts Input file
    Eric> length: 50.49 MB Output File is: analog3.ps Checking for TS:
    Eric> confirmed Trying to find PIDs vpid 0x0201 ac3pid 0x0202 AC3
    Eric> stream: bit rate: 320 kb/s freq: 48000 Hz frame size 1280
    Eric> starting audio PTS: 2:33:04.590 Video: aspect ratio: 4:3
    Eric> size = 720x480 frame rate: 29.970 fps bit rate: 7.50 Mbit/s
    Eric> vbvbuffer 1835008 Sequence Extension: chroma 4:2:0 size =
    Eric> 720x480 bit rate: 7.50 Mbit/s vbvbuffer 1835008 frame rate:
    Eric> 29.970 starting with video PTS: 2:33:04.586 STARTING REPLEX
    Eric> Mux rate: 10.08 Mbit/s AC30 offset: 0:00:00.032 2:33:04.622
    Eric> read 100% [vondo at vondo-d video]$ dvdauthor analog3.ps -o
    Eric> test-dvd/ | & more DVDAuthor::dvdauthor, version 0.6.8.
    Eric> Build options: gnugetopt magick Send bugs to
    Eric> <dvdauthor-users at lists.sourceforge.net>

    Eric> INFO: dvdauthor creating VTS STAT: Picking VTS 01

    Eric> STAT: Processing analog3.ps...  WARN: unknown mpeg1 aspect
    Eric> ratio 2 WARN: attempt to update mpeg format from mpeg1 to
    Eric> mpeg2; skipping ERR: Audio pts moves backwards; please
    Eric> remultiplex input.

I fixed the audio PTS error in the latest replex version. I just put
in on the website.


Marcus

-- 
/--------------------------------------------------------------------\
| Dr. Marcus O.C. Metzler        |                                   |
| mocm at metzlerbros.de            | http://www.metzlerbros.de/        |
\--------------------------------------------------------------------/
 |>>>             Quis custodiet ipsos custodies                 <<<|




More information about the linux-dvb mailing list