Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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 usually use some kind of mpeg4 for the video (in an avi container) with mp3 audio. As I understand it, there are a couple bad options (swf), then a bunch of pretty-comparable options.
mpeg2 is the standard format for DVD, so if you intend to burn the file back to a playable dvd you should keep it in that format. Of course you can reduce the frame size, and bitrate to save space at the expense of quality. mpeg1 is also supported by the dvd standard. Note that there are some limitations on what the standard accepts; you can't use just any combination of settings.
The best "bang for the buck" in terms of file-size vs. quality is mpeg4, especially with the x264 codec. .avi is not a codec, it's a container format. You can have any of the mpeg formats inside an .avi, for example, although it doesn't support mpeg4 all that well (something about a lack of b-frame support). A lot of people use xvid in an avi container, a combination that travels pretty well across platforms. xvid is an mpeg4 codec, but of an earlier version of the standard, so the file size/quality ratio is average to pretty good.
I'd stay far away from asf, swf, flv, rm, and mov, as they are all either proprietary or not well-supported. The only reason I see generally to use any of these is if you have a portable player that only supports such formats or something.
As for audio formats, the dvd standard supports mp2 and ac3. Most stand-alone players can also handle mp3, but it's non-standard. mp3 is also a good choice for avi files, since most players can handle it. But use ac3 if you want high-quality sound. I personally don't recommend using anything except mp2, mp3, or ac3 for most videos.
The best FREE solution is ogg theora+vorbis. It's open, good quality, and supported by most Linux media players. But it's not very cross-platform compatible yet. OTOH, it's an up-and-coming player; the Mozilla project has announced that Firefox will support these formats natively, and there's a push to make them part of the HTML standard.
So in the end you have to decide for yourself. Make some test videos in different formats and try them out.
mpeg2 is the standard format for DVD, so if you intend to burn the file back to a playable dvd you should keep it in that format. Of course you can reduce the frame size, and bitrate to save space at the expense of quality. mpeg1 is also supported by the dvd standard. Note that there are some limitations on what the standard accepts; you can't use just any combination of settings.
The best "bang for the buck" in terms of file-size vs. quality is mpeg4, especially with the x264 codec. .avi is not a codec, it's a container format. You can have any of the mpeg formats inside an .avi, for example, although it doesn't support mpeg4 all that well (something about a lack of b-frame support). A lot of people use xvid in an avi container, a combination that travels pretty well across platforms. xvid is an mpeg4 codec, but of an earlier version of the standard, so the file size/quality ratio is average to pretty good.
I'd stay far away from asf, swf, flv, rm, and mov, as they are all either proprietary or not well-supported. The only reason I see generally to use any of these is if you have a portable player that only supports such formats or something.
As for audio formats, the dvd standard supports mp2 and ac3. Most stand-alone players can also handle mp3, but it's non-standard. mp3 is also a good choice for avi files, since most players can handle it. But use ac3 if you want high-quality sound. I personally don't recommend using anything except mp2, mp3, or ac3 for most videos.
The best FREE solution is ogg theora+vorbis. It's open, good quality, and supported by most Linux media players. But it's not very cross-platform compatible yet. OTOH, it's an up-and-coming player; the Mozilla project has announced that Firefox will support these formats natively, and there's a push to make them part of the HTML standard.
So in the end you have to decide for yourself. Make some test videos in different formats and try them out.
Thanks for the in-depth answer to my question, it's saved for further review.
Wrong question, imho, you should be asking first "what video codec to use".
If you were asking about codec, then use x264 if you have multicore machine, because it can take advantage of several CPUs or CPU cores. If you don't have multicore machine, then use xvid. Or (mplayer's) "lavc" codecs.
Quote:
Originally Posted by evodawg
What do you guys usually rip to or file format??
*.mkv ("Matroska"), because it can contain several audio tracks, supports embedded (not burnt-into-video!) subtitles, embedded file attachments, chapter informations and (AFAIK) even buttons (never used this one, though). Last time I've been ripping something I've been using x264 or xvid. Xvid is a bit faster (at medium or low quality), but with x264 you can achieve slightly better quality (according to PSNR tests) and x264 supports multicore CPUs. Anyway you'll hardly see the difference at the bitrates above 1200..2400 kbps. (normal ripping quality I use)
Quote:
Originally Posted by evodawg
And what sound codec do you use?
I don't recode audio, when it is possible, and save it in same quality/codec as it was in original video. So it normally ends up as ac3 audio.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.