Perl script which can be used with Cygwin or WSL to generate a Handbrake queue file file.
My purpose was to shrink some of my handycam videos which were stored as .MP4.

You could easily create your own queue with your settings.

  • Choose one of your files
  • Select the encoding profile you want
  • Add to queue
  • Open queue
  • Export queue as somefile.hbq and open it
  • Remove xml-header and <ArrayOfQueueTask> start and end tags
  • Keep only your <QueueTask>...</QueueTask> with those tags and save it as task_template.xml alongside this script into the start folder from which you will start your find
  • Edit
    • <ScannedSourcePath>D:\Someplace\___SOURCE___</ScannedSourcePath>
      <Source>D:\Someplace\___SOURCE___</Source>
      <Destination>D:\Someplace\___DESTINATION___</Destination>
  • This assumes you copy the task_template.xml and the script to /mnt/d/Someplace
  • Replace the rest of your path with ___SOURCE___ and ___DESTINATION___
  • The script will add the found .MP4 files (if you have others, just alter the script) to ___SOURCE___ and will add the same filename to ___DESTINATION___ as .mkv (you may alter this to your needs too).
  • Edit $fileDir in the script to fit your linux style start-path
  • Fire the script in a bash at the start-path location and it will generate a file called handbrake_final_queue.hbq


Import this file back into your handbrake queue and you should see all the jobs for all your files found under the start path.

Comments  

#7 Torri 2019-04-23 03:23
I really like what you guys are up too. This sort of clever work and reporting!
Keep up the good works guys I've incorporated
you guys to my own blogroll.

Here is my weblog: Viagra Piller: http://www.viagrapiller.nu
Quote
#6 Yukiko 2019-04-22 20:20
Heya! I'm at work browsing your blog from my new iphone!
Just wanted to say I love reading through your blog and
look forward to all your posts! Keep up the fantastic work!


Look into my weblog :: Viagra Piller: http://www.viagrapiller.nu
Quote
#5 Tera 2019-04-22 06:07
You really make it seem so easy with your presentation but I
find this matter to be actually something that I think I would never understand.
It seems too complex and very broad for me. I am looking forward for your next
post, I will try to get the hang of it!

My blog post - Viagra Piller: http://www.viagrapiller.nu
Quote
#4 Rachelle 2019-04-21 01:58
Heya i'm for the first time here. I came across this board and
I find It really useful & it helped me out a
lot. I hope to give something back and help others like you helped
me.

my site :: Viagra Piller: http://www.viagrapiller.nu
Quote
#3 Mallory 2019-04-20 11:20
That is really fascinating, You're an overly professional blogger.
I have joined your feed and sit up for looking for more of your magnificent
post. Additionally, I have shared your web site in my social networks

Feel free to surf to my web blog: Viagra Piller: http://www.viagrapiller.nu
Quote
#2 Lessync 2019-04-12 22:33
Canada Drugstore Online cheap cialis Viagra Tel Aviv Cialis Without Prescription Canada
Quote
#1 Andres 2019-04-05 06:32
Hi. I have checked your rootarea.de and i see you've got some duplicate content so probably it is the reason that
you don't rank hi in google. But you can fix this issue fast.
There is a tool that creates articles like human, just search in google:
miftolo's tools

Also visit my webpage :: HollieBig: https://AbbeyBad.blogspot.com
Quote

Add comment

Security code
Refresh