move/copy file to output folder if the file doesn't need conversion
Minor Bug Fix V2.0.1
All the command line executions were being reported as seconds, but it was dividing milisecond by 100 instead of 1000
Major Release V2.0
Higher quality, faster conversions, more efficient checking, and super important: works with normal FFMPEG, no need to compile it yourself.
- dropped GUI because aint nobody got time for that
- major re-write, better structured code all together
- properly checks available audio codecs and applies accordingly
- due to the above audio changes, it works fine with FFMPEG static builds
- yeah, normal builds you can simply download from ffmpeg.org
- drop 2-pass video because aint nobody got time for that
- moved code to gradle, all dependencies now come from mavenCentral(), no more downloaded **** on or folder
- independently handle audio or video conversion or copy (greater efficiency)
- separate warning and error log files
Update V1.1.1 (minor crash fix)
it's with great pleasure that I share with you guys my batch video converter for Chromecast.
it's made to be a simple as possible, select a file or a whole folder, and Go.
I did that to convert my terabyte of movies on my DLNA-NAS to be able to cast all of it without problems.
So then the option `-d` can be used to delete the original after successful conversion.
The app analyses the video stream of your files, compare with what Chromecast accepts and only converts what's necessary, keeping great quality, and avoiding unnecessary encoding.
I also noticed that A LOT of apps does not play embedded subtitles, so in the process it extracts subtitle files so you can separately inject it into Chromecast.
- v1.0.0 - initial release
- v1.1.0 - re-worked FFMPEG script for better quality, new layout with settings for speed, quality, delete file, output folder.
- v1.1.1 - Fix app not properly closing. Fix crash on subtitle stream without language tag.
- V2.0 - check above
- V2.1 - move/copy file to output folder if the file doesn't need conversion
- zip installation: Simply unzip the file on the location. Execute with ./cc_converter (linux/mac) or cc_converter (windows) from the command line
- open source project: GitHub link (contribute!)
This tool is just a thin wrapper on FFMPEG, so if your PC doesn't have a working version of FFMPEG, the tool won't work.
So make sure to download a build (recommended V3.0 or later) and have it available on your PATH
That means, when compiling, make sure to include libx264 and libfdk-aac and keep the enable-nonfree flag.
as per request a few explanations on options:
the speed and quality options are directly related to x264 encoding options found here: https://trac.ffmpeg.org/wiki/x264EncodingGuide
- the speed is exactly what they explain there. The faster the conversion the crappier the job.
- the quality uses CRF (constant rate factor) and defaults to good quality for both audio and video.
high quality = video CRF 18, audio 80kb/s per channel
normal quality = video CRF 23, audio 64kb/s per channel
low quality = video CRF 26, audio 48kb/s per channel
On all my tests I ended up settling with Speed SLOW and quality HIGH as the Default because those will rarely increase the file size much and it will keep same quality.
Those test were based on both converting 1994 Friends episode (pretty crappy quality) all the way to Full-HD 5.1 movies.
So unless, you have a really good reason for it, I wouldn't change any of the defaults.