diff --git a/README.md b/README.md index 491eafb..5091e44 100644 --- a/README.md +++ b/README.md @@ -70,13 +70,13 @@ I'm skipping the part where I make up questions I think people might have. ### Why I Wrote This The `automatic-ripping-machine` looks really badass. -I spent about two days trying to get a Docker container built for it, -and another day trying to get it to actually read my drive. -I got it reading the drive exactly once, and then never again. +But after multiple attempts across multiple months +to get it running, +I decided it would probably be faster just to write my own. -That's when I gave up and created my own thing, -which is pretty janky, -but works a lot better for me, +This isn't as cool as the aumomatic-ripping-machine. +But, at least for me, +it's a lot more functional, in that it actually does something. ### Why You Should Run This diff --git a/src/encoder.py b/src/encoder.py index d598c75..ec5a9bf 100644 --- a/src/encoder.py +++ b/src/encoder.py @@ -57,20 +57,20 @@ class Encoder(threading.Thread): "HandBrakeCLI", "--json", "--input", "%s/VIDEO_TS" % fdir, + "--output", tmppath, "--main-feature", "--native-language", "eng", - "--preset", "Chromecast 1080p60 Surround", "--markers", - "--all-audio", + "--loose-anamorphic", "--all-subtitles", - "--aencoeder", "copy:aac,copy:ac3,av_aac", - "--audio-copy-mask", "aac,ac3", + "--all-audio", + "--aencoder", "copy", + "--audio-copy-mask", "aac,ac3,mp3", "--audio-fallback", "aac", - "--output", tmppath, ], encoding="utf-8", stdout=subprocess.PIPE, - stderr=subprocess.DEVNULL, + stderr=None, ) # HandBrakeCLI spits out sort of JSON.