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.


Go Back   Doom9's Forum > General > Audio encoding

Thread Tools Search this Thread Display Modes
Old 10th September 2015, 14:49   #1  |  Link
Registered User
Join Date: Sep 2015
Posts: 9
Slow down AC3 to 23.976 fps with SoX


my plan is to slow down an 5.1 AC3 stream from 25,000fps to 23,976fps with SoX "-speed" via FFmpeg. I succeeded with first decoding the AC3 stream to 6 single .wav files and processing them seperatly with SoX before re-encoding to AC3. But I would like to do this in 1 step.

Here is what I got so far and it's of course not working:
ffmpeg -i "\dd51_track2_ger_DELAY 0ms.ac3" -f wav -| "...\sox" -t wav -speed 0.95904 -| "...\random ac3encoder" -output.ac3
This is what should happen:
1) decoding AC3 with FFmpeg to L.wav, R.wav, C.wav, LFE.wav, Ls.wav, Rs.wav
2) load these .wav files to SoX
3) slow them down with -speed option to L_new.wav, R_new.wav, C_new.wav, ...
4) load them into my prefered AC3 encoder

Maybe my way is completely bullshit and if there's already a better solution, please let me know
Boon is offline   Reply With Quote
Old 10th September 2015, 15:22   #2  |  Link
AV heretic
Join Date: Nov 2009
Posts: 422
eac3to https://forum.doom9.org/showthread.php?t=125966
eac3to source.ac3 dest.ac3 -slowdown -(target bitrate)

Last edited by Qaq; 10th September 2015 at 15:24. Reason: example added
Qaq is offline   Reply With Quote
Old 14th September 2015, 15:20   #3  |  Link
Registered User
Join Date: Mar 2006
Posts: 1,052
ffmpeg.exe -i %% -vn -af "xxx" -f sox - | sox.exe -S -V -D -t sox - -t wav - some-processing | some encoder

btw all this can be performed in ffmpeg (IMHO same or better quality than SoX)

Last edited by pandy; 14th September 2015 at 15:26.
pandy is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 18:34.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.