This should be possible, but I’m not finding any discussion on how:

I’ve got an underpowered old 2-core linux box with a DVD drive and a tiny 4GB of ram in it and a separate 16-core linux machine with 128GB of ram with no DVD drive. For a variety of reasons, moving the DVD drive would be a real pain, so I’d like to do all the raw ripping of DVDs on the machine with the drive, and all the transcoding on the machine without a DVD drive.

I see that ARM has hooks for custom scripts to run when ripping is complete, so I could write a bash script that would be invoked whenever the machine ripping raw data off discs is finished and transfer the raw data over, but how would I then tell ARM on the transcoding machine “okay, you’ve got more work to do”?

  • servergeek82@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Cron script to check X directory every 10 minutes. Wait 5 (in case it’s still transferring a file). Handbrake cli hook transcode and move file. Send a notification when stated and done.

    • bombero_kmn@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Hey are you familiar with inotify? It might be a more efficient and effective solution than running a script every 10 minutes.

      I only learned about it on a podcast a few weeks ago and I’ve been playing with it this week, replacing similar “blind check” scripts like you describe.

      • servergeek82@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Personally I am not familiar with it. I haven’t ripped an ISO of Linux in ages. But it looks like it work for what the OP is looking for.