andymccurdy / tested-transcoder

MIT License
56 stars 14 forks source link

transcode-video.sh: can't determine HandBrakeCLI version #7

Open jammmyb opened 5 years ago

jammmyb commented 5 years ago

hi!

stumbled across this via a comment on Reddit.

got it installed and running. but i'm getting this error so far on what i've put in the input folder.

2019-07-27 09:57:51,251 - Found new input "NAME OF MOVIE (720p).mkv" 2019-07-27 09:57:51,251 - Scanning "NAME OF MOVIE (720p).mkv" for metadata 2019-07-27 09:57:54,771 - Detecting crop for input "NAME OF MOVIE (720p).mkv" 2019-07-27 09:58:22,472 - Using crop "0:0:0:0" for input "NAME OF MOVIE (720p).mkv" 2019-07-27 09:58:22,476 - Transcoding input "/media/transcoder/input/NAME OF MOVIE (720p).mkv" with command: transcode-video.sh --crop 0:0:0:0 --mkv --slow --allow-dts --allow-ac3 --find-forced add --copy-all-ac3 --output "/media/transcoder/work/NAME OF MOVIE (720p).mkv" "/media/transcoder/input/NAME OF MOVIE (720p).mkv" 2019-07-27 09:58:22,734 - Transcoding failed for input "NAME OF MOVIE (720p).mkv": transcode-video.sh: can't determine HandBrakeCLI version

i can't see any mention of handbrake needing to be installed. do i need to install it?

andymccurdy commented 5 years ago

Hi, ya this project requires Handbrake.

jammmyb commented 5 years ago

I installed it. Still get the same error.

Do I need to point handbrake or point something to handbrake?

Do you think this should be mentioned as a prerequisite to install handbrake in the resume guide? As there is no mention about needing to install handbrake in the readme guide?

andymccurdy commented 5 years ago

Did you run this via vagrant? Handbrake is installed within the VM during the vagrant up script: https://github.com/andymccurdy/tested-transcoder/blob/master/Vagrantfile#L27

jammmyb commented 5 years ago

I followed the readme guide to the letter.

Where I mentioned above about installing handbrake. I installed it on the machine. Not the VM. 🤦🏼‍♂️

Everything appears when I set the shared folder “transcoder”

How do I run that command ? I don’t know the password to get into the VM.

andymccurdy commented 5 years ago

You don't need handbrake on the host machine. It's only needed within the VM and Vagrant should install it when the VM is created.

Sorry, I haven't messed with this project in years.

andymccurdy commented 5 years ago

You can get into the VM with vagrant ssh from the same directory you ran vagrant up from.

jammmyb commented 5 years ago

Fair enough.

Maybe something has changed to install/use handbrake?

andymccurdy commented 5 years ago

It could have. You could try apt-get install handbrake-cli from within the VM and see what happens. We're installing this from Handbrake's own PPA. Perhaps they've changed something.

jammmyb commented 5 years ago

Thanks Andy. Appreciate the advice on a Sunday for an old project.

Will give it a go and report back. 👍

aarontlarson commented 5 years ago

Thanks Andy. Appreciate the advice on a Sunday for an old project.

Will give it a go and report back. 👍

Hey jammmyb, were you able to get this working? I'm running into the same issue and would like to see if you've been able to get it fixed.