Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Wrong Audio being selected from MKV files

Hi, long-time lurker, first time poster. Thanks to macjedi for such a great set of scripts. I've converted over 500 movies and 950 TV episodes using this great resource. I recently took the leap into converting bluray discs and so my first jump into working with mkv files has hit a snag.

I am able to rip the BD disks using the Batch Rip/Batch Dispatcher function. However, when I use the Batch Encode function, although I am able to obtain both the HD and SD encodes set from the Batch Encode Workflow, the script refuses to identify the default audio tracks as english and instead goes for the first non-english (i.e. identified language) track as the audio for these encodes, in this case, spanish on track 4. (tracks 2&3 do not have a language identified and thus should be defaulted to eng per matroska standard, if I understand that correctly)

Not sure what is wrong here, or how to get at the problem. I can't see any option on the automator workflow that addresses this. The problem seems to be that the script does not "find" an eng audio track. See highlighted area in verbose terminal output below.

I'm hoping this is something easy to fix that I've just overlooked, but any help would be appreciated! Thanks.
-----------------------------------
Code:
Processing Args passed from Batch Encode (Service).workflow
--verboseLog 1 --movieSearchDir /Volumes/Ring:Four/Batch:Rip:Movies --tvSearchDir /Volumes/Ring:Four/Batch:Rip:TV --outputDir /Volumes/Ring:Four/Batch:Encode --handBrakeCliPath /Applications/HandBrakeCLI --makemkvPath /Applications/makemkv_v1.6.10/MakeMKV.app --mkvtoolnixPath /Applications/Mkvtoolnix-4.8.0_2011-05-23-1cda/Mkvtoolnix.app --bdSup2SubPath /Applications/BDSup2Sub.jar --minTrackTimeTV 5 --maxTrackTimeTV 240 --minTrackTimeMovie 20 --maxTrackTimeMovie 300 --nativeLanguage eng --useDefaultAudioLanguage 1 --encode_DVD2 0 --encode_SD 1 --encode_720p 1 --encodeHdSources 1 --ignoreOptical 1 --growlMe 1 --keepMkvTempFile 1 --videoKindOverride Movie --addiTunesTags 1 --retireExistingFile 0 --libraryFolder no:selection --retiredFolder no:selection --useCustomDvdArgs 0 --useCustomDvd2Args 0 --useCustomSdArgs 0 --useCustom720pArgs 0 --customDvdArgs no@selection --customDvd2Args no@selection --customSdArgs no@selection --custom720pArgs no@selection --presetDvd AppleTV --presetDvd2 AppleTV --presetSd Universal --preset720p AppleTV /Volumes/Ring:Four/Batch:Rip:Movies/Highlander:(1986)/Highlander:(1986).mkv 


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchEncode.sh v1.0.6

  Start: Tue Jun 28 01:16:14 PDT 2011
  Input directory 1: /Volumes/Ring Four/Batch Rip Movies
  Input directory 2: /Volumes/Ring Four/Batch Rip TV
  Output directory: /Volumes/Ring Four/Batch Encode
  Use optical Drive: No
  Encode HD Sources: Yes
  Keep MKV Temp Files: Yes
  Auto-add movie tags: Yes
  Retire Existing File: No
  Growl me when complete: Yes
  Encode TV Shows between: 5-240 mins
  Encode Movies between: 20-300 mins
  Native Language: eng (en)
  Use Disc's Default Audio Language: Yes
  Will Encode: SD/Universal, 720p/AppleTV

  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  VERBOSE MODE
  - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  WILL PROCESS THE FOLLOWING VIDEOS:
  Highlander (1986) : (Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PROCESSING: Highlander (1986) 

*Scanning File: 'Highlander (1986)'
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 25218059389
|+ Seek head (subentries will be skipped)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libmakemkv v1.6.10 (1.2.0/1.1.0) darwin(x86-release)
| + Writing application: MakeMKV v1.6.10 darwin(x86-release)
| + Duration: 6999.041s (01:56:39.041)
| + Segment UID: 0x52 0x83 0x73 0x04 0x71 0x73 0x55 0x60 0x3b 0x49 0x94 0xb5 0xd3 0x12 0x4a 0xd4
| + Date: Tue Jun 28 04:15:51 2011 UTC
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 1
|  + Track type: video
|  + Lacing flag: 0
|  + Codec ID: V_MS/VFW/FOURCC
|  + CodecPrivate, length 74 (FourCC: WVC1, 0x31435657)
|  + Default duration: 41.667ms (24.000 fps for a video track)
|  + Video track
|   + Pixel width: 1920
|   + Pixel height: 1080
|   + Display height: 1080
|   + Display width: 1920
| + A track
|  + Track number: 2
|  + Track UID: 2
|  + Track type: audio
|  + Codec ID: A_DTS
|  + Default duration: 10.667ms (93.750 fps for a video track)
|  + Name: Lossless
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 6
|   + Bit depth: 24
| + A track
|  + Track number: 3
|  + Track UID: 3
|  + Track type: audio
|  + Default flag: 0
|  + Codec ID: A_DTS
|  + Default duration: 10.667ms (93.750 fps for a video track)
|  + Name: 3/2+1
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 6
| + A track
|  + Track number: 4
|  + Track UID: 4
|  + Track type: audio
|  + Default flag: 0
|  + Codec ID: A_DTS
|  + Language: spa
|  + Default duration: 10.667ms (93.750 fps for a video track)
|  + Name: Lossless
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
|   + Bit depth: 16
| + A track
|  + Track number: 5
|  + Track UID: 5
|  + Track type: audio
|  + Default flag: 0
|  + Codec ID: A_DTS
|  + Language: spa
|  + Default duration: 10.667ms (93.750 fps for a video track)
|  + Name: 2/0
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
| + A track
|  + Track number: 6
|  + Track UID: 6
|  + Track type: audio
|  + Default flag: 0
|  + Codec ID: A_DTS
|  + Default duration: 10.667ms (93.750 fps for a video track)
|  + Name: 2/0
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
| + A track
|  + Track number: 7
|  + Track UID: 7
|  + Track type: subtitles
|  + Lacing flag: 0
|  + Codec ID: S_HDMV/PGS
| + EbmlVoid (size: 28)
| + A track
|  + Track number: 9
|  + Track UID: 9
|  + Track type: subtitles
|  + Default flag: 0
|  + Lacing flag: 0
|  + Codec ID: S_HDMV/PGS
|  + Language: fra
| + EbmlVoid (size: 35)
| + A track
|  + Track number: 11
|  + Track UID: 11
|  + Track type: subtitles
|  + Default flag: 0
|  + Lacing flag: 0
|  + Codec ID: S_HDMV/PGS
|  + Language: spa
| + EbmlVoid (size: 35)
| + A track
|  + Track number: 13
|  + Track UID: 13
|  + Track type: subtitles
|  + Default flag: 0
|  + Lacing flag: 0
|  + Codec ID: S_HDMV/PGS
|  + Language: fra
| + EbmlVoid (size: 35)
|+ Chapters
| + EditionEntry
|  + EditionFlagHidden: 0
|  + EditionFlagDefault: 1
|  + EditionUID: 1373314356
|  + ChapterAtom
|   + ChapterUID: 1
|   + ChapterTimeStart: 00:00:00.000000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 00
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 2
|   + ChapterTimeStart: 00:11:20.958333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 01
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 3
|   + ChapterTimeStart: 00:16:50.875000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 02
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 4
|   + ChapterTimeStart: 00:19:31.333333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 03
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 5
|   + ChapterTimeStart: 00:23:42.708333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 04
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 6
|   + ChapterTimeStart: 00:26:13.750000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 05
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 7
|   + ChapterTimeStart: 00:28:18.250000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 06
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 8
|   + ChapterTimeStart: 00:32:48.166666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 07
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 9
|   + ChapterTimeStart: 00:35:28.208333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 08
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 10
|   + ChapterTimeStart: 00:39:58.041666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 09
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 11
|   + ChapterTimeStart: 00:45:33.708333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 10
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 12
|   + ChapterTimeStart: 00:49:36.291666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 11
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 13
|   + ChapterTimeStart: 00:52:02.000000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 12
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 14
|   + ChapterTimeStart: 00:59:15.708333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 13
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 15
|   + ChapterTimeStart: 01:03:41.000000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 14
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 16
|   + ChapterTimeStart: 01:09:15.625000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 15
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 17
|   + ChapterTimeStart: 01:13:44.250000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 16
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 18
|   + ChapterTimeStart: 01:25:02.583333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 17
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 19
|   + ChapterTimeStart: 01:27:47.916666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 18
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 20
|   + ChapterTimeStart: 01:32:54.750000000
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 19
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 21
|   + ChapterTimeStart: 01:37:20.583333333
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 20
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 22
|   + ChapterTimeStart: 01:40:41.291666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 21
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 23
|   + ChapterTimeStart: 01:51:44.916666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 22
|    + ChapterLanguage: eng
|  + ChapterAtom
|   + ChapterUID: 24
|   + ChapterTimeStart: 01:53:19.041666666
|   + ChapterFlagHidden: 0
|   + ChapterFlagEnabled: 1
|   + ChapterDisplay
|    + ChapterString: Chapter 23
|    + ChapterLanguage: eng
|+ Cluster

  Will encode the following tracks: 1 


[COLOR="Red"]*Preferred Audio Track: eng NOT FOUND[/COLOR]
  Will use Default Audio Track: 4: A_DTS-

*Muxing Main Video, Audio (A_DTS-) and Subtitle Tracks from temp files
mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 22:30:48
'/Volumes/Ring Four/Batch Rip Movies/Highlander (1986)/Highlander (1986)/Highlander (1986).mkv': Using the Matroska demultiplexer.
'/Volumes/Ring Four/Batch Rip Movies/Highlander (1986)/Highlander (1986)/Highlander (1986).mkv' track 1: Using the VC1 video output module.
'/Volumes/Ring Four/Batch Rip Movies/Highlander (1986)/Highlander (1986)/Highlander (1986).mkv' track 4: Using the DTS output module.
The file '/Volumes/Ring Four/Batch Rip Movies/Highlander (1986)/Highlander (1986)/Highlander (1986)-1.mkv' has been opened for writing.
Progress: 2%
 
Last edited:
Crikey this is a good tutorial, followed all of it and works incredibly well.

One little problem though which I'm hopeing someone can shed some light on is that I'm only getting 1 encoded file rather than the 4 different versions I'm chosing in the automator encode window. Please see below:



Uploaded with ImageShack.us

Any advice would be appreciated.
 
Crikey this is a good tutorial, followed all of it and works incredibly well.

One little problem though which I'm hopeing someone can shed some light on is that I'm only getting 1 encoded file rather than the 4 different versions I'm chosing in the automator encode window. Please see below:

[url=http://img708.imageshack.us/img708/9018/automatorgrab.png]Image[/URL]

Uploaded with ImageShack.us

Any advice would be appreciated.
how are you firing up your encoding?

There is two different Encodes profiles. Batch Encode and Batch Encode - Finder both can be setup up differently.

Ensure you have the correct one setup.
 
Hi all, I hate to bug everyone in the thread with an issue, but everyone seems so nice and mac.jedi put such awesome stuff together I figured I had to try!

So I'm having a problem just converting basic .mkv files. Not ones I've gotten from a blu-ray, just downloaded TV files.

Every time the batch encoder gets one of the files, it seems to recognize it ok, but it just puts it in a folder and says the encoding is complete. Am I missing something? Everything else gets outputted into a nice .m4v.

Here is my terminal output:
Code:
Processing Args passed from Batch Encode (Service).workflow
--verboseLog 1 --movieSearchDir /Users/Gary/Movies/Batch:Rip:Movies --tvSearchDir /Users/Gary/Movies/Batch:Rip:TV --outputDir /Users/Gary/Movies/Batch:Encode --handBrakeCliPath /Applications/HandBrakeCLI --makemkvPath /Applications/MakeMKV.app --mkvtoolnixPath /Applications/Mkvtoolnix.app --bdSup2SubPath /Applications/BDSup2Sub.jar --minTrackTimeTV 20 --maxTrackTimeTV 120 --minTrackTimeMovie 80 --maxTrackTimeMovie 180 --nativeLanguage eng --useDefaultAudioLanguage 1 --encode_DVD2 0 --encode_SD 0 --encode_720p 0 --encodeHdSources 1 --ignoreOptical 1 --growlMe 0 --keepMkvTempFile 0 --videoKindOverride Movie --addiTunesTags 1 --retireExistingFile 0 --libraryFolder no:selection --retiredFolder no:selection --useCustomDvdArgs 0 --useCustomDvd2Args 0 --useCustomSdArgs 0 --useCustom720pArgs 0 --customDvdArgs no@selection --customDvd2Args no@selection --customSdArgs no@selection --custom720pArgs no@selection --presetDvd AppleTV@2 --presetDvd2 Apple@TV@2 --presetSd Universal --preset720p Apple@TV@2 /Users/Gary/Movies/Batch:Encode/The.Walking.Dead.S01E01.720p.HDTV.x264.mkv 


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchEncode.sh v1.0.6

  Start: Fri Jul  1 16:47:26 CDT 2011
  Input directory 1: /Users/Gary/Movies/Batch Rip Movies
  Input directory 2: /Users/Gary/Movies/Batch Rip TV
  Output directory: /Users/Gary/Movies/Batch Encode
  Use optical Drive: No
  Encode HD Sources: Yes
  Keep MKV Temp Files: No
  Auto-add movie tags: Yes
  Retire Existing File: No
  Growl me when complete: No
  Encode TV Shows between: 20-120 mins
  Encode Movies between: 80-180 mins
  Native Language: eng (en)
  Use Disc's Default Audio Language: Yes
  Will Encode: 

  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  VERBOSE MODE
  - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  WILL PROCESS THE FOLLOWING VIDEOS:
  The.Walking.Dead.S01E01.720p.HDTV.x264 : (Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PROCESSING: The.Walking.Dead.S01E01.720p.HDTV.x264 

*Scanning File: 'The.Walking.Dead.S01E01.720p.HDTV.x264'
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 2347871400
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: no_variable_data
| + Writing application: no_variable_data
| + Duration: 3995.783s (01:06:35.783)
| + Date: Thu Jan  1 00:00:00 1970 UTC
| + Segment UID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 2
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_AC3
|  + Codec decode all: 1
|  + Default duration: 32.000ms (31.250 fps for a video track)
|  + Language: und
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
| + A track
|  + Track number: 2
|  + Track UID: 1
|  + Track type: video
|  + Enabled: 1
|  + Default flag: 0
|  + Forced flag: 0
|  + Lacing flag: 0
|  + MinCache: 1
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: V_MPEG4/ISO/AVC
|  + Codec decode all: 1
|  + CodecPrivate, length 40 (h.264 profile: High @L3.1)
|  + Default duration: 41.708ms (23.976 fps for a video track)
|  + Language: eng
|  + Video track
|   + Pixel width: 1280
|   + Pixel height: 720
|   + Interlaced: 0
|   + Display width: 16
|   + Display height: 9
|+ EbmlVoid (size: 1024)
|+ Cluster

  Will encode the following tracks: 2 


*Preferred Audio Track: eng NOT FOUND
  Will use Default Audio Track: 1: A_AC3-und


PROCESSING COMPLETE: The.Walking.Dead.S01E01.720p.HDTV.x264
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  End: Fri Jul  1 16:47:26 CDT 2011

logout

[Process completed]

Maybe it has something to do with the audio track? Very confused :confused:.

Thanks in advance!!
 
Using Handbrake custom presets

I have a load of AVI files that were encoded with an odd aspect ratio. I am using the natch convert to recode them to m4v. Using Handbrake on its own, I have created my own preset that produces files with the correct aspect ratio and resolution. I have told DVD(1) to use a Custom setting and have added --preset="avi" to the box below. "avi" is the name of my Custom Preset in HandBrake. When I convert my file using the batch convert I see a line in the log that says

Using Custom/DVD-toolArgs: --preset=avi

but the file is converted to the standard resolution, i.e. the preset appears to be ignored. Are these custom settings applied in addition to the standard preset or in place of the standard preset? Or, am I doing something else wrong?

This is my first post on this thread and I've spent a couple of hours searching this thread for the answer. This is a brilliant tool, thanks!
 
Last edited:
Batch Encode returns immediately

I've just noticed something else unexpected. I wanted to run an apple script to add the newly encoded files to my iTunes library so I created an Automator sequence and added my files selector and apple script after the Batch Encode. I expected the Automator to wait until my files had been encoded before it ran the next part of the sequence. It didn't! I rang it straight away. I guess the Batch Convert action just spawns another thread which does the real work. Is there a way for Automator to be told that the Encode is complete so it can then run my library adding actions?
 
Wrong audio selected

I upgrade to the pre-release 1.6.11 MakeMKV and the problem still persisted. After looking through the script in the package, I saw it was MKVInfo that was looking for the eng language code. I tried upgrading MKVToolNix, but that didn't solve the problem either.

The script also says it is defaulting to the default audio, but mkvtoolnix says the default audio is DTS (eng), and it is picking ID_4...which is French, and not labeled default.

I'm going back and doing a movie I did from May (the last time it worked), just to see.
 
I have a load of AVI files that were encoded with an odd aspect ratio. I am using the natch convert to recode them to m4v. Using Handbrake on its own, I have created my own preset that produces files with the correct aspect ratio and resolution. I have told DVD(1) to use a Custom setting and have added --preset="avi" to the box below. "avi" is the name of my Custom Preset in HandBrake. When I convert my file using the batch convert I see a line in the log that says

Using Custom/DVD-toolArgs: --preset=avi

but the file is converted to the standard resolution, i.e. the preset appears to be ignored. Are these custom settings applied in addition to the standard preset or in place of the standard preset? Or, am I doing something else wrong?

This is my first post on this thread and I've spent a couple of hours searching this thread for the answer. This is a brilliant tool, thanks!

I'll answer my own post...

HandBrakeCLI only supports --preset for its own built in presets. I have to work out what I want and use the whole parameter list. I actually found some quite heated debates about whether or not HandBrakeCLI should or shouldn't support custom presets!
 
How hot should it get?

I've been converting DVDs to m4v for a few hours and the CPU is at 60 DegC and the GPU is at 70 DegC. Nice and toasty. It's odd that the GPU is so warm. Does handbrake use the GPU?
 
I upgrade to the pre-release 1.6.11 MakeMKV and the problem still persisted. After looking through the script in the package, I saw it was MKVInfo that was looking for the eng language code. I tried upgrading MKVToolNix, but that didn't solve the problem either.

The script also says it is defaulting to the default audio, but mkvtoolnix says the default audio is DTS (eng), and it is picking ID_4...which is French, and not labeled default.

I'm going back and doing a movie I did from May (the last time it worked), just to see.

I downgraded MakeMKV to 1.6.8 and the problem with the default audio is gone. However, I cannot use the Batch Rip script anymore. :confused:
 
I downgraded MakeMKV to 1.6.8 and the problem with the default audio is gone. However, I cannot use the Batch Rip script anymore. :confused:
I downgraded to the same earlier this morning and it has found the correct audio. I'm on the encoding phase, but it appears to be working. WHere's it failing?

Guess I won't be upgrading MakeMKV anytime soon. :(
 
Question about an issue I have run into.

I have successfully ripped and encoded all of my DVD movies using the process described here. I have now moved onto TV shows and am having a problem.

The first one I tried was season 2 of Chappelle's Show. It ripped all three discs with no problem. When I ran batch encode it left off episodes 2,4,5. It also encoded three other episodes twice.

Now I have ripped disc 1 of season 1 of Big Bang Theory. I set batch encode to run and it says it is only encoding tracks 2,3,4,5,7. There are, however, 6 episodes on this disc.

Any ideas as to what is going on here?
 
Now I have ripped disc 1 of season 1 of Big Bang Theory. I set batch encode to run and it says it is only encoding tracks 2,3,4,5,7. There are, however, 6 episodes on this disc.

Any ideas as to what is going on here?
When doing TV shows, I always check the episode list. Some can be "special" episodes where they are an hour long, or sometimes less than the normal time. So, make sure the times for the episeode scans in the scripts match what it'll find on the disc.

There were a few DVDs I had to rip off all the episodes manually using MakeMKV, and drop the MKVs into the TV Shows directory.
 
Went through and ripped it with MakeMKV and encoded with Handbrake. When I try to run the Add TV Tags routine it gives me an error message saying that it cannot find a match. I have double checked the file name and description and it matches up to the other ones that were pulled through the batch encode process with no problem.

Not really sure why it would be doing this since all of the episodes are all pretty much the same exact length.
 
Stuck on "Scanning Folder"

Hi everyone,

Recently, my "Batch Encode" and "Batch Encode (Finder)" workflows have been acting up. They process all the folders and determine their file type (movie/tv show), but then when it starts working on the first movie/tv show, it hangs indefinitely on "Scanning Folder." I've left it sitting for days, and it doesn't do anything. No errors, just stuck on "Scanning Folder." I've reinstalled the scripts, but it still does the same thing. Do you have any idea why this could be?

Thanks so much.
 
Encoded H.264 has non-English audio track

Hey Guys,

I'm having the same issue described in posts #576, 583, 587 and 586. When I do a batch rip + encode, my H.264 encoded mkv has a non-English audio track.

Seems like the solution mentioned above is to downgrade to MakeMKV 1.6.8.

Can anyone tell me where I can get that older version? Or has a solution with the current version of MakeMKV been figured out?

Thanks!
Greg
 
Almost there

Ok, awesome. Downgraded to MakeMKV 1.6.8 and now the Batch-Rip encode is finding English language tracks again. Great.

The last thing I'd like this process to do is to encode ALL english language tracks into the final H.264 encoded .mkv. At present, all English language tracks are ripped to the raw .mkv, but only the 1st english language track makes its way into the encoded H.264 version.

I've added "--audio eng" to the custom Handbrake command in the script, but it doesn't seem to be being recognized (my understanding being that "--audio eng" would cause all english language tracks to be encoded.)

Any thoughts guys?

Here's the full custom HD Handbrake arguments below:
-e x264 -b 15872 -f mkv --audio eng -E copy:ac3 -s 1 --strict-anamorphic -m -x b-adapt=2:rc-lookahead=50:ref=2:bframes=2

Thanks,
Greg
 
If anyone is able to get this working let me know. I guess I'll have to hold off the Lion upgrade for the time being.
 
The encode-service works with Lion, but the rip services doesn't. I haven't tested that much, but it didn't work the first time.

Also, I have found that the Add Movie Tags (Search) workflow doesn't seem to work in Lion, but the Add Movie Tags (File Name) will work (?).

Is there some setting/trick to getting the workflow running indicator (e.g., the little cog that spins in the menu bar) back in Lion? I really liked that because it gave me a visual cue that the workflow hadn't completed.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.