LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-09-2006, 10:05 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
How to install avidemux/tovid? Need help badly


Hi! I am using Mepis 3.4.3 and wanting to install avidemux and tovid to convert my avi files into a DVD or VCD. The problem is that I always end up failing on the dependencies. On Tovid, I need to install mjpegtools, ffmpeg, transcode. But these packages will just point to another package and it took me forever and end up installing none. I know I might need to change my repos list. But I don't know which repository to add or delete to make this thing working.

I went to the website of Tovid and Avidemux and pointed me to which the said was the correct Repository. After adding it on my sources list, I still end up seeking for the dependencies which I could not install because its not listed on the packages available. Another problem is that I can't upload videos and pics on my Ipod Video 5th Gen. I downloaded gpixpod but it won't work like what I've expected. Uploading MP3s is a sure thing with Gtkpod but videos and photos is not possible.

Hope someone can teach me step by step on how to install tovid or avidemux so I can burn my AVIs to DVD and if possible upload it on my Ipod Video 5th Gen. Or at least provide me the correct sources.lst so I can download the two and all of its dependencies. I am having a hard time doing this ever since. Hope Warren have included these packages on SM 6.0. I am glad that they've already included lame and vmware kernel on the 5th beta.
 
Old 06-09-2006, 11:17 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Doing this manually is easy enough, if you have ffmpeg installed. For example, to create an NTSC DVD format mpeg with 16:9 aspect:

ffmpeg -i somefile.avi -y -target ntsc-dvd -aspect 16:9 -b 1800 somefile.mpg

To create a PDA playable movie:

ffmpeg -i some.avi -aspect 16:9 -ar 16000 -ab 64 -ac 1 -acodec mp3 -b 280 -s 320x180 pda.mpg
 
Old 06-09-2006, 07:42 PM   #3
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
macemoneta,

Thanks. One more question, On the following command:


ffmpeg -i some.avi -aspect 16:9 -ar 16000 -ab 64 -ac 1 -acodec mp3 -b 280 -s 320x180 pda.mpg

Does the output of this command is a mp4 file? According to apple's website, My Ipod only supports the following:

H.264 video: up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats
MPEG-4 video: up to 2.5 mbps, 480 x 480, 30 frames per sec., Simple Profile with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats

Thanks.
 
Old 06-09-2006, 07:58 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
OK - this command should do it for the iPod:

ffmpeg -vcodec xvid -b 300 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 96 -i input.avi -s 320x240 -aspect 4:3 ipod_output.mp4

Change your aspect ratio (4:3 or 16:9) as needed.
 
Old 06-10-2006, 10:29 AM   #5
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Quote:
Originally Posted by depam
Hi! I am using Mepis 3.4.3 and wanting to install avidemux and tovid to convert my avi files into a DVD or VCD. The problem is that I always end up failing on the dependencies. On Tovid, I need to install mjpegtools, ffmpeg, transcode. But these packages will just point to another package and it took me forever and end up installing none. I know I might need to change my repos list. But I don't know which repository to add or delete to make this thing working.
Hello again depam

Here's how I installed Tovid on 3.4.3. It involves a bit of repository mixing. You will have to decide for yourself if the risks are worth it.
My Mepis/debian knowledge is very limited. There are likely more elegant ways to do this.

My /etc/apt/sources.list
Code:
# This file should be edited through synaptic
# New sources should be added only in the section at the end of this file!

# Primary
deb ftp://ftp.us.debian.org/debian/ etch main contrib non-free

# MEPIS apt pool - specific packages available on-line
deb http://apt.mepis.org/3.4/ etch main

# mplayer
deb ftp://ftp.nerim.net/debian-marillat/ etch main

# Security upgrades for Etch
deb http://security.debian.org/ testing/updates main contrib non-free

# Just for tovid
# deb http://packages.kirya.net/debian/ unstable main contrib non-free
# deb-src http://packages.kirya.net/debian/ unstable main contrib non-free
Start up synaptic and hit the reload. Install (or upgrade where possible) these packages;
1)mencoder
2)libavcodeccvs (upgrade)
3)libtheora (upgrade)
4)dvdauthor
5)transcode
6)python 2.3-dev
7)mjpegtools
8)mplayer (gui version)
* This may not be neccesary? Note that it will remove the non-gui version that came with Mepis. If synaptic displays any warnings at this point read them carefully. Especially if it mentions altering xorg.
If you install the gui version some errors may pop up when trying to use it. This are repairable.
9)python-wxgtk2.6

At this point close synaptic. Open up the sources.list file and delete the # in front of the kirya.net line. Start synaptic again and reload.
Continue by installing;
10)python-libtovid
11)tovid
12)tovid-gui

After closing synaptic replace the # removed in the previous step.

*You will be getting "unauthorised source" warnings from synaptic. This is repairable. To be honest I just ignored them.

None of the above carries any guarantee. All I can tell you is I haven't noticed any instability (so far).
 
Old 06-16-2006, 06:46 PM   #6
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
muddywaters,

Thanks for your instructions. I have successfully installed tovid with gui. Well, I have tried converting my avis to mpeg. The application seems to be very straightforward. Now, my problem is that if tovid enters the makexml portion, it says that I should specify an output file. Shouldn't the tovid handle everything? Were you able to burn the videos on tovid itself? Anyway, thanks a lot. It helped me a lot. I can now burn the mpeg to the k3b by dragging the output mpeg even without the menu. But I was hoping I can burn it using tovid.
 
Old 06-16-2006, 11:56 PM   #7
pengu
Member
 
Registered: Dec 2005
Location: Canton, GA, USA
Distribution: Ubuntu 7.10, FreeBSD, Debian
Posts: 207

Rep: Reputation: 30
to convert lots of video files install VLC (video lan client), go to <file>, then <wizard>.
 
Old 06-17-2006, 07:52 AM   #8
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
I have successfully installed Tovid and was able to convert it to mpeg. I just needed to burn it as a DVD. Any help? Thanks.
 
Old 06-17-2006, 08:32 AM   #9
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Quote:
Originally Posted by depam
I have successfully installed Tovid and was able to convert it to mpeg. I just needed to burn it as a DVD. Any help? Thanks.
I'd like to see an answer to that as well. Some users report that the burn tab in the tovid gui works for them, but it never has for me. I have always used k3b or the growisofs command to burn after making the .xml file.

Anyway, glad to see you have made progress on this. Someday this will be less painful in linux.

edit/ Took another look at tovid gui after posting this. The burn tab does seem to work if the burn option box is marked. The resulting disk plays in a stand-alone player but when trying to play it on the computer I get stuck at the menu screen. Oh well, more stuff to learn.

Last edited by muddywaters; 06-17-2006 at 12:16 PM.
 
Old 06-18-2006, 07:31 AM   #10
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
Muddywaters,

Someone suggested to use avidemux instead of tovid. I still don't want to give up so easilly on Tovid. Come on, I've just installed it. If you managed to compile a VCD/DVD with the menu, can you please be kind enough to tell me how you did it? I've also tried making a DVD using Tovid but I don't know how to burn it using K3B? Is it the same as the VCD? Anyway, you've been a big help on this. And of course, thanks. I'll try to search for the answer and post it asap. Thanks.
 
Old 06-18-2006, 10:53 AM   #11
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Sorry if I left the impression that tovid wasn't working for me. My goal with tovid was to create dvds with menus to play on the dvd player hooked up to the tv. It does this very well. The frustration was with the playback on the computer. Playback in mplayer offers "title 1" "title 2" etc, instead of the menu screens. Haven't figured out how to do this so far.

Here's a link to working with the gui
http://tovid.wikia.com/wiki/Using_the_tovid_GUI

The information in that link is a little dated, but the information for the layout and encoding remains mostly relevant. After encoding a message should appear reading "you can now author, image and/or burn the disc". At this point you have several ways to proceed. 2 possible ways;

1) Click on the burn tab
-> mark boxes "author disc structure" and "burn disc"
this may not work as it is still a somewhat experimental feature.

2)Or take the gui's suggestion of using the command "makedvd /tmp/somename.xml".
This should work. A directory will be created containing a video_ts directory and a audio_ts directory (don't worry about the audio directory being empty).

The dvd can now be burned using growisofs
growisofs -Z /dev/dvd -dvd-video /route/to/created/dvd/directory

*/dev/dvd may not work, you will need use whatever the name is used on your machine

OR k3b can be used. file->dvd video->drag and drop the items from the created dvd directory.

As far as the ipod, sorry. Don't even know how to use an ipod.

Last edited by muddywaters; 06-18-2006 at 10:57 AM.
 
Old 06-18-2006, 08:50 PM   #12
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
muddywaters,

I get the following error after encoding:

makexml
A script to generate XML for authoring a VCD, SVCD, or DVD.
Part of the tovid suite, version 0.27
with: core magick dvd vcd transcode plugins
http://www.tovid.org
--------------------------------
Adding a menu using file: /tmp/A_Walk_To_Remember.mpg
The file /tmp/walk.avi.tovid_encoded.mpg was not found.
Adding title: /tmp/walk.avi.tovid_encoded.mpg as title number 1
The file /tmp/A_Walk_To_Remember was not found.
Adding title: /tmp/A_Walk_To_Remember as title number 2
Usage: makexml [OPTIONS] {video1.mpg video2.mpg ...} -out OUT_PREFIX

Common OPTIONS:

-dvd | -vcd | -svcd Specify the target disc format
-overwrite Overwrite any existing output files

Provide a list of .mpg video files, and they will be played back in
sequence. You may organize several lists of videos into menus by
providing the name of a menu .mpg:

makexml -menu menu1.mpg \
video1.mpg video2.mpg video3.mpg \
-out mydisc
makexml -topmenu topmenu.mpg \
-menu submenu1.mpg vid1.mpg vid2.mpg vid3.mpg \
-menu submenu2.mpg vid4.mpg vid5.mpg vid6.mpg \
-out mydisc2

See the makexml manual page ('man makexml') for additional documentation.
==========================================
Please provide an output filename with -out.

From this point, I can no longer click on the Burn tab. Which make it harder to burn the CD's. I've manage to burn VCD using K3B though. But I don't know the process on how to burn it into DVD.
 
Old 06-18-2006, 10:22 PM   #13
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
macemoneta,

I was able to convert the AVI to mp4. I dragged the video file on gtkpod and it worked. Thanks so much for the tip. How I wish Apple will prolong their battery life on their next products. Does anyone know what package I can use to convert DVD and VCD discs into avi? I wanted to backup some of my discs so that I can upload it on my Ipod. Thanks for all the help guys.
 
Old 06-19-2006, 07:18 AM   #14
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
A few things in your post caught my eye.

Quote:
Originally Posted by depam
Part of the tovid suite, version 0.27
Usage: makexml [OPTIONS] {video1.mpg video2.mpg ...} -out OUT_PREFIX
Please provide an output filename with -out.
It looks like you're running a newer version of tovid. It's possible this bug is the problem;

http://www.createphpbb.com/tovid/vie...6&mforum=tovid

If the fix suggested there doesn't solve the problem maybe post to the tovid forum?
 
Old 06-19-2006, 07:58 PM   #15
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
What version of tovid should I use? I just followed the reps list you gave me. Thanks.
 
  


Reply

Tags
video


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
tovid, wxPython and apt muddywaters Linux - Software 1 05-30-2006 12:09 AM
trying to install avidemux onironaut Linux - Software 0 04-26-2005 01:32 PM
tovid installation problem ksgill Linux - Newbie 1 03-05-2005 10:48 PM
avidemux 2.0.36 from source install errors Help! Blue1K Linux - Software 1 02-25-2005 11:22 PM
Avidemux-install recursive Fcm Linux - Software 1 08-28-2004 01:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 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
Open Source Consulting | Domain Registration