Hi,

0n 07/02/[EMAIL PROTECTED]:21 Stefan Wachter told me:

> for hours I tried to solve the task of converting a DVD into an mpeg2 
> using transcode. I tried the ffmpeg export module with the mpeg2 format.

DVD(-video) == mpeg2. 

If you don't have to care about special specs in the mpeg2-stream
you would like to create, I would use:

mplayer -dumpstream -dumpfile video.mpg dvd://<titleset#>

If you don't know the titleset# you want to extract. lsdvd or
tcprobe can assist finding the titleset containing the DVD main
feature.

> transcode -i /media/DVDVOLUME -y ffmpeg -F mpeg2 -o res
> 
> The first thing I do not understand is, that two result files a created: 
> "res" and "res.m2v". The first is rather small compared to the second.

In spite I am not that familiar with ffmpeg, res should have the
audio file, res.m2v the video file. Both are mpeg elementary streams
(es).

Transcode isn't able to mux es on the fly, so you have to
use mplex to get the files remuxed.

> Somewhere I read that the second file is an mpeg2 video file. What is 
> the first file? 

audio, I suppose.

> Somewhere else I read that multiplexing is necessary to 
> create an mpeg2 file afterwards.  After many trials I arrived at the 
> following steps
> 
> transcode -i /media/DVDVOLUME -y ffmpeg -F mpeg2 -o res -m audio

I don't know the default bitrate ffmpeg will use. If it doesn't
touch the original bitrate...

> mplex -f 3 -r 5000 -o res.mpeg audio

... -r would be to low. Normaly the material on commercials will be
at something like 9000 kb/sec + audio. Anyhow I would avoid to give
that mplex option, if you don't know exactly what you do. 

Mplex can't change the bitrates of input streams and I can't predict
what would happen, if the input is higher that your -r. Let mplex
decide itssef what to use for -r, it'll do the trick.

OTOH, if you need to save bits you have to reencode at a lower
bitrate.

> Unfortunatly the result is less than unsatisfactory.

Again DVD content is mpeg2 encoded, if you don't have other special
requirements you just have to rip the content from the DVD and you
are done.

If you need to meet additional special requirements (file size,
bitrate, sound format ....) you should have mention it.

-- 
bye maik

Attachment: signature.asc
Description: Digital signature

Reply via email to