New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for decoding input with ffmpeg (Linux) #2133
Conversation
@ggerganov @slaren could you please early review before I move on ? Best, WT. |
We can add the Probably the conversion functionality should be implemented in |
1099801
to
1a36027
Compare
done
ok |
1a36027
to
95a657e
Compare
@ggerganov |
95a657e
to
9db55dc
Compare
@petterreinholdtsen review please |
986c126
to
f81fe80
Compare
@arthw review please |
examples/ffmpeg_transcode.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the underscore in the filename to a dash for consistency: ffmpeg-transcode.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, still uses underscore -> ffmpeg_transcode.cpp
4e9047e
to
f81fe80
Compare
@ggerganov retouched. Reready for final review. |
Hm, I think you didn't push the correct revision - I don't see any changes since last time |
- 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
f81fe80
to
5d16555
Compare
oops indeed @ggerganov . Just pushed the latest retouches. |
tks @ggerganov |
done |
Unfortunately cannot be built with FFmpeg 7.0. |
WIP: for early review only. Do not merge.
Remaining todos: