]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
examples : add support for decoding input with ffmpeg (Linux) (whisper/2133)
authorWilliam Tambellini <redacted>
Tue, 21 May 2024 15:31:41 +0000 (08:31 -0700)
committerGeorgi Gerganov <redacted>
Sun, 16 Jun 2024 17:30:48 +0000 (20:30 +0300)
commit9ed11f300a4d9ddaccf298497636b099ffca5c51
tree415dddd91f6ccdbfa1f3d44536c341d96d2c62a7
parentac1e9ae3dd975c7b1ad52f7c2805caec5bbde156
examples : add support for decoding input with ffmpeg (Linux) (whisper/2133)

- search for ffmpeg libs/headers at cmake time
- added ffmpeg-transcode.cpp into libcommon if ffmpeg on
- hooked ffmpeg trancoding in common read_wav(...)
- passed test:
./main -m ggml-base.en.bin -f samples/jfk.mp3
examples/common.cpp