INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

LINUX: AVI to DVD Encoding and Authoring : BASIC

Forum Index -> How to's -> User guides Printer-friendly version
Reply to topic
Author Message
disturbed1
Member


Joined: 22 Apr 2001
Location: init 4

Post Posted: Oct 26, 2004 20:51 Posts Comp View users profile Send private message Reply with quote

Tools you'll need -
Avidemux
Varsha
DVDAuthor
Transcode
FFMPEG

Varsha is a standalone app that only needs java to be installed.
The other apps are available in RPM and DEB packages for most major (Mandrake, Fedora, Suse, PCLinuxOS, Debian, Mepis, Knoppix) Distros. I compiled them all on my Slackware and Vector Linux machines without too much trouble.

Step 1
Load your AVI into AVIDEMUX.
Hit CTRL-O to get the Select AVI File window.


Avidemux will do a brief reading of the avi file to find out which codecs are used, and if there are any problems with the file.
This file happens to have vbr mp3, and is also VOP packed.


Let it unpack the file.

To fix the VBR audio, goto the audio menu, and choose Build VBR time map. This should be pretty quick.


Time to resize and filter.
Avidemux includes default resize buttons for VCD, SVCD, DVD, and Half D1 resolutions. Makes it an easy one step process. The resize presets use MPlayer's bilinear resize, you can change this if you want. I usually use Lanczos resizing.

The filter collection is decent. Plenty of filters to deal with interlaced video, perfect for Cable TV captures, some noise filters, just wish there were more color correction tools cool.gif



Audio Filters include a few basic functions (Normalize, Resample, DRC) if you need more filters try Audacity or somethng similar.


Time to set the output format/codecs. Since Avidemux interfaces with FFMPEG you'll have most of FFMPEG's output options. I'm creating a DVD, so I'll choose DVD LAVCODEC. If you choose just DVD, it does not use the FFMPEG encoder, but instead Transcode. Wich is rather slow, and doesn't have the same quality as FFMPEG IMO. Audio options are uncompressed, FAAC, OGG, Toolame MP2, lame MP3, or FFMPEG's AC3, and MPEG Audio.

You should use the built in calculator to see what bitrate you need to use.


Now it's time to encode the video and audio. Make sure you press the V Process (F5) and A Process (F6) buttons so Avidemux will process your video and audio. Choose FILE - SAVE - SAVE VIDEO (or hit CTRL-S). Choosing DVD PS won't work with FFMPEG as the encoder, you'll have to choose Transcode (DVD Preset).

Once the video is done, choose the Audio Menu, and select SAVE AUDIO (or CTRL-B).

Speed is pretty decent on Vector Linux (2.6.8 Kernel) and a Cele 1700 384 MB RAM.


Create a DVD Program Stream with the .m2v and .ac3 you just encoded.

Use the open button in Avidemux, browse to your new .m2v and open it. Let the file be indexed. Now open the audio menu, and choose SOURCE - EXTERNAL AC3 (CTRL-3). This will load your files for multiplexing. Make sure process audio and process video are unchecked, or Avidemux will re-process your streams again.

Choose FILE - SAVE - SAVE AS DVD PS. This will create a multiplexed file out of the .m2v and .ac3 files you loaded.

On to authoring.

There are a couple of gui's for the dvdauthor package in Linux. Q DVD Author, DVD Styler, and Varsha (maybe more). I like Varsha for it's simplicity, and fact that there is no ./configure make make install required.

To open Varsha you have to have Java installed. Different distros put java in different places. My java executable happens to be in /usr/share/j2re1.4.2_05/bin/ . So I made a simple shell script
Code:

#!bin/bash
/usr/share/j2re1.4.2_05/bin/./java -jar /home/jewels/varsha.jar

Depending on your distro and LD config path, your setup will be different.

Launch Varsha (BTW no my name isn't jewels. That's my girlfriend, and I'm using her computer to write this on.)

For this guide we will only do a simple movie only author. (If you want menus, you should use Q DVD Author or DVD Styler, as there are reports that Varsha's menus do not work).

These screen shots should explain it. It really is this easy. Just drag and drop your mpg on top of the Disc folder icon. Then choose DVD - MAKE DVD ISO.







Once Varsha has compiled your image, burn the iso with your burner of choice (K3b, XCDRoast, gcombust, cdrecord.prodvd, or the built in burner with Varsha).

Disclaimer..........

I do not write guides. I am not an expert in anything. I've yet to see any guides for linux, hoping this will edge someone to write a more indepth and detailed one.

Any questions or comments, let me know.


DaveQB
Member


Joined: 22 Sep 2002
Location: Sydney NSW

Post Posted: Dec 31, 2004 06:37 Posts Comp View users profile Send private message Reply with quote

Excellent work disturbed1!

The only part that confused me was the saving of audio in avidemux. I use avidemux alot and from what i read it seemed that the audio was selected for processing when you saved the video and thus going into the same mpeg container as the video (ie already mutliplexed)

But ...
1. i have been using avidemux 2.0.26 (and have just now updated that)
2. i havent used avidemux for DVD mencoding yet.

So i could be wrong.

Is there any speed dfferences in using avidemux for ffmpeg mpeg2 encoding then command line ffmpeg mpeg2 encoding ?? (i have been having troubles with ffmpeg scripts and mpeg2 encoding)
I would imagine not, but i do find avidemux slower at lavcodec encoding then MEncoder.

Good job though. smile.gif
_________________
AMD 64 X2 6000+ @3,000 Mhz (stock) | MSI K9N Ultra | Corsair Value/Kingston 6,144MB DDR 667 | 8800GT stock | 3710GB of storage | Powered by Mandriva 2009.1

Jabber: DaveQB@jabber.org.au
2.6.29.3-desktop-1mnb


venimk
Member


Joined: 18 Apr 2003

Post Posted: Jan 27, 2005 02:36 Posts View users profile Send private message Reply with quote

It just takes forever here

1st pass it 's around 1.30hour, second pass states around 36hours ?????

Using Suse 9.2 Pro
Version avidemux-2.0.36-1

Trying avi (xvid-divx) 2 dvd


DaveQB
Member


Joined: 22 Sep 2002
Location: Sydney NSW

Post Posted: Jan 27, 2005 05:51 Posts Comp View users profile Send private message Reply with quote

That is a long time. Although good quality takes time.
I once did a 4 hours video (mjpeg) into high quality DVD and it took 70 hours on a P4 3.0ghz (using TMPEGenc though) - sorry off-topic biggrin.gif
_________________
AMD 64 X2 6000+ @3,000 Mhz (stock) | MSI K9N Ultra | Corsair Value/Kingston 6,144MB DDR 667 | 8800GT stock | 3710GB of storage | Powered by Mandriva 2009.1

Jabber: DaveQB@jabber.org.au
2.6.29.3-desktop-1mnb


kenshin_747
Member


Joined: 18 Feb 2005
Location: Belgium

Post Posted: Feb 27, 2005 04:57 Posts Comp View users profile Send private message Reply with quote

I'm trying to install Transcode. I installed everything else as a tar.gz file using ./configure make make install make clean. Execpt for Avidemux, that was a rpm file.
Now when I try to install Transcode, this is the last output:

configure: error: FFmpeg (libavcodec) required, but cannot compile ffmpeg/avcodec.h

Is there anyway in Linux, like in Windows, to change a file so I can tell the system where I have installed everything or so I know where everything is going to be installed?

Feel free to ask any questions!

As I installed Avidemux as rpm it works, after installing faac... and faad, so I don't know at this point if the Avidemux works. And I have to install DVDauthor as I don't get to install Varsha.

Thanks to anyone for helping!!


DaveQB
Member


Joined: 22 Sep 2002
Location: Sydney NSW

Post Posted: Feb 27, 2005 05:49 Posts Comp View users profile Send private message Reply with quote

I strongly recommened installing everything through RPM. That what its there for, packet management system for easy installtion and removal. If still insisiting on doing source installs, looking into a program called checkinstall.

As for testing avidemux, run the command avidemux2 at a terminal and what do you get ??

Shouldn't this be a thread of its own ??? wink.gif
_________________
AMD 64 X2 6000+ @3,000 Mhz (stock) | MSI K9N Ultra | Corsair Value/Kingston 6,144MB DDR 667 | 8800GT stock | 3710GB of storage | Powered by Mandriva 2009.1

Jabber: DaveQB@jabber.org.au
2.6.29.3-desktop-1mnb


binks120
complete tool


Joined: 28 May 2002
Location: leeds

Post Posted: Mar 05, 2005 09:31 Posts Comp View users profile Send private message Reply with quote

an update on this would be that all the tools u need to do this are available for the bet distro i have ever stumble across (simplymepis) just install and the synaptic package install all the nec tools simply even the doze boyz could do this
smile.gif
_________________
whats that your reading hope its work (s**t caught again)


Frostman123
Member


Joined: 16 Sep 2005
Location: California

Post Posted: Sep 24, 2005 15:39 Posts Comp View users profile Send private message Reply with quote

i got to the point in Avidemux where i have to....:

"Choose FILE - SAVE - SAVE AS DVD PS. This will create a multiplexed file out of the .m2v and .ac3 files you loaded."

but when im in Avidemux and i go to File - Save - ??? there is no save as...
could someone tell me why?


Frostman123
Member


Joined: 16 Sep 2005
Location: California

Post Posted: Sep 25, 2005 12:25 Posts Comp View users profile Send private message Reply with quote

Frostman123 wrote:
i got to the point in Avidemux where i have to....:

"Choose FILE - SAVE - SAVE AS DVD PS. This will create a multiplexed file out of the .m2v and .ac3 files you loaded."

but when im in Avidemux and i go to File - Save - ??? there is no save as...
could someone tell me why?


MisterE
Member


Joined: 13 Nov 2001

Post Posted: Nov 06, 2005 01:08 Posts View users profile Send private message Reply with quote

Awesome guide! I need help with anamorphic output for DVD creation, though. Anyone know of a guide for that?

ignius.sako.kalbam
Banned


Joined: 06 Jan 2007
Location: Lithuania

Post Posted: Jan 12, 2007 07:31 Posts Comp View users profile Send private message Reply with quote

Well done made.....

Reply to topic All times are GMT - 6 Hours
Forum Index -> How to's -> User guides Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You can vote in polls in this forum



Jump to:  
Display:   
DVDFab DVD to DVD and Blu-ray to Blu-ray offers a 20% discount until Nov 22, 2009. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics