Log in

View Full Version : VOB and .ts


csaba1985
6th January 2008, 22:46
Hi
I need a script or something that can do me the following:
I have many VOB files and need to join them and convert separately more audio tracks and video separately in .ts format.I need to configure audio and video options.Something like this was used with ffmpeg but he laked some audio types:
ffmpeg -f dvd -i (vob name) -acodec ac3 -alang eng -target pal-dvd -aspect 16:9 -b 4000000 -maxrate 4000000 -minrate 4000000 -bufsize 900000 -vcodec mpeg2video -f mpegts -s 720*576 -y Austria1.ts -acodec ac3 -alang ita -newaudio....
The problem was with audio.

ImAhNoBoDy
11th January 2008, 15:50
To join multiple vobs together in cmd.

copy /b vob_1+vob_2 movie.vob

I'm not even sure what you put in for ffmpeg but this is what I do. Extract the vobs. Frameserve them through DGMPGDEC. Demux all tracks. Choose Honor Pulldown or Force Film when needed. Save Project. Run this script

#this is an avisynth script
LoadPlugin("C:\KIDS\dgmpgdec150rc2\decomb.dll")
LoadPlugin("C:\KIDS\dgmpgdec150rc2\DGDecode.dll")
LoadPlugin("C:\KIDS\dgmpgdec150rc2\nicaudio.dll")
video = mpeg2source("c:\kids\kids29.d2v")
audio = nicac3source("c:\kids\kids29.ac3")
audiodub(video, audio)

Run ffmpeg. I do see that you put in too much bitrate for your audio and video and other things for that matter. Search the forum, I'm sure there's something out there. There should be a script out there for dvd. The script I just gave just merges the audio and video to be processed by ffmpeg to any format you want.

nm
11th January 2008, 16:42
To join multiple vobs together in cmd.

copy /b vob_1+vob_2 movie.vob
This would work in Windows, but not in Linux, Mac OS X, & Co :)
Instead, you can run cat file1.vob file2.vob file3.vob > out.vob

I'm not even sure what you put in for ffmpeg but this is what I do. Extract the vobs. Frameserve them through DGMPGDEC. Demux all tracks. Choose Honor Pulldown or Force Film when needed. Save Project. Run this script
DGMPGDec is also a Windows-based program. It should work in Wine (only on x86-based Linux and *BSD), or in a virtualized Windows environment, but people usually prefer native tools (in this case ffmpeg and MEncoder) when those are available.

@csaba1985:
Are you sure you want to re-encode audio and video? Wouldn't muxing the existing streams to TS be sufficient, or do you need to have 4 Mbps CBR video?

ImAhNoBoDy
12th January 2008, 03:03
...I didn't realize I was still in the linux forum. Sorry...disregard EVERYTHING I said.