Author Topic: How do I figure out the --video-codec name?  (Read 2502 times)


  • Newbie
  • *
  • Posts: 1
How do I figure out the --video-codec name?
« on: August 13, 2013, 10:12:59 PM »
Using the GUI, I can successfully encode a video by selecting "M-JPEG" from the Video drop down. I'd like to now create a batch script to do this. How do I figure out the corresponding name that I should give to --video-codec when calling avidemux from the command line? I've tried "mjpeg", "m-jpeg" with various capitalizations. I've also tried all of those preceded by "avcodec:" and none work. Every time it says "Mmmm Select codec by name failed...". Maybe this is relevant, but after that it always lists a bunch of names but they are garbled like e.g.: "Copy:�9H�" Thanks.


  • Jr. Member
  • **
  • Posts: 99
Re: How do I figure out the --video-codec name?
« Reply #1 on: August 14, 2013, 02:56:01 PM »
I saved several Tinpy Project with the options I wanted to be scripted and use them as a draft to create custom ones by bash script. Finally, I run the newly created project file from commandline.
Not a straight answer to your question but a proposal with which I worked around similar problems you raised.