Batch normalizing of volumes in avi files...

Started by fugazi1978, April 03, 2013, 03:12:37 PM

Previous topic - Next topic

fugazi1978

I have several hundred video files with packed bitstreams saved in "AVI, unpack VOP" .avi format. Unfortunately the volumes are all over the place! I want to keep the naming format (eg, "QQ - 01 - Puddy Muddles.avi") but want to normalize / normalise the volumes without having to process each individually through the GUI (I usually use the GUI because I generally need very specific instructions to go command line, but given specific instructions I can go command line).

I've searched the forums but can't find simple instructions; any ideas?

Thanks,

Fugazi1978

Jan Gruuthuse

you could try if all videos have same composition (video and audio codec) with combination of batch procssing
use avidemux gui, load video, make your settings, apply audio filter.
From main menu: File -> Tinypy Project -> Save As Project "normalize"
go to folder where you saved "normalize.py" and edit this file.
remove reference to loaded video file similar lines equal to
adm.loadVideo("/media/0ToProcess/720ptest.ts")
adm.clearSegments()
adm.addSegment(0, 0, 90920000)
adm.markerA = 0
adm.markerB = 90920000

now you can call this setting file from command line.
more info found here: Batch processing
and very basic sample: 2.6 audio track switching in job.py
don't use avidemux_cli but use the avidemux GUI with ââ,¬â€œnogui option (in case you want to suppress all dialogs (it must be first option!))


mit

To prevent opening new thread, i post here.I hope, this is no problem!
I have a problem, while running ââ,¬Å¾jobsââ,¬Å".
One of issues is, when i've used ââ,¬Å¾OpenGL Resizeââ,¬Å"
Here is a backtrack:
*********** BACKTRACK **************
/usr/lib64/libADM_core6.so(ADM_backTrack+0x5c) [0x7f24b334ba4d]:0:<ADM_backTrack>:-2
avidemux3_cli() [0x475e84]:1:<avidemux3_cli() [0x475e84]>:-2
avidemux3_cli(_Z29ADM_vf_getTagFromInternalNamePKc+0x18) [0x475f10]:2:<ADM_vf_getTagFromInternalName(char const*)>:0
avidemux3_cli(_ZN12ADM_Composer14addVideoFilterEPKcP10CONFcouple+0x21) [0x462df9]:3:<ADM_Composer::addVideoFilter(char const*, CONFcouple*)>:0
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x1854a) [0x7f249d20554a]:4:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x7245) [0x7f249d1f4245]:5:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x72c2) [0x7f249d1f42c2]:6:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x112fc) [0x7f249d1fe2fc]:7:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x1317e) [0x7f249d20017e]:8:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x139f4) [0x7f249d2009f4]:9:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x13a76) [0x7f249d200a76]:10:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x144be) [0x7f249d2014be]:11:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x7245) [0x7f249d1f4245]:12:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x72c2) [0x7f249d1f42c2]:13:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x112fc) [0x7f249d1fe2fc]:14:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x1317e) [0x7f249d20017e]:15:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x139f4) [0x7f249d2009f4]:16:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x13a76) [0x7f249d200a76]:17:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x1152e) [0x7f249d1fe52e]:18:<>:-2
/usr/lib64/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so(+0x13c50) [0x7f249d200c50]:19:<>:-2
*********** BACKTRACK **************

Jan Gruuthuse

Try running jobs with [v] use QT4 version, if it runs, could be some settings are not handled by avidemux_cli? Let us know if that did work?

mit

Quote from: Jan Gruuthuse on April 07, 2013, 03:39:53 AM
Try running jobs with [v] use QT4 version, if it runs, could be some settings are not handled by avidemux_cli? Let us know if that did work?

Awesome.This works.I thought QT just GUI by avidemux_cli, but seems I was wrong.
Thank you very much!

P.S Sorry for my English!

Jan Gruuthuse

Normally it should work with avidemux cli, but sometimes it does not pick up settings made in GUI. I'm not not native English speaking either. Can live with both.