MattMcManis / Axiom

An FFmpeg GUI for Windows
https://axiomui.github.io
GNU General Public License v3.0
1.44k stars 114 forks source link

Adding subtitles broken - MP4 hardcoding (-c:s parameter) #74

Open Issity opened 3 years ago

Issity commented 3 years ago

In recent versions of Axiom (1.9.5.3) script fails to run when I try to burn-in subtitles. Running the script will fail with the following error:

Unable to find a suitable output format for '0' 
0: Invalid argument

I noticed that it's caused by -c:s option which was not used in older versions (like 1.9.2.3). When I deleted this option from the script it worked without issues. My knowledge of FFmpeg is very limited, so I have no idea what would be the proper solution and what purpose -c:s option serves.

MattMcManis commented 3 years ago

Thanks for reporting the bug. This happened when I unified all the Codec controls (which will reduce errors in the long run).
Burn was the odd one out that uses Filter -vf instead of -c:s.

I've fixed it in the latest version, along with some other optimizations. Press the update arrow in Axiom or download here:

https://github.com/MattMcManis/Axiom/releases
https://github.com/MattMcManis/Axiom/releases/download/v1.9.5.4-alpha/Axiom.zip