Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: dom on January 11, 2014, 11:45:33 AM

Title: CLI parameter --output-format isn't working
Post by: dom on January 11, 2014, 11:45:33 AM
according to the man page or the description on
http://www.avidemux.org/admWiki/doku.php?id=using:command_line_usage
the following options for --output-format are allowed:
QuoteAVI | AVI_DUAL | AVI_UNP | ES | MP4 | OGM | PS | TS | MATROSKA

However, only AVI and MP4 are working.
Error message:
Quote[setContainer]  Cannot find muxer for format=TS


Please change the man page and the web site to the following options:
QuoteMKV | ffTS | FLV | MP4V2 | MP4 | AVI | RAW | ffPS

I found this information out by starting avidemux from command line (Linux) and looking at lines like this:
Quote[Muxer]Name :ffTS ApiVersion :9 Description :ffMpeg TS muxer plugin (c) Mean 2009
Title: Re: CLI parameter --output-format isn't working
Post by: muxterious on December 20, 2016, 04:29:49 PM
I've also encountered this problem.  I need this functionality.

Does anyone have a guess about why it's broken?  I tried to follow the code, but it doesn't seem to be a simple switch statement.  My hunch is that the CLI client is failing to load some plugin.  Which plugin is used to write TS streams?

Thanks.
Title: Re: CLI parameter --output-format isn't working
Post by: muxterious on December 20, 2016, 04:35:40 PM
Ah, it seems the trick is to use ffTS.

I was reviewing the output spewed by avidemux3_cli and noticed this:

[Muxer]Name :ffTS ApiVersion :9 Description :ffMpeg TS muxer plugin (c) Mean 2009
[Muxers] Registered filter /usr/lib/ADM_plugins6/muxers/libADM_mx_ffTS.so as  ffMpeg TS muxer plugin (c) Mean 2009


So, I thought to try ffTS... and it worked!

Should be documented...