[Ffmpeg-devel] [PATCH] dlopen libamrnb / libamrwb instead of linking
Pavlov Konstantin
thresh
Thu Apr 19 14:33:31 CEST 2007
On Thu, Apr 19, 2007 at 04:20:10PM +0400, Pavlov Konstantin wrote:
> Hi guys.
>
> The attached patch was made by led at altlinux.ru to allow ffmpeg dlopen
> libamrnb and libamrwb instead of linking to it.
>
> I've tested that on amr-nb files on x86-32, works fine. It would be nice
> if someone could test it with wb as well as on x86-64.
Just checked with ffmpeg' produced amrnb and amrwb files on 32bit: OK.
However people say ffplay isnt capable of playing such files on x86-64,
while mplayer and xine play them just fine.
> ffmpeg -i /home/thresh/file.avi -acodec amr_wb -ar 16000 -ab 12.65k -s
> 352x288 -ac 1 file.3gp
results in mplayer's :
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000)
Selected audio codec: [ffamrnb] afm: ffmpeg (AMR Narrowband)
and
>ffmpeg -i /home/thresh/file.avi -ar 8000 -ab 12.2k -s 352x288 -ac 1
>file.3gp
results in mplayer's :
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 1 ch, s16le, 256.0 kbit/100.00% (ratio: 32000->32000)
Selected audio codec: [ffamrwb] afm: ffmpeg (AMR Wideband)
mplayer and ffplay are dynamically linked to ffmpeg libraries.
--
There's nothing like the face of a kid eating a Hershey bar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070419/0ece4c87/attachment.pgp>
More information about the ffmpeg-devel
mailing list