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.
I search a tool to convert my media files to ogg-files. I've managed to to do so with VLC - but only file by file. Is there a way to just convert whole folders to ogg. Even if the files contained are in a lot of different formats?
Ogg is only the container, ogg vorbis is for audio files and ogg theora is for video files. The compression codec is vorbis or theora.
Here's a way to convert mp3s to ogg vorbis : http://www.ghacks.net/2009/08/31/con...rbis-in-linux/
Thanks! That's a great tool! Easy to get and easy to use. Perfect!
Only downturn: It just grabs the audi part of my videos (which only makes for a small percentage of my collection ... so I'm already done with my largest 'problem')
Do you (or anyone else) know something similar, but with the option to keep the video information? - I guess it would be the the same than this, but with ogg theora.
Look into ffmpeg or mencoder. You can run them in a loop.
Encoding programs will take what you give them, recognizing the video and audio streams in the input. The work is in determining the settings for the video file you want to produce, which will depend mainly on what device you will use, and the quality you want. Once you get the command nailed down, you can create a one-liner and put it in your $HOME/bin/ directory.
For example, I have a mencoder script I named vid2sansap2 that I use to convert videos to play on my sansa p2 player. I simply need to run "vid2sansap2 <filename>" to convert a file. I tweaked the settings to my liking once, and after that I don't need to remember all those options.
Also look at the mediainfo program. It is great at analysing the video and audio streams of various media files. I use it to display the tag info, which I input (in a similar script) into lame to not only convert files to mp3, but also copy the tags in the process.
Thanks! That's a great tool! Easy to get and easy to use. Perfect!
Only downturn: It just grabs the audi part of my videos (which only makes for a small percentage of my collection ... so I'm already done with my largest 'problem')
Do you (or anyone else) know something similar, but with the option to keep the video information? - I guess it would be the the same than this, but with ogg theora.
Where ...'s are any additional parameters you want. Note: ffmpeg defaults -b 200k (okay for SD, hideous for HD), and -r 25 (not to great in NTSC land).
ffmpeg -codecs
ffmpeg -formats
mencoder -list-options
Any reason that you need ogg? Some PDA type device with limited abilities? Upload to blip.tv or something? Many native linux players handle whatever formats, no need to do any conversion. Unless your machine isn't fast enough to play or scale it in realtime. With every conversion you loose quality. And ogg isn't that great for filesize when it comes to video. Relative to libx264 and other options.
This tonya00henson looks suspect. This is all he ever posts, this site, and while resurrecting old threads. The site looks innocent enough I suppose and is posted in context as a solution, which it is, but it just seems odd to me that this is all he would even post, and he's using Window$. I wonder if I should report it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.