caydey / ffshare

An android app to compress image, video and audio files through ffmpeg before sharing them
GNU General Public License v3.0
615 stars 30 forks source link

Custom CLI options to compress video by ffmpeg #107

Open peylight opened 2 months ago

peylight commented 2 months ago

Hi I want to use custom CLI options but i'm not sure it is possible by ffshare. For example i want to make this options in ffmpeg: ffmpeg -i input.mp4 -vf "scale=640:-1" -vcodec libx264 -crf 28 -preset fast -acodec aac -b:a 128k -movflags +faststart output.mp4 Is it possbile? If yes how can i do it? If no can you add this feature that possible to make custom CLI ffmpeg?

asymcon commented 3 weeks ago

It's not a bug, but I second this 1000%, the defaults in ffshare are not feasible for media sharing. Currently there is no sensible FOSS encoder/transcoder for Android, all I need is to encode flac into opus and turn h265 videos into vp9+opus for sharing, and the two options on the table are adware from play store, or download ffmpeg for armv8 and have fun in terminal emulator. Custom options would really supercharge ffshare as a user friendly frontend for ffmpeg. Parallel processing and queuing would also be a huge plus :)