This is a just a hobby project, but I am more than happy to help anyone using these scripts.

So, for the benefit of all, post any support or help questions on this page – I will get back to you on the page just as soon as I can.

Two things you can do to help before you post:

1. If you have a file that has not encoded – try it in the normal HandBrake program – that will tell you if the file is ‘good’ or not

2. If you still have an issue, look for the file ending config.txt in the program folder. Copy the contents and paste into your post.

  1. carl bondeson says:

    Anyway to specify the temp directory used by makemkv. It defaults to my c drive which is my os drive only. i have 4 terabytes of space in a external sata array and would like to use it for the temp space. your tool swallowed the config file but makemkv issued the warning for insufficient disk space. i am a developer and wonder what tool sets you use for both windows and unix platforms. this looks to be a great tool once i get it working. you created quite the synergy between handbrake and makemkv.

    thanks again for your great work. i am unemployed, but when i get my job i will send you some coffee.

    • videoscripts says:

      Thanks for the comments. The temp mkv path is hard coded as c\tmpmkv in the code, my bad.

      I will change this by Friday to be user configurable via the config file to help this.

      The temp folder uses 10gb max at any one time btw.

    • Paul Dalen says:

      Is there any chance you could add input support for avchd or dvr-ms files? Both are supported in Handbrake. The avchd is the recording format for the Haupauge HD-PVR.

  2. videoscripts says:


    I have uploaded a new version of that script to the same download link.
    type your temp mkv path in the 5TH line of the config file. This needs to be an empty folder, purely for temp files as the script will remove it and recreate it as it is needed. If you leave the 5th line blank, it will default to the hardded temp folder on the C drive.

    Hope that works out for you.

  3. videoscripts says:

    Btw – much more useful here than a cup of coffee would be your feedback confirming this works for you!

  4. carl bondeson says:

    my machine was compromised by a rootkit/virus. i am back up. avira/superantispyware/malwarebytes didn’t get it!!! i will certainly give you feedback asap. sorry for the delay.

  5. carl bondeson says:

    i have tried all combinations of folder specs but it continues to place the build dir relative to the videoscript install folder. the videots_encodeall.exe is dated 11/28/2010 3:39 pm.

  6. carl bondeson says:

    i am an idiot..i didn’t read your instructions. working llike a charm. i figured you used the next line in the config file. always wondered whether you could use the graphics processor to perform the conversion??

  7. Garth Snyder says:

    This looks very nice – I’m just using it for my first batch of transcodes. Thanks for posting it!

    One thing I notice is that the HandbrakeCLI processes seem to be running at High priority, which is a real pain if you want to do anything else on the desktop. I’m not sure I didn’t bring this upon myself, though – the Batch GUI and the first HandbrakeCLI were both at Normal priority, and I set them both down to Low. That’s when the subsequent CLI’s started showing up at High. I’ve just been knocking them back to Low individually.

    • videoscripts says:


      Yes, its set as a default fixed value of High priority – my thinking was that a lot of people would use it as a standalone run, so I just fixed it to High.

      If you think its useful – I can set a box in the gui to select the priority for all processes. Could get this out fairly quickly. Let me know if that would help.

  8. videoscripts says:

    I just uploaded a new version which has a drop down for the priority of all HB threads…. I’d apprecoate any feedback on if that helps you or no…

    • Garth Snyder says:

      Wow, That was quick! That should definitely address the issue — thanks!

      My understanding of the way priorities work in Windows is that they affect only cases in which multiple processes want to use the CPU. If a batch of transcodes is the only CPU-heavy task, Low should actually be just as fast as High because there isn’t any significant competition. I think HandBrake itself just uses Low.

  9. Joe says:

    Hi I just downloaded and installed the HB Batch GUI from the direct link in this post:
    …but I can’t get it to work.

    1) I launch the program,
    2) choose my Video_TS folder as input,
    3) select an output location,
    4) choose “MKV” from filetype,
    5) choose “Normal” profile,
    6) and then start the process.

    It then instantly tells me all encodes are complete, and then exits.

    My specs:
    Windows 7 Professional 64-Bit (US English)
    Intel Core i7 920 @2.67GHz
    9 GB RAM
    784 GB HD space available on C:

    Have I missed an important step?


    • videoscripts says:


      Yes you’s a batch encoder so it’s designed to convert higher up the directory chain.

      You need a folder structure something like this :

      C:\ somefolder\my rips\movie name\videots

      It gets the movie name from the name of the folder above the videots folder. So in the example above , you could point it to any of the folders above the videots folder. But not the videots folder – that will simply close the app.

      That help?

  10. carl says:

    Could you set Batch GUI priority to “above -normal” instead of high. I have to reset it at each launch since it takes control of my 2 core pentium 4 desktop. Maybe even better-> have it as an drop down option which defaults to “high”. This way when you are going to be away from your computer for awhile you can really crank out the video.

    • videoscripts says:

      This is the batch encoder UI, right? The latest version (same download link) has a drop down box to allow you to set the priority for all encodes done – this would sort out the issue for you

      • carl says:

        why not default all the drop downs to the last selection? like you did with the preset.. great stuff!!!

  11. videoscripts says:

    yeah, its on the todo list and should get to it this week

  12. videoscripts says:

    @ Carl…. I got bored, so new version uploaded which now remembers last selections…..

  13. Peter says:

    Can you add .m4v to the supported source file list. I have some I’d like to re-encode to get better compression for my iPhone. Thanks.

  14. videoscripts says:

    @ Peter – support for m4v and mp4 now added. Available for download at the same links.

  15. carl says:

    thanks for the update.. i have been down thought from a virus but turned out to be daemon tools update..look out for this will kill your involves stpd.dll

  16. David Ostman says:

    This is exactly what I was looking for, nice job ๐Ÿ™‚

    Would it be possible (and make sense) to add .flv to the supported input formats?

  17. grtdrgn says:

    Just wanted to say thanks and “props” for an awesome batch encode GUI. I’ve been using Handbrake for about 4 months now, but I was doing the encodes by hand, one-by-one for every DVD I ripped. This wasn’t horribly tedious with the ones that just had movies on them, but for TV shows I was about ready to pull my hair out.

    I started reading up on HandbrakeCLI to determine how to make my own batch script and found myself losing my mind just looking at all the options. When I went to the forums to start looking at suggestions/questions from other uses, I found your post with your batch scripts, found your site, found the program, downloaded, installed, and started trying to use it.

    Had the exact same problem that “Joe” had, but thankfully I read the FAQ before asking questions (imagine that) and I am running my first batch of encodes right now.

    So, again, thank you for an awesome program. I will have to buy you a tall coffee when I receive my next paycheck.

  18. einago says:

    Any chance that .TS files could be added as a supported source file? I have a ton .TS files to convert anf this would make a life a lot easier;)


  19. videoscripts says:

    Lol. That sealed the deal. I have added support for .ts. This is built and uploaded to the usual links, just download again and you are all set.

  20. fourte3n says:

    The preset selection doesnt offer the iPad preset. Is there a way to fix this?

    • videoscripts says:

      The ipad preset is currently support in the nightly builds, so if you update the HB exe you can add it. My generic notes on this one:

      Personally, i just select โ€˜universalโ€™ from the drop down list for my ipad โ€“ works well on ipad, appletv and iphone.
      If you want the specific ipad, until i add it (around a week from now) : set up your usual settings , now delete anything thats in the encode text box and replace it with:
      -f mp4 -4 -w 1024 โ€“loose-anamorphic -e x264 -q 20 -r 29.97 โ€“pfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -m -v 1
      press save as custom query. Anytime you want to use it, just select custom query for the drop down.

  21. Scott says:

    Do any of the scripts currently support minimum and/or maximum title length parameters, or is there an easy way to add this? As in, only encode a title if it’s at least xx minutes long? I’d like to find sort of a modification of “Ripping all titles from dvd”, where I could specify that e.g. I’d only get those titles with a duration that are at least 20 minutes long, but less than 30 minutes long, but that I’d get all of those. Thanks for a great resource!

  22. Scott says:

    Oh, and: sorry I didn’t include this in the first post, but just to be clear, I’m using Handbrake CLI, on both Windows and Mac (Windows is more important to me for this, but either would be fine), and ideally I’d like to be able to just pop a DVD in the drive and double-click to manually kick off the script. Thanks!

    • videoscripts says:

      None of the scripts let you define the time cut off for the piece to encode. Try out the auto rip script just for size – this will rip only the longest title. If works in principle for you, then we could come up with a custom script based on it that would allow you to set it to rip ‘only files greater than N minutes long’ type of thing.

      Do you need metadata added?

      • Scott says:

        Over a month for me to reply – sorry. ๐Ÿ˜›

        I’ll try the auto-rip script later today; my guess is that it’ll work fine for the longest title.

        I suppose it might make sense to incorporate metadata, simply because disc names are so inconsistent for TV show sets – often there’s nothing at all indicating what show, disc, episodes, etc. are on the DVD. I mean, I’m ripping Seinfeld Season 7, Disc 1 from my collection right now; on my Mac’s desktop, the name is “DVD_VIDEO”, and I don’t see anything in the top directory indicating what it actually is unless you play it. But that said, as long as there’s *some* way to differentiate among DVDs, the resulting files could always be renamed later – that is, if I pop in Seinfeld S7 D2 and it’s *also* happens to be called “DVD_VIDEO”, the user obviously wouldn’t want the script to automatically overwrite the files from the first rip with those of the second. But I suppose there’d be multiple ways to ensure this that might be less complicated than having to retrieve metadata.

        Anyways, thanks much!

  23. JesusRuiz says:

    Fantastic nice simple program! Works perfect for batch encoding, except … (you knew there was an “except”, right?). Well, except that most of the videos I want to encode for my iPad are from my Panasonic GF1 which generates .MTS videos. I can use HandBrake to transcode them perfectly, but when using your batch encoder, it seems that it does not consider those files as video files. Most probably it does not include seaching for files with extension *.mts
    I could buy you a coffee, or better I can invite you to a full tapas and wine session next time you are in sunny Madrid… Your choice.

    • videoscripts says:

      Thanks…….. I’ll settle for the coffee as the Madrid trip is three months away…….

      Its not coded for mts files. I will add this and upload it in the morning…will post here when done.

  24. JesusRuiz says:

    Update: I just renamed some *.MTS files to *.TS files and the conversion worked perfect! Looking at the activity window I saw that the video and audio streams inside the files were recognized correctly, and the end result is as expected.

    PS: Coffee then. But it does not exclude the invitation in Madrid maybe in the future.

  25. Chi says:

    Can this automatically burn-in properly named subtitle files?

    • videoscripts says:


      Not currently supporting external SRT files . This is on the to do list but it may be around the first week in Jan.

    • videoscripts says:

      Chi – thanks for coffee ๐Ÿ˜‰

      I have brought this forward to work on it next week.

      The problem with batching is that i need a fixed template for the srt file, so it will need to be in the same folder as the video file and called the same – will this work for you?

      Placing options for burn in, default, language name. Will this cover your needs?

  26. Mike K says:

    Having trouble getting BatchEncoder to work. I’m attempting to batch encode multiple VIDEO_TS folders. Here’s a simplified version of my file structure: “D:\_to convert\_batch”, where “_batch” has 2 folders inside, “12 Monkeys” and “40yr Old Virgin”, each with it’s own VIDEO_TS folder. If I point BatchEncoder at a single movie’s folder, say “12 Monkeys,” it works fine. But if I point it at a folder that contains multiple movies (for example, “_batch,” as outlined above), it reports, “Encoding 1 of 0 files.” If you can help straighten this out and I’m successful in encoding everything, I’d be happy to buy you a couple cups of coffee. Thanks.

    • videoscripts says:

      Mike – thats very strange…..It suggests to me that there is some weird clash with the program and the full file path . can you please email me the bconfig.txt file in the program folder to . I’ll have a closer look and try and see where the problem lies. The app simply looks for a valid folder ‘video_ts’ folder in the path to count and encode. it appears from your counter note that it cannot even see that. Once you send me that small file , I will do tests, and can then send you a debug logging version to get to the root of the problem. Won’t take long.


    • videoscripts says:

      Mike – this is now fixed and the latest version uploaded. Thanks for your help – it was indeed an issue with typing the name rather than using the browse button – now fixed!

  27. Tim says:

    How do you get the movie posters as the thumbnail?

    I am using the latest Batch encoder (GREAT product BTW), and love that it auto adds the movie poster as the thumbnail. I want to apply this to the 100 other m4v files I have created with handbrake before I discovered your great app. Any ideas?


    • videoscripts says:

      @ Tim. I am not aware of any automated software pieces out there that do it totally hands off like the GUi does. There are great programs like metaX and VideoTag (from the links pages) that will allow you to search an image, find it and then resave. it works well. But it is slow. If you happen to be able to stretch to a couple cups of coffee, i could work something up that will allow you to do it in batch – i.e. point it at your 100 old files and it will automagically process them all.

    • videoscripts says:

      Metadata batcher now uploaded. Enjoy.


  28. rcmuzzy says:

    I love your site. I am having some issues with AutoRip. I currently have MakeMKV installed and when I try to run AutoRip it is giving me “Oops you have not set up the settings”. “Right click the icon on the menu tray and choose settings to set the program up.” I have been able to manually go into MakeMKV and process a movie manually but when I try to click the icon in the tray it is not there. Any ideas? I also copied the AutoRip into the directory where MakeMKV is installed.

    • videoscripts says:

      Thanks… You’ve lost me a bit here….. ๐Ÿ™‚

      So, run Autorip. In the right system tray near the clock you should see this icon:

      Right click it > settings. You’ll see this:

      You can change the settings from here.

      Whcih part can you not get to?

      • rcmuzzy says:

        I cant get to that when I launch AutoRip from the C:\Program Files (x86)\MakeMKV directory by double clicking AutoRip I get an error message that says โ€œOops you have not set up the settingsโ€. โ€œRight click the icon on the menu tray and choose settings to set the program up.โ€ I do not get the application actually running down near my clock where I should be able to go to settings.

      • videoscripts says:

        yeah you do ๐Ÿ˜‰ if that dialog box comes up , thats the application running. So you double click , that dialog comes up. Ok it , the little icon is in your system tray. right click it > setttings . Thing is, that dialog cannot come up if the autorip program is not running with its icon in the tray. Trust me when I say, if that dialog comes up, the app is running……

  29. rcmuzzy says:

    The program was terminating before I could get into the settings however i figured out what was wrong. Since programs were in the program files x86 i moved them into the normal program files (Handbrake and makemkv) and strangely enough it worked. Im assuing your code was looking for the apps in the normal program files.

  30. Ed says:

    Hi –
    I’ll post here as I did not see it before.
    Great program. ๐Ÿ™‚

    I rip music video DVDs via chapter and as a result, have a folder full of VOB.

    The directory structure is like this:


    Is there a way it can recreate that structure as well?

    That, will earn you a nice cup of coffee.

    • videoscripts says:

      This support is now added. Just check the recursive box to match your folder structure. be sure to download todays release of course! Enjoy

      • Ed says:

        Can’t wait to install and test. Got 270 file to go and will install new version.

        I’ll hafta send you Coffee from my other machine.

        Thanks again!!!

  31. Ed says:

    It still does not see VOB files… ๐Ÿ˜ฆ

    • Ed says:

      Sorry to jump the gun but VOB does work. But there is a bug w/ the skip encoded files. It would say 131 out of 300 then say Batch Complete.

      Oh well… Still, its worth the coffee and then some. ๐Ÿ™‚

  32. Keith says:

    Happy New Yeal All!!,

    Videoscripts first of all what an awesome program you have here i was looking for something and this is perfect..great work.

    but i have a problem which i was mentioned and answered above but the soltion did not fix my problem.

    i have a folder containing 20 avi files (tv show episodes) and i would like to batch the handbrake convertion to apple tv m4v format. when i complete the GUI steps it instantly flashes 20 cmd screens and with in 3 seconds says All encodes are complete.

    steps i take..
    1 Select browse to point to the folder containing my avi’s in the Source – Location of files to encode. (d:\How i met your mother)
    2 select a folder on my desktop to place in the m4v converted files in the Target – Location to save encoded files to. (C:\Users\Keith\Desktop\AppleTv)
    3 i don’t really touch anything in advanced items apart from i make sure the file extension is set to m4v the rest is left at default
    4 next i choose my Preset to be Apple TV and i see the query listed below
    5 hit start encoding now and it completed with in 3 seconds “All encodes are now complete”.

    is there any way to create a log file so we can see what is going wrong here? or do you have any suggestions what the problem might be?


    • videoscripts says:


      Thats pretty weird….

      1. Which version of HB GUi are you using?
      2. did you download the zip or the installer?
      3. can you copy and paste the contents of the file bconfig.txt to a post? (its in the same folder as the exe itself)
      4. the counter progress screen – does it tell you it found 20 files ok? and then closes?

      if you can get me some answers to these, should be able to sort you out.

  33. Keith says:

    Thanks for the quick responseto answer your questions..

    1. Handbrake Version 0.9.4
    2. i downloaded the installer (with everything i need) “hbbatchencoderuisetup.exe”
    3. bconfig.txt below
    D:\TV\How i met your mother\
    -f mp4 -4 -X 960 –loose-anamorphic -e x264 -q 20 -a 1,1 -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,auto -D 0.0,0.0 -m -x cabac=0:ref=2:me=umh:b-adapt=2:weightb=0:trellis=0:weightp=0 -v 1

    4. is the counter progess screen the little window that pops up by the clock if so this remains as Encoded 0 of 8 files AVFSP:0 Time Left: 0 then after about 10secs of the skipped completion then this will dissappearc

    one thing i have tried before replying to this post is to try a different preset and this returns the same result

    • videoscripts says:

      Can you encode one of the files in handbrake GUI (not mine, the normal HB interface) and see if it will encode a single file? the above suggests Hb is bugging out when it sees the files. Thats what the zeros represent. HB isn;t geting as far as starting the encode.

  34. Ed says:

    Latest EXE is not happy


    Bad CRC!
    This indicates that your setup file might be corrupted…

  35. Keith says:

    Yes i can Encode using Handbrake with single files and i can also build a queue in Handbrake just fine

  36. Keith says:

    Thanks a million VideoScripts i will test tonight and post back my results

  37. Keith says:

    Excellent working a treat now ๐Ÿ™‚

    Thanks for the prompt action i have donated to your coffee fund


  38. James says:

    This could be the missing link I have been looking for.

    Is there any way you can add .wtv support? Maybe run a pre pross to convert the .wtv to dvr-ms so that Handbrake can take care of it. Trying to get from a .wtv to an Itouch 4G, which should be the same as the Iphone 4 display.

    I run Win 7 64bit and record shows on Windows Media.

  39. videoscripts says:

    @James – by end of next week.

  40. Henric says:

    It seems that using the latest HandBrake (0.9.5, haven’t tested with 0.9.4 to be honest) and the latest version of your batch encoder, the “AppleTV 2” profile (all profiles?) will upscale all files to 1280x??? even if the input is 480×352. This doesn’t happen if I run HandbrakeCLI.exe -Z “AppleTV 2” -i -o

    Did I miss an option here ?

    Otherwise, thanks for a very convenient little application ๐Ÿ™‚

    • Henric says:

      Found an interim solution, custom query set to “-Z “AppleTV 2″” will do the trick, but why not use that by default? Like so:

      ComboBox with all profiles, if user selects one, the custom query box is empty and internally you use ‘-Z “whatever profile”‘ when executing handbrakeCLI.

      Next to the combobox, add a button saying something like “Copy to custom” which then does what the BatchEncoder does today, it will then copy (verbatim) what the profile uses, which will mean upscaling in some cases.

      Should simplify matters and make it even easier for newcomers to get the right settings. Encoding a 26min 480×352 clip to 1280x??? takes a lot longer time and storage than keeping with the original size.


  41. Steven says:

    Hi – I am trying the ipad batch encoder and seem to be having a simular problem as listed above. I have a folder of 8 avi files. When i point it to the folder and hit start, it pops up saying 0 of 8 encoded then stops. Any ideas what is up? I am able to convert the files using HB one at a time no problem. I am using HB version 0.9.5. Can you tell me if I am doing something wrong? Thanks!

  42. peter says:


    Great job your SW.
    Please add other subtitles languages to the subtitle language field in BatchEncoder e.g. Slovak, Czech etc.


  43. Ed says:

    Does your utility handle other characters like รฑ?

    I went to batch encode and 25 out of 26 made it – the one that did not had an odd char in the file name.


    • videoscripts says:

      it is coded for it, but I have to confess to not testing all chars…. if you can post the full path and filename of the source you had issue with I’ll be sure to test and let you know.

      • Ed says:

        I tried the same file w/ HB itself and it complained. Also, another note – I got an attach console -31 error by copying a query to your file. It was nothing strange. Just the Basic setting w/ Detelicine and Decomb set to default.

        -o “” -f mp4 –detelecine –decomb –strict-anamorphic -e x264 -q 20 -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -m -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 –verbose=1

      • Ed says:

        Selena Gomez and Scene – Un Aรฑo Sin Lluvia (Pop Latin) 120

        And HB itself did not like it so it might be a limitation and not your application.

  44. Ed says:

    Oh, one more thing. Is there an option to turn off Subtitles? I use this for music videos and they do not have Subtitles. Unless this is a ‘feature’ of Handbrake and no way around it.

    In other words, the resulting MP4/MKV only should have (for me anyhow) an audio and video stream.


    • videoscripts says:

      By not selecting the add subtitles box, it will not add subtitles. and it will only add them even if that is selected and there is a valid srt subs file in the same folder. so in your case you will only get audio and video stream. HB and my app will only add if expressly told to in the UI.

  45. Jeff says:


    I’ve been using your BatchEncoder for a few weeks and absolutely love it. I just downloaded makemkv all yesterday, and that is great as well, but my one wish would be to have an option to choose maximum file length as well as minimum. A few TV shows I’ve ripped have a play all option, so the episodes are ripped combined as one file, and then also ripped individually. If it were possible to limit the size to say 4GB it would only rip the individual episodes.

    Thanks for the great work.

    • videoscripts says:

      Thanks jeff. There is no easy way to do this one in terms of maximum file length. The only way is a but roundabout – rip all titles then delete the largest one which is a little error prone. Neither HB nor makemkv have an option to let us easilymset that parameter. I will look at it again though and see if there is a simpler workaround. Will post here with what I find.

  46. daveofca says:

    First off this script is awesome. Unfortunately it is not working for me at the moment. I have everything installed on my e:/ drive and when I dump a named dvd folder with the ts folders as subfolders, the tool states ‘Not a valid file type’

    I poked around the install files, but couldn’t find anything to reference my issue. When using handbrake directly, these folders are working just fine.

    Any help would be greatly appreciated.

    Win 7×64; tool version 2.0.8; handbrake 0.9.5

    • videoscripts says:

      I will take a look at this over the weekend. I think its a bug race condition – it is seeing your IFO files first and not triggering an encode. I’ll be back in 24 hours when i see what i find.

    • videoscripts says:

      I have changed the behaviour of the program now to show bettert what its doing – shoudl resolve your issue. What you were seeing is watch folder catching the ifo or bup files , which are invalid , it actually would have went on to encode the ts folder ok. Anyway, video_ts encoding and detection vastly improved in the current live build, just redownload and run.

      • daveofca says:

        I downloaded again and reinstalled, but same error. Is the live build download link: (

        I appreciate your help with this. I am eager to see the script work in action without the dreaded error invalid file type.

        Looks like I am running version 2.0.9. Please let me know if you need any additional information.

      • videoscripts says:

        Ok…. That’s not making sense to me. Have you left it running for 5 mins and watch it start the encode?

        I need more info. Can you email a screenshot of the videots folder to me at customvideoscripts at That should also show me the full path to the folder.

  47. daveofca says:

    Yes, I have dropped a folder into the watch folder for over 5 minutes and no encoding begins, only the error message.

    I sent the screenshots, including the watch folder, ts folder, error message, and watch folder settings.

    I hope this helps. I appreciate all the assistance.

    • videoscripts says:

      dave – thanks. I got to the bottom of it so expect a release tomorrow.

      There is one know limitation currently that you should be aware off – if you cut and paste the folder within the same volume (so the new folder appears instantly) , windows only sends one notification which means the encode will not happen. If you copy and paste, or cut and paste between volumes or drives, all is well. Nothing I can do about that one….

    • videoscripts says:

      Dave – new version uploaded at same download links. looks good in all testing so far – version 2.1.0

  48. daveofca says:

    HOORAY!!! For the record, I missed the cut and paste limitation. I should have RTFM. At any rate, just ripped with DVDFab and got the pop up that stated encoding started!

    Coffee on it’s way!

    Thanks so much for your willingness to work through the issue. This script will be a mainstay on my system for a long time…

    Thanks again!

    • videoscripts says:

      Thanks much, glad its running. happy to help.

      FYI – there is one remaining issue still to address in batch folder – i have seen it on my own system when monitoring network paths, where it is slow to pick up new files if it has been running for a number of days. i am running as test fix for that over the next week. no one else has reported it , but worth noting.

  49. Mike says:

    do you have anything that will take 4 cartoon’s on a single DVD and merge to one MKV or MP4?

  50. Seth says:

    Pardon my brash american language, but holy f-ing s-word: this is pretty much the greatest thing I’ve ever stumbled across on the interwebs. I’ve been working on a grand masterplan for my entertainment system for months now, that would (after encoding all my existing DVD’s and ripped Video_TS files) end in what I now know is called a “watch folder” and an “autorip” of DVD’s. I dunno what the going price for a cup of Joe is across the pond, but I tried to load you up with a couple pots before I even ask these questions. Cause….just….wow *tear, blows nose loudly*.

    Now, if it wasn’t blatantly obvious from my obvious overreaction to your batch encoder, I am a bit of a noob, not total in my noobishness, but borderline r-tarded at best. I’ve been toying with different media sharers for these same months to try and find the best device to use to network videos to all the bedrooms and deck of my place and also fiddling with the best presets to use to give my movies the best combination of quality and compatibility. That part I’m pretty sure I’ve figured out: I use the AppleTV2 preset (groundbreaking I know). But I am terrified of not having subtitles where there is non-English being spoken in an English speaking movie. So to fix this I click “Foreign Dialog Search” from the Subtitle tab’s drop down list, and then check the “Forced Only” and “Burned In” radio buttons. This is for English speaking movies. For foreign language, I have to experiment with burning in the various English tracks found in my DVD rip. I do this because Apple TV does not seem to give me the option of selecting subtitles for movies, but my WD TV does (and maybe Boxee?). Handbrake is terrible (or maybe its on purpose) of saving my desired subtitle settings so I’m terribly afraid I won’t be able to use your wonderful scripts. Do you have any suggestions for making sure that Forced Subtitles are burned in? Or of adding subtitle tracks that aren’t in SRT format? Or am I just reinforcing the fact that I don’t fully understand what a SRT subtitle file is?

    So in conclusion, you are an amazing human being who’s contributions to humanity cannot be summed up with mere words, and any help you could provide to make sure my irrational phobia of not having my encoded movies properly and completely subtitled while using your scripts will result in many more pots of coffee.

    • videoscripts says:

      Nice post and thanks for coffee….so lets cover off a few things:

      1. I use Apple Tv and ATV2 around the house, and I use universal for that – it gives me a good trade off in quality and works with all of my iOs devices, WDTV’s and , well just about everything else.
      2. Subtitles on english speaking movies where there is foreign dialog – normally by design these types of subtitles are hard coded (burnt in) to the video as they are more incidental than anything else. So, you don;t need to set anything speacial up for them.
      3. For foreign movies, you need can set up ATv to display them when present. Go to Settings > audio and video > subtitles and choose your language.
      4. SRT files contain subtitles – they are not normally part of your DVD rip , they are seperate files, normally downloaded from an SRT site, not always reliable as they can their timing can be off if you didn;t download them with the original source file. If you have them as part of your ripping process, save them alongside the dvd rips and tell HB batch encoder to use them by checking add subtitles box.
      5. for foreign movies, you can set up a custom query within handbrake which can be used to add the subs file automagically.

      So, lets assume you have lots of rips. No SRT files. You’ll set the ATV subtitles to on > english. I would:
      1. get all of your english rips in one folder, batch them through my batch encoder , you’ll have no problems.
      2. Do your foreign language films one by one in the HB UI – because you can’t assume that they will all have the english subtitles in the same location. batching is not a lot of use to you for those as they may well all be different.

      #1 will break the back of most of your collection. #2 will sort the rest and i can help you with those settings.

      • Seth says:

        Whoa, you just kinda blew my mind again. I’ve been struggling with this subtitle business for a long time now and your telling me that it mostly takes care of itself? Then why do they even have the “Foreign Dialog Search” option? I seem to remember way back at the beginning of trying to figure all this out, doing some test runs and it being unsuccessful in accurately displaying non-English portions consistently, but it may have been a bad “control” subject. I remember using the new Indiana Jones (vomit) as a test and realizing after much frustration that the Russian spoke at the beginning of the movie was never subtitled to begin with. I will try a test run of MacGruber and Taken on the Universal Preset without any amendments to the Subtitle portion and see if the end result is agreeable. And obviously I had assumed that the rare occurrence of a foreign movie couldn’t be included in the “batch encoder compatible” category, but, to your comment, I think I’d still like to burn-in the English. Because (a) why not? Forget learning another language, I can BARELY speak English, and (b) for some reason when I turn on “soft” subtitles, they seem to “jump” a bit. They show up fine, but they seem to flash for a nanosecond a small bar of white the size of the type across the entire screen (when the text changes). A minor inconvenience but one that my previously stated OCD doesn’t take kindly too.

        On a more “big picture” level, what are the major differences between the Apple Universal preset and the Apple TV2 preset? And I suppose even more “big picture”, what is my best bet if time and file size really aren’t an issue? I primarily want the best quality file (sound/picture) for play on TV’s but with compatibility). My understanding is that its really only Apple products that have the limitations (m4V container), and I don’t put videos on my iphone/future phone/future tablet/future-Minority-Report-style-hand-motion-controlled-computer enough to really worry about having them on there (aka I don’t care about their file size taking up too much of the devices precious storage) but it would be nice if my encode could at least play on as many of my currently owned/potentially purchased devices as possible. Also I’ve already done like 200 movies with the process I described in my first post (Apple TV2 with added subtitle finagling) and before I redo them all with the Universal preset (and your batch encoders), I would just like a better understanding of what I’d be getting/giving up. (Speaking of these encodes, when I click on the Properties of any one of these files, the Windows info tells me they are “2-channel (stereo)” audio even though the Apple TV2 preset supposably encodes with 5.1 passthrough, is this normal? and/or another example of how little I know?)

        One last thing: Do you have any suggestions for a Metadata editor? I’ve been using MetaX for Windows because the auto-tagging (whether poorly titled Video_TS files or what) was pretty good, but not great. For example it got one TV show completely wrong (Stella) and different discs within the same season of The Wire were assigned different images (I’d like ALL seasons to be the same anyways). MetaX seems adequate, but I really don’t know much about your other suggestions (MetaBrowser and VideoTag, I have no idea what FFMPEG is but I’m guessing its not what I need). MetaX doesn’t seem to return tagChimp entries (crowd-sourcing usually seems the best rout for these types of things), but I just signed up for an account and heard its a “you get what you put in” type database. Any thoughts?

        So I’m sorry for another long post, and sorry about my rudimentary questions that are certainly far below the intended scope of this site. If you’d like me to stop cluttering up your beautiful site with my incompetence just send me a PM and tell me to STFU.

  51. Seth says:

    First off, sorry about the previous long post. I’ll try to make this short and sweet.

    I did a few test runs on some movies I knew had some forced subtitles, MacGruber and Taken, using the Universal Preset and no fine tuning of the subtitles. Quality seems fine, though thats not all that surprising, since I’m not fully cognizant of the differences between it and the Apple TV2 preset. MacGruber, which has some Russian in the beginning, had the forced subtitles burned in but Taken did not. The French detective gets interrupted while reading a story to his kids by a beat cop giving him a status report on the phone at about 45 mins in. The whole scene is in French and the subtitles were NOT burned in. I know they are burned into the original movie and this thus highlights my greatest fear of batch encoding/encoding a large collection of movies on the whole. My theory is that MacGruber (and TV shows in general) are primarily intended for American audiences and the manufacturers don’t anticipate large overseas sales. But Taken was a big budget, big Hollywood movie and its more efficient for the studio NOT to burn these subtitles into the picture but insert “calls” that insert the standard English subtitle track into those scenes that need translation. Either that or include a separate, forced only subtitle track that is forced only when the English version is played. So any hopes of adding a Foreign Dialog Search, Forced Only, Burned in option to the subtitles part of your GUI? Or is that not feasible?

    • videoscripts says:

      Ok, so here are a few things..:

      1. ATV preset is better quality than Universal – it is high resolution allowing a maximum width of 1280 vs 780 on Universal . If i were all ATV2 everywhere and did not need iphone and some other device support, ATV2 would be my choice. works well on ipad. So, if you are focusses on ATV2 , then stick with that preset for best quality. It is better, but that all depends on the source.

      2. ATV2 and Universal will give you Ac3 pass through. Of course, some will only have DTS and no AC3.

      3. tagchimp = good. Personally i only focus on basic level metadata – what i want to see on screen is cover art, year, genre, classification and director, So whilst others will work hard at very detailed MD (mainly for other devices such as XMBC which support showing more MD) , i just let my own scripts do its thing automagically in batch , and then I check them with videotag and fix any obvious mistakes. Its just faster and gets me where I want. But, everyone has a different approach. metabrowser is great for detailed metadata. Videotag only lets you key in your own metadata. I like metaX but just have no need for it.

      4. FFMEG is another encoder , no need to use it in your situation.

      5. Subtitles – so I checked both the titles you mention and get the same results. there ya go, learnt something myself today. So, my proposed approach for you – choose your base preset. (ATV2 vs universal) . I can then tweak it, add the subtitle stuff to it and send it to you. You need only drop that little file in the batch program folder and you are all set.

      • Seth says:

        Thanks again for your speedy reply.

        To confirm: The ATV2 encodes WILL play on the iPhone 4 (not 3GS though), they just won’t look great (I’m assuming some weird zoom/scaling issues)? If thats the case, I will def go with the ATV2 preset and then 2 custom subtitle tracks: (1) “Foreign Dialog Search” then “Forced Only” and “Burned In” radio buttons checked. then (2) The first English track with no radio buttons checked.

        Just for curiosity sake, can I add a third audio track to the ATV2 preset to allow DTS surround if available? Since the WD TV can theoretically Passthrough DTS surround and perhaps I will switch over to a more “open” media sharer in the future. Am I wrong to assume that this will only add some size to the end file and time to the encode? or will it feasibly open up a slew of other problems? I hate to hold up this process, so if you think this is a stupid idea, please just go ahead with the batch program detailed in the previous paragraph…

        Thanks for the info on Metadata editors, I think i’ll stick with MetaX, maybe give VideoTag a try and probably ignore Meta (mostly cause I haven’t the faintest idea how to use it).

      • videoscripts says:

        Atv2 will look fine on the iPhone 4, you’ll see no issues. iPad also.

        Re DTS – this is only supported in mkv files, not mpeg4 which you will be using. The script will encode any DTS it finds to ac3/dd.

        Send me an email to so I have your email address to send the files back to.

  52. Steven says:

    I have 2 questions that I hope are not stupid (both are about ipad batch encoder):

    1) Is there a way to use windows task scheduler to kick it off at set times with the saved settings?

    2) I have used the encoder many times, and only once did it add meta data (media type = tv show, added show name, etc). Any suggestions as to why it only did this once? I really like this feature and wished it worked everytime.

    Thanks for all your great work and quick support!


    • videoscripts says:


      1) not currently , but its a small thing to add. I will add tomorrow and upload a new version. Thsi feature does exist in the more feature packed handbrake batchencoder – you can set this up in the same way with the same preset and you would have much more control over settings.

      2) Any chance you can email me a list of filenames you were using? (best to not post these here) the Md engine parses the filenames and works it out from there. Its possible that your filenames are tripping it up. If you send me 5 or 6 random file names I will take a look, np. Email –

      • Steven says:

        How would I use task scheduler with handbrake batchencoder? I also played with that and have no issue using software.

        I will send some filenames to you tonight after I rerun my test with HB batchencoder (just to make sure I am not talking out of school – always double check my work ๐Ÿ™‚ )

      • videoscripts says:

        K…. Open it up, set your desired settings, click save settings and close it.

        Set up scheduled task , point it to the exe , add the word autorun as a switch/parameter and make sure you set the run / open in folder to the same directory the exe is in. This is a bit generic as I dont know what OS you are using, but should give you the idea!

        It will run without gui and just show the progress dialog.

      • Steven says:

        Ok I must be missing something simple. I am trying to get the task scheduler to run with the autorun option of handbrake batchencoder with windows xp. I have the following settings :

        Program : “C:\Program Files\Videoscripts\BatchGUI.exe”
        Add arguments: /autorun
        Start in : C:\Program Files\Videoscripts\

        When I run this the GUI pops up. I have tried all different settings and ways to do this and either I get nothing or the GUI.

        Any idea what I am doing wrong? Thanks again!

      • videoscripts says:

        Yup,,something simple … there should be no / before autorun , you just use the word autorun with no preceeding characters…

  53. James says:

    I tried the program last night for the first time. I want to say thank you for your hard work.

    When I started the GUI, Atomic Parsely was no in the correct folder prompt. Not sure if the install went bad or not but I drag one in that I had on my PC. Not sure if it will work or not. But we will see.

    Secondly, is there a way when you run the program to prevent the machine from sleeping? Miy PC sleeps when not in use but I don’t want to mess with the power management. When I use HB by itself it does not have that issue?

    Thanks again

  54. Martin says:

    First off, thanks for these tools – by far the easiest to use that I’ve come across. I’ve not had any joy with batch encoder and wtv files :/

    Batch encoder starts up OK and seems to process the wtv file into a dvr-ms file. At the end of that process, the dvr-ms file gets deleted (not in the recycle bin) and no further processing takes place.

    My config file looks like this:

    -f mp4 -4 -X 1024 –loose-anamorphic -e x264 -q 20 -r 29.97 –pfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -m –verbose=1

    If it helps at all, I can’t drag and drop a wtv file to batch encoder, but it works OK with encoding an avi file. Autorip also works fine.

    I’ve unistalled and reinstalled V2.1.3 of batch encoder a couple of times but can’t process any wtv files. Encoding log just says:

    C:\Users\Media\Videos\Favourites\Handbrake\Tim Minchin- Live_Channel 4_2010_09_03_23_15_00.wtv finished encoding at 14:52

    Any ideas what I should try next?

  55. Martin says:

    oh, forgot to mention, this is on Win7 32 bit

    • videoscripts says:


      Wtv files are not supported in drag and drop (that will be done this week with a number of other changes).

      My guess on your files is that they are copy protected (hence why they would convert to dvr-ms ok, but not any further). There is a quick check you can do to see if this is the case : assuming you recorded these in windows media centre – close windows media centre and open plain old desktop windows media player. Find one of your files and try and play it there. Let me know what happens.

      If it plays, I will need a sample of the file – If you are ok with that and can use FTP ok, I will send you some ftp details to upload a sample file.

      Please do let me know what you find – wtv is important for a lot of people so I could do with the feedback and nailing down any problems.

      • Martin says:

        Hi, thanks for the reply. Yep the wtv file plays OK in media player. I’d be happy yo FTP it to you although it’s a fairly chunky at just over 5GB.

        I’ll have a play with some smaller wtv files to see, I” if I can recreate the problem. If I can, I’ll ftp them to you if you’d like to email me the details.

        Thanks in advance for your help.

      • videoscripts says:

        @Martin – ok, no need to send files , I wrote a logger that will tell me all i need.

        Download this , save it to the batchgui folder. Run it , browse to the root of where your wtv files are (or better still a subfolder with just ones that you have tried) . This will generate a log file in txt – email that to me at . Should be able to sort from there.

  56. chris says:

    Hi, love your batch encoder! Thanks for your work!
    I have a support question:
    I have had great success running this batchencoder in the past but now on a directory that has 200 DVDs in the correct format MovieTitle\Video_TS and \Audio_TS the encoder just says “Checking”… I am running HB 0.95 (the latest)… but it worked fine before but now it sees the 64 dvds it successfully completed but doesnt kickoff and do the rest… what have i done wrong?

  57. david says:

    Hi I want to use this for converting topfield (PVR) rec files, i can do this manually with handbrake, however they dont appear to be noticed by your software, is this simply a file extension limitation or a limitation on the input file type. .rec files are essentially mpeg files.

    This would be very useful, I know there are a number of people who would be interested in being able to transcode these files.

  58. Brian says:

    Love the apps, fills a nice gap that’s left off of handbrake. I’m trying to get the Handbrake BatchEncoder up and running nicely so that I can go ahead and leave it scheduled to do it’s things. But I’m seeing something strange and wondering if you can spot it.

    I rip all my dvd’s to a folder, I rip them with MakeMKV to their own subfolder within my main folder for all the rips. There’s 17 folders in there currently. I have BatchEncoder checked to “Recreate Source Folder structure”. I ran it.

    In my Target folder, I see all of the subfolders created, however only 2 of the subfolders actually have encoded mkv’s placed in them. It seems that the rest were skipped. Any thoughts?

    • Brian says:

      The logs say:
      “D:\shares\Server Swap\Unsorted Rips\GOODFELLAS\t00_GOODFELLAS_DISC_1.mkv had a potential problem finished encoding at 13:24. Please check the file”

      I can open and play the files fine w/ VLC. Could it be something in my settings? I want to keep all the audio tracks I’ve ripped included and passed through in the encode. Some dvd’s I may have 1 track only, some 2 and some even 3 depending on how many commentary tracks were available. Maybe this has something to do with it? My CLI commands are:

      -f mkv –detelecine –decomb –strict-anamorphic -e x264 -q 19.25 -a 1,2,3 -E copy:ac3,copy:ac3,copy:ac3 –subtitle 1,scan –subtitle-forced=2 –subtitle-default=2 -m -x b-adapt=2:rc-lookahead=50

      • Brian says:

        I removed the third audio track and it seems to be encoding the video’s with two tracks. (for example, it skipped folder 1, which was Funny Farm with 1 audio track, and is currently encoding folder 2, which is Goodfella’s with 2 audio tracks)
        Know of any way in the handbrake CLI to handle this difference dynamically and just pass through all audio regardless the number of tracks?

      • videoscripts says:

        HB can file on items such as this, where you specifiy 3 tracks and it only has two. It can also fail on makemkv rips which have a large number of subtitles. In the regular query, there is no dynamic way to do this on the fly as you suggest . I am working on a way to intelligently do this which scans the files first and then sets the audio tracks on the fly to a number you key….thats a few weeks out.

        In the interim , download the scan tool : , run it on the mkv directory and send me the log file to , lets take a look at that first and see if indeed that is your issue.

      • Brian says:

        I sent the log as requested…I’m not sure if it ran correctly as you’ll see in my email.

        Also, I keep only the english subtitles in each rip.

  59. Martin says:

    Hi, I emailed the log file to you, however the script isn’t seeing all the files in the scanned directory.

    I initially tried on a directory with just a couple of wtv files inside but it didn’t create an output file.

    I then scanned a directory with a few more file types and it seems to have given up on an avi file and also ignored all wtv files.

    I tried different directories and a different mix of files, but I can’t get it to spit out any info about the wtv files. I guess this will be related to the root problem?

  60. Martin says:

    Hi, any luck with the scan log I sent?

    • videoscripts says:

      Martin – yes been working on it. There is a problem with the audio tracks on the files it’s failing on which seems to be a bug in handbrake. I am testing the latest pre release nightly builds ton see if this has been addressed. Funny thing is that. Got a number f users to run WTv and dvrms tests and none of them get the same issue.

      • Jon says:

        I may have some insight on this as I’ve been experimenting with using Handbrake to convert .wtv and .dvr-ms files to h.264 .mp4.

        I’ve found that for SOME tv shows (for instance many of the “Backyardigans” tv shows) handbrake ‘can’t see’ the audio stream ONCE it’s converted to .dvr-ms. The .dvr-ms file will play fine in Windows media player (and even in VLC), but when you select the same file in Handbrake and then click the “Audio” settings tab in HB there’s NO AUDIO STREAM!

        Now up until very recently (not sure how recently), Handbrake could NOT convert .wtv files. You had to convert them to .dvr-ms FIRST and THEN run them through HB. Not the case anymore. Now HB can handle converting .wtv files on its own.

        My theory is that the reason Martin and I are having the same issue is because we’re trying to use your batchencoder on one of these TV Shows that “loses” its audio stream when converted to .dvr-ms. But that’s an unnecessary step now. I bet if you change your scripts in WatchFolder and BatchEncoder to NOT convert to .dvr-ms, but instead have the latest release of HB convert the .wtv file… everything will work just right.


      • videoscripts says:

        Yes, i tend to agree with this line of thinking. So here is what we will do – i’ll create a switchable version so we can beta test – will drop a link on this thread to make it available.

      • Jon says:

        also, email me and i can send you a link to a .wtv file that HAS these issues (loses it’s audio stream when converted to dvr-ms)

        It’s about a 400mb download.

      • Jon says:

        Ok, now i’m almost positive that the issue could be completely resolved if you can skip the 1st step in your batch process. If you skip the “convert .wtv to .dvr-ms” and instead trigger Handbrake to encode the .wtv file (instead of the .dvr-ms file)… this will solve the issue.

        I have example tv files to reproduce the problems. Just let me know if you need any clarification or want me to send you the files.

        Thanks a ton! i LOVE your program… it’s the only thing that does EXACTLY what i need… and i’ve been looking for over 3 years ๐Ÿ™‚

      • videoscripts says:

        Please send any file example links to


  61. lax says:

    is there video encoding queue management ? for example have all the new files sent to the end of the list and only encode the first file, like that ?

  62. Videonisse says:

    First, thanks for a great peace of software!

    When adding metadata, is it possible to use mymovies.xml or XBMC compatible NFOs as source instead of scraping it from the online databases?

    Except of iDevices and iTunes I also use and XBMC, therefore I already have all the metadata in the movie folders (including a folder.jpg). It would be great to use this info instead ๐Ÿ™‚

    • videoscripts says:

      Thanks. If you can send me some example my movies.XML files to I will add that. Xmbc NFo files are done for next release due this week.

      • Videonisse says:

        Thanks! It works like a charm in “Itunes Metadata Batcher”, I especially like that IMDB ID is used to create a unique cnID code (as I plan for each movie to have both full quality (HD) rips and iPhone (480x px) rips in my iTunes catalog.

        Is there any chance you will add the NFO and MyMovies features also to Handbrake Batch Encoder? ๐Ÿ™‚

      • videoscripts says:

        Being added this week. (NFO and MM)

  63. Videonisse says:

    I think I found a small bug.

    I have have set “Swedish” as language but when I open the client next time it’s back to default “English” and if I don’t set it back to Swedish the config saves as English. This is a little anoying… ๐Ÿ™‚

    • videoscripts says:

      This ones by design. My though was that by forcing it back to English it would force the user to think about setting itncorrectly each time. I can see the flip side though. Will take a look.

  64. Videonisse says:

    Have one more question…

    Some of my ISOs has “img” as file extension and it seems they are not recogniced by the batch encoder. It works if I rename them to .iso. However, I fould prefere not to rename them.

    Is it possible to have “img” supported as source in the client?

    Even better would be to be able to select which file extensions to use as source before starting a batch scan, as I do have some mkvs and isos in the same folder structure. But maybe this makes the client to complicated?

    • videoscripts says:

      Yes, I will add img. I won’t do the user defined list though – the way it’s coded it’s easier for me to maintain and test within a predefined list. It’s possble I will add an exclusion list setting soon though.

    • videoscripts says:

      Latest updates – mymovies added to batch metadater , IMG support added , subtitle now remembered between batches

      • Videonisse says:

        Something is problably wrong with the Language setting as I’m not able to encode with Swedish language. Same source works well directly with Handbrake.

        Problem is that I want Swedish audio but it encodes only the English. (I also try to get the subtitles but they are not included either)

        I have uploaded an example source (~90 MB iso with 1 chapter of Toy Story 3) that has both English and Swedish audio and subtitles:

        My config file and MediaInfo of the encoded file is available here:

        Am I doing something wrong or could it be a bug?

      • videoscripts says:

        Thanks for all the files.

        Batch doesn’t actually allow you to add additional language tracks, or change them within the UI – the language tab is only for setting the name of the language to assign to the subtitles. the reason is that in batch encoding, we don;t read the exact data from the files before we process. and as languages can be on different tracks etc, it makes it impossible to batch encode.

        You could use a custom query. , just open the UI and paste one of these in:

        -c 1 -f mp4 –main-feature –strict-anamorphic -e x264 -q 20 -a 2 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 –subtitle 2 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -verbose 1

        That would get you swedish audio and swedish subs and encode the main feature only.

        This, would get you swedish audio and no subs and you could edit this to your needs

        -c 1 -f mp4 –main-feature –strict-anamorphic -e x264 -q 20 -a 2 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -v 1

        You can save these as a custom query and reuse them.

      • Videonisse says:


        I assume with above solution I will get the wrong audio/subtitle if Swedish is not the second one (#2)?

        Usually, it will vary between different movies so I can’t know the track # of the Swedish audio or subtitles, or am I missing something?

        I read the Handbrake CLI Guide and found the settings “–native-language” and “–native-dub”. I tested it and it seems it works, do you se any problem with below query?

        Custom query:
        -c 1 -f mp4 โ€“main-feature โ€“strict-anamorphic -e x264 -q 20 -a 2 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -N swe –native-dub -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -verbose 1

        CLI Guide:

        I have also tested the mymovies.xml support but can’t get it working. Is there anything elase than “Add metadata” that should be enabled? I have the file within the same folder as the iso.

      • videoscripts says:

        Yes, that query will work fine.

        Re mymovies – can you send me a copy of your mymovies.xml file and I will test it? Send to

      • Videonisse says:

        I have now sent you both an mymovies.xml file as well as an XBMC NFO (Movie XML).

  65. TheLandYacht says:

    Either I’m not understanding the setting “Recreate source folder structure” correctly, or something’s gone wrong. My setup is as follows. I’m in the habit of ripping concert dvd’s as individual-song files, so I can listen to the songs I want without monkeying with a menu or chapters. So when I rip off the DVD, I use the “Demux by Cell ID” method, giving me VTS_01_###.vob files.

    Expected results:

    Instead I get:
    F:/Encoded/concertname.mkv (which matches the contents of the *001.vob file).

    So my question, is it possible with your software to have it recreate concertname/filename### structure in the encoded results? I thought that’s what “Recreate source folder structure” was for. Am I doing something wrong?

    • videoscripts says:

      Please send me which program you are using. It’s version number and paste all contents of bconfig.txt from the program folder into your response. Then I can look further. I suspect your path also has a video_ts folder?

  66. TheLandYacht says:

    On above, I’ve got these settings in WatchFolder.


    That was so I could (potentially) drop several concerts into the folder to be processed at one time. Does this not work?

  67. TheLandYacht says:

    The source path is setup wth
    The target path is currently empty except for that new mkv file.

    Version 2.1.6

    Paste of bconfig.txt

    -f mkv -e x264 -q 0.65 -a 1,1 -E faac,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 224,auto -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1


  68. TheLandYacht says:

    hmmm…I may see part of the problem…
    that bconfig is wrong…those paths should be

    F:/DVDRip/00Encoding & 00Encoded.

    There’s a / missing in the paths, lemme fix that & see if that fixes it.

  69. TheLandYacht says:

    Think what you actually wanted was wconfig.txt. I uninstalled & deleted the original wconfig.txt (because changing the source & target folders wasn’t working, I’d make the change, hit “Update settings”, and it would still say it was watching the old folder).

    Now I have the correct thing in both the watchfolder window and wconfig.txt. But now nothing’s happening at all, no encode at all.

    -f mkv –detelecine –decomb –loose-anamorphic -e x264 -q 0.7 -a 1,1 -E faac,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 224,auto -m -x b-adapt=2:rc-lookahead=50 –verbose=1





  70. TheLandYacht says:

    by the way, my wconfig reads right, but when i paste it to this reply, it comes up displayed wrong in this thread.

    • videoscripts says:

      Hi – I had a look for you. Neither watch nor batch will do what you want as is. basically, it treats everything in a Video_Ts folder as a DVD rip , and expects that format. A Vob is only transcoded in watch if its part of a DVD. Options:
      1. You could rename the vobs to .avi and drop them into a folder that watch os watching, that will do what you need.
      2. You could use batch encoder, but only if they are not in a video_ts folder – that will convert VOBs outside of video_ts like any other file.
      3. You could use batch encoder by checking the option ‘convert all titles’ and allow them to stay in the video_ts folder structure. This will give a file for each title found.
      3. i could add VOB support to watch for you , but again this will only be effective if your vobs are NOT in a video_TS folder. Currently watch folder will not recognise those vobs as standalone files to be encoded.

  71. TheLandYacht says:

    So far I have tried…

    Uninstalling & removing the wconfig.txt, reinstalling. Also reboot. (BTW, running WinXP).
    Changing the foldernames, moving the folders to another location.
    Simply putting the vob files in the watched folder directly, no subdirectory.

    After the last uninstall/reinstall, watchfolder’s been completely unresponsive. It sits in the tasktray saying “Now watching F:\DVDRip\aaEncoding”

    • videoscripts says:

      Per my previous post – watch folder does not support or watch for files with a .vob extension. It ignores them. Unless they are part of a valid videoTS structure rip.

  72. TheLandYacht says:

    From your description, it sounds like all that’s necessary is to rename the file-extension (MPG). I’ll quite willingly do that.

    How much trouble/code would be involved in adding the option to have recursive folders in both input & output…so that files in (SOURCE/moviename/filename.mpg) would end up in (TARGET/moviename/filename.mkv) automatically? Again, this is so that multiple movies/subjects/etc could be dropped in for processing at one time.

    In all of above, that’s the real crux of my original question, not the VOB thing.

    • videoscripts says:

      It’ll do that right now. That’s they way I use it daily.

      So, say I have :


      As my watchfolder


      As my target

      I check the recursive option.

      I’ll make a new folder in my watch – 30rock . In it I drop 30rock.S01E01.avi

      Which is now C:\mywatchfolder\30rock\30rock.S01E01.avi

      What I now have after encode is:


      What it won’t do is make you a new folder based on your filename – its simply recreating your exact structure from source > target.

  73. TheLandYacht says:


    Exact same folder structure, exact same filenames (except the extension of course)…means you can drop fifty movies in there at once and walk away for a week to find out they’re done when you get back.

    Thanks for that! Is it already done or will it take a day (few days) to do?

    • videoscripts says:

      Both watch and batch do that currently. Ensure you are using supported file types and check recreate folder box and you are all set.

    • TheLandYacht says:

      Hmmm…I place a folder full of *.mpg files inside the watched folder…nothing.
      Take the files out of that folder & drop em in the watched folder itself…and it starts encoding.

      I double & triple checked that “Recreate Source Folder Structure” was marked.

      • TheLandYacht says:

        Still can’t get recursive to work, even with supported file-types. Using *.MPG files, which process fine as long as they’re directly in the Watched folder, but putting them 1 folder down D:/Watched/whatever/filename.mpg and they’re ignored.

        I’ve double & triple checked the “Recreate Source Folder Structure” option.

        Am I doing something wrong? Anything else I can try?

      • videoscripts says:

        Give me a couple of days to spend testing this. Will get back to you asap on what I find.

      • videoscripts says:

        I am somewhat lost. I just spent a good couple of hours testing this. Filenames, options, formats , subfolders, network drives, copy and cut. No matter what I do I just can’t see this happening . I’ll keep looking, but just cannot recreate it to fix it.

  74. Geoff says:


    I use the iTunes Metadata Batcher and it is brilliant!

    Just wondering if there are any command line switches for the iTunes Metadata Batcher so that it can be run from a batch script and just start encoding the metadata based on the last set of preferences?


  75. Steven says:

    Hi, Using the newest version of batch encoder (2.1.9) I just started to receive the following error for EVERY file it converts, just the time mark is different:

    had a potential problem finished encoding at 06:24. Please check the

    The error is the same and pops up after but the files seems to still cover, but I did not test the content of the files yet. This did not happen on the older version of the software.

    Any guesses as to what this means?

  76. TheLandYacht says:

    Thanks. I’ve got a workaround, that only takes a few seconds to enact on my part so it’s not a huge deal. I just rename the files from filename##.mpg to concertname##.mpg before I drop em into the watch-folder, that way I know where they came from & can easily put the encoded results back where they go when they’re done. As I said, just a few seconds work per batch (for me it’s concert footage).

    If you get recursive to work properly, let me know, but not a huge deal.

  77. Lee Buskey says:

    First off, thank you so much for the hard work. This stuff is exactly what I needed. Coffee is coming your way. This morning nightly build of handbrake added audio gain support, which I was desperate for. I was hoping I could simply replace the handbrakecli.exe in the batch encoder folder, and use the new switch in query box. But either I am doing something wrong, or the batch encoder expects a particular instance of the cli exe. Can you help? I need to re-encode everything!

    • videoscripts says:

      Thanks. In theory, doing what you did should work.

      If you can get me some info , I will take a closer look: version # of nightly , and copy the exact query you are using into your reply. with the –gain switch. That way, we’ll be on the same page and i can get you a tested answer pretty quick…

  78. nyx007 says:

    Great job on this, I was looking for a batch solution for loading video to Itunes.

    I was looking at both the watcher and the batch encoder. I tried to set up a scheduled task to run the jobs but the task scheduler doesn’t use any of the stored settings. If I take out the autorun to see what is missing the GUI loads with no saved values, if I try to save at that point it errors out with a message about atomic not being available. This doesn’t happen if I run the GUI directly. This is running on Windows 7 x64.

    One request, on the batch GUI or watcher, would it be possible to have an option to send the deleted files to the recycle bin instead of doing a permanent delete? It would be great to automate the cleanup but I hate to lose the file completely if there was a problem with the encode.


    • videoscripts says:

      You haven’t set the ‘start in’ folder in your task scheduler. Set this to the same directory as the exe is in and all will be well.

      I will try and add the recycle option to the next release due next week.

      • nyx007 says:

        I did try setting the “start in” but then it won’t launch at all.

        I’ll keep playing around with settings, I must have something set incorrectly.

      • nyx007 says:

        Got it, I had quotes around the “start in” values which caused problems. It’s working great now.


  79. Mike says:

    I have setup a preset in the latest handbreak and converted my file which works great and the file size is cut in half. When I use the latest batch encoder to convert the same file the output file size stays the same and the encoding says there is problems. It looks like the batch encoder is not following the hanbreak settings even after I copy in the custom query code. not sure waht to do at this point – can you let me know what the correct steps are to properly carry over handbreak settings to batch encoder??

    Also the preset I created in handbreak does not show up in the batch encoder as an option to select.

  80. Mike says:

    I was using the wrong query from the advanced window in handbreak. I enabled the Query editor tab now and the below is the query generated.

    Do I use all of it in the batch encoder or just everything after the folder locations.

    Also if I set “web optimized” to yes in handbreak do I need to re-do that option in the batch encoder when using the query??

    -i “C:\Users\Mike\Desktop\VideoInput\3694_Video.flv” -t 1 -c 1 -o “C:\Users\Mike\Desktop\VideoOutput\3694_Video-1.mp4” -f mp4 -O -w 400 -l 272 -e x264 -q 20 -r 24 -a 1 -E faac -6 stereo -R 48 -B 48 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 –verbose=1

  81. Mike says:

    The batch encoding now finishes and the file sizes are reduced just as if converted directly from HandBreak.

    Only one problem: When encodeing direct from HandBreak I do not get convert errors, but I do get an error from the Batch encoder. When checking the encoded files they all seem fine with no problems so I am wondering why I get this error if you can let me know please?

    I only have three files in my input folder which I am testing and the below is the error I recieve every time I batch encode:

    C:\Users\Mike\Desktop\VideoInput\3694_Video.flv had a potential problem finished encoding at 08:28. Please check the file
    C:\Users\Mike\Desktop\VideoInput\3699_Video.flv had a potential problem finished encoding at 08:28. Please check the file
    C:\Users\Mike\Desktop\VideoInput\3700_Video.flv had a potential problem finished encoding at 08:28. Please check the file


    • videoscripts says:


      Glad you got running.

      Note on querys which you likely have figured out by now…. You don’t copy the -I and -o part with the file names, but everything else. You can check web optimized in HB , then leave it off in batch encoder or vice versa.

      As for error messages – nothing to worry about – it’s a design quirk. If it gets a final file less than 20MB it reports that as a potential error. I set this low limit thinking most users would be doing large files…guess I was wrong!

  82. Mike says:

    THANKS – I just need a boost to get going and it is working great now.

    Just a quick question for the WATCH FOLDER. I did not try it yet, but does it support conversion of flv to mp4 files using a query method as the batch encoder?

  83. Kenneth Kanipe says:

    Is there anyway to be able to run multiple instances of this FANTASTIC app?? When I tried to do this I get a pop up that references a help file. (See #SingleInstance in the help file)
    Can’t seem to find a help file…could be brain fuzz on my part.

    I am wanting to encode different presets overnight and I seem to be only use about 30 percent of my CPU so I thought it would speed things up!

    Thanks in advance for your hard work and any help you can provide!!

    This really is a great app.

    • videoscripts says:

      Hi – it is set to allow only one instance at a time. Its like this as it relies on a single settings file that can;t be shared with more instances.

      easiest way for you – just copy the contents of the program folder to as many other folders as you like – that way you can run as many copies as you like , all with different settings etc. Wjere this will not help you is if you simply have one large folder to encode – it is only of use if you have one source folder per running instance.

      Hope that makes sense!

      • Kenneth Kanipe says:

        It does indeed make sense and I thank you for your reply and solution. Sometimes the simplest things are the best!

  84. ErwinETC says:

    I have a weird one for you. I placed about 700 files in my “watch folder”. Its proceed to encode the first file and then stops after that. I have moved them all back out and re added them. Its sees the files encodes one and then stops again.


  85. yanix says:

    I use HandBrake Batch Encoder daily – but there is something I’d like you to fix – if possible.

    Whenever I play a game or anything with fullscreen – the next encode automatically steals focus and I’m in Desktop..

    Can you fix this?

    • videoscripts says:

      Yes, I know where the issue is but in testing didn’t actually see in what scenario it could occur. I will attempt to fix, but it may take a while as its deep in the code that reports the FPS figures. will let you know when its done.

      • yanix says:

        Do this then – load 5 video files; put them up for conversion, and then start a game in fullscreen – any game will do; then press Start encoding and give it a minute or two until the encode is done.

        Also to fix this; can’t you make it so it doesnt show any FPS info at all?

        I mean – I’d be OK with knowing that it IS doing something, and not being interrupted every second.

      • videoscripts says:

        Yes, I can recreate it from your previous comment – what I meant was I always envisaged someone using it on a pc without doing otherstuff – a shortcoming in my design as it were!

        The workaround is as you say, adding a check box to switch off the fps update, its just that its so integral to the code that it will take a bit of work to pull it all out and redo , its on the list though.

      • yanix says:

        Thanks for the quick help man!

        And this may be too early; but is there an ETA on that fix?

      • videoscripts says:

        Its likely the weekend before I get to code it , so this day next week sounds about right.

  86. Ron says:

    I’m having trouble getting the Hankbrake batch encoder going. I ran your setup on my Windows 7 machine. When I try to execute an encoding batch, it throws the error: “HandbrakeCLI failed to run. Error 87.”

    Here are the contents of bconfig.txt
    -o “” -f mp4 –detelecine –decomb –loose-anamorphic -e x264 -q 17 -a 1,1 -E copy:ac3,faac -6 auto,dpl2 -R Auto,Auto -B auto,160 -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1 -O -O






    • videoscripts says:

      Hi – HB is not running becuause your query is incorrect. paste the following in the query window which will correct it:

      -f mp4 โ€“detelecine โ€“decomb โ€“loose-anamorphic -e x264 -q 17 -a 1,1 -E copy:ac3,faac -6 auto,dpl2 -R Auto,Auto -B auto,160 -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 โ€“verbose=1

      (you had -o “” in the query, also had -O which you do not need as when web optimized is checked in the UI, it adds this)

  87. Soul says:

    I keep getting error -87 with my custon query sorry im still kinda new to HB and have found your program which I love for the first couple of encodes untill I have added some advanced functions in and it keeps dumping i know it works in the gui this way. Maybe one of you can help. Also get this error as soon as it starts scanning the file,

    -f mp4 -4 -w 1280 –loose-anamorphic -e x264 -q 18.5 –vfr -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0,0 –gain=0,0 -x ref=2:weightp=1:subq=4:rc-lookahead=20:mixed-refs=0 –verbose=1

    Thanks again great work from the little I have used so far.

  88. Ron says:

    Your suggested replacement query worked! I’m confused because I got it directly out of the Handbrake GUI query editor, but thanks!

    As an enhancement suggestion, it might be nice to be able to see what file (by name) the encoder is currently processing, rather than (# of #.)

  89. David says:

    Hi videoscript i keep getting this problem , im doing a batch encoding of some files and 90% convert great while the rest of the 10% do not convert and i get a message:
    C:\Users\TFR\Desktop\One Piece\New Folder\One P257.avi had a potential problem finished encoding at 01:46. Please check the file
    C:\Users\TFR\Desktop\One Piece\New Folder\One P296.avi had a potential problem finished encoding at 01:46. Please check the file
    C:\Users\TFR\Desktop\One Piece\New Folder\One P297.avi had a
    All those videos file have the same size 200mb
    If i use handbrake they convert fine no problem, but if i use batchencoder i get they do not get converted and i get an output conversion of like 10kb.

  90. David says:

    This is the error i got when i tried to batchencode with batchencoder:
    System.ObjectDisposedException: Cannot write to a closed TextWriter.
    at System.IO.__Error.WriterClosed()
    at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
    at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
    at System.IO.TextWriter.WriteLine(String value)
    at HandBrake.ApplicationServices.Services.Encode.SetupLogging(Job encodeJob)

    • videoscripts says:

      That’s handbrake freaking out somehow. I would need to see a file to tell you why. It may also be a query issue with the file in question, not specifically HB itself.

  91. Ronny Brehm says:

    While using WatchFolders is there any way to see the status of the conversions that are currently happening? Like a progress bar I am missing?

  92. Cesar Muniz says:

    Hi, is there an option to create an .m4v file from a DVD folder and keeping all the audio tracks and all the subtitles included on the DVD folder?

    • videoscripts says:

      Yes, but you have to do that with your own query. You would need to creat that in handbrake itself. Choose all of your settings and subtitles , then export that query into batch encoder by pasting it into the query window and saving it as a custom query. If you need help creating the query or getting it running, please do ask.

      • Cesar Muniz says:


        I am using this query, but only 1 subtitle is beeing writed to the .m4v file:

        -f mp4 -w 720 –loose-anamorphic -e x264 -q 20 -a 1,1,2,2,3,3,4,4,5,5,6,6 -E faac,copy:ac3,faac,copy:ac3,faac,copy:ac3,faac,copy:ac3,faac,copy:ac3,faac,copy:ac3 -6 dpl2,auto,dpl2,auto,dpl2,auto,dpl2,auto,dpl2,auto,dpl2,auto -R Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto -B 160,auto,160,auto,160,auto,160,auto,160,auto,160,auto -D 0.0,0.0,0,0,0,0,0,0,0,0,0,0 –subtitle 1,2,3,4,5,6 -m -x cabac=0:ref=2:me=umh:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6 –verbose=1


      • videoscripts says:

        I will test that today and let you know what i see.

      • videoscripts says:

        I have tested this and it works just fine with batch encoder. My test sample only had 4 sub tracks, but it got all four (my subs query reads -subtitle 1,2,3,4. I played back the content on an ATV1 and selected the sub stream. How have you tested the file ? Thing is, if the HB query was incorrect it would likely not encode at all, just die.

      • Cesar Muniz says:

        When I played it on XBMC I can see and select all the audios and subtitles available, but when I try to play it on iTunes or ATV2, I see only 1 subtitle.

  93. Luis Santos says:

    Hi, I love the app. but Iยดm facing a problem.

    I have several videos in several directories, all of them child of c:\users\public\videos.

    I made a search for .mov files in c:\users\public\videos and selected just the fles with 848×480 dimension. These are the files from my old Panasonic camera, with are encoded with MJPEG codec (very big files!)

    I have some others .mov files, with 1280×720 dimension, but these are already on h.264 codec. I donยดt want reencode these files.

    I sucessfully drag and dropped just the 848×480 MJPEG files to Handbrake batch encoder.

    But all files are been generated on c:\my destinationfolder.

    I was expecting to see, under the c:\my destination, the complete subfolder structure from my original folder.

    How can I accomplish this?

    Best regards,
    Luis Santos

    • videoscripts says:


      Drag and drop doesn’t yet support recursive folder recreation – as you saw, it only places every file in the master folder. I have the work completed for this addition, and hope to release some time next week.

      • Luis Claudio Dias dos Santos says:

        Hi again!

        Thank you very much for your support. Iยดll wait anxiously for this new version.

        Please permit me to give you another suggestion. Along with the option of choose the destination directory, another good option would be an checkbox to disable the destination directory. This checkbox would be “write output on original directory” or something similar.

        The ideia is write the transcoded file exactly into the original directory of each file.

        Along with the option to delete the original file (which already exists) this option would be a great tool for any video file batch processing.

        Best regards,
        Luis Santos

      • videoscripts says:

        Yes – that is being added as part foe the change

      • Luis Claudio Dias dos Santos says:

        Thank you very much again. Please let us know when this would be released.

      • Emre says:

        Hi, I’m also desperately looking for this feature. I have lost of vides in MJPEG taking a lot of space and they are organized like:
        and I have 10 years of video’s like that. I’m making in a search in Windows and dragging and dropping them to BatchEncoder.

        The drag&drop is working perfectly, but the “re-create source folder structure” still does not apply to Drag&Drop feature as far as I can see and all the output videos are created flat in the destination folder.

      • videoscripts says:

        Drag and drop is fixed and will be available Monday.

    • videoscripts says:

      Yes but no….. I have finished the work but the version has not Ben released as yet. Likely this month at some stage though while i add some other features.

      • yanix says:

        Would be amazing if you could send me a version with just that function in it added – that’s all I really need, and the faster the better.

        my email is – please consider this ๐Ÿ˜‰

  94. Andrew Lamb says:

    Hey videoscripts,
    Just trying out my first batch transcode of a TV DVD folder on my hard drive. It’s working away, but it looks like its outputting each individual VOB file separately – so I’m getting VTS_01_0.mp4, VTS_01_1.mp4 etc… I was kind of expecting to get, maybe Title 1.mp4, Title 2.mp4 etc, based on the episodes/special features on the DVD, rather than files corresponding directly to the DVD VOB files? Do they get combined after, or did I check something I shouldn’t have?

    Also, is there any way to pull up the main GUI window once an encode has begun so that you can check the settings in use without cancelling the transcode?

    I was also having a problem with your metadata batcher yesterday – kept getting a message saying that atomicparsley had stopped working (can’t remember the exact message now), and this caused your batcher to stop finding data for the rest of the files in the folder. Any ideas what might cause it to stop working? I’d love to get it going again, cause it was doing a great job up until then – though a few of the directors names didn’t come out quite right (I presume this is because of the source though).

    Cheers in advance for the help!

    • videoscripts says:


      It will encode like you see there only if the vob files are not in an expected DVD structure. To encode the titles correctly in needs to be in Somemasterfolder\YourMoviename\Video_TS . If its outside of that structure, it encodes as you see in your post.

      Currently there is no way to open the GUI window , but thats worth doing – i have an overdue release here now and will throw that in, np.

      Batcher – that could be anythign tripping up atomic. If you have the newest version, you will see a file there called atomic log.txt (or similar). Email that to me and should be able to get you better info.

  95. Andrew Lamb says:

    Thanks for the quick response!

    I renamed the folder structure, and encode is working away. As it’s a TV series I originally had “Masterfolder\TvShowName\SeasonNo\DiscNo\” with no additional Video_TS folder and it was doing each individual VOB file separately. Now it’s: “Masterfolder\TvShowName.SeasonNo.DiscNo\Video_TS\” and it seems to have picked up roughly the right number of titles (though I think it’s going to encode the DVD menu from each disc as a title also). I’ll remember to backup my DVD’s with the revised folder structure from now on. Cheers!

    Re metabatcher – I had a look at that text file you mentioned and it doesn’t contain any error messages. I can send it on to you at any rate if you want, but I don’t think it has anything useful in it for this particular issue. I’ll try to reproduce the error and send you a screenshot of the error message. Where do I find your email address to send it on to?

    Thanks again!

  96. Andrew Lamb says:

    Hey Videoscripts, sorry if I’m annoying you, but I had some more problems using your batch transcoder on that TV series.

    Firstly, when it was finished there was an error encoding log listing a number of errors of the kind:
    [VIDEO_TS] “had a potential problem finished encoding at [time]. Please check the file”
    However, the encoded files that were listed in the log seemed to be ok… any idea what would have caused the error messages?

    Secondly, the batcher did not pick up on any titles higher than title number 8 on any of the discs. Meaning that for some discs no video was encoded at all. When I launch the discs individually in Handbrake or VLC, they report somewhere in the region of 30-40 titles (mostly I guess these are fake titles), with the episodes held in the 9-25 range, so they did not encode. Help would very much be appreciated!


      • videoscripts says:

        Andrew – I have lost track of what was outstanding on your comments – what needs done?

      • Andrew Lamb says:

        Hey Videoscripts,

        No worries, I understand that you do this stuff in your spare time.

        The outstanding questions/items were:

        1: Atomic parsley crash and failure when trying to write to a large 64bit mp4 file which we emailed about (you said you might try out a file of similar size to see if you had the same problems),
        2: Whether you’ve had the chance to add in an option to the metadata batcher to allow for selecting alternative information when it picks the wrong information – again mentioned in email
        3: I didn’t hear back, (or possibly didn’t see) a response to my questions from the 22nd June re problems: [VIDEO_TS] “had a potential problem finished encoding at [time]. Please check the file” (even though files seemed ok)
        4: Also from 22nd June: Batcher not picking up on titles higher than 8 on discs, stopping some discs from encoding at all as their titles were in the 30-40 range.

        Cheers again for any help you can provide!


      • videoscripts says:

        Ah ok…I recall them all now!

        Let me go over this tonight and get you a reply.

      • Seth says:

        Just FYI, I am also experiencing issue 3.

  97. Mike says:

    I want to join two videos. I join them with some .net code using this software – Now that I found your join software I have a few questions.

    1.) after your software joins the videos does it keep the fast start meta data so the mp4 can stream on the web.

    2.) if both videos are h264 will the joined video stay h264

    3.) is it possible for me to see the ffmpeg paremeters that are being passed

    4.) finally my goal is to grab a random pre-roll from a database table and join it to a main video. So far I have this working but after the join the video is not h264 so I am exploring other options.

    • videoscripts says:

      1) it does not preserve metadata in that way.

      2) yes. I do no re encoding – the two files are joined as is. So, h264 stay as h264

      3) no because there are none – it is modelled on mp4 box which simply concatenates the files , no encoding is carried out. Ffmpeg is not used.

      4) I could customise something for you and allow you to pass the pre roll as a command line parameter.

  98. yanix says:

    Hey Videoscripts.

    How far is it left until you release the new update with this function in it? :

    Cheers, Aram N

  99. Mike says:

    for the watch folder can it run when I log out of my remote desktop session but the server is still running??

    what is the delay on the watch folder settings – is that minutes or seconds??

    • videoscripts says:

      Yes it can – that’s actually how I use it.

      Time in drop down is minutes. There is a fixed initial 1 minute delay already from finding file to start of encode.

  100. CDxDave says:

    Hey – trying to use your app. Excited about it.

    Trying to convert iso to mkv. In HB, I’m able to get the video output I want by checking off Large File size and Web optimized. In your app – I don’t see an option for Large File size.

    Finally – getting the best sound quality out of it is most important to me – so I’m trying to use DTS Passthru and AC3 Passthru as much as possible.

    I was hoping that I could save a preset in HB and have it show up in Batch Encoder – but that didn’t work either.

    Bottom line is that I want to retain the best quality of everything in the output while converting to MKV. Any other tips are appreciated.



    • videoscripts says:


      Your best bet is to get the exact query you want to use within handbrake. Perfect it there ( you may already have done this). Turn on query editor in the options. Go to the query editor tab and click generate query. Copy everything in that box. Open hb batcher. Paste that into the text box marked editable query. Ensure to remove the -i and -o part. Save it

      Hb batch will now use that query for everything you transcode.

      Do it once and it takes just a couple of minutes to do.

  101. CDxDave says:

    Ok.. Did that – seems to be working. A also removed the reference to the markers.csv file. Should i have left that?

    Thoroughly reading this blog and learned a lot. Thank you for posting. Still don’t understand what “Add Metadata?” does.

    • videoscripts says:

      You can leave markers in if you need to use it.

      Add metadata – only applies if you are converting to m4v files – it will add artwork, movie title, tv title, episode information to the file so it is nicely displayed in itunes.

  102. CDxDave says:

    Got it… Ok..

    In some of your previous posts – you recommend going with ATV2 for the best quality. I went with that – and it seems like there’s a lot of jerking around and distortions. Except for that, the quality is good. (Maybe the problem is VLC?)

    In addition to that – for some reason it generated six copies of the same file off the same iso – for instance Insider_1.mkv Insider_2.mkv, etc..

    I posted the altered ATV2 query it generated below and this is what I pasted into your query box.

    -t 1 -c 1-51 -f mkv -w 720 –loose-anamorphic -e x264 -q 20 -r 29.97 –pfr -a 1,1 -E copy:ac3,faac -6 auto,dpl2 -R Auto,Auto -B auto,160 -D 0.0,0.0 –subtitle 2 –subtitle-default=1 –verbose=1 -O

    Any idea what I’m doing wrong?

    • videoscripts says:

      Your query seems fine. In have not saw this sort of issue on an atv2 encode so as you say ot might be vlc – have you tried playback elsewhere? On a low powered test pc I use, I see the same issue on playback but it’s fine on all iOS devices.

      You got all those files from the iso as you checked ‘convert all titles’ this does what you see. Unchecking this converts only the main movie.

  103. CDxDave says:

    Dude – I’m impressed. Working great – finally. What a bunch of tweaking and testing I had to go through!

    Cup O’ FourBucks on the way.

  104. CDxDave says:

    Went to post to paypal and it’s asking me for pounds? You out of the country?

  105. yanix says:

    I have a question and an idea.

    Question : How’s it going with the “background encoding” – I posted before :

    Idea : Maybe make it so that you can choose how many CPU cores that will be used on the HandbrakeCLI.exe process – for example you can set it inside BatchGUI with a drop down menu and then whenever a HandbrakeCLI.exe process is started, BatchGUI will automatically give it only the amount of CPU cores you chose before, for example only 2 cores out of 6.

  106. kjlavery says:

    Hi using watchfolder now for about a week. nice program. i really like the extra features it has like addin artwork and such. keep up the good work. I am having a bit of trouble finding a script or anything that once watchfolder is done I have it move the file to a drive and then I have to add that file to itunes manually every script I try doesn’t function. just a thought that you could add a option in watchfolder that once done and moved it will add the file to itunes. and also. not sure if it is a glich on my system, running windows 7 no SP1 and it watches the folder great but it also watches the recycle bin on that drive aswell so if I delete a file from the folder or drive it monitors and don’t empty the recycle bin then it detects the file in the recycle bin as a new file and starts to encode it. just an FYI……

    • videoscripts says:


      I wasn’t aware of the recycle thing – but this would be expected behaviour of you set it to monitor a root drive – it’s going to look for anything new in that drive. I will look at an exclusion setting for the bin. Only solution in the interim is to watch a folder one step up from root.

      On iTunes. It’s asked here quite a lot, but I have found no reliable way to do it, so I really need to write something from scratch.

      What I do currently myself is use the automatically add to iTunes folder as my destination. For other content I bought iTunes folder watch which rocks – that just sits there like watch folder , waits fir a new file and then adds it. Highly recommended.

      • kjlavery says:

        yes I have used this myself and it works great. but I have recently mapped a hard drive to c:\music\tvshow and when I do that and put a tvshow in the automatically add to iTunes or AATI, iTunes gets mad and adds it in but doesn’t move it to the directory cuz of the mapping so I am forced to move it to the folder manually or with the after encoding move here function in your program. and then add it to iTunes manually. DVRMStoolbox has a function to add to iTunes but can’t get that to run proper either. so I thought you could add this function into your watchfolder program, which I am loving. i just need this last final step to complete this dance. or a seperate program to watch a certain folder and add anything that gets put there.

      • videoscripts says:

        I highly recommend iTunes folder watch.

        This is what I use. It works very well for exactly what you need.

  107. yanix says:

    Hey Videoscripts; so how’s it going with the background encoding idea I had?

    I’ve noticed your kinda ignoring my comments; please just post a update atleast.

    Cheers, aram N

    • videoscripts says:

      Not ignoring – I simply have no update as yet as my time to develop has been limited. It will happen, I just cannot promise when.

      • yanix says:

        Alright, as a fellow developer I totally understand the time restraints.

        I love your programs and I’ll happily wait until you can put in background encoding ๐Ÿ™‚

  108. Ethan T says:

    Used JoinMP4, resulting file comes up with errors and squashes video to 4:3 and doesnt order chapters together properly (repeats 1-19 again)

    Any ideas?


    • videoscripts says:

      The joiner only joins clips that are the same (formats, bit rate etc etc). if there is any difference in them , its unpredicatible and will pretty much throw out garbage. It doesn’t do any matching, just joins them.

  109. Henry says:

    Trying out your AutoRip utility and find it quite useful and easy to use. Just wondering if its possible to just RIP without encode.

    I tried to select no encode profile but it still tries to encode after rip.

    Thanks for your work – Im just looking for a simple rip solution without encode that rips on insert.

  110. yanix says:

    I got about 30 different presets and I was just wondering if an BatchEncoder update would delete my presets?

  111. naeonline says:

    In the second tab, the feature to move after finished, does it move the encoded file from the target directory to that directory or does it move the original source file?

    folder watcher feature request: Allow each directory to have a different setting for deleting the source. so if i have tvshows in one and want to delete the source file after conversion it will, but if it finds a new movie from mymovie directory it will convert it but not delete it.

    • videoscripts says:

      it moves the encoded file when its finished. the idea was that some programs would add the files to itunes be fire encoding was finished and then the metadata would not be included . also, local encoding is faster than network encoding for some people.

      re watch folder suggestion. i like the idea. i am chunking through a long standing list of changes at the moment – this one will not make the cut until i make the next pass though.

  112. Andy says:

    I’ve been working with your BatchEncoder utility. Overall, I am impressed. But, then I noticed that it was moving all the folders (program file folder, windows folder, etc) on the root level of my C drive to the network drive where I told it to move the encoded files after completion. I have no idea why it is doing that as none of the files I’m working with are on the C drive. Below is the configuration file. Hopefully you’ll be able to figure it out. Hopefully my computer will reboot! Thanks in advance!

    H:\Temporary Rip Folder\DVDs
    H:\Temporary Rip Folder\M4Vs
    -f mp4 -4 -X 960 –loose-anamorphic -e x264 -q 20 -r 29.97 –pfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -m –verbose=1





  113. Henry says:

    Is it possible with your handbrake batch script to pull all english/spanish audio and subs for every video selection?

    • videoscripts says:

      Henry – it is, but not within the UI. The best way to achieve this is to generate a custom query in handbrake itself, then paste it into my batch encoder and save it as a custom query there.

      check our –native settings for language and subtitles in the HB UI. If you are new to handbrake queries, let me know and I will try and get you something that will work for you.

      • Henry says:

        Thanks for the quick response.
        I tried to make the query from the handbrake “high profile” profile and I tried to add -a eng,spa -E copy but it didnt seem to work.

        Then I tried -a 1,2,3 thinking it would just grab the first 3 audio tracks of every source file but it only encoded those files that actually had 3 audio tracks and then would error out on all the other files.

        I also tried the -s eng,spa and -s 1,2,3 with similar results

        I tried this:
        -f mkv –detelecine –decomb –loose-anamorphic -e x264 -q 19 -a 1,2,3 -E copy,copy,copy s 1,2,3 -6 dpl2,auto -R Auto,Auto -B 160,auto -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1
        with combinations of -a eng and -s eng,spa
        would be great if there was actually a setting that would just grab ALL audio and subs to make it easier.

        Thanks again

      • Henry says:

        Was reading through your support questions and ran accross a post for someone that was interested in assuring all forced subs for foreign language was included. Can I incorporate this together with choosing all spanish/english subs & All english audio.
        Reason for All english is to preserve those films with either DTS or Commentary.

        Im trying to copy 500+ dvd collection to my home server and I think your batch script would work if I could figure out how to tweak it. Also what is your opinion on the handbrake default “high profile” for quality vs size vs time-of-encode? I want to preserve as much quality as I can but within reason.

        Thanks – sent you some coffee for your trouble and your work here.

      • Henry says:

        Looking through more of your work, can I use your watch folder to do the same thing and then just run my DVDs through your auto rip (when you add the option to not encode after rip to MKV) and just have it watch the folder where the autorip dumps everything.

        Seems to be so many options I dont know which would work best.

      • videoscripts says:

        Yes, you could do this as an ongoing method to encode. But per your previous post , you’ll need to get the handbrake settings the way you want them first up.

        So, on your needs – you want every movie, to have encoded: all english audio, all english subs and spanish subs? What about native language support – do you want the main language to be the default? Try and let me know what you want to see out of a final file and what it would contain – i will try and put together a query for you.

        High profile – excellent quality, slow to encode though and can be picky on what it plays on in my experience – what will you play back on? Do you rip much HD stuff from Bluray, or just DVD?

      • Henry says:

        I was not able to respond to your answer below so I will try here.
        I am only encoding my DVD collection not HD or Blu Ray. Would like to keep as much quality as possible (within reason being that its SD source)

        I want to keep all English audio to preserve Dolby5.1, DTS, and Director Commentary. I do wish to preserve foreign audio film primary track but if that’s too difficult I can run those films apart.

        I would like English and Spanish subs for my Folks when they visit for a film night. Subs are so small that I don’t mind if it included all subs (but we only use Eng,Spa). It is important to keep the forced subs for foreign parts (I think some of these are burned in but I have ran into some that were a separate track).

        Let me know what you recommend and I will give it a run. Appreciate your help greatly, I have dreaded this project and have been putting it off for some time.

      • Henry says:

        I forgot to add I play my video files on either
        HTPCs running XBMC
        or on WDTV live plus.

      • Henry says:

        I think I will just start ripping to MKV without the encode for now. And when I can get the handbrake right I will explore that option. At least I will be able to add all my DVD collection to my server in the meantime.

        Any idea when you will have the no encode option for your autorip? That would sure make this task easier.


  114. Rob says:

    Hi, I’ve been using Watchfolder for a few days now and I’ve got to say i’m really impressed.

    One additional piece of functionality i would like (not sure if its possible) would be to run 2 instances of the program at the same time so i can convert files to 2 different presets automatically. I’ve tried running under different user accounts on windows but when i change the preset on one user it automatically changes it on the other as well

  115. Hi, am hoping you can ignore input file extensions (.wtv) in WatchFolder. I have a process that moves .wtv files after they age out, and would like WatchFolder to process them. These are basically .mpg files which the newest handbrake can process (copied newest handbrake to WatchFolder install directory.)

    PS can change the extension and they process fine.

    Here is my config:

    -f mp4 -4 -X 1024 –loose-anamorphic -e x264 -q 20 -r 29.97 –pfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -m –verbose=1



  116. Rob says:

    I’m loving these scripts – thanks for creating them!

    I’m using the metadata batcher and i have a few things that I would love to see added if possible (i am a bit anal about having perfectly tagged files!);

    Adding a track number field ( to be the same as the episode number – to help sorting on ipad)
    Adding an episode id eg 0105 ( taken from season and episode no)
    Ability to use own/custom artwork – maybe search a folder on my hard drive/add manually
    Able to edit all fields once populated so any missing data or errors can be amended

    Again, thanks for all your hard work on these and some coffee is on its way ๐Ÿ™‚

    • videoscripts says:


      Adding a track number field – it already adds the episode number so it should sort by that. If you view ipad > videos , you should already see the eps ordered by episode number. It does on mine – let me know if you see different.

      Episode ID – working on adding the actual ep ID that itunes uses currently – this helps to cross reference metadata.

      Custom artwork. There is no good manual way currently. The best way is to set it to ‘use folder.jpg’. Then save your preferred artwork into the same folder as the file and it will use that instead of what it finds.

      Manual field edit – much requested, in progress….

      • Rob says:

        My ipad (1G) sorts any tv shows by the episode titles unless I add a track number in itunes first and then it shows the correct order. Not quite sure why it happens though…

  117. Josh says:

    I cannot get the metadata batcher to specify between an original movie or the remake. EX: Alice in wonderland original 1951 animation or the 2010 tim burton remake. i’ve tried filenames as;,, alice in wonderland (1951). Anytime i add the date it just shows up as a tv show season 19 episode 51, if i remove the date it will only bring up the new remake metadata. What is the proper way to distinguish dates for this program? Thanks.

    • videoscripts says:

      Currently, there isn’t one. i am working it into the next version. Right now, all it does is look for a number string. If its there, it parses that as TV data. In the coming version, it will look for the number string and if in brackets will use that as a date.

    • videoscripts says:


      I can’t help much on this as the software was not tested in any way on a 64 bit machine. I don;t use one to test on either. The error means simply that it has tried to run handbrake and failed. This could be permissions based.

      Please try: running as an administrator first. Turn UAC off. I would also try to run standalone handbrake on your system to see if that works without fail.

      Sorry i can;t help more, but pretty sure it will be permission based.

  118. jeanjan says:

    Thanks for these useful scripts.
    I use batchencoder and watchfolder.
    With watchfolder, is it possible to keep the source folder as destination folder ?

  119. Thanks for the great program. Coffee on the way. But do have a question that might not pertain to your programs but do you know how to prevent dvdfab from putting “_” in the titles. I have my ripping process automated but when it comes time to run metadata i have to rename all the files so i can get the cover art. For example if i rip True Grit I get the file True_Grit. Again thanks for all the work you have done here.


    • videoscripts says:

      dont know much about DVD fab , but a lot of rippers put it in there as they derive the name from the title on the disc itself. So you use batch encoder to take the rip to m4v? Or which of my programs do you use ? I ask because in the changes i am working on i have an option to remove underscores automatically before metadata steps – but not in all programs.

      • Im currently using Handrake Batch encoder and Matadata Batcher. If im reading it right will the handbrake encoder add the metadata info for me? If so I would not need the Metadata Batcher unless I’m ripping new dvds correct?


      • videoscripts says:

        So – you rip with DVD fab. Then pop those rios through batch encoder? If so what will add all metadata for you. You would on,y then need metadata batcher for stuff that you have already encoded before starting to use my software.

  120. After i rip with dvdfab, do all i need is watchfolder? Just found that on you site. Sounds like I might me doing too many steps. I rip with dvd fab, handbrake batch, then metadata batch.

  121. gray10k says:

    Morning.I wanted you to know how awesome it is to find this site. I am sending you a donation and thanks for your work. That having been said there is an issue. When I ran the batch encoder this morning it also copied over my bootloader file and a couple of others into the converted folder when it was done encoding. I am not sure why it would do that but I was able to successfully reboot the computer with no issues. Any idea why this would happen?

  122. yanix says:


    I noticed in 2.2.0 that you now have HandBrake Priority – but I have one more suggestion.

    Can you make another drop down box for how many CPU cores for YOUR program to use?

    I have tested, and if you set the number of CPU’s your program (BatchEncoder) can use, then all the HandBrakeCLI.exe processes will inherit those number of CPU’s, a practical example would be that I have a quad core, at the moment I manually set the BatchGUI.exe processor affinity to 2 cores, and that means I have 2 cores for gaming; works fantastically.

    I don’t think setting processor affinity for your own program is that difficult; I’ve done it in vb6, but maybe you are coding in .net, in which case I have no idea on how hard it might be.

    Anyways, another suggestion for ya, and I just love your program, putting in my suggestion would make me love your program even more!

  123. Christopher says:

    In HB Batch Encoder, where can I find out what everything means inside of the query string?

    • videoscripts says:


      You can’t. The query is generated from handbrake – check out the wiki at or better still download handbrake and use the settings to see the changes they make ti the string.

  124. John says:

    I am back I am really liking your batch encoder program I have a newbie question, I think I have everything right but I think the bit rate is not changing when I have selected it to be at 2000. here is what I have. I want the original resolution but at 2000 bit rate, want AC3 at 384 Bit rate.

    -f mp4 -4 –loose-anamorphic -e x264 -q 20 –rate 29.97 –vfr –rate 2000 -a 1,0 -E faac,copy:ac3 -6 6ch,auto -R Auto,Auto -B 384,auto -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1 -O
    but when I do a test file it shows the bit rate around 8000 kbps. am i doing something wrong or am I not reading it right. and if there is any other tweak you can see to add or change to get the best picture and sound possible with an outcome size between 1 – 5 Gigs, please let me know. I am going from blue ray to mp4.
    I tried your m2tstoH264 but it changes the res to 800 witch is to small for what I want. otherwise it works great. faster than the batch encoder. if it is easier you can email me.

    • John says:

      -f mp4 -4 –loose-anamorphic -e x264 -q 20 –rate 29.97 –vfr –vb 1000 — twopass –turbo -a 1,0 -E faac,copy:ac3 -6 6ch,auto -R Auto,Auto -B 384,auto -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1 -O
      still says data rate 8000. is data rate the same as bit rate.

      • John says:

        ok I just found what it was. you can’t have the -q 20 and the –vb 2000 at the same time. well there we go, I guess that was my learn something new.

      • videoscripts says:


        My apologies for the slow reply – travelling a lot lately. Glad you worked it out! It is easier to follow and figure out f you generate he query in the handbrake UI itself. Make a change, generate query and it will validate it.

  125. David says:

    Hi john

    When using batchencoder, it keeps alt tabbing me out of games, tried pin and unpin to taskbar didnt make any difference, how do i stop it from alt tabbing back to windows when i am playing games?

  126. Kamil says:

    I am having the same issue as James ( with the computer going to sleep during encoding. I like to drop a bunch of files in to get processed overnight but awoke to find that halfway through the first file my computer had gone into standby. I tried the “high” priority and had the same result. This doesn’t happen in handbrake itself with the option checked to prevent the system from sleeping during encoding. Any chance for such an option in WatchFolder?

  127. John says:

    hay I am trying out your autorip program. seems to work pretty good. just wanted to know if I can do a custom profile. so I can change the audio bitrate and change it to AC3. I have a profile script that I use in bachcoder and wanted to know if I can use the same profile script in Autorip.

  128. quickfold says:

    Handbrake batch encoder is an awesome and useful program. I have two questions.
    1. When I choose an iso, it finds only 1 title and the encode ‘finishes’ after 2 seconds–nothing is really encoded. When I mount the iso with virtual clone drive, so it shows video_ts in explorer, and choose that drive, it does the same thing. When I extract the iso to a folder, and select the folder above video_ts, then it works properly. Is this the design, or is there a way to avoid having to extract the iso?
    2. I see that it encodes srt subtitles if there is an srt in the folder with the same name. I use it mostly to encode DVDs so I can get all the dvd extras. Is it possible to add non-burned-in subtitles when using an ISO as a source? If that can’t be done / added, is there a way to do this without using 3 programs? (one to rip srt from the dvd, one to turn the vobs into single files, and then HBE to do the final encoding?

    Thanks again for the program and the information.

    • videoscripts says:

      1. Can you give me more info? What program were these isos ripped with? It’s more than likely tripped out if it is an encrypted iso.

      2. Srt support simply works on a folder structure basis, so to dmthis with iso files, you would need isos, one per folder with an srt beside the iso it pertains to. Let me know if that makes sense.

  129. Lee Buskey says:


    First off, thanks for your work on Video Scripts. It’s the icing on the handbrake cake that makes it all worth the trouble! I am having a small issue that is almost certainly me, as no one else seems to be having it. I was hoping you can help. I have installed MakeMKV (very recently) however all of your scripts such as AutoRip will not work because they report MakeMKV is not installed. Even copies all the file form the MakeMKV install dir to the autorip dir, and it’s no different. Batchencoder, videots_encode_all, these work fine..

    Windows 7 64bit

  130. Lee Buskey says:


    MAkeMKV works fine interactively, adding it to the math makes no difference, re-installing in the same dir a videoscripts makes no difference..

    • Lee Buskey. says:


      Please forgive my horrible typing above, I had meant to say, any of the scripts that require MakeMKV will not work…

  131. crosenblum says:

    First off, thank you for your hard work, I love that you keep working on this really complex field of managing our media.

    However, i have a problem and it’s not with you. I am a schedule junky, I love to have thing’s run as a schedule, automation, etc.

    Which means, if possible, I prefer command line interfaces rather than a program to run.

    Even if you don’t have the interest to program something like that on your own, it would really help me to understand the logic that some of your programs take, when running. Like the media batcher.

    I’d love to have a command line app that I can run via schedule, check a folder for new media files, tag them with correct metadata that itunes will recognize and use, and then use handbrake to convert them to iphone/ipod touch preset, and move them to the appropriate folder.

    I can easily batch convert videos via handbrake, but rarely if ever do they contain any metadata, which pisses me off lol.

    Or if there was an app, to look at media currently in itunes, and then update it’s metadata. if that is what mediabatcher is supposed to do, I am guessing, I truly do not know how to use it lol.

    Thank you for your time.


    • videoscripts says:

      Just use watch folder. There is no need to schedule that. It sits an runs idle, when it sees a new file come into a folder, it converts it, adds metadata and then adds to iTunes.

  132. John D says:

    Wanted to thank you for your app. This is great. I ahve been using it for a little while now and it is working perfectly.However I just created a centralized MySQL db for all my XBMC installs. I was hoping that I could have some sort of XBMC library notification that is built into Sickbeard and CouchPotato. So I was looking at your run after encode line, but I couldn’t figure out what to run. Does anyone have any ideas? Thanks

  133. Kevin S says:

    I am testing out the WatchFolder script. After setting up the folders and other options, I dropped a new mkv file into a subfolder of my specified watch folder. Is there any way to monitor the progress to make sure it is seeing and reacting to the new file? Does this script use a specific temp directory while performing the encode so I can watch the file progress? About the only evidence I see that something is happening is the ffmpeg process showing up in the task manager.

    • videoscripts says:

      There is a tray pop up to tell you it has found a new file. It waits 60 seconds. Then encodes directly to he target folder. No temp files. Also ffmpeg is not used, so not sure why you are seeing that process run.

      Try copy and paste vs cut and paste to see if you get different behaviour.

  134. Lee Buskey says:


    So I just installed the newest autorip, and it still fails to work citing the makemkv is not installed. However it is installed. Is there any help for this? Ironiclly, I havce to use Makemkv interactively because I can’t get autorip to work! Or anyh other Videoscript that needs Makemkv.

  135. Lee Buskey says:


    So here is the output, though the debug program ran Autorip for me, and it exots before it ever looks for a disk. Or seemingly so..

    “mkvpath read in is
    DL112 read in is y
    in Loop 518
    not found \makemkvcon.exe exiting loop”

  136. Lee Buskey says:

    Hello, Figured out the initial problem. I misunderstood the use of the MKV field in settings. Silly in hindsight, cant say why I didnt at least try that first. Now it no longer complains about not finding MakeMkv, but it still doesnt seem to work yet. Now it says the ripping it done and ejects the disk as soon as AnyDVD maskes the disk available. IT doesnt actually rip anything or write anything to the output folder….

    Latest debug output is here..

    “mkvpath read in is C:\Program Files (x86)\MakeMKV
    exe found at 88
    mkv64 F L94
    DL112 read in is Y
    in Loop 518”

    • videoscripts says:

      Ok, that was going to my advice as exe log showed there was no ale in that field.

      Exit anydvd and try again. Makemkv does it’s own decrypt and highly recommend against using anydvd – over command line it just shuts down when anydvd is running. Which is what you are seeing here.

  137. Lee Buskey says:

    Thanks for the reply. Still no joy though. Disbaled and exited AynDVD. As soon as I insert a dic, as soon as it becomes available, AnyDVD reports ripping complete, and ejcts the disc..

    • Lee Buskey says:

      I’m sorry, I meant to type “as soon as I nsert a DISC, as soon as it becomes available, autorip reports ripping complete and ejects the disc.”

  138. saltj says:

    I am a blind user of your apps which are great. It would be great if you could make some of the components that require drag and drop also available via the keyboard. For example, the Videoscripts Video Tag Finder has two components that I cannot get to because the components require the mouse. One of the components is the big red button. If you would allow the button in the keyboard tag order, I would be able to tab to it and use it. another way is to have a standard Windows Button to click on. I can use my screen reader to move the mouse over to the button as long as it is labeled and it is a windows button. The other issue is the drag and drop. The app has a list of files and the list of files can be previewed with the keyboard. For example, I can tab over to the list of files and then press the applications key on the keyboard to bring up a context menu. From that context menu, I can choose Play, Properties, and Remove file from queue. May I suggest a fourth option for keyboard users that would allow for browsing through the file system to add files to the list. You might use a common dialog browser which would allow me and those like me to find files.

    I kindly ask for these enhancements !

  139. saltj says:

    For the video batch encoder, is there a way to encode two tracks in one M4V file. I have done a little bit of reading and Handbrake can include two audio tracks in one 4V file. I would like to include the English and spanish tracks. I was looking through the batch encoder interface adn could not find a way to choose multiple tracks for one M4V file. Please let me know if this is possible.

    • videoscripts says:

      It s not possible by simply selecting something in exe current UI. You would need a custom query for that, generated from handbrake which would be copied into the query box in batch encoder UI.

      If you can tell me what profile you normally encode to I can make this happen and send you a modified query that would work.

    • videoscripts says:

      There is no way to d this in batch UI. You need to load a sample source file in handbrake itself. Then generate a query – copy that into the query window in batch and save as a custom query.

  140. benryanau says:

    Firstly, love your work!
    I have an issue with WatchFolder v2.2.0 (on WS03SP2/x86).
    It’s with the custom preset feature.
    Built-ins work fine, but the custom feature is screwy. What happens is this:
    I paste a working HB query (see below), hit “Save As”. Then I select the query from the drop box.
    Problem is, the query box is empty! If I try “Update Settings”, I get an error “You did not select a preset!”
    My query is “-f m4v –deinterlace=”slow” -w 720 –crop 0:0:0:0 –loose-anamorphic –modulus 16 -e x264 -q 26.75 -a 1 -E faac -6 dpl2 -R 44.1 -B 128 -D 0 -x mixed-refs=0:weightb=0:subq=7:ref=6:me=umh:trellis=2:analyse=all:b-adapt=2 –verbose=1″

    Any suggestions would be welcome.. hoping to get this great app working ๐Ÿ™‚

  141. satrasSatras says:


    nice tools and real good work !
    I am looking for a service based watchfolder program. I am recording TV shows via WHS 2011 and once the show is recorded, I want to convert it from .ts to .mkv.
    This should all happen automatically.

    Can you do this ?

  142. satras says:

    Exactly !

    That would be awesome !

  143. germanguy says:

    Hey first of all, perfect work.

    I have one question, is it possible to watch more then one drive in the autorip script ?
    Or can i run multiple instances of autorip.exe ?


  144. Great program!

    This query is working AMAZING for my Tv show collection.

    -f mkv –strict-anamorphic -e x264 -b 705 -a 1 -E lame -6 dpl2 -R Auto -B 160 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 –verbose=1 -O

    cutting the total size almost in half with little to no noticeable loss of quality!

  145. rulet says:

    Hello, there is an error when trying to encode files:
    “you elected to move original file but did not select a folder”
    (I wrote exactly as it shows), however I choosed a folder(input and output) already.

  146. chango77747 says:


    GREAT Program!

    I have a huge folder that contains about 300 sub folders which contain a M2TS file in each at 25GB. These are ripped blue-ray movies. I am trying to encode each of these to a smaller file size while keeping the HD quality of the movie.

    I currently have an i7-2600K processor with a z68 chipset motherboard which should make this batch fast. I tested the batch process on one of those files and am getting an average of 20FPS and an estimated time of 1hr45m left for just 1 movie.

    Is there a way I can run a batch job on ALL the movies I have more efficiently without losing the quality of the movie? This is my current query (high Profile):

    -f mp4 –detelecine –decomb –loose-anamorphic -e x264 -q 20 -a 1,1 -E faac,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 160,auto -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1 -O

    Any help would be greatly appreciated.

    • videoscripts says:

      You are probably better served asking this one over at the handbrake forum – more knowledge over there on each aspect of the query. From me, I think your speed is fast, as parts of the query you use are single threaded only and will slow parts of the process down. Sorry, not a great reply!

  147. Chris E. says:

    Found your app tonight and it appears to be exactly what I need. I am converting my movies using handbrake from dvd folders to m4v so I can play them on Apple TV. So far, I haven’t seen the metadata function work correctly. All of my dvd folders are cataloged in mymovies, so I have good metadata. The mymovies option is selected and so is add metadata. My xml file is in the root folder with the video_ts folder as you would expect. I searched the blog above and saw a few questions a while ago.

    Any help is appreciated! Great job!

  148. don says:


    Is it possible to use the “Run this program after each encode” option in WatchFolder to run Atomic Parsley after each video has been encoded? What I’d like to do is something like this:

    AtomicParsley –contentRating NC-17

    The above command works OK, I’m using the Forked version of AtomicParsley that supports the –contentRating option.

    Is this possible? If not, can you recommend a procedure to do encoding of files placed in a folder, and setting of Metadata in an automated way?

  149. chango77747 says:

    Again, GREAT product. One suggestion:

    When the batchEncoder is “Encoding now” I believe it should list what file is encoding in the progress. Just a suggestion. ๐Ÿ™‚

    Thank you!

  150. John says:

    Hay. i’m back again. great updates. is there a way I can put my watchfolder into debug mode. it seems to get the metadata ok now with the new update. but it doesn’t seem to put the TV show option with atomic parsley. so I wanted to see where its getting hungup. or if you can tell me a way to force atomic parsley to put that in on all the files it encodes with watch folder automatically.

  151. Ted says:


    GREAT program – only one of its kind that I got to work in win 7 64. The only thing that is giving me grief is that the videos I am getting come in subfolders by default, and I can’t get watchfolder to grab them. If I manually drag and drop them into the root directory, watchfolder kicks in no problem, but of course this completely defeats the purpose. :p Is there any way to program watchfolder to search subdirectories, or is there some other solution? I home roast coffee btw and would be happy to send you some.

    • videoscripts says:

      Sub folders should work. The glitch occurs when the folder and files are added at the same time. I.e. say a cut copy or move of an entire folder. I will work on a fix for this as its overdue. Are you using a torrent app to move files once downloaded? What structure does this use?

  152. Ted says:

    I’m downloading from usenet using sabnzbd with sickbeard. Sickbeard does a bit of metadata/post processing and then moves the files into an “unsorted media” folder that I have watchfolders watching. Each video ends up in a separate folder within “unsorted media.”

    • videoscripts says:

      Ok, understood. That’s expected behaviour currently – if a file and folder is added at the same time it ignores the files in the folder. It was written like this to help people watching for DVD folders. I will fix this very soon, by end of the month.

  153. Ted says:

    Awesome! Look forward to the update. Once it finds the file, it generally works pretty well.

  154. Brian says:

    When converting from video_ts source, is there a setting which will only grab the main feature or more simply not result is a folder full of M4V files?

  155. Mike says:

    Hi, First off this application is GREAT!
    I am having the same issue as Ted. My video files (avi) are in subfolders and it doesn’t see them. If I paste a file directly into the watch folder it works great. Thank you for all your help!

  156. Ross says:

    I’m using both BatchEncoder and WatchFolder – excellent work, sir! My only problem is the “move files after processing” feature… All of my video files are in subfolders and whilst the conversion replicates the folder structure successfully, the move doesn’t…

    Any ideas? I’ve tried using DropIt to cover this functionality but would much rather have it as part of the core product.

    • videoscripts says:

      Thanks. This is expected results. I made the presumption while coding that the move files likely use would be used to move them to a flat folder structure. So I coded it that way. I don’t currently do folder structure recreate. It’s not a big thing to add, so let me know if it would complete your workflow and I will add it as an option to the next release.

  157. Tuan Nguyen says:


    I just start to use the software. However, I am having issue with font. My file name has unicode font so the file seems not recognizable. Did I miss something in setup the software? Thanks

  158. Mike says:

    I got it to work! Thank you for all your hard work! Now I’m going to go buy you some coffee ๐Ÿ™‚

  159. Chris says:

    Hi there,

    I’m in the process of converting dozens of TV-show DVD to x264 mkvs. I’ve already ripped the dsks into foldes to the hdd, e.g. d:\seriesnames\season\disk\videos_ts

    Now I’m in the process of finding the most hasslefree way the feed the 300+ episodes into handbrake. videots_encodeall seems to be just the perfect tool for the job, but I have some trouble using it.

    The video_ts -> mkv-per-episode conversion works just wonderfull, but the proggi doesn’t seem to handover my encoding setting to handbrakecli, hence it produces way to large encodes. Furtermore, it adds an additional audio to the files, while the source mkvs just have one single audiotrack.

    This is my confg file

    -f mkv โ€“strict-anamorphic -e x264 -b 705 -a 1 -E lame -6 dpl2 -R Auto -B 160 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 โ€“verbose=1 -O -m

    Any suggests?


    • videoscripts says:

      Hi Chris

      That’s a very old piece of code. I will dig it out and have a look.

      But, you would be better simply using batch encoder – its easier to customise, better mkv support and just check the ‘convert all titles’ to do what you need on your rips.

  160. Lee Buskey says:

    Is there any way with IOS batch encoder to specify the target language when the source file has multiple languages? IF not, can you provide the correct command like for use with batch encoder to product the same output?

    • videoscripts says:

      Not in iOS converter. What is it you need though ? To default to native language track, or to swop out between languages at will? There are a lot of times that this cannot be done in batch, due to different placement of track locations. That’s why I don’t include in the UI. Let me know what you are trying to do. I will try and get you a query to match where possible.

  161. John says:

    Hi I asked this question awhile ago but got busy and didn’t respond, sorry. so the issue i am having is I setup your watch folder to watch e:/tv and output to e:/tv. and in that directory it looks like this.
    e:/tv/perants/big bang theory/episodes
    it doesn’t seem to see new files added.
    but if i run the batch encoder with same settings in works fine. is it something I am not doing right or is this a limitation with watch folder. I know some of the issue is when more than 1 file gets added at the same time. but it seem to not work at all. is it possible to run the batch encoder to look for all file it the e:/tv directory from a batch file or command line so I can set it up to run in windows task schedule.
    and again great programs. I use autorip and watchfolder and batch encoder a fair bit.

    • Chris says:

      I had the same issue with the WatchFolder. I instead set up the batch encoder to run in the windows task scheduler once a week, using the autorun command line option. You just need to set up the batch encoder’s config in the GUI, save it, and then make sure you set up the scheduler to run in the same directory as the batch encoder config (usually the program directory)


  162. Lee Buskey says:

    Question on the Batchencoder: How reliably is the language option supposed to be? i have a whole bunch of MKV’s I am trying t convert to IPAD. Ipad M4V format does ot appear to support multiple audio tracks, so I need the destination file to be encoded with the English audio track. In some cases that the initial track, in some cases it;s not. Batch encoding them in English does not seem to be every effective as many still end up with a different language track,,

    • videoscripts says:

      Lee – there is no auto checking on this. basically, HB searches for an audio track, tries to match it, then applies the tag name that you provided (i.e. not one read from disc). So, it can lead to errors or track mix ups. Its not very easy to manage this in a batch process due to varying titles and the difficulty in reporting on titles in advance. My advice in all honesty is not to batch such titles currently until a solution appears – sadly do them by hand to ensure 100% accuracy.

  163. crosenblum says:

    I have been trying to understand better how your program works, to make sure I am using it correctly.

    I have both movies and tv shows, and I can get them converted 100% okay, and renamed okay.

    However, I don’t understand the relationship between what shows up in Itunes and what is actually stored in the file.

    Does your tools, just update the itunes database, with relevent metadata? Or does it also save the data to the mp4 file itself?

    Does the metadata supposed to show up, when you view a file’s properties?

    Does it need to be a specific file format for tv shows to be more easily recognized?

    When I do the batch process, do I need to click on something to get it to save the write the results to the file + itunes?

    Thank you.

    • videoscripts says:

      Ok, not sure I totally understand your questions but here goes.

      watch and batch add metadata after it encodes the files. It does so by grabbing the information from on line sources, based on the name of the file. It then adds this metadata to the file itself. It then adds the file to itunes, and itunes reads the metadata contained in the file , which is what you then see on screen. The metadata does not show when you view properties (as standard). It can only be read by a tag viewer. It can also be read by right clicking the file in itunes and clicking ‘get info’.

      The metadata is based on the file naming. Movies must be Moviename.ext – e.g. Seven.avi . TV shows must be name and ep, season number. e.g. Fringe.S01E01.avi

      When you batch process you need to a) ensure the names are pretty good. and b) check the metadata option in the UI for watch or batch.

      • crosenblum says:

        So the file naming of tv shows and movies is very important?

        Because my problem is that most of the data does not show up in itunes, and I can’t seem to view the metadata with window’s explorer because I am using WinXP Pro SP3.

        I have been trying different ways of using metadata batcher to make sure the metadata get’s saved to the file and to itunes.

        1st method, before I drag the files to the Automatic Folder for itunes, I run the files on metadata batcher, and still the metadata doesn’t show up, after i move them to the auto folder

        2nd method, I run metadata batcher on tv shows already imported to itunes, and it seems to do nothing there, other than create a folder.jpg

        Either I am using it wrong, which is highly possible.

        For me the important thing is getting the metadata to show up in itunes.

        What is the correct approach/method for doing so?

        Thank you.

  164. mstinaff says:

    I’ve downloaded Autorip 2.1.7 and installed makemkv 1.7.2 and handbrake 0.9.5 running on windows 7 x64. Makemkv portion seems to work fine (temp rip files encode just fine in handbrake manually) but no matter what preset I select the handbrakecli.exe is called with just the -i and -o options. I’ve also tried the custom profile using this line in arcustomquery.txt (generated in handbrake gui)

    -o “” -f mp4 –detelecine –decomb –loose-anamorphic -e x264 -q 20 -a 1,1 -E faac,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 160,auto -D 0.0,0.0 -m -x b-adapt=2:rc-lookahead=50 –verbose=1

    and still when i look at the commandline in taskmanager handbrakecli.exe is launched with just the -i and -o options. Here are the contents of the mysettings.txt file if that helps

    High Profile
    C:\Program Files (x86)\MakeMKV
    C:\Program Files (x86)\Handbrake

    please let me know if I am doing something wrong or if there is anything else I should try.
    Thank you very much.

    • mstinaff says:

      For what it’s worth this is the output I get when I use the autoripDEBUG.exe from one of the other threads

      mkvpath read in is C:\Program Files (x86)\MakeMKV
      exe found at 88
      mkv64 F L94
      DL112 read in is E
      in Loop 518

    • videoscripts says:

      I am looking at this now – this may be a bug , please give me a couple of days and I will respond

  165. Aram says:


    Exactly how does the “Add Subtitle” function work?

    I have tried to attach a subtitle for soft-encoding and it does not work.

    The subtitle is in the same folder as the source video, its named the exact same thing and the subtitle file is .srt

    Can you please make a button so I can choose the subtitle myself; like in HandBrake?

    • videoscripts says:

      Can you send me an srt file and also a detail on your folder sturcture and naming? I will see if there is a problem, but it has not been reported by others.

      I cannot make that button – batcher is a batch encoder so relies on naming conventions and places to do the same thing for each encode. Handbrake itself has that feature as it only encodes one file at a time.

  166. Andy says:

    Thank you for creating these scripts – they have helped me greatly. However recently I have a new need – I have been searching for a way to automatically convert blu-ray isos to mp4s. I know handbrake can transcode once the iso is mounted, but I haven’t found a program anywhere that will do it all automatically. I searched your site and found that about a year ago you were working on a script to mount the image using daemon tools prior to converting. I installed daemon tools but it didn’t seem to help. Were you able to get it working?

    • videoscripts says:

      I never got it working in any smooth way so parked it – it was too clunky in operation and required manual steps – trapping potential error became a nightmare!!! sorry!

      • Andy says:

        My other option was – I have a way to auto open the iso which will cause it to mount – were you able to make any progress on getting autorip to skip the MKV step an go straight from disk to mp4?

      • videoscripts says:

        I am actually using MKV as the ripper as I couldn;t depend on the user having anydvd installed. What i can do is produce a new version which is an anydvd enabled version which will use HB directly. the mkv approach was much faster in tests

  167. eric says:

    Great program. Two issues. One, for some reason after encoding it changes the file name. The original rip from autorppier has the name of the movie/disc in the file name. After the rip it is some random file.

    Two, is it possible to use a preset I created within HandBrake? I have used normal, but when I used it against a flash file, it was larger then the original, yet with less quality. I have a preset that seems to work good all around….thanks!

    • videoscripts says:

      Issue 1 – what random file name does it give it? I don’t change the filenames

      Issue 2 – yes, paste the query into the first line of a text file. save it as arcustomquery.txt into the program folder. It will oick it up as part of your drop down options.

  168. Chris E says:

    Have you released an update to your batch encoder recently? You mentioned a Feb 20, 2012 update, but the file sitll shows a Nov 2011 date. I did check for updates and it shows up to date. About shows version 2.3.0. Thanks!

  169. Harry Mallon says:

    Found a tip somewhere on a forum.
    I think it only works with 32bit handbrake but haven’t tried 64bit.
    Install gstreamer for windows (only the “ugly” plugins)
    Find libdvdcss-2.dll in the bin folder in the install.
    Rename it libdvdcss.dll
    Put it in Handbrake’s install folder.
    Dvds will now rip directly in Handbrake.

    This would much simplify your makemkv workflow.
    ๐Ÿ™‚ (not my work, someone elses)

  170. Ray van der Heij says:

    Some remarks for the good of the program,

    I have a problem with the Batch encoder that I don’t have with the Watchfolder encoder.
    Batch encoder complains about an illegal character in the path of the (I think, can’t check right now)source file, but encodes it just fine. After it gives that error, it stops, so the batch stops and it only encodes 1 file.

    The Watchfolder encoder doesn’t give that error and works fine. I can’t check right now what character gives that eror, but the only non standard character I use in the path is a dash ( – ) in the beginning to put the folder at the top.

    The Batch encoder seems to have options that I’d like to see in the Watchfolder encoder as well (advanced section I believe), like moving the master file, and not just delete it.
    It’d be nice if Watchfolder could, besides watching 2 folders, also move the files into 2 seperate folders at the end (both the source and destination), so as to keep TV and Movies separated.

    Also, when I save the settings with an ecoding preference and save/exit, it’ll show the top encoding preference in the drop down box when I re-open the settings. Personally, I’d like to see the encoding setting in the drop down box that it is using right now/that I saved it with last.

    Great software!

    • videoscripts says:

      Ray – thanks for the valuable feedback. I am currently trying to get watch in line with the batch feature set. If you can confirm what character causes that error, i will gladly fix it.

  171. Jesper Andersen says:

    Hi there,
    Just found your scripts, and this is perfect, just what I have been looking for… ! If you can confirm my question, I will be happy to make a donation for your effort.

    I have tested the WatchFolder for Windows, and setup the source directory…. But my question is: This is also the record folder for my application, and I dont want WatchFolder to start encode before the recording is finished, is that possible or how does this work ? Or can my record app still add to the TS file, along with the WatchFolder encoding to my final directory ?

    Thanks ! ๐Ÿ™‚

    • videoscripts says:


      The only way to really do this is to set the timer longer. This is a wait timer, so it sees the new file being written ti disc, gets trigger but actually waits to start to encode it. So, if you set this wait to say something like 2 hours (longer than most recordings) that will sort it. It cant transcode while the file is being written.

  172. Jesper Andersen says:

    Just another small question… Is it possible to have GPU accelrated encoding with WatchFolder ?

  173. Jon says:

    I’m getting a complaint about an illegal character as well…. clicking “OK” closes the error dialogue, but the batch process doesn’t continue… just goes dormant.

    Here’s the error:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s