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.
I am trying to set up oggenc with grip and have been having a hell of a hard time.
This is my encode command-line input from within grip:
Code:
-m 128 -M 320 -a %a -l %d -t %n -d %y -G %G %w
Everything goes fine within grip (the encoding of the wav file to ogg seems rather quick) and when I open the ogg file via command-line or through xmms, the ogg file will not play.
While at the same time, I can encode the ogg file by hand issuing
Code:
oggenc -m 128 -M 320 -a artist -l disc -t trackname -d year -G genre 02*ogg
And this seems to work fine. I am wondering what I am doing different in the two? The % switches from within grip represent the current track, artist, ect. And the %w represents the file being encoded.
Were you trying to set the bitrate using the "-m 128"?
Have a look at http://nostatic.org/grip/doc/ar01s04.html#mp3config
Look for a section titled "Configuration (%) switches".
The switches are different for grip. Grip will convert them for use with oggenc.
Yeah, I would have thought it differently too!
Edit: PS. You can set the bitrate under Config->Encode->Options.
Ussing -m 128 and -M 320 would set the minimum bitrate to 128 and the maximum bitrate to 320. This works fine through the command line, but I'm not sure about grip. I'll compare our two command-lines and see if I can make something work
You could try using -q 6 or something similar instead of -b bitrate. If you set the quality, the bitrate won't always stay the same, and then you can use the -m and -M flags to keep it in the range you want.
Still no luck, even with using -q 6. The thing that I am not understanding is why I can issue hte exact same command by hand through a console, it works fine. Grip must not be getting something accross to oggenc on my machine. I'll keep trying and see if I get any results ever.
I found out the problem with the hole thing was that ID3 tags were being written to the Ogg file after the encoding was done. Checking the option to ID3 tag only .mp3 files fixed everything. Thanks for everyone's help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.