Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: Murrquan on August 09, 2008, 02:14:18 AM

Title: Possible to install with only free codecs?
Post by: Murrquan on August 09, 2008, 02:14:18 AM
Hellos! I am considering switching my Sansa e250 over to Rockbox, in order to use it with Linux. One thing concerns me, however; the inclusion of non-free (MPEG, etc.) codecs in the default Rockbox install. I try to use only free codecs in my Linux installs, or to at least get a license to use the non-free codecs.

Is there any way to do a customized Rockbox install that doesn't include things other than Ogg Vorbis, Ogg Theora, FLAC and such? Or, failing that, can I remove the non-free components somehow? If anyone can answer such an odd question, many thanks >.>
Title: Re: Possible to install with only free codecs?
Post by: Llorean on August 09, 2008, 02:43:22 AM
There's a folder with all the codecs, just delete the ones you don't want.
Title: Re: Possible to install with only free codecs?
Post by: nls on August 09, 2008, 02:44:38 AM
You can delete any codecs you like from the codecs dir inside .rockbox, to only have ogg/vorbis and flac you just keep vorbis.codec and flac.codec. But i guess a few others should be fine too.

meh, llorean was faster...
Title: Re: Possible to install with only free codecs?
Post by: JdGordon on August 09, 2008, 06:06:48 AM
well its not actually as simple as that... to do it properly you really need to remove some lines in apps/filetypes.c and then recompile, otherwise your "non free" codec files will still show up as supported filetypes (and so will get added to playlists automatically)
Title: Re: Possible to install with only free codecs?
Post by: Llorean on August 09, 2008, 09:28:17 AM
If he's not going to have files in the unsupported formats on the device, though, this quirk won't affect him anyway.
Title: Re: Possible to install with only free codecs?
Post by: Murrquan on August 09, 2008, 04:01:28 PM
Okay, thanks!

I just found out that my Sansa's an e250v2 though, so I can't put Rockbox on it after all >.< But thanks anyway!
Title: Re: Possible to install with only free codecs?
Post by: tomers on August 09, 2008, 04:09:42 PM
Doesn't the rbutil application notifies the user that he tries to install Rockbox on an unsupported architecture?
Guess many v2 users have the same issue and have no clue that their player is unsupported...
Title: Re: Possible to install with only free codecs?
Post by: bluebrother on August 09, 2008, 04:52:56 PM
yes, it does. Well, at least it should do -- it's possible that there are usb ids around rbutil doesn't know about ...