Linux - SoftwareThis 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
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.
Hi everyone - First post.
I wouldn't call myself a linux noob, I know the basics an can get most things to work, but I'm definately a novice. Anyway...
I'm building a Slackware 10.1 based MythTV box and I'm trying to figure out a way to convert video. In windows I use TMPGEnc and VirtualDub for almost all of my converting needs. Sometimes I want to make SVCDs and sometimes I need to make XVids, but I don't know how to do either in linux. I've found what look to be some decent DVD authoring programs (QDVDAuthor and klvemkdvd) but nothing on basic video converting. I could do without the ability to create XVids but I need to ability to decode and convert from XVids and I want to be able to author SVCDs as well (I have a 52x cd burner and a 2x DVD burner - you do the math). If anyone can give me some advice I'd be very greatfull. Thank you
P.S. I know that MythTV doesn't output XVids but I have lots of files downloaded that are XVids that I want to convert.
P.P.S. One other thing... If there are any PSP (Playstation Portable) owners out there that have a good solution to convert video into PSP's MP4 format under linux, that is something else I am trying to figure out.
UPDATE: Apperantly I'm pretty dumb. FFMPEG would be the program to convert to mpeg 1/2 for vcd and svd authoring right? and vcdimager (k3b frontend) would be the way to auther the disc and burn it. I'm sorry I have this inate ability to ask a question that I basically know the answer to. So here's my new question, whats a good GUI frontend for FFMPEG converting? My PSP question still stands.
The above is for a two pass encode (which gives better quality, as well as good bitrate/size control). The first step just creates a log file containing pertinent information about the video, so rate control works better. The second step actually creates the output, converting the video to xvid, and also converts the audio into mp3 format, and both the audio and video are wrapped up into an avi file. Most of the options are just the default values, which work fairly well for my needs. Have a look at the mencoder man page for LOADS of options.
beadyallen - Thanks for your code, works like a charm.
I'm using Mencoder to convert DVD to mpeg. The following works fairly nicely, but produces too large a file, 1GB. The scale command doesn't work so I know I'm doing something wrong there. I want to scale it down from 720x480 to work on an Arcos video player and also to fit on a CD. On the Windows side, I can use AnyDVD with cloneDVDMobile and get the video to size at 480x270 witha file size of around 700MB. I know I can keep using AnyDVD, but would rather learn more about Linux and eventually deep 6 Windows.
You should probably start a new thread for this, but here goes. For starters you've got a ',' after the scale command, so that is why it's not working. As for the video size (1G), there's two reasons. Firstly, you're not converting the audio, so you just get the ac3 dvd audio. It's best to convert it to mp3 or similar. Secondly, you need to specify a target video bitrate, so that the overall file size (video+audio) will be the size you want. Have a google for online bitrate calculators, and you'll find what you want (or you could encode it into the conversion script).
Also, you don't want to use -of mpeg (which is for mpeg2 files). Most likely you want the default .avi output container.
Since afaik clonedvd uses mencoder to do the grunt work anyway, you might be able to find proper command line settings within clonedvd somewhere.
You could try HandBrake, I found the linux version was not as good as the windows version. I have had both working in Ubuntu. WinFF is another option I I have had success with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.