Transcode DVB stream for DVD suitable MPEG

About encoding, codec settings, muxers and filter usage
chrismatchett
New Cone
New Cone
Posts: 4
Joined: 24 Mar 2007 04:39

Transcode DVB stream for DVD suitable MPEG

Postby chrismatchett » 03 Apr 2007 14:39

I have a dvb-t card and vlc is creating beautiful mpeg ts files on Fedora Core 6...how do I transocde them to a dvd suitable mpeg using the command line?

The mencoder command I am using (shown below) currently does this but there is a noticable decline in quality. I would also have liked to show you my vlc command but I'm at work and my home computer seems to be having dns problems.

Anyway, hope you can help with my query.

Chris

Ps. Please don't 'rtfm' me I have been at this for three weeks :?

#Mencoder command

Code: Select all

vlc "mydvbfile.ts" :sout='#transcode{codec=mp2v,vb=4096,acodec=mp2a, ab=192,scale=1,channels=2}:std{access=file, mux=ps,url="Output.ps.mpg"}' --aspect-ratio="4:3" --sout-transcode-width=720 --sout-transcode-height=480 --sout-transcode-fps=29.97 --sout-ffmpeg-keyint=16 --sout-ffmpeg-strict-rc --stop-time=20

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 03 Apr 2007 22:10

I believe that someone created a wiki page about DVD creation with VLC. http://wiki.videolan.org/
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

chrismatchett
New Cone
New Cone
Posts: 4
Joined: 24 Mar 2007 04:39

Transcode DVB stream for DVD suitable MPEG

Postby chrismatchett » 03 Apr 2007 23:53

I got the mencoder code shown in my first message from the Wiki.

I am not happy with the results and was asking how to transcode a ts stream to DVD compatible mpeg from the vlc command line?

Chris

bXn
Blank Cone
Blank Cone
Posts: 46
Joined: 08 Jun 2005 09:14

Postby bXn » 05 Apr 2007 16:17

do you know the audio/video format contained in your TS file ?
audio/video codec, video FPS, (VBR , CBR ?)

TS is the encapsulation format.

For DVD the format is MPEG2-PS.
Then for DVD you need to apply some constraints such as a maximum bitrate for instance that should be around 9 Mbits/s

If the content in your TS file is 'compatible' with DVD audio/video format - MPEG2 for video, then you just need a trans-encapsulation process and then
the content remains not modified and so the quality shoudl be the same.

BTW, could you explain what kind of quality loss do you see?
(colours/macroblocks/freeze?)


Do you want to make a DVD with menus or use a DVD Disk with juste one MPEG-2 PS file on it ?
Image
Image


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: MSN [Bot] and 11 guests