LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-01-2006, 10:17 PM   #1
depam
Member
 
Registered: Sep 2005
Posts: 829

Rep: Reputation: 30
How to convert AVI/DivX/Mpeg to DVD and VCD?


Hi!

I have AVI and Mpeg files on my PC which I want to convert to both DVDs and VCDs. Is that possible? If so, what programs do I need to install. I am using Mepis 3.4.3...I also interested if you the application can split two avi videos into two discs. For example, I have a avi file movie which I pressume will not fit into one cd if i convert it to VCD. How am I going to split it? Thanks.
 
Old 06-01-2006, 11:31 PM   #2
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
I have made a few vcds using the method shown here

http://gentoo-wiki.com/HOWTO_Create_a_VCD_or_SVCD

This is probably the quickest way to do it. Not much to install app-wise. Also ffmpeg is very fast compared to some other methods. I think (haven't tested this) that the mpeg created can be run through an app like dvdauthor if you want dvd format. All of this was done using Mepis 3.3.1

I'm now using Tovid (on Mepis 3.3.4) and very impressed. To make this run as intended alot of helper apps must be installed. The Tovid site has a deb available if you are interested.
 
Old 06-02-2006, 12:51 AM   #3
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
Hi! I've tried ffmpeg but I get the following errors:

ffmpeg: symbol lookup error: /usr/lib/libavcodec.so.0: undefined symbol: faacDecOpen.

Another thing, where can I get the debian package of tovid. Can you please tell me what repositories I need to add. Thanks.
 
Old 06-02-2006, 08:41 AM   #4
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Tried the gentoo wiki method for the first time since installing 3.4.3 (typo-ed that in the previous post). The file was;
Last Man on Earth, video: DivX 5, audio: MPEG-1 Layer 3
This worked fine. The mpeg created is about 20% larger than the original avi.

I am no expert on apt or debian packaging. If what follows carries some danger someone please correct me.

Open synaptic and do a search for the packages ffmpeg, libavcodecccvs, libpostproccvs51. I'm using version 3:20060323-0.1 of all of these, available from the Marrillat repositories. If you do not have the Marrillat repositories enabled check the mepis wiki for the howto.

ffmpeg is used by Tovid. I would suggest sorting ffmpeg out before attempting to install Tovid.

More information on Tovid can be found on the project homepage under install.
 
Old 06-02-2006, 12:01 PM   #5
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
muddywaters,

I've tried the gentoo-wiki. I tried to split the avi into 2 files. I wasn't able to finish even the first part because it took me an hour and finished only the 12 mins clip from avi. What I noticed is that the video became taller and not the same orientation compared to the original. I did burn the file in K3B and it became a VCD. I was wondering why I got a bad video orientation? Is it because I cancelled the file?

I also tried installing the tovid. As per the instruction after the ./configure from Tovid, I should install mjpegtools, transcode and ffmpeg. I successfully installed mjpegtools however I could not finish installing transcode because it asks for ffmpeg. I browsed www.ffmpeg.org but could not download svn. I don't really have any idea how to get svn. I tried installing ffmpeg thru synaptics but still it seems that transcode is looking for the ffmpeg eventhough its installed already. I just wish that tovid compiled the dependencies and packages so that everyone won't have a hard time installing it. Do you have any idea on how to install tovid the easiest possible?

My main goal is to convert avi or mpeg into both VCDS (if possible one movie to be split into two discs) and convert AVI to DVD format. I am a newbie on this so I really need someone's help. I can convert it easily on Windows but I would like to learn how in Linux. I heard about dvdauthor but I would like to do things faster using GUI. Another thing, does it really take that long to convert avi to mpeg. I mean an hour for a 12 mins avi video is almost forever. Have any ideas on how to fix orientation screen? Thanks.
 
Old 06-03-2006, 05:12 PM   #6
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Sorry for the long delay. Here's something you could try , mostly to find out what is working (or even installed) on you system.

Go here
http://video.google.com/videoplay?do...83267829297106
download the file and place it in a handy directory.

Change to that directory in konsole, then enter this command
ffmpeg -i HarddriveinAction.avi -target pal-vcd Hard.mpg

Then use k3b to burn it.
file>new video cd project>drag in Hard.mpg. Burn.
This created a vcd playable in my standalone dvd player.

If that worked try this:
ffmpeg -i HarddriveinAction.avi -target pal-dvd Hard2.mpg

To work with this mpeg first create a template as shown here
http://www.linux.com/article.pl?sid=06/04/17/2058219

Replace the vob file line in the sample with this (kate works well for this)
<vob file="Hard2.mpg" />
Save this as Hard.xml to the same directory the video files are located.

Now working from that directory run
dvdauthor -o Hard_dvd -x Hard.xml

If all goes well you should be able to use k3b;
file>new video dvd project>drag in the AUDIO_TS and VIDEO_TS folders (directories)from the newly created Hard_dvd directory. Burn.
This created a simple dvd that also plays in my standalone player.

OTOH you could try installing Acidrip using synaptic.
As far as the distorted video, have you tried replacing pal with ntsc in the above commands?
As far as splitting the video, try splitting the avi after conversion to mpeg with mpgtx (as shown at the gentoo wiki).

Edit/ Just took a closer look at Acidrip. Don't think it will be much help for what you need to do.

Edit/Edit/ Rereading this I can see you're off on a bit of a tangent. Partly my fault I'm afraid.
If you are still interested respond back. Installing Tovid is possible entirely through apt/synaptic.

Last edited by muddywaters; 06-04-2006 at 09:13 AM.
 
Old 06-07-2006, 09:50 PM   #7
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
Thanks man..Very neat.
 
Old 10-16-2006, 06:48 AM   #8
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: SUSE 10.3, Microware OS-9, Caldera 2.4
Posts: 223

Rep: Reputation: 30
Quote:
Originally Posted by muddywaters
Sorry for the long delay. Here's something you could try , mostly to find out what is working (or even installed) on you system.

Go here
http://video.google.com/videoplay?do...83267829297106
download the file and place it in a handy directory.

Change to that directory in konsole, then enter this command
ffmpeg -i HarddriveinAction.avi -target pal-vcd Hard.mpg
I did that exactly and it failed with the error...ffmpeg: symbol lookup error: /usr/lib/libavformat.so.50: undefined symbol: dlopen

I am using ffmpeg Version: 0.4.9-7.pm.svn20061008@i686 using kernel 2.6.16.21-0.13-default

I searched on "dlopen" and apparently this is a continuing problem in ffmpeg. Can you tell me what version of the ffmpeg rpm actually worked for you? I'm not prepared to re-compile ffmpeg from scratch. I've had a lot of frustrations with compilations.

Thanks.
 
Old 10-17-2006, 08:05 PM   #9
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
Hi! I think you've downloaded a rpm that has not yet been compiled with some libraries. Try installing from source. Im using Ubuntu at that time of installation, and I have installed: libavcodec0, libtheora, mjpegtools. Try installing these packages and reinstall the program. If it still didn't work, you will need to instal from source.
 
Old 10-17-2006, 11:43 PM   #10
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Hello ionmich

Assuming this is a Suse question? My Suse installation is kind of old and neglected but...
kernel 2.6.8-24.21-default
ffmpeg 0.4.9-6.pm.svn2006071 (from packman)
libffmpeg0 0.4.9-6.pm.svn2006071 (from packman)

The output of "ffmpeg -version" returns this
Quote:
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --enable-mp3lame --enable-libogg --enable-vorbis --enable-pp --enable-gpl --enable-a52 --enable-faad --enable-gprof --enable-theora --enable-xvid --enable-faac --enable-amr_nb --enable-amr_wb
built on Oct 16 2005 23:27:36, gcc: 3.3.4 (pre 3.3.5 20040809)
ffmpeg CVS
libavcodec 3276800
libavformat 3211520
I've also done all the usual nonsense needed to get multimedia working in Suse. The avi->mpeg conversion outlined in the previous post works just fine on this setup. In fact I have used ffmpeg both packaged and compiled in 3 different distros without running into the problem you have described. Maybe some needed library is not installed, but then wouldn't the package manager (YAST?) have complained?

Hopefully something above offers a clue, the problem is likely out of my depth.

Last edited by muddywaters; 10-17-2006 at 11:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert AVI to either DVD, VCD or SVCD format linux-rulz Linux - General 13 12-27-2011 02:29 PM
DVD, DiVX, AVI, VCD on SUSE 10.1-video jumpy, audio OK riba43 Suse/Novell 6 06-16-2006 07:09 PM
How to convert an AVI file to a VCD? jon_k Linux - Software 4 03-07-2006 02:56 PM
convert AVI to xvid or divx linuxmandrake Linux - Software 2 09-28-2005 01:09 PM
Whats a good mpeg, vcd, divX player lhiggins Linux - Newbie 13 06-26-2003 09:37 AM


All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration