Some fixes
This commit is contained in:
parent
26a6dc0d99
commit
d48abf6598
12
README.md
12
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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue