[FFmpeg-soc] BFI

Sisir Koppaka sisir.koppaka at gmail.com
Sat Mar 22 19:22:12 CET 2008


On Sat, Mar 22, 2008 at 9:16 PM, Mike Melanson <mike at multimedia.cx> wrote:

> Sisir Koppaka wrote:
> [...]
> >     Stream #0.1: Audio: pcm_u8, 3906 Hz, mono, 31 kb/s
>
> Err, 3906 Hz is not a sane playback frequency. Read this article for
> sane PCM properties:
>
>   http://wiki.multimedia.cx/index.php?title=PCM
>
> I examined 2287.bfi and the correct sample rate is in there. You must
> have read the wrong offset.
>
I changed one of the get_byte() I used to a
url_fseek(pb,bfi->chunk_header+bfi->audio_offset,SEEK_SET);
Now the output is:
Input #0, bfi, from '/home/sisir/Desktop/bfi/2287.bfi':
  Duration: 00:02:38.8, start: 0.100000, bitrate: 43 kb/s
    Stream #0.0: Video: bfi, pal8, 320x140, 100.00 tb(r)
    Stream #0.1: Audio: pcm_u8, 5464 Hz, mono, 43 kb/s

Still, it's not one of those listed sane frequencies in the wiki.

I put the SDL libs in the build directory and changed ffplay.c's sdl header
includes to their respective paths. Yet, it didn't compile. This was a
pretty stupid thing to do :), I think because the configure script seems to
search and decide for the SDL headers and it doesn't find them even now :)

Can you tell me where exactly to put the SDL headers? I don't know if gcc
has a PATH variable...


-- 
-----------------
Sisir Koppaka



More information about the FFmpeg-soc mailing list