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 10-04-2003, 10:35 AM   #1
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Rep: Reputation: 15
Encoding movies for Totem


I've been trying to use mencoder to encode movies for Totem - a GNOME movie player based on Xine libs, but all the options I try won't work in Totem. I'm encoding standard DVD (MPEG 2?) streams. The only thing that works so far is mplayer dvd://1 -dumpstream, but since that doesn't compress the movie, it really eats up my harddrive space quickly. Has any one discovered a set of options that allows a compressed movie made in Linux to work in Totem/Xinelibs? Is transcode/ffmpeg maybe better suited to this situation? Thanks in advance.
 
Old 10-04-2003, 11:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
this is not about "discovering" options to anything, you just need to use a divx encoder, instead of trying to somehow copy films using a video player... nothing to do with totem use mencoder. and of course, play them back with mplayer, not totem.

Last edited by acid_kewpie; 10-04-2003 at 11:38 AM.
 
Old 10-04-2003, 01:22 PM   #3
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
So do you mean to say that I can't encode with mencoder if I want to watch in Totem, and if I just have to use the divx encoder with mencoder, what audio encoder do I use with it? Could you have an example command maybe?
 
Old 10-05-2003, 05:27 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
no i mean, mencoder is a divx encoder (among other outputs), and it's output will be playable on ANY divx player. Xine, Totem, Mplayer, AVIfile, BS-player, DivX-player, Windows Media Player... hundreds of them.

I also mean that Totem is pants, and you should use MPlayer anyway.
 
Old 10-05-2003, 09:53 AM   #5
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
OK, I was trying to test mencoder with the following options:

mencoder dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=697 -oac mp3lame -lameopts br=3 -o movie.avi

Essentially the suggestion in the documentation. Should I instead do -ovc divx4 because when I tried the above it didn't seem to work. Also, do the file have to be completed in order to be played in other players. Because after only ten megabytes being encoded or so, it works in mplayer but not totem. The reason I want to use totem is that I set up many systems for friends, etc., and the gnome integration makes it considerably easier to use than MPlayer. And with the gstreamer backend, I'm thinking it will be significantly better than with xinelibs, as soon as Gstreamer gets it promised improvements in video support at least.
 
Old 10-05-2003, 09:55 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
mabye my app would suit you best...

http://acidrip.sf.net

which uses mplayer

if you have correctly created a file, then it will work on any decent player. if it doesn't work on Totem, then blame totem... ANY decent divx player will play the output file fine.
 
Old 10-05-2003, 09:57 AM   #7
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks. A GUI is certainly welcome here. Video encoding is quite a few steps away from my forte. :P
 
Old 10-05-2003, 11:10 AM   #8
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
I'm using acid-rip, but everytime I try to rip, I get "Mencoder interrupted by user" with the line directly above reading "Option vop: doesn't exist" I already changed a line in your source to make it use the new dvd://N option instead of -dvd N. It wasn't detecting my version of MPlayer correctly I guess. How do I remove this vop option?
 
Old 10-05-2003, 11:15 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
make sure you're using 0.11, 0.10 and below only work with mplayer 0.92 and below.


mind you you should be using 0.92 now though due to a security error in 1.0pre1...
 
  


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
totem subtitles encoding zeky Linux - Software 1 10-19-2005 12:26 PM
Totem or totem gstreamer wont decode quicktime or wmv movies! reformedgeek Ubuntu 5 05-24-2005 12:13 PM
Totem/ Totem-xine regorbro Linux - Software 1 12-11-2004 10:32 PM
movies playing upside down in mplayer but fine in totem mickyg Linux - Software 2 10-29-2004 03:01 PM
Totem cant play movies? Kyl3 Mandriva 6 09-01-2004 03:49 PM


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

Main Menu
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