Search found 370 matches

by AlBundy
Tue Dec 16, 2014 7:55 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

I've uploaded a new version with a bugfix for the last added option...
by AlBundy
Wed Dec 10, 2014 10:19 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

The files are deleted because handbrake exited with another exit code than 0.

Handbrake exited with return-code pid 3295 exit 4 - removing file Output_01.m4v
by AlBundy
Wed Dec 10, 2014 8:02 am
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

Of course - you have to specify the output file, not the directory. ;-)
by AlBundy
Tue Dec 09, 2014 7:28 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

Sry for the late response... i excluded the folder containing the specific media. seems like handbake cli has a problem with scanning some sort of directorys. I've uploaded a new version with minor windows-related changes to avoid "no disk" popups. @Atasco: Can you please explain what your problem ...
by AlBundy
Tue Dec 09, 2014 7:27 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

xylol wrote:How to remove your --quality x preset? Is there something like --quality "unset". (I do not want to adjust the quality but remove the parameter)
Thank you for the script and your time.
I've uploaded a new version - if you set a negative quality or simply "" the parameter is omitted.
by AlBundy
Sat Dec 06, 2014 8:56 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

--default is only a shortcut for --audio deu,eng --subtitles deu,eng --audio-copy --skip-commentaries --only-first-track-per-language I think --min-length 00:10:00 - - skip-duplicates - - audio-copy should be enough for you to encode all titles longer than 10 minutes with all audio-tracks copied. Be...
by AlBundy
Fri Dec 05, 2014 6:58 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

According to the help --episodes sets only some other argument to filter tracks ;-) --episodes sets: --default --min-length 00:10:00 --max-length 00:50:00 --skip-duplicates --default sets: --audio deu,eng --subtitles deu,eng --audio-copy --skip-commentaries --only-first-track-per-language So if you ...
by AlBundy
Tue Nov 25, 2014 8:25 pm
Forum: Command Line Interface And Scripting
Topic: Cli conversion hangs when using for loop
Replies: 3
Views: 448

Re: Cli conversion hangs when using for loop

Try to remove the subshell around the handbrake-call.

Btw. it seems that you current version converts not only test.vob to test.mp4 it converts also test.mp4 to test.mp4.mp4
by AlBundy
Wed Oct 29, 2014 7:52 pm
Forum: Command Line Interface And Scripting
Topic: Help with ISO Script - CLI
Replies: 7
Views: 747

Re: Help with ISO Script - CLI

1. Your script doesn't use the declared variables
2. If you use my script form the mentioned thread you can simply call
hb.rb --input "path_to_your_iso. Iso" --output "~/#title#.mkv"
by AlBundy
Mon Sep 29, 2014 8:32 pm
Forum: Windows
Topic: Change Temp Directory?
Replies: 7
Views: 661

Re: Change Temp Directory?

I'm not sure - simply set the new temp, start an encode and have a look at the folder. ;-)
by AlBundy
Mon Sep 29, 2014 6:33 pm
Forum: Windows
Topic: Change Temp Directory?
Replies: 7
Views: 661

Re: Change Temp Directory?

Open command prompt, call

Code: Select all

 set TEMP=D:\temp
and call Handbrake from the command prompt should do the job.
Works at least for cli...
by AlBundy
Fri Sep 19, 2014 9:16 am
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

--burn is a good idea.

Maybe I'll switch to github in the future. ;-)
by AlBundy
Thu Sep 18, 2014 8:15 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

The arguments tries to detect the first forced subtitle for your first language.
If you want to burn in a subtitle you can use - - xtra to pass through an argument to handbrake.
by AlBundy
Sun Aug 24, 2014 12:40 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

I've uploaded a new version with minor windows-related changes to avoid "no disk" popups.

@Atasco: Can you please explain what your problem was and how you could fix it?
by AlBundy
Mon Aug 18, 2014 7:13 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

I've successfully tested recursive and standard converting of local dvd-folders.

Do you use latest version of my script?
by AlBundy
Sun Aug 17, 2014 10:53 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

I'll check this in the next days - I'm pretty sure that I've tested a local DVD-Folder-structure.
by AlBundy
Sun Aug 17, 2014 8:46 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

Try

D:\Tools\handbrake>hb.rb --input "E:\test\Movie" --output "E:\encode\#title#_#pos#.mkv"
by AlBundy
Sun Aug 17, 2014 7:54 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

I have not tested my script with recursive conversion of directories - with files (e. g. iso) it should work.
by AlBundy
Tue Aug 05, 2014 6:06 pm
Forum: Command Line Interface And Scripting
Topic: Exit AppleScript Shell Upon Conversion Complete
Replies: 1
Views: 408

Re: Exit AppleScript Shell Upon Conversion Complete

Not sure but you can try to add

Code: Select all

exit $?
at the end of your last command line (after the ";" )

Or remove bash - c
by AlBundy
Sat Aug 02, 2014 8:02 pm
Forum: Command Line Interface And Scripting
Topic: Why does HandbrakeCLI needs to create previews?
Replies: 2
Views: 530

Re: Why does HandbrakeCLI needs to create previews?

Why does creating the preview takes sometimes forever?
It would be better if handbrake detect that creating the preview stucks and skip the track.
by AlBundy
Sat Aug 02, 2014 7:34 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

Mounting the ISO should work because I convert most of my movies directly from BD.
by AlBundy
Fri Aug 01, 2014 9:45 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 69739

Re: [Script] rip episodes or main-feature from DVD or BD

The error on the first try come because you haven't put the output in quotes ruby hb.rb --input G: --output "D:\SOMEFOLDER\encode\Series - S01E#pos#.mkv" --min-length 00:40:00 --audio deu,eng --subtitles deu,eng --audio-copy --skip-commentaries --bluray --verbose As written in verbose output all tit...