Author Topic: converting a vob file to avi?  (Read 4377 times)

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: converting a vob file to avi?
« Reply #45 on: March 03, 2010, 05:03:00 PM »
Thanks... but for some reason it does change the shape of the video.  And looking at the aspect ratio of the avi is not the same as the vob, but the image is the same...720X480....

Also I have found that avidemux, devede, winff... etc all seem to get video out of sync, make it choppy, or some other issue. 

The command line I showed always works, other than it distorts some videos (usually ones that are in widescreen).

Still trying to figure out mencoder more.

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #46 on: March 04, 2010, 06:23:04 AM »
Davidwillis - With Avidemux, video choppy, out of sync, etc, sounds like doing a Single-Pass process.

> The 2-Pass mode is there for a reason. In Single-Pass the app can only process each part of the Video - whatever the frame content, or wherever the audio keying is - as it gets to it. That's like a baseball batter not seeing the pitch, or the travel of the ball - then deciding what to do with the ball as it arrives at the bat. In such a case, the hit isn't going to be at all good...

> With 2-Pass - the First Pass isn't doing any encoding or changes. The app is analysing and mapping the Video - which frames have less or more detail and changes from the ones previous - and then those to the ones following. It also analyses the keying, including for audio. It writes this information to a text-file. Then on the Second Pass, it has the "what's ahead and where the keying is" information to work from, so it isn't "guessing as it gets to each frame".

> People in our bunch here, trying to use Avidemux, at first complain about the video being fuzzy or "jumpy", and the audio sync being "way-out".

> I had just that happen recently with a friend who was trying to convert the MOV 640 x 480 from his new Canon camera to PAL 720 x 576 to then write to DVD and play on their TV-Player. We'd discussed the new camera over the phone, and as he knew I was converting several type of camera Video to DVD, asked the easiest way to do it.

> I emailed him step-by-step instructions, like a small Tutorial. A couple of days later he was on the phone saying that his results were very poor - and was there a better app than Avidemux, without buying something expensive (he's a Windowser, like 98% here in Oz.)

> So we went through what he was doing step-by-step. And he was using Single-Pass "because that 2-Pass would take twice as long". I suggested running the instructions again - but using 2-Pass. He did - and rang back an hour later, sounding very pleased with the results...


> With Avidemux - are you setting the Destination AR, if the first result you get is distorted? See Pic1.

> Are you using Single-Pass - or 2-Pass...?

> I've used Avidemux in Windows, in earlier times, and now for a long time in Linux. We convert DVD MPEG2 to AVI, usually Xvid4, sometimes MPEG4, downloaded AVI to PAL 720 x 576 MPEG2 DVD, and also P&S Camera 640 x 480, MOV 640 x 480 H264, and Std HD 1280 x 720 16:9 Compliant MPEG4 (*.mp4 files) - all to PAL 720 x 576 - to play from TV-Players into Std 4:3 TVs.

> So long as you USE the Configurations and Filters functions properly, Avidemux works very well for all of those things. Yes, in Linux - I don't use "other" for Video now, and haven't for several years. PCLOS only, since 2006. (Mandriva / Mandrake - before that.)

Regards, Dave.

[attachment deleted by admin]
Registered Linux User #412504          Trainee Linuxer, jg

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: converting a vob file to avi?
« Reply #47 on: March 04, 2010, 08:50:18 AM »
Ok, thanks... I have tried 2 pass before and it made it even worse (although I am not sure if it was avidemux or something else).

I am running it through exactly as your instructions, and I will see if it works...It may take a while though... It is still on pass 1.


Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: converting a vob file to avi?
« Reply #48 on: March 04, 2010, 10:11:27 AM »
I am not sure what I did wrong, but as you can see from the picture the AR is not the same on the avi....  Maybe I should change the input and output to 16:9?

Also the sound is way out of sync (like 10 seconds).  I did this using 2 passes just like you said.  I don't know why that is, but I have better results with a single pass... Although it can be off at times too, but only slightly.

Thanks...

[attachment deleted by admin]

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: converting a vob file to avi?
« Reply #49 on: March 04, 2010, 10:26:24 AM »
Just wondered if you had tried WinFF from the repository .... maybe you already did and mentioned it previously ...

If not it might be a workable alternative ........  there are presets for 4:3 and 16:9  so choose whichever you want.

If the output is close to what you want then maybe try 2 pass ......  I get good results from this wee app .......  it is just a front end to ffmpeg.

What is the real purpose of converting to .avi?
Size?

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: converting a vob file to avi?
« Reply #50 on: March 04, 2010, 10:34:33 AM »
Thanks... yes I did try winff.... It worked fine, exept the the video kept pausing, then jumping...

Maybe a two pass will fix it.

Yes, it is just for size.


Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #51 on: March 04, 2010, 03:23:33 PM »
Davidwillis - I see you say "Maybe a Two-Pass will fix it..."

> WinFF does have 2-Pass under Additional Options, at the bottom of the dialog.

> Using Single-Pass "to make it faster" - in Avidemux or WinFF - is only workable with very short clips - say, under a minute, from YouTube, etc, where the quality is already low.

> If your original VOB is at an unusual ratio for NTSC, your might try bringing it to std ratio for NTSC MPEG2 before converting it to something else.

> Using Avidemux, select "DVD (lavc)" - use 2-Pass or it's unlikely to work. Set the AR at 1:1 to 4:3.

> Under Audio, select AC3, and check the "Resample to 48,000" box.

> Make the output MPEG-PS (A + V)

> That should give you an *.mpeg file which will play correctly to test on PC.

> Use the *.mpeg file to create VOB plus *.ifos, *.bups, etc, with DVD-Styler, to write to DVD, or to convert to AVI.

Regards, Dave.
Registered Linux User #412504          Trainee Linuxer, jg