Hi,
The output arguments are defaulted to appear before the global arguments - This could cause issues with ffmepg command line as it expects all the stream arguments to be between the -i and -f.
See this example:
This would work: ffmpeg -i ~/Movies/sample.ts -map data -c copy -f data -
But this would return a "Stream not found" error: ffmpeg -i ~/Movies/oparea4.ts -f data - -map data -c copy
This PR replaces the order so that output arguments would appear last