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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello, i want to encode mpeg-2 video files from my ubuntu gutsy computer to xvids. I've seen some of the torrents where they get a whole movie in around 700mb, and the video quality is very great.
How do i achieve such quality? When i try to encode, the quality is just so so.
I've been scouring the web for good command line examples but have really not found anything. I have been able to find great lengthy tutorials, but i just want something simple as most of it is gibberish to me.
The most important thing is to use multipass. Without it, the bitrate won't be adhered to, so the final size will be way off. Here's the script I use for ripping dvd's (for a target size of 750meg, and 192kbps mp3 audio):
I think multiple threads will decrease quality. If the MPEG-2 has a lot of noise or is blocky, the xVid encoder will have a hard time guessing. I suggest use video filters to smooth out the noise. I have used hqdn3d with values 2:1.5:3 to clean out noisy videos (mainly DVD movies). Other video filters can be used to enhance the compression algorithm of xVid.
If the video is a DVD movie or came from a PVR card, you will have to worry about the interlace material in it. This means you will have to worry about catching all the frames and de-interlace the video if you want a progressive video.
Interesting, I didn't know about multiple threads hurting quality. To be honest the xvid encoder doesn't seem to scale over multiple threads well at highish quality. I'll have a play myself to see if it's worth it.
For MPEG-2 content from a PVR card might be different on applying video filters. I suggest check the MPlayer manual to know how to use the video filter and know what they do.
Let us assume that hqdn3d=2:1.5:3 is a good way to clean up MPEG-2 and yadif=1 is a good decent de-interlacer. I would say that the following should work ok for most content.
mplayer -vf yadif=1,hqdn3d=2:1.5:3,scale=-1:-1:0
Maybe adding -ssf ls=100 will increase the sharpness of the content to bring out the details of the video. With mencoder, it is a little different on what options you can use compared to mplayer, so play around with the settings.