Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th September 2009, 11:16 | #1 | Link |
Registered User
Join Date: Nov 2003
Posts: 106
|
Command line tool to convert .vob to .mpg?
Hello,
I'm busy ripping some home video's, because I need certain scenes for a compilation movie for my dad. So, I used DVD Decrypter to produce .vob files for every chapter I need. Now, I want to convert them to mpg, so I can make a whole movie (of course I want to combine them into one movie, but that comes later). Because I have a number of chapters, I was looking for a command line solution to convert all chapters to mpg. So, I tried ffmpeg: ffmpeg -i input.vob -vcodec copy -acodec copy output.mpg However, the length of the movie gets changed (from 5:16 to 6:09). This happens with the current build of ffmpeg and some older build (I think March or April 2009). I tried options like -sameq, -async 1, but the movie stayed 6:09 instead of the original 5:16. (The audio was out of sync and the video was not playing smooth) So, inside DVD Decrypter I choose to demux the elementary streams. Now, ffmpeg was able to mux them correctly. However, the audio delay is not set and I have to add those manually (the correct delay is hidden in a text file). So, that's not an option. (Or ffmpeg should parse those text files?) So my question: how can I convert vobs to mpgs on the command line without need to manually adjust every single file? I do not know of another (free) tool that can handle command line input. Thanks for your help!
__________________
My website: www.ernstblaauw.nl |
5th September 2009, 22:35 | #3 | Link |
Registered User
Join Date: Aug 2005
Posts: 16,267
|
@ernstblaauw
Hi! 1) If, as you've stated, the .VOBs have been created from home videos, they'll each contain only one video and one audiostream and, therefore, (as previously suggested by moderator "neuron2") you only have to change their extensions from "VOB" to "MPG". 2) What are the video and audio formats of your ORIGINAL source videos? Providing this information may make it easier to provide you with alternative solutions |
6th September 2009, 07:41 | #4 | Link |
Registered User
Join Date: May 2006
Posts: 4,015
|
@ernstblaauw
If you are not successful with simple renaming you may want to try vob2mpg. The free version should do I guess. Edit: Sorry, I just noticed that you are looking for a command line tool. Don't know if vob2mpg helps then, but it may come close to what you need. Last edited by Sharc; 6th September 2009 at 08:07. |
6th September 2009, 13:40 | #5 | Link | ||
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,101
|
Quote:
Quote:
Cheers manolito |
||
6th September 2009, 14:49 | #6 | Link | |
Registered User
Join Date: Nov 2003
Posts: 106
|
Quote:
2. I don;t know the formats, as those home video's where not shot by me, but I guess it is just some kind of DV source. Thanks for all your help!
__________________
My website: www.ernstblaauw.nl |
|
6th September 2009, 22:03 | #8 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,445
|
Quote:
"VOB is based on MPEG-2 Program stream format, but with additional limitations and specifications in the private streams.[3] [4] The MPEG-2 Program stream has provisions for non-standard data (as used in VOB files) in the form of so-called private streams. VOB files are a very strict subset of the MPEG-2 Program stream standard. While all VOB files are MPEG-2 Program streams, not all MPEG-2 Program streams comply with the definition for a VOB file.[3]" |
|
Tags |
ffmpeg, mpg, vob |
Thread Tools | Search this Thread |
Display Modes | |
|
|