[linux-dvb] Converting TS file to DVD format

Tomi Ollila tomi.ollila at iki.fi
Mon Mar 28 09:49:17 CEST 2005

Sunday Mar 27 08:27:31 -0600 2005 Eric Vaandering <ewv at fnal.gov> wrote:
> I have several TS files that have been captured from my Motorola 6412 DVR that 
> I'd like to burn to DVD in regular DVD format.
> I've tried many things, but can't get this to work. First, I think there are a 
> couple of glitches in the original TS file, but streaming TS->TS or PS from 
> VLC seems to fix that. Also, the input format is 352x480, not 720x480.
> My latest attempt was to convert to a VOB like this:
> vlc wine-cellar.ts --sout 
> '#transcode{vcodec=mp2v,vb=4096,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,url="out.vob"}}' 
> --aspect-ratio "4:3" --sout-transcode-width 720 --sout-transcode-height 480 
> --sout-transcode-fps 30 --sout-ffmpeg-keyint 16
> but then dvdauthor gives this error:
> STAT: Processing out.vob...
> ERR:  SCR moves backwards, remultiplex input.
> I've also tried replex on this file, but it gives a ring buffer error almost 
> immediately.
> Does anyone have a "recipe" for being able to do this?

In addition to other tips posted so far, my current "recipe" is as:

First record .ts file with dvbstream (vdr could do, too)

(Then optionally do crude cutting with simpletscut.pl (*) )

Then demux using Project X (project-x.sourceforge.net)

Then use lve (http://lvempeg.sourceforge.net/) to find "cutpoints"
in the .mpv/.m2v file.

Then run m2vmp2cut (*) to do (frame accurate!) cut on the source.

Finally a dvdauthor run to make dvd video images

(... and, or course; growisofs -dvd-compat -Z $dev -dvd-video -udf "$@")

(*) simpletscut and m2vmp2cut are available in my homepage at

> Thanks,
> Eric Vaandering


More information about the linux-dvb mailing list