Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've never used mencoder before, so I'm just a bit confused on how it works exactly. I have a file called "file.rm" --it's a RealMovie file-- and I want to convert it to MPEG4 with Audio. What command do I type? And what libraries/other software do I need to do this? And, as I know I'll be doing this soon, how would I convert I raw stream-dump from a DVD into MPEG4 as well? Thanks a lot for any help.
From my understanding and reading the mencoder howto/man page, you can't ecode a real media file to mpeg. Someone correct me if I'm wrong though, but I've never seen it done or mentioned before.
That's an example of encoding to mpg. Here's how I'd try it:
mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1100 -oac copy realvideo.rm -o mpegvideo.mpg
Don't know if it'd work though, but that's how I'd try to do it.
mpeg encoding is still beta and not useful as it doesn't encode audio to mp2 yet, so you won't actually get a REAL mpeg file. anything wrong with a nice modern avi?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.