Search found 15 matches

by KingDaveRa
Sun Jan 18, 2015 7:17 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: 327
Views: 126696

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

Weirdly, I was just staring at the machine I was running all this on, thinking 'I should try that again soon'. I'm so sorry, I've not had chance to get back to it yet. Been meaning to but just not found time I'm afraid. Hopefully I'll take a look in the next couple of days. In the brief testing I di...
by KingDaveRa
Fri Jan 02, 2015 10:29 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: 327
Views: 126696

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

I tried it with and without the break, and it didn't seem to make much difference. I think it's running with it, right now.

I'll test more thoroughly soon, I probably won't get much chance to play around with it again until Sunday at the earliest.
by KingDaveRa
Thu Jan 01, 2015 1:08 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: 327
Views: 126696

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

commentary=true and check for Commentaty is the same because commentary is only true if the description contains Commentary. :-) Haha! There's always a simpler answer.... Oh well! Still, this gives me a lot of flexibility. Thing is, I found when I was trying to do similar things with the HandbrakeG...
by KingDaveRa
Thu Jan 01, 2015 12:28 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: 327
Views: 126696

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

OK, made that change. That's pretty simple, and it gives me all the power now. :D So I've got this: It's a work in progress but it's matching a LOT more reliably. [anim-com] --audio eng --subtitles eng --audio-track encoder=auto --audio-settings track=^1[.].*,encoder=copy --audio-settings track=(?=^...
by KingDaveRa
Wed Dec 31, 2014 10:14 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: 327
Views: 126696

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

Thanks for that. OK, this works on a DVD with commentaries on some tracks, or on all tracks: --audio-settings track=1\.,encoder=copy --audio-settings track=Commentary,encoder=av_aac,mixdown=stereo,bitrate=96 The caret stopped it working, but the dot needs escaping all the same. However, on a DVD wit...
by KingDaveRa
Wed Dec 31, 2014 10:14 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: 327
Views: 126696

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

Thanks for that. OK, this works on a DVD with commentaries on some tracks, or on all tracks: --audio-settings track=1\.,encoder=copy --audio-settings track=Commentary,encoder=av_aac,mixdown=stereo,bitrate=96 The caret stopped it working, but the dot needs escaping all the same. However, on a DVD wit...
by KingDaveRa
Wed Dec 31, 2014 8:00 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: 327
Views: 126696

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

Great, that's working now. Added it in. I got this as a preset now, which I can call with a pretty simple commandline: [anim-com] --audio eng --subtitles eng --audio-track encoder=auto --audio-settings track=\[eng\],encoder=copy --audio-settings track=Director\'s Commentary,encoder=av_aac,mixdown=st...
by KingDaveRa
Wed Dec 31, 2014 12:32 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: 327
Views: 126696

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

The regex will need tightening definitely. This just proved the point.

I tried adding the length arguments (one per line) and it complained they were invalid. I'll play a little more tomorrow with the syntax because it's sounding like I can do a lot with the presets.
by KingDaveRa
Tue Dec 30, 2014 11:47 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: 327
Views: 126696

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

I appear to have just stumbled onto a solution, thanks to you mentioning profiles. Added a profile: [anim-com] --audio eng --subtitles eng --audio-track encoder=auto --audio-settings track=1,encoder=copy --audio-settings track=2,encoder=av_aac,mixdown=stereo,bitrate=96 It's regex to chose the tracks...
by KingDaveRa
Tue Dec 30, 2014 11:09 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: 327
Views: 126696

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

Aaah I see. I may have to just live with it not re-encoding the secondary track then. Probably won't use vastly more space, to be honest. Well thanks, it's an excellent script and exactly what I was gearing up to write anyway. I'm going to play more with profiles and things as I found I need to trea...
by KingDaveRa
Tue Dec 30, 2014 10:50 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: 327
Views: 126696

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

Hmm, I'm expecting to have two tracks in the output - 5.1 original copy (or whatever the primary is), and the commentary just re-encoded to aac, nothing else. It suggests it's putting four tracks in. I'll let it encode and see what I get.
by KingDaveRa
Tue Dec 30, 2014 10: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: 327
Views: 126696

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

That doesn't seem to work either. The command it's passing through is this: "/usr/bin/HandBrakeCLI" --input "/data/SOURCE" --output "/data/Ripping/Target_S1_04.mkv" --encoder x264 --quality 20.0 --decomb --detelecine --crop 0:0:0:0 --loose-anamorphic --format mkv --mark...
by KingDaveRa
Tue Dec 30, 2014 9: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: 327
Views: 126696

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

Well, there we go. I simply substituted the --episodes switch for --min-length 00:10:00 --max-length 00:50:00, and it now appears to be encoding a file exactly as I want. Edit: Just finished the encode, and it appears to have just copied everything instead. So it seems it only honours the first enco...
by KingDaveRa
Tue Dec 30, 2014 9:18 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: 327
Views: 126696

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

Hi, Well this script is exactly what I've been looking for! However, I'm trying to figure out how to do multiple tracks with it. I'm the sort of person who likes audio commentaries, so I'd like to add those to the ripped file. However, I'm drawing a blank as to how. I'd prefer to do a direct copy on...