Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Codec Performance Comparison
« previous next »
  • Print
Pages: [1]

Author Topic: Codec Performance Comparison  (Read 2348 times)

Offline lee321987

  • Member
  • *
  • Posts: 76
Codec Performance Comparison
« on: April 18, 2008, 11:07:36 PM »
   I'm trying to participate in the Codec Performance Comparison (http://www.rockbox.org/twiki/bin/view/Main/CodecPerformanceComparison), but am getting stuck on one part.  Their is a link to a .zip on that page (in the sentence that starts with "Download the encoder pack here which contains CLI encoders, a debug menu patch...").  I'm guessing that it's a .patch or .diff, but in the downloaded .zip file there is only a "codecs" folder and a batch file. 
 
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Codec Performance Comparison
« Reply #1 on: April 19, 2008, 03:11:13 AM »
Well, the codecs folder contains a number of .exe files with common encoder names.

Looking at the batch script, you just need to extract the zip, copy the sample.flac file that you downloaded in the previous step into the codecs folder, then run the .bat file.

The next section on the Wiki page, 'Generating Sample Set' does explain what to do...
« Last Edit: April 19, 2008, 03:12:44 AM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline lee321987

  • Member
  • *
  • Posts: 76
Re: Codec Performance Comparison
« Reply #2 on: April 19, 2008, 12:16:42 PM »
   Ok, my fault! 
   I think I was looking in my build folder for the SOURCES files.
   Is it just me or have I been staying up too late since I found out about Rockbox...

   There is a line on that page that mentions "debug menu patch", unless I'm missing something, there is no patch involved in that project.

   I think this thread may just be a waste of space...no?
   May I ask that it be deleted?
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Codec Performance Comparison
« Reply #3 on: April 19, 2008, 12:30:28 PM »
Quote from: lee321987 on April 19, 2008, 12:16:42 PM
I think this thread may just be a waste of space...no?

Well, have you got it working or not?

I think the 'debug menu patch' wording is an error (or just poorly worded).

However, you do need to compile your own build of Rockbox in order to perform the test (as described in the Compile including the test_codec plugin), because the test requires the use of a special context menu entry in order to produce a results file.

Is that any clearer, now?
« Last Edit: April 19, 2008, 12:32:37 PM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline lee321987

  • Member
  • *
  • Posts: 76
Re: Codec Performance Comparison
« Reply #4 on: April 19, 2008, 04:36:28 PM »
   Oops, sorry -- Yeah, I got it. 
   As far as compiling goes, I only had to change one thing --  I opened the file
C:\cygwin\home\ [User Name] \rockbox\apps\plugins\SOURCES   (SOURCES is a FILE with no extenstion if anyone wants to know), and added the line, "test_codec.c" -- printed here in red


#if CONFIG_CODEC == SWCODEC        /* software codec platforms */
mp3_encoder.c
wav2wv.c
#else                              /* hardware codec platforms */
#ifndef HAVE_MMC                   /* not for Ondio, has no remote control pin */
alpine_cdc.c
#endif
splitedit.c
#endif /* CONFIG_CODEC */
test_codec.c
#if LCD_DEPTH > 1                  /* non-mono bitmap targets */
matrix.c
#endif


   "CONFIG_CODEC == SWCODEC" (the phrase that the Wiki guides you to) appears twice in the file.  The code you see here is the second instance of it (starting at line number 118)

   Configure...make....make zip ---- and you're home.

   Thank you bascule.

   (I'm not sure is this topic is still a waste of space, but if anyone in charge thinks so then please do remove it.)
« Last Edit: April 20, 2008, 06:51:32 PM by lee321987 »
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Codec Performance Comparison
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.065 seconds with 15 queries.