linuxmint / cinnamon-spices-actions

Actions for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com/
GNU General Public License v2.0
22 stars 65 forks source link

Input audio and videos bitrates #565

Open ricardouk opened 4 hours ago

ricardouk commented 4 hours ago

Action name and maintainer

convert-file@thigschuch @ThigSchuch

What would you like to see?

Hi

Any chance of adding some option to specify bitrate on audio and video files? Altough not a coder myself ive looked at the code but couldnt find any code related to it like normal ffmpeg scripts, ive been using nemo/nautilus scripts with ffmpeg but i wanted to change all my scripts to actions, can you tell me where in the code can i find the switch for bitrate etc etc...thanks

ThigSchuch commented 4 hours ago

Hi, I've been busy lately, so I haven't been able to work on the action.

I'm planning to refactor it (I've actually done some work on my repo), but it's not complete. I had in mind some kind of local configuration for hard users or a custom entry for commands, to make the conversion process simple, with just a few clicks, without adding complexity.

But again, as soon as I get my life in order, I'll do it.

ricardouk commented 3 hours ago

Hi ThigSchuch

Take your time...thats why i asked where in the code can we change video audio bitrates? for example i edit my videos in resolve but it doesnt accept mp4, i always convert to prores/mov before, with your action script it converted my mp4/x264 file to mov/x264 @10 Mb/s, since i like to try stuff out ....where in your code can i change the code to convert to prores instead of h264 but still maintaining mov as video container?

Thanks

ThigSchuch commented 2 hours ago

You can find the command in the converters file, in VideoConverter, I'm using the default ffmpeg command that is ffmpeg -i input_file output_file