Same language in BATCH except the first one

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
djdan_23
Posts: 5
Joined: Fri Nov 04, 2016 9:03 pm

Same language in BATCH except the first one

Post by djdan_23 »

ied to use BATCH to convert 121 episodes with both languages "AN & FR" and remove the subs.
Everything's alright except for language, everyone are in both are "FR" except for the first one
that is AN-FR as I want.
The video files have FR then AN in the language.

In the QUEUE the first file have the right sequence but
not for the rest of them, which are FR-FR.
Do you know what happen ?
Thanks for your help


HandBrake version: 1.3.3

Operating system and version: Windows 7 64

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Ram: 16316 MB, 
GPU Information:
  NVIDIA GeForce GTX 750 Ti - 27.21.14.6089
Screen: 1600x900
Temp Dir: C:\Users\Dan\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Dan\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[04:41:32] base preset: Daniel 22RF (Modified)
[16:41:32] hb_init: starting libhb thread
[16:41:32] Starting work at: Fri Jul 02 16:41:32 2021
[16:41:32] 1 job(s) to process
[16:41:32] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 192,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "FR-AC3 2.0",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 192,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "FR-AC3 2.0",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "00:00:00.000"
      },
      {
        "Name": "00:02:08.962"
      },
      {
        "Name": "00:10:48.064"
      },
      {
        "Name": "00:21:37.171"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Internet Download\\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV-3.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 4
    },
    "Title": 3,
    "Path": "E:\\3 POUR GRAVER\\Alain test\\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 23.0,
    "Tune": "film",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:41:32] CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
[16:41:32]  - Intel microarchitecture Kaby Lake
[16:41:32]  - logical processor count: 6
[16:41:32] Intel Quick Sync Video support: no
[16:41:32] hb_scan: path=E:\3 POUR GRAVER\Alain test\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV.mkv, title_index=3
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\3 POUR GRAVER\Alain test\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(E:\3 POUR GRAVER\Alain test\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV.mkv\) failed
[16:41:32] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:41:32] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\3 POUR GRAVER\Alain test\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV.mkv':
  Metadata:
    encoder         : libebml v1.2.3 + libmatroska v1.3.0
    creation_time   : 2012-11-15T11:19:43.000000Z
  Duration: 00:22:51.39, start: 0.000000, bitrate: 9127 kb/s
    Chapter #0:0: start 0.000000, end 128.962000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 128.962000, end 648.064000
    Metadata:
      title           : 00:02:08.962
    Chapter #0:2: start 648.064000, end 1297.171000
    Metadata:
      title           : 00:10:48.064
    Chapter #0:3: start 1297.171000, end 1371.392000
    Metadata:
      title           : 00:21:37.171
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : AiRTV - Friends S01E03 - 1080p
    Stream #0:1(fre): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      title           : FR-AC3 2.0
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : ENG-AC3 5.1
    Stream #0:3(fre): Subtitle: subrip
    Metadata:
      title           : FR subs
[16:41:32] scan: decoding previews for title 3
[16:41:32] scan: audio 0x1: ac3, rate=48000Hz, bitrate=192000 Francais (AC3) (2.0 ch) (192 kbps)
[16:41:32] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[16:41:33] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[16:41:33] scan: supported video decoders: avcodec qsv
[16:41:33] libhb: scan thread found 1 valid title(s)
[16:41:33] Skipping subtitle scan.  No suitable subtitle tracks.
[16:41:33] Starting Task: Encoding Pass
[16:41:33] Skipping crop/scale filter
[16:41:33] job configuration:
[16:41:33]  * source
[16:41:33]    + E:\3 POUR GRAVER\Alain test\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV.mkv
[16:41:33]    + title 3, chapter(s) 1 to 4
[16:41:33]    + container: matroska,webm
[16:41:33]    + data rate: 9127 kbps
[16:41:33]  * destination
[16:41:33]    + D:\Internet Download\Friends.S01E03.MULTi.1080p.BluRay.x264-AiRTV-3.mkv
[16:41:33]    + container: Matroska (libavformat)
[16:41:33]      + chapter markers
[16:41:33]  * video track
[16:41:33]    + decoder: h264
[16:41:33]    + filters
[16:41:33]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[16:41:33]      + Decomb (mode=39)
[16:41:33]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:41:33]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[16:41:33]    + Output geometry
[16:41:33]      + storage dimensions: 1920 x 1080
[16:41:33]      + pixel aspect ratio: 1 : 1
[16:41:33]      + display dimensions: 1920 x 1080
[16:41:33]    + encoder: H.264 (libx264)
[16:41:33]      + preset:  fast
[16:41:33]      + tune:    film
[16:41:33]      + profile: main
[16:41:33]      + level:   4.1
[16:41:33]      + quality: 23.00 (RF)
[16:41:33]      + color profile: 1-1-1
[16:41:33]  * audio track 1
[16:41:33]    + name: FR-AC3 2.0
[16:41:33]    + decoder: Francais (AC3) (2.0 ch) (192 kbps) (track 1, id 0x1)
[16:41:33]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:41:33]    + mixdown: Stereo
[16:41:33]    + dither: none
[16:41:33]    + encoder: AAC (libavcodec)
[16:41:33]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:41:33]  * audio track 2
[16:41:33]    + name: FR-AC3 2.0
[16:41:33]    + decoder: Francais (AC3) (2.0 ch) (192 kbps) (track 1, id 0x1)
[16:41:33]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:41:33]    + mixdown: Stereo
[16:41:33]    + dither: none
[16:41:33]    + encoder: AAC (libavcodec)
[16:41:33]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:41:33] sync: expecting 32880 video frames
[16:41:33] encx264: min-keyint: 24, keyint: 240
[16:41:33] encx264: encoding at constant RF 23.000000
[16:41:33] encx264: unparsed options: level=4.1:ref=2:deblock=-1,-1:8x8dct=0:weightp=1:subme=6:psy-rd=1,0.15:vbv-bufsize=62500:vbv-maxrate=50000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.1, 4:2:0, 8-bit
[16:41:33] sync: first pts video is 0
[16:41:33] sync: "00:00:00.000" (1) at frame 1 time 0
[16:41:33] sync: first pts audio 0x1 is 0
[16:41:33] sync: first pts audio 0x1 is 0
[16:42:54] sync: "00:02:08.962" (2) at frame 3094 time 11610348
[16:48:20] sync: "00:10:48.064" (3) at frame 15539 time 58325767
[16:54:40] sync: "00:21:37.171" (4) at frame 31105 time 116756640
[16:55:23] reader: done. 1 scr changes
[16:55:24] work: average encoding speed for job is 39.519493 fps
[16:55:24] comb detect: heavy 173 | light 274 | uncombed 32411 | total 32858
[16:55:24] decomb: deinterlaced 173 | blended 274 | unfiltered 32411 | total 32858
[16:55:24] vfr: 32858 frames output, 0 dropped and 0 duped for CFR/PFR
[16:55:24] vfr: lost time: 0 (0 frames)
[16:55:24] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:55:24] ac3-decoder done: 42856 frames, 0 decoder errors
[16:55:24] ac3-decoder done: 42856 frames, 0 decoder errors
[16:55:24] h264-decoder done: 32858 frames, 0 decoder errors
[16:55:24] sync: got 32858 frames, 32880 expected
[16:55:24] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:426   Avg QP:20.57  size:146128
x264 [info]: frame P:8533  Avg QP:23.48  size: 42491
x264 [info]: frame B:23899 Avg QP:25.38  size: 17599
x264 [info]: consecutive B-frames:  2.1%  2.0%  2.0% 93.9%
x264 [info]: mb I  I16..4: 15.9%  0.0% 84.1%
x264 [info]: mb P  I16..4:  3.7%  0.0%  6.3%  P16..4: 53.0% 19.7%  9.0%  0.0%  0.0%    skip: 8.3%
x264 [info]: mb B  I16..4:  7.5%  0.0%  0.7%  B16..8: 33.3%  6.9%  0.2%  direct:19.7%  skip:31.5%  L0:45.2% L1:47.8% BI: 7.0%
x264 [info]: coded y,uvDC,uvAC intra: 46.8% 76.4% 14.3% inter: 15.5% 42.6% 0.1%
x264 [info]: i16 v,h,dc,p: 34% 18% 30% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 18% 17%  6%  8%  8%  7%  6%  4%
x264 [info]: i8c dc,h,v,p: 53% 19% 23%  6%
x264 [info]: Weighted P-Frames: Y:2.0% UV:1.3%
x264 [info]: ref P L0: 58.3% 41.7%
x264 [info]: ref B L0: 79.6% 20.4%
x264 [info]: ref B L1: 95.0%  5.0%
x264 [info]: kb/s:4935.15
[16:55:24] mux: track 0, 32858 frames, 845406814 bytes, 4931.45 kbps, fifo 1024
[16:55:24] mux: track 1, 64285 frames, 32907095 bytes, 191.95 kbps, fifo 2048
[16:55:24] mux: track 2, 64285 frames, 32907095 bytes, 191.95 kbps, fifo 2048
[16:55:24] Finished work at: Fri Jul 02 16:55:24 2021
[16:55:24] libhb: work result = 0

# Encode Completed ...

User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Same language in BATCH except the first one

Post by s55 »

On the Subtitle and Audio tabs, there is a "selection behaviour" button.

This is what you use to tell HandBrake which audio and subtitle tracks you want.

Once you've set it up once, it's worth saving as a preset so you can quick configure it in future if your doing the same thing a lot.
Post Reply