I have over 200 videos where I need to change sound only, from ACC to AC3. Those are scripts I'm using, but getting an error "Muxer cannot open"
ac3.py script:Code:#!/bin/bash for FIL in `ls *m4v | sort` ; do /mnt/home/appimages/avidemux_2.8.0.appImage --force-alt-h264 --load "$FIL" --run ac3.py --save ${FIL%.*}.mp4 --quit done
When doing it in windows, all works fine with this bat script and the same "py" file, but I don't like to log in windows every time I need to convertCode:#PY <- Needed to identify # #--automatically built-- adm = Avidemux() adm.videoCodec("Copy") adm.audioClearTracks() adm.audioAddTrack(0) adm.audioCodec(0, "LavAC3") adm.audioSetDrc(0, 0) adm.audioSetShift(0, 0, 0) adm.setContainer("MP4")
Does anybody know what is wrong with scripts and how I can fix it?Code:set avidemux="C:\Program Files\Avidemux 2.7 VC++ 64bits\avidemux.exe" for %%f in (*.m4v) do %avidemux% --load "%%f" --run "ac3.py" --save "%%f.mp4" --quit
+ Reply to Thread
Results 1 to 2 of 2
Similar Threads
-
How To Batch Remove-Clear All Individual Tracks' "Track name:" In .Mkv's
By LouieChuckyMerry in forum Newbie / General discussionsReplies: 5Last Post: 21st May 2023, 14:42 -
Batch rename audio tracks like so "[Codec] [Language] [Channels]"
By aur0n in forum AudioReplies: 0Last Post: 19th Jul 2021, 19:52 -
Tool to batch rename video files based on "encoded date"
By O0O0 in forum ComputerReplies: 49Last Post: 10th Jan 2020, 04:39 -
Avidemux HEVC x265 doesn't output to MP4v2 Error Muxer Cannot Open
By fa1rid in forum Video ConversionReplies: 0Last Post: 22nd Nov 2018, 13:56 -
batch that verify if a VFW codec is installed and "usable" by Windows?
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 19th Jun 2018, 22:27