Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: firefly on July 24, 2020, 12:08:32 AM

Title: Will this avidemux avidemux3_cli command work
Post by: firefly on July 24, 2020, 12:08:32 AM
Will this avidemux avidemux3_cli command work,

I want to copy same audio and video codec as original loaded file.

avidemux3_cli --load test.mkv --output-format mp4 --audio-codec Copy --video-codec Copy --save test.mp4

Thanks.
Title: Re: Will this avidemux avidemux3_cli command work
Post by: eumagga0x2a on July 24, 2020, 06:30:29 PM
Yes, it will as far as the video and audio codecs used in the source MKV file are compatible with MP4 container. You should use the latest version of Avidemux for that.
Title: Re: Will this avidemux avidemux3_cli command work
Post by: firefly on July 24, 2020, 10:29:13 PM
Thank you! It worked :)

I've added the debian sources Debian — Christian Marillat packages so hope he updates the packages to the latest soon https://www.deb-multimedia.org/ I'm on 2.7.4 at the moment or maybe I'll just compile it myself.



Title: Re: Will this avidemux avidemux3_cli command work
Post by: eumagga0x2a on July 24, 2020, 10:43:43 PM
You need at least a build containing the commit  [cli/DIA_working] Fix use of uninitialized memory which caused loading Matroska files to fail randomly (https://github.com/mean00/avidemux2/commit/56667cbe035f28561f50cf9dc1eeae75341bbd5a#diff-3dc1528b9072bec5e56ee1577c4d4853), so 2.7.4 won't do it (or more precisely, it will randomly fail). I would say, 2.7.6 is the oldest one which might be considered, with the current git master being preferable.
Title: Re: Will this avidemux avidemux3_cli command work
Post by: firefly on July 24, 2020, 11:11:28 PM
Ok thanks. I'll check for the releases on github or do a git pull.

Appreciate your help and support.