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

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #30 on: November 29, 2009, 05:43:43 PM »
T6 - Well, okay, let's talk about Generals - General Quarters, maybe...?  ;)

- (That'll get 'em, to Herd me back to my SandBox Area...)

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

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: converting a vob file to avi?
« Reply #31 on: November 29, 2009, 05:52:56 PM »
T6 - Well, okay, let's talk about Generals - General Quarters, maybe...?  ;)

- (That'll get 'em, to Herd me back to my SandBox Area...)

Regards, Dave.

Old-Polack exits... stage right... whistling the "Who? Me?" tune.  ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #32 on: November 29, 2009, 06:01:23 PM »
Old-Polack - Yessir-yessir - rightaway-sir...!  :o

- (Ex-Corporal Grp-27, Engineers [Sgt. TASU])

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

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: converting a vob file to avi?
« Reply #33 on: December 02, 2009, 10:45:20 AM »
is this app in synaptic?

if not...

is send...

is added, search for tabencode...

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: converting a vob file to avi?
« Reply #34 on: December 02, 2009, 10:55:42 AM »
Code: [Select]
While installing package tabencode-0.958-1pclos2010:

Could not parse file '/usr/share/applications/pclinuxos-flock.desktop': Invalid key name: Exec[$e]
Could not parse file '/usr/share/applications/kde/kget.desktop': Invalid key name: Exec[$e]

Just thought I should report back.
I have no idea why those desktop files are mentioned while installing tabencode .......
edit: KDE3

regards.
« Last Edit: December 02, 2009, 12:01:55 PM by JohnBoy »

Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3438
  • Send me an Angel
Re: converting a vob file to avi?
« Reply #35 on: December 02, 2009, 11:05:41 AM »
Code: [Select]
While installing package tabencode-0.958-1pclos2010:

Could not parse file '/usr/share/applications/pclinuxos-flock.desktop': Invalid key name: Exec[$e]
Could not parse file '/usr/share/applications/kde/kget.desktop': Invalid key name: Exec[$e]

Just thought I should report back.
I have no idea why those desktop files are mentioned while installing tabencode .......


regards.

Didin't see this while installing it [kde4]
PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: converting a vob file to avi?
« Reply #36 on: December 02, 2009, 12:07:36 PM »
Code: [Select]
While installing package tabencode-0.958-1pclos2010:

Could not parse file '/usr/share/applications/pclinuxos-flock.desktop': Invalid key name: Exec[$e]
Could not parse file '/usr/share/applications/kde/kget.desktop': Invalid key name: Exec[$e]

Just thought I should report back.
I have no idea why those desktop files are mentioned while installing tabencode .......
edit: KDE3

regards.

don't know, where comes from, not from tabencode.
That is the entrys for tabencode.desktop
Code: [Select]
[Desktop Entry]
Encoding=UTF-8
Name=tabencode
Exec=tabencode
Comment=t@b media converter is an audio and video converter
Comment(de)=t@b media converter ist ein Audio und Video Konverter
Icon=tabencode.png
Terminal=false
Type=Application
GenericName=tabencode
Categories=AudioVideo;AudioVideoEditing;X-MandrivaLinux-Multimedia-Video
Encoding=UTF-8
X-Desktop-File-Install-Version=0.958

I've no idea...
only...
This is the curse of KDE3

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: converting a vob file to avi?
« Reply #37 on: December 02, 2009, 12:24:08 PM »
Quote
Exec[$e]=/usr/bin/flock.real
Exec[$e]=kget -caption "%c" %i %m

[$e] ....... that appears to be what troubled th installer.

It is not present in most of the desktop files ....

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: converting a vob file to avi?
« Reply #38 on: March 02, 2010, 08:12:32 AM »
Sorry, I know thread has been dead for a while, but I keep having problems using anything but the command line code I started with.  I live this change, now I can control my bitrate.  But now the only thing I really need to figure out is how to make the display size correct.  Is there a way to force this to do a widescreen?  Or stay the same shape as the VOB?  The code I use now distorts the shape.

Thanks
David

You could replace

Code: [Select]
fixed_quant=4
with

Code: [Select]
bitrate=800
or lower to have a lower file size.

Or you encode in your way and split the avi to several avis of a defined size ...

flux.

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #39 on: March 02, 2010, 03:26:49 PM »
Davidwillis - I assume that you mean AR (Aspect Ratio) - whether it is 4:3, 16:9, etc - and getting it to display properly on a TV - or just on the PC screen. Is this so?

> Can you say what the AR and resolution of your VOB is?

> In the US it will probably be NTSC - 720 x 480 with 4:3 AR.

> Just so happens that we've been converting US MPEG2 (VOBs) to PAL - 720 x 576 AR - since around 1999, here. Also to Xvid - at full-screen, or downsized - including to 320 x 240 for the kids-youngies' hand-helds.

> Yes - if the AR is 16:9 / Widescreen - you can very easily convert that to AVI - Xvid, MPEG4, H264, so that it plays correctly (via whichever of those your TV-Player uses correctly) - on a TV.

> However - if you want to do it via Linux CLI, you'll need more help than I can give. I do it the easy way - and yes, "all in Linux" - and get it right.

> You can make 4:3 video display correctly on a Widescreen TV - or 16:9 video display correctly on a 4:3 TV screen.

> I can explain either - but not via CLI - just using a Linux app - if you wish. There are several steps - but when you've done them once, will see "how and why" - and forever-after, be able to do it immediately.

> Can you give us the file-size, resolution and aspect-ratio - of the VOB you're converting? If you don't know, drop the VOB into the Avidemux window. It will say, "This looks like mpeg. Do you want to index it?" Say Yes, and for one VOB that will take a few seconds. See Pic1. Then click the Blue Button on the bar - to get the information. See Pic2.

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 #40 on: March 02, 2010, 04:30:08 PM »
Yes, I think it is the AR... I just looked at one I just tried... the vob file was 16:9 and the avi was 1:1.  So it streched everything....

is there a way to add something in my mencoder line to keep it the same?

Quote
mencoder -ni -vf harddup -vf-add smartblur=.6:-.5:0,unsharp=l5x5:.8:c5x5:.4 -xvidencopts bitrate=1200:profile=dxnhtntsc -lameopts cbr:br=128:aq=0:vol=1 -oac mp3lame -ovc xvid shrunk.vob -o shrunk.avi

Thanks
David

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: converting a vob file to avi?
« Reply #41 on: March 02, 2010, 04:49:09 PM »
I can only suggest a read through the manual for mencoder as I do not have sufficient knowledge of it. In Konqueror type into the location bar

man:mencoder

You can then search the document for instances of  "aspect" and hopefully find the option you need ........  maybe something like

-aspect 16:9
or
aspect=16/0
or
autoaspect

Maybe someone who has used those options will post .... sorry, not much help

regards.

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #42 on: March 02, 2010, 10:02:24 PM »
Davidwillis - Do you know what actual size your 16:9 VOB is? If you don't know the frame size, you won't know what CLI script info to put in.

> Is the 16:9 movie intended to play correctly on a Widescreen TV - or a Std 4:3 TV?

> You can set up to do either easily and quickly - and write it to a DVD.

> Do you know the Screen Aspect Ratio of the TV it's intended to be played on? The movie as written to the DVD has to be set up to suit either Widescreen or 4:3 TV.

> We set up both, here - and I've never resorted to trying to do it from CLI.

> If you need to change playback frame size, add black bars, sharpen, adjust colour, etc, it does seem much easier and quicker to use a GUI app intended for doing those things.

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

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: converting a vob file to avi?
« Reply #43 on: March 02, 2010, 10:57:22 PM »
The frame size on this one is 720 x 480.

I will play it on a std 4:3 Tv, but I would like it to play on any tv without distortion, I don't mind if I have black at the top and bottom, but I don't like it distorted...

Thanks...

I found this
Quote
-pvr <option1:option2:...> (PVR only)
 This option tunes various encoding properties of the PVR capture module. It has to be used with any hardware MPEG encoder based card supported by the V4L2 driver. The Hauppauge WinTV PVR-150/250/350/500 and all IVTV based cards are known as PVR capture cards. Be aware that only Linux 2.6.18 kernel and above is able to handle MPEG stream through V4L2 layer. For hardware capture of an MPEG stream and watching it with MPlayer/MEncoder, use 'pvr://' as a movie URL.

 Available options are:
aspect=<0-3>
 Specify input aspect ratio:
 0: 1:1
 1: 4:3 (default)
 2: 16:9
 3: 2.21:1

So I added -pvr 2 to the line, but it still made the video 1:1



Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: converting a vob file to avi?
« Reply #44 on: March 03, 2010, 04:13:13 AM »
Davidwillis - If that VOB is 720 x 480 it's std 4:3 American NTSC.

> To play on an American 4:3 AR NTSC TV it doesn't need anything added - bars, etc - to it....

> You can use DVD Styler - to create the *ifos and *.bups, etc, for it. Once you have those, change the directory name to VIDEO_TS - drop it into K3b, and K3b will write it to a playable DVD.

- (You didn't say what size that VOB is - but I'm assuming that it's compliant - no larger than 1,024MB. However, IF it is larger than 1,024MB - it either has to be converted to compliant VOBs - OR "Authored" to write a playable DVD.)


> If you want to convert it to AVI - many TV Players won't play Xvid4. So you'd want Std MPEG4.

> Stick it into Avidemux. Say Yes when it wants to Index the file.

> For the "Video" setting, top left - select "MPEG4" - at the top, below the word "Copy".

> If you want good quality video, and the audio in sync - open "Configure" and at the top, change "Constant Quantiser" to "Two Pass - Average Bitrate". In the box below that, leave the rate at 1000. Close "Configure"

> Under "Audio" change "Copy" to "MP3 (lame)".

> At the bottom - "Format" should say "AVI" - if not, change it to that.

> Click the "Floppy-Disk" icon on the bar, and browse to wherever you want the Moviename.avi file saved to. Name it suitably, where it says "File Name". Then click "Save" and let it process.

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