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
|
### Why I Wrote This
|
||||||
|
|
||||||
The `automatic-ripping-machine` looks really badass.
|
The `automatic-ripping-machine` looks really badass.
|
||||||
I spent about two days trying to get a Docker container built for it,
|
But after multiple attempts across multiple months
|
||||||
and another day trying to get it to actually read my drive.
|
to get it running,
|
||||||
I got it reading the drive exactly once, and then never again.
|
I decided it would probably be faster just to write my own.
|
||||||
|
|
||||||
That's when I gave up and created my own thing,
|
This isn't as cool as the aumomatic-ripping-machine.
|
||||||
which is pretty janky,
|
But, at least for me,
|
||||||
but works a lot better for me,
|
it's a lot more functional,
|
||||||
in that it actually does something.
|
in that it actually does something.
|
||||||
|
|
||||||
### Why You Should Run This
|
### Why You Should Run This
|
||||||
|
|
|
@ -57,20 +57,20 @@ class Encoder(threading.Thread):
|
||||||
"HandBrakeCLI",
|
"HandBrakeCLI",
|
||||||
"--json",
|
"--json",
|
||||||
"--input", "%s/VIDEO_TS" % fdir,
|
"--input", "%s/VIDEO_TS" % fdir,
|
||||||
|
"--output", tmppath,
|
||||||
"--main-feature",
|
"--main-feature",
|
||||||
"--native-language", "eng",
|
"--native-language", "eng",
|
||||||
"--preset", "Chromecast 1080p60 Surround",
|
|
||||||
"--markers",
|
"--markers",
|
||||||
"--all-audio",
|
"--loose-anamorphic",
|
||||||
"--all-subtitles",
|
"--all-subtitles",
|
||||||
"--aencoeder", "copy:aac,copy:ac3,av_aac",
|
"--all-audio",
|
||||||
"--audio-copy-mask", "aac,ac3",
|
"--aencoder", "copy",
|
||||||
|
"--audio-copy-mask", "aac,ac3,mp3",
|
||||||
"--audio-fallback", "aac",
|
"--audio-fallback", "aac",
|
||||||
"--output", tmppath,
|
|
||||||
],
|
],
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.DEVNULL,
|
stderr=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
# HandBrakeCLI spits out sort of JSON.
|
# HandBrakeCLI spits out sort of JSON.
|
||||||
|
|
Loading…
Reference in New Issue