AMR (3gpp audio) codec patch for multimedia/ffmpeg, multimedia/mpeg4ip

Heiko Recktenwald heikorecktenwald at googlemail.com
Tue Dec 11 06:02:55 PST 2007


HeikoRecktenwald wrote:
> Jeremy Messenger wrote:
>> On Mon, 03 Dec 2007 06:05:08 -0600, alexander lunyov 
>> <lan at startatom.ru> wrote:
>>
>>> Hello.
>>>
>>> multimedia/ffmpeg port does not include support for AMR audio codec
>>> which is used in 3gpp video format, so here's the patch for Makefile. It
>>> uses audio/libamrnb and audio/libamrwb ports.
>>
>> Please create a new PR with patch, that way we don't forget and lose 
>> this email during the freeze. Thanks!
> 
> Does work with multimedia/mpeg4ip's mp4player too!
> 
> mp4player bla.3gp did not work, the extension 3gp is probably not 
> hardcoded yet, 

This is another problem, the last output of mp4player before the loading 
stopped, in case somebody is interested:


<...>
23:44:03.939-audiobuf-7: sample diff is 160 1600
23:44:03.940-audiobuf-7: freq_ts 320 next 160
23:44:03.942-audiobuf-6: Inserting 320 silence bytes at 20 (160)
23:44:03.942-audiobuf-7: jitter calc start 0 now 320 diff 320
23:44:03.942-audiobuf-7: ts start 20 now 0 diff 20
23:44:03.942-audiobuf-7: calc diff 40 add -20
23:44:03.942-audiobuf-7: resync - freq ts 320 should be 480
23:44:03.942-audiobuf-7: sample diff is 160 1600
23:44:03.942-audiobuf-7: freq_ts 640 next 480
23:44:03.942-audiobuf-6: Inserting 320 silence bytes at 40 (480)
23:44:03.942-audiobuf-7: jitter calc start 320 now 640 diff 320
23:44:03.942-audiobuf-7: ts start 40 now 20 diff 20
23:44:03.942-audiobuf-7: calc diff 40 add -20
23:44:03.943-audiosdl-7: Sample size is 256
23:44:03.943-audiosdl-6: requested f 8000 chan 1 format 8010 samples 1024
23:44:03.958-audiosdl-6: got f 8000 chan 1 format 8010 samples 1024 size 
2048 ds
23:44:03.958-audiosdl-5: Using delay measurement from SDL
23:44:03.958-videosync-7: initializing with video perist of 0x80c8680
23:44:03.958-videosync-6: aspect ratio 1.09091 157.091 176 144
23:44:03.958-videosync-3: aspect ratio width less than orig
23:44:03.958-avsync-6: sync changed state Init to Wait Sync
23:44:03.958-avsync-3: Sync thread received message 12


H.







> but mp4player rtsp://bla/bla.3gp is ok.



More information about the freebsd-multimedia mailing list