[linux-dvb] Converting TS file to DVD format

Eric Vaandering ewv at fnal.gov
Sun Mar 27 22:24:27 CEST 2005


> 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.

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

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

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

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

--------------------------------------------------

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

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

INFO: dvdauthor creating VTS
STAT: Picking VTS 01

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

--------------------------------------

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

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

----------------------------------------------------------

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

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

INFO: dvdauthor creating VTS
STAT: Picking VTS 01

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

-----------------------------------------------------------------


I'm sure I'm just not understanding something basic here. I'd be happy to make 
the 1-minute file(s) available to someone if they wanted to play around with them.

Thanks much,

Eric


Eric Vaandering           Phone: 615-343-6599     FAX: 615-343-7217
  Vanderbilt University    Email: ewv at fnal.gov
  Department of Physics    http://www.hep.vanderbilt.edu/~vondo
______________________________________________________________________________
If cars were like computers, they'd get 500mpg,
cost $10, and explode once a year.
______________________________________________________________________________
Golf: Playing "fetch" with yourself.




More information about the linux-dvb mailing list