![]() |
[HELP] I need your personal help. - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: A/V Talk (https://forum.selur.net/forum-6.html) +--- Thread: [HELP] I need your personal help. (/thread-1576.html) |
I need your personal help. - Kylenam - 22.10.2020 It's not about hybrid encoders. Please do me a favor because you are talented. sox remix conversion please eac3to code: ffmpeg 7.1 to 5.1 -filter_complex "asplit [f][s]; [f] pan=3.1|c0=c0|c1=c1|c2=c2|c3=c3 [r]; [s] pan=stereo|c0=0.5*c4+0.5*c6|c1=0.5*c5+0.5*c7, compand=attacks=0:decays=0:points=-90/-84|-10/-4|-6/-2|-0/-0.3, aformat=channel_layouts=stereo [d]; [r][d] amerge [a]" -map "[a]" 5.1 to stereo -filter_complex "pan=stereo|FL=.3694FL+.2612FC+.3694BL+0.0LFE|FR=.3694FR+.2612FC+.3694BR+0.0LFE" 7.1 to stereo -filter_complex "asplit [f][s]; [f] pan=3.1|c0=c0|c1=c1|c2=c2|c3=c3 [r]; [s] pan=stereo|c0=0.5*c4+0.5*c6|c1=0.5*c5+0.5*c7, compand=attacks=0:decays=0:points=-90/-84|-10/-4|-6/-2|-0/-0.3, aformat=channel_layouts=stereo [d]; [r][d] amerge, pan=stereo|FL=.3694FL+.2612FC+.3694BL+0.0LFE|FR=.3694FR+.2612FC+.3694BR+0.0LFE [a]" -map "[a]" RE: I need your personal help. - Selur - 22.10.2020 What's really confusing is that you use named channels when you use '5.1 to stereo' and for the other conversions you use the channel indexes. Let's start with your "5.1 to stereo" down-mix: -filter_complex "pan=stereo|FL=.3694FL+.2612FC+.3694BL+0.0LFE|FR=.3694FR+.2612FC+.3694BR+0.0LFE"
-> The sox command line call part would be: remix -m 1v0.3694,3v0.2612,5v0.3694 2v0.3694,3v0.2612,6v0.3694 I'm ignoring '7.1 to stereo' since you made a copy&paste-error and posted the '7.1 to 5.1' again under a different name. Since I have never really used ffmpegs for downmixing the first thing I try is to understand what your '7.1 to 5.1' down-mix does: -filter_complex "asplit [f][s]; [f] pan=3.1|c0=c0|c1=c1|c2=c2|c3=c3 [r]; [s] pan=stereo|c0=0.5*c4+0.5*c6|c1=0.5*c5+0.5*c7, compand=attacks=0:decays=0:points=-90/-84|-10/-4|-6/-2|-0/-0.3, aformat=channel_layouts=stereo [d]; [r][d] amerge [a]" -map "[a]" asplit [f][s] [f] pan=3.1|c0=c0|c1=c1|c2=c2|c3=c3 [r] [s] pan=stereo|c0=0.5*c4+0.5*c6|c1=0.5*c5+0.5*c7, compand=attacks=0:decays=0:points=-90/-84|-10/-4|-6/-2|-0/-0.3, aformat=channel_layouts=stereo [d] [r][d] amerge [a] Ignoring the dynamic range compression what is done is copy the first 4 channels and mix the last 4 into two channels and merge them. In sox syntax the above is: remix -m 1v1 2v1 3v1 4v1 5v0.5,7v0.6 4v0.5,8v0.5 Looking at the http://sox.sourceforge.net/sox.html and comparing the 'compand attack1,decay1{,attack2,decay2}' syntax with the ffmpeg syntax (https://www.ffmpeg.org/ffmpeg-all.html#compand) I have no clue how to properly translate this. (Never really did need compand that much in ffmpeg or sox to spend time understanding it.) -> if you figure out the proper translations for the compand part, let me know I might add them to Hybrid. ![]() My guess your best bet is to simply ask tebasuna51 over at doom9s. tebasuna51 probably knows how to translate that into sox syntax. ![]() As a side note: Hybrid does '7.1 to Stereo' using: remix -m 1v0.243804,7v0.062798,3v0.172392,6v0.044404,8v0.044404,5v0.432198 2v0.243804,7v0.062798,3v0.172392,5v0.044404,8v0.044404,6v0.432198 Cu Selur RE: I need your personal help. - Kylenam - 22.10.2020 I'll be waiting. Thank you. The ffmpeg downmix sounds louder and better. RE: I need your personal help. - Selur - 22.10.2020 Quote:The ffmpeg downmix sounds louder and better.Which ffmpeg downmix? Be precise. RE: I need your personal help. - Kylenam - 22.10.2020 (22.10.2020, 18:09)Selur Wrote:Quote:The ffmpeg downmix sounds louder and better.Which ffmpeg downmix? Be precise. eac3to gui UsEac3to ffmpeg code If you run it with foobar 2000 the ffmpeg filter will definitely sound louder than the hybrid sox So I wanted to convert it to a sox. If you run it with the spek utility, it is more abundant. RE: I need your personal help. - Selur - 22.10.2020 That did not answer my question. Specify: a. what ffmpeg call you use (the whole call) b. what sox call you use (the whole call) otherwise it is not clear what you do. Cu Selur RE: I need your personal help. - Kylenam - 22.10.2020 Sample and script: https://www110.zippyshare.com/v/l6Nuv9Xe/file.html RE: I need your personal help. - Selur - 22.10.2020 I asked for two command lines not more and I get a link to some downloads. If you can't post two command lines, don't expect me to spend my time on this. Keep it simple. Cu Selur RE: I need your personal help. - Selur - 25.10.2020 -filter_complex "asplit [f][s]; [f] pan=3.1|c0=c0|c1=c1|c2=c2|c3=c3 [r]; [s] pan=stereo|c0=0.5*c4+0.5*c6|c1=0.5*c5+0.5*c7, compand=attacks=0:decays=0:points=-90/-84|-10/-4|-6/-2|-0/-0.3, aformat=channel_layouts=stereo [d]; [r][d] amerge [a]" -map "[a]" sox 8c341.wav front.wav remix 1 2 3 4 Cu Selur |