Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th September 2020, 19:00 | #1 | Link | |||
Registered User
Join Date: Jan 2013
Posts: 50
|
How to convert DTS and PCM audios to FLAC on Linux
Hi,
I need to convert DTS and PCM audios to FLAC on Linux using libflac 1.3.3 (not with in-built FLAC of ffmpeg). Quote:
Quote:
Quote:
Able to do this on Windows using eac3to without any issues but not on Linux. It's a shame there's no eqc3to equivalent on Linux. Could anyone please advise correct CLI method please? Last edited by bjoker; 15th September 2020 at 19:16. |
|||
15th September 2020, 22:19 | #3 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
Out of interest....
Are your DTS sources 6-channel or 2-channel?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
15th September 2020, 23:22 | #5 | Link | |||
Registered User
Join Date: Jan 2013
Posts: 50
|
Quote:
Quote:
Quote:
|
|||
21st September 2020, 11:02 | #6 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
iirc correctly the problem is with ffmpeg not properly writing wav chunk sizes.
I usualy use: ffmpeg | sox | flac for example: Code:
ffmpeg -y -threads 8 -loglevel fatal -nostdin -i "E:\Temp\iId_1_aid_1_2020-09-21@11_53_34_1510_01.mp3" -ac 2 -ar 48000 -f sox - | sox --multi-threaded --temp "E:\Temp\2020-09-21@11_53_34_151001" --buffer 524288 -S -t sox - --endian little -b 24 -t wav - | flac -f -F --ignore-chunk-sizes -5 -o "E:\Temp\iId_1_aid_1_2020-09-21@11_53_34_1510_02.flac" - Cu Selur Ps.: depending on how you compile sox you could probably just use sox and not use ffmpeg and flac. |
Thread Tools | Search this Thread |
Display Modes | |
|
|