[FFmpeg-soc] BFI Decoder
Sisir Koppaka
sisir.koppaka at gmail.com
Wed Apr 16 23:42:29 CEST 2008
On Thu, Apr 17, 2008 at 3:03 AM, Michael Niedermayer <michaelni at gmx.at>
wrote:
> On Thu, Apr 17, 2008 at 02:22:09AM +0530, Sisir Koppaka wrote:
> > On Thu, Apr 17, 2008 at 2:16 AM, Mike Melanson <mike at multimedia.cx>
> wrote:
> >
> > > Sisir Koppaka wrote:
> > > > There's no memory corruption/segfaults for ffmpeg. ffplay gets hit
> hard
> > > > though, and it gives a list of all sdl library files and .so files.
> That
> > > > output is listed below:
> > >
> > > That probably just means that 'ffmpeg' got lucky. Run the command line
> > > through valgrind (and use 'ffmpeg_g' so you get symbols) and see where
> > > your decoder is stepping on memory (I'm just guessing about the root
> > > problem here :) ).
> > >
> [...]
> > Input #0, bfi, from '/home/sisir/Desktop/bfi/2287.bfi':
> > Duration: 00:01:18.7, start: 0.000000, bitrate: 88 kb/s
> > Stream #0.0: Video: bfi, pal8, 320x140, 9.00 tb(r)
> > Stream #0.1: Audio: pcm_u8, 11025 Hz, mono, 88 kb/s
> > File 'test.mov' already exists. Overwrite ? [y/N] y
> > Output #0, mov, to 'test.mov':
> > Stream #0.0: Video: mpeg4, yuv420p, 320x140, q=2-31, 200 kb/s, 9.00
> > tb(c)
> > Stream #0.1: Audio: 0x0000, 11025 Hz, mono, 64 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #0.1 -> #0.1
> > Unsupported codec for output stream #0.1
>
> retry with a audio encoder which is supported by your ffmpeg
>
sisir at sisir-laptop:~/Desktop/ffmpegcompile/trunk$ ./ffmpeg -i
~/Desktop/bfi/2287.bfi test.wav
FFmpeg version SVN-r2, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-libfaac --enable-libfaad --enable-libmp3lame
--enable-gpl
libavutil version: 49.6.0
libavcodec version: 51.52.0
libavformat version: 52.11.0
libavdevice version: 52.0.0
built on Apr 10 2008 16:08:25, gcc: 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)
Input #0, bfi, from '/home/sisir/Desktop/bfi/2287.bfi':
Duration: 00:01:18.7, start: 0.000000, bitrate: 88 kb/s
Stream #0.0: Video: bfi, pal8, 320x140, 9.00 tb(r)
Stream #0.1: Audio: pcm_u8, 11025 Hz, mono, 88 kb/s
Output #0, wav, to 'test.wav':
Stream #0.0: Audio: pcm_s16le, 11025 Hz, mono, 176 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 140kB time=6.5 bitrate= 176.5kbits/s
video:0kB audio:140kB global headers:0kB muxing overhead 0.030610%
---------------------------------
sisir at sisir-laptop:~/Desktop/ffmpegcompile/trunk$ mplayer test.wav
MPlayer 2:1.0~rc1-0ubuntu13 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU T2400 @ 1.83GHz (Family: 6, Model: 14,
Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing test.wav.
Audio file file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 11025 Hz, 1 ch, s16le, 176.4 kbit/100.00% (ratio: 22050->22050)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 5.7 (05.7) of 6.0 (06.0) 0.6%
Exiting... (End of file)
--------------------------------------------------------------
Yeah, the audio's playing fine and was properly encoded.
-----------------
Sisir Koppaka
More information about the FFmpeg-soc
mailing list