Hi everyone !
Here is my latest fabulous script.
It now takes a stereo video file as input and outputs one
video file with 6 channels ready to use in dcp-o-matic. It does not
"change" video settings, only copy.
It uses sox and ffmpeg so checks if they are present on system and
eventually install them.
Because of that, it will work only on Ubuntu and derivatives (mint,
elementary a.s.o.) as it installs ffmpeg from Jon Sverrinson ppa on
launchpad.
(but the settings of sox and ffmpeg can be re-used anywhere else !)
There are 3 styles of upmixing :
1 - only dispatches bands of frequencies amongst 6 channels : it's a
"soft" way which never gave (me) bad surprise.
2 - dispatches band of frequencies + mixes : quite "boom-boom" style
which fit well for music, concerts, video clips. Not really good for
movies as there is "much" sound on every channel.
3 - a little more complex, dispatches band of frequencies, uses
phase inversion, delay : nice results so far (for me). Former
version used a too low peak level - because of phase inversion.
(more explanation about how and where I've found informations
following the links provided at the beginning of the script, mostly
in french, sorry)
At the end of the process, it will ask if you want to save
all the temporary files allowing to deal with each separate
channels, the "dumb" video and others files created during the
process.
So why do I post this again ? It needs improvements :
- when using the script, you have to be in the same folder as your
initial video, and the paths and files names must be without spaces
and other special characters. You also have to specify the output
extension .mov
It seems to me more convenient to enter entire path to file(s) but
not skilled enough yet.
- it's only (fake) 5.1 channels, but is 7.1 usefull when upmixing
from stereo ?
- a "zenity" graphical version of this script might be easier to use
but might not work everywhere and once again I'm not skilled enough
for the moment.
- the output file is not seen as a 5.1 in audio properties. I guess
it's relative to -map in ffmpeg but what I've tested until now was
not good.
- it's written in french
Thanks for reading, and don't hesitate to contact me, all
suggestions and pieces of advice welcome !
Still hope my english is understandable…
Best regards,
Gérald