gchudov / cuetools.net

CD image processing suite with optimized lossless encoders in C#
http://cue.tools/
Other
487 stars 52 forks source link

Allow tta decoding using ffmpeg.dll #270

Closed c72578 closed 1 year ago

c72578 commented 1 year ago

Typically, tta files can be decoded by CUETools using ttalib. An alternative possibility of decoding tta is ffmpeg.dll. The ffmpeg AVSampleFormat of tta files is AV_SAMPLE_FMT_S16 [1].

[1] https://ffmpeg.org/doxygen/3.1/group__lavu__sampfmts.html

c72578 commented 1 year ago

Here is a build for testing, which allows decoding of tta files using ffmpeg.dll: CUETools_2.2.3_2023-04-03_git_af348c6_Allow_tta_decoding_using_ffmpeg.dll.zip SHA256: 9180002197a4d4fcb96ae06594258d66bd11a094352cfa9f6487923deb3e0f7c

For testing, ffmpeg.dll should be selected under Settings - Formats - tta - Decoder:

Settings_Formats_tta_Decoder_ffmpeg dll_circle

Required FFmpeg 4.3 dll files can be found here: https://github.com/gchudov/cuetools.net/pull/218#issuecomment-1250069100

Barough commented 1 year ago

Maybe you should updated FFmpeg to v6.x