automatic-ripping-machine: 🐛 Transcode Failing

Is there an existing issue for this?

  • I have searched the existing issues

I have checked the wiki

  • I have searched the wiki for this problem

Does this issue exist in the latest version?

  • I’m using the latest release

Describe the bug?

MakeMKV succesfully backups up Blu-Ray then path seems to get skewed before transcode

To Reproduce

  1. Insert Blu Ray
  2. Wait for MakeMKV to complete.
  3. Transcoding fails.

What OS are you seeing the problem on?

ubuntu-20.04

ARM Release Version or Git hash (You can find this in the arm settings page)

v2.6.12

TROLLS_WORLD_TOUR_167640243273(1).log

Expected behavior?

Transcode process should carry on as expected.

Relevant log output

MSG:5072,131072,1,"Backing up disc into folder \"file:///home/arm/media/raw/Trolls-World-Tour_167640243273\"","Backing up disc into folder \"%1\"","file:///home/arm/media/raw/Trolls-World-Tour_167640243273"

[02-14-2023 19:59:56] INFO ARM: handbrake.handbrake_mkv Transcoding file CERTIFICATE to '/home/arm/media/transcode/movies/Trolls-World-Tour (2020)_167640243273/CERTIFICATE.mkv'
[02-14-2023 19:59:56] DEBUG ARM: handbrake.handbrake_mkv Sending command: nice HandBrakeCLI -i /home/arm/media/raw/Trolls-World-Tour_167640243273/CERTIFICATE -o '/home/arm/media/transcode/movies/Trolls-World-Tour (2020)_167640243273/CERTIFICATE.mkv' --preset "H.265 NVENC 2160p 4K" -E copy -a 1,2,3,4,5,6 --audio-copy-mask aac,ac3,eac3,dts,dtshd,mp3,flac --audio-fallback aac --all-subtitles --subtitle-burned=none >> /home/arm/logs/TROLLS_WORLD_TOUR_167640243273.log 2>&1

Anything else?

There seems to be something broken between the MakeMKV steps as its missing from the log scanning for the main feature. If i manually enter the following commands then the transcode continues as expected

HandBrakeCLI -i ‘/home/arm/media/raw/Trolls-World-Tour-Dance-Party-Edition’ -t 0 --scan

nice HandBrakeCLI -i ‘/home/arm/media/raw/Trolls-World-Tour-Dance-Party-Edition’ -o ‘/home/arm/media/transcode/movies/Trolls-World-Tour-Dance-Party-Edition (2020)/Trolls.mkv’ --main-feature --preset “H.265 NVENC 2160p 4K” -E copy -a 1,2,3,4,5,6 --audio-copy-mask aac,ac3,eac3,dts,dtshd,mp3,flac --audio-fallback aac --all-subtitles --subtitle-burned=none

Not sure if this is related to the fix that im currently running for #625

Code of Conduct

  • I agree to follow this project’s Code of Conduct

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 27 (22 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks for testing, that’s good to hear that it seems to have fixed the issue.

I’ve pushed it to the ‘nvidia’ container, so if you want to continue testing 721 you should be able.

If this is still an issue, please let me know.

No, you were correct, my fix didn’t work. And in fact made things worse in that it pushed Blu-rays right to HandBrake ignoring MakeMKV altogether.

I’ve reverted that locally and instead testing changing the start_transcode section. This seems to be the section causing issue

Changing

def start_transcode(job, logfile, hb_in_path, hb_out_path, protection):
    if rip_with_mkv(job, protection):
        # skip if transcode is disable
        if job.config.SKIP_TRANSCODE:

TO

def start_transcode(job, logfile, hb_in_path, hb_out_path, protection):
    if rip_with_mkv(job, protection) and job.config.RIPMETHOD == "mkv":
        # skip if transcode is disable
        if job.config.SKIP_TRANSCODE:

Still waiting for tests to finish. I’ll update when it does.

im still getting the same issues with 2.6.12 ill upload the arm.yaml and rip log shortly.