Closed quasimog closed 7 years ago
Update: Seems to be working now, must be the way I deleted the previous entries after only half a batch was completed. The empty line at the top of the queue.txt must have been stopping the process for some reason.
@quasimog Well, it's a good thing I got distracted by unexpected visitors an hour ago so you could solve this yourself. :) Seriously, my apologies for being unable to respond right away.
Yes, any blank line in the queue.txt
file will stop batch processing. That's actually a feature, allowing you to control the looping behavior without changing the executing script.
I'm going to assume we can close this now?
Yes thank you very much!
Sent from my iPhone.
On Sep 28, 2017, at 1:13 AM, Don Melton notifications@github.com wrote:
@quasimog Well, it's a good thing I got distracted by unexpected visitors an hour ago so you could solve this yourself. :) Seriously, my apologies for being unable to respond right away.
Yes, any blank line in the queue.txt file will stop batch processing. That's actually a feature, allowing you to control the looping behavior without changing the executing script.
I'm going to assume we can close this now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@quasimog You are very welcome, sir.
queue.txt I have been batch processing video files with the VTG for a couple years. For some reason today I can not get it to work on either computer, one on 10.12.6 and the other on the 10.13 Beta. Both have worked as early as last week.
Workflow
_#!/bin/bash
readonly queue="$(cd "$(dirname "$0")" && pwd)/queue.txt"
input="$(sed -n 1p "$queue")"
while [ "$input" ]; do sed -i '' 1d "$queue" || exit 1 transcode-video.sh "$input" input="$(sed -n 1p "$queue")" done_
But today it just seems to be doing nothing, not wiping the queue or anything.
Here is a quick video: https://vimeo.com/235854074