|
Rockbox mail archiveSubject: Re: libcook not working on SolarisRe: libcook not working on Solaris
From: Mohamed Tarek <mtarek16_at_gmail.com>
Date: Mon, 17 May 2010 09:06:04 +0300 On Sun, May 16, 2010 at 8:40 PM, vikas gupta <vikas.iet_at_gmail.com> wrote: > > 1) thanks for the reply. Can't I run the test program on my bare > solaris box as it is a standalone program or do I require it to be > tested on Rockbox as my intention was to port the libcook library to > my hardware The test program *is* a standalone program. What I meant was, when you compile a rockbox simulator, and try to play the test file from there, does it work fine ? > and as per FFMpeg dev list, it is good to see how Rockbox > have done it if I just want libcook to be ported. > > If you just want to see how the library was ported, you could also follow the svn history. > > I tried dumping the pcm data from the output buffer in 16 bit format, > but result is same (broken). I ran the same test file on Ffmpeg, and > it does provide me the correct output. Am i missing something? > > Okay, try this: ffmpeg -i cook_sample64.rm -acodec copy -f image2 out%d.raw this command will output the raw compressed frames that are passed to the ffmpeg decoder, and you could display them in hex with this : (for example, frame 1) xxd out1.raw Then, uncomment the line #define DUMP_RAW_FRAMES in main.c to dump the same raw input buffers from the test program. then xxd dump1.raw to compare with out1.raw from the previous step. The corresponding frames of course should be identical. (dump#.raw should be identical to out#.raw). If they're not, could you send the 2 frames you checked in their raw format ? > Any help will be greatly appreciated. > > Regards, > Vikas > -- MTReceived on 2010-05-17 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |