[FFmpeg-soc] BFI

Mike Melanson mike at multimedia.cx
Sat Mar 22 16:46:32 CET 2008


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.

> Must supply at least one output file
> 
> Reading audio now/video now etc. are debugging messages. The segmentation
> fault was apparently because of unnecessary pointer assignment. At least all
> the info's displaying well enough :) and now, how do I play the file(to test
> the audio stream) when ffplay is not installing when I compile ffmpeg.

Congratulations on your progress. BTW, if you want to feed anything to 
gdb, use 'ffmpeg_g'. That has debugging symbols. 'ffmpeg' is the 
stipped, "release" version of the same binary.

Check your main build directory. There is an ffmpeg binary there. Is 
there an ffplay binary there as well? If so, then use it as './ffplay 
<file.bfi>' and report a bug that it doesn't get installed.

However, I suspect ffplay is not there. That means it's not being built. 
That probably means you don't have SDL installed. Figure it out from there.

Another way to test if you are demuxing the sound correctly:

   ffmpeg -i <file.bfi> <file.wav>

Then play the WAV file with another media player.

-- 
	-Mike Melanson



More information about the FFmpeg-soc mailing list