m35 / jpsxdec

jPSXdec: cross-platform PlayStation 1 audio and video converter
http://jpsxdec.blogspot.com/
469 stars 24 forks source link

No Commandline Argument for skipping audio from video files #42

Closed Meerkov closed 2 years ago

Meerkov commented 3 years ago

I noticed that the UI allows you to skip audio files that come from video files. But the command line arguments don't seem to have that option. It would be nice to have.

m35 commented 3 years ago

So I'm clear, you mean when saving all audio?

java -jar jpsxdec.jar -a audio ...
Meerkov commented 3 years ago

Yes, I currently am trying running both java -jar jpsxdec.jar -a audio and java -jar jpsxdec.jar -a video In the UI I can skip audio from video files, but command line doesn't seem to have the option

m35 commented 3 years ago

Thanks for clarifying. You're right, I missed adding that option to the command-line. I'll add a new command-line option in the next release -skipvid that will skip any audio that is associated with a video, like you can do in the UI.

java -jar jpsxdec.jar -a audio -skipvid
m35 commented 3 years ago

Reflecting on this more, I think it makes more sense to, by default, ignore audio streams that are associated with a video stream. Then add a command line argument to override that. Best I could come up with is -vidaud

m35 commented 2 years ago

This has been added in the latest release. Feel free to reopen this issue if you find any other issues. https://github.com/m35/jpsxdec/releases/tag/v1.06