Dual Audio MKV silent after conversion

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
Bruno Augusto
Posts: 8
Joined: Sat Dec 02, 2017 7:16 pm

Dual Audio MKV silent after conversion

Post by Bruno Augusto »

A couple days ago I wanted to reduce the size of some dual audio animations using a custom preset I made after reading more about the advanced options. I've done this before and the resulting file always worked but this was the first time with a dual audio file.

I'm 100% sure I have chosen the Audio Track, except instead of recoding it I went with passthru because I experienced audio muffing in past.

These were the options I've passed:

Code: Select all

level=4.0:vbv-maxrate=20000:rc-lookahead=30:vbv-bufsize=25000:ref=16:bframes=16:b-adapt=2:b-pyramid=strict:me=tesa:subme=10:analyse=none:trellis=2
And after finished the resulting M4V was silent and when checking the audio tracks on VLC, there was none.

I don't have a log file because either the process itself was a success, or after I closed the program the log was purged, I don't really know. I would really like not having to repeat the attempt just to have the log because it took more than 4h o.O

What could I possibly have done wrong?

I'm using Handbrake 1.0.7 on Windows 7 x64

Thank you for your time
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Dual Audio MKV silent after conversion

Post by rollin_eng »

Could you please post your logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Dual Audio MKV silent after conversion

Post by Woodstock »

Without the required log, we have no idea what the characteristics of your source are, and how handbrake responded to your request. It could be as simple as telling handbrake to "pass through" a different audio type than is actually in the source, which results in nothing going through, but we cannot know that yet.
Bruno Augusto
Posts: 8
Joined: Sat Dec 02, 2017 7:16 pm

Re: Dual Audio MKV silent after conversion

Post by Bruno Augusto »

Look that, I thought I didn't have the logs anymore. My apologies. Here it goes:

Code: Select all

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
Ram: 8128 MB, 
GPU Information:
  NVIDIA GeForce GTX 660 - 22.21.13.8205
Screen: 1920x1080
Temp Dir: C:\Users\Bruno\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Bruno\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[11:46:48] hb_init: starting libhb thread
[11:46:48] 1 job(s) to process
[11:46:48] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 1073807360,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 1,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "D:\\videos\\1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "720",
          "width": "1280"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 240,
    "Den": 247
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\videos\\DC Comics\\01. [1993] Batman - Mask of the Phantasm\\Batman.Mask.of.the.Phantasm.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "level=4.0:vbv-maxrate=20000:rc-lookahead=30:vbv-bufsize=25000:ref=16:bframes=16:b-adapt=2:b-pyramid=strict:me=tesa:subme=10:analyse=none:trellis=2",
    "Quality": 22.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[11:46:48] CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
[11:46:48]  - Intel microarchitecture Ivy Bridge
[11:46:48]  - logical processor count: 4
[11:46:48] Intel Quick Sync Video support: no
[11:46:48] hb_scan: path=D:\videos\DC Comics\01. [1993] Batman - Mask of the Phantasm\Batman.Mask.of.the.Phantasm.mkv, title_index=1
src/libbluray/disc/disc.c:274: failed opening UDF image D:\videos\DC Comics\01. [1993] Batman - Mask of the Phantasm\Batman.Mask.of.the.Phantasm.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[11:46:48] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[11:46:48] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\videos\DC Comics\01. [1993] Batman - Mask of the Phantasm\Batman.Mask.of.the.Phantasm.mkv':
  Duration: 01:16:31.49, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (High)
      yuv420p, 1280x720, PAR 240:247 DAR 1280:741
      25 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: pcm_s16le
      44100 Hz, 2 channels, s16, 1411 kb/s (default)
    Stream #0:2(por): Audio: pcm_s16le
      44100 Hz, 2 channels, s16, 1411 kb/s
[11:46:48] scan: decoding previews for title 1
[11:46:48] scan: audio 0x1: pcm_s16le, rate=44100Hz, bitrate=1411200 English (pcm_s16le) (2.0 ch)
[11:46:48] scan: audio 0x2: pcm_s16le, rate=44100Hz, bitrate=1411200 Portugues (pcm_s16le) (2.0 ch)
[11:46:48] scan: 10 previews, 1280x720, 25.000 fps, autocrop = 0/0/0/0, aspect 1.73:1, PAR 240:247
[11:46:48] scan: supported video decoders: avcodec qsv
[11:46:48] libhb: scan thread found 1 valid title(s)
[11:46:48] starting job
[11:46:48] Passthru requested and input codec is not the same as output codec for track 1, dropping track
[11:46:48] work: only 1 chapter, disabling chapter markers
[11:46:48] job configuration:
[11:46:48]  * source
[11:46:48]    + D:\videos\DC Comics\01. [1993] Batman - Mask of the Phantasm\Batman.Mask.of.the.Phantasm.mkv
[11:46:48]    + title 1, chapter(s) 1 to 1
[11:46:48]    + container: matroska,webm
[11:46:48]  * destination
[11:46:48]    + D:\videos\1.m4v
[11:46:48]    + container: MPEG-4 (libavformat)
[11:46:48]      + optimized for HTTP streaming (fast start)
[11:46:48]  * video track
[11:46:48]    + decoder: h264
[11:46:48]    + filters
[11:46:48]      + Framerate Shaper (mode=1)
[11:46:48]        + frame rate: 25.000 fps -> constant 25.000 fps
[11:46:48]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:46:48]        + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[11:46:48]    + Output geometry
[11:46:48]      + storage dimensions: 1280 x 720
[11:46:48]      + pixel aspect ratio: 240 : 247
[11:46:48]      + display dimensions: 1243 x 720
[11:46:48]    + encoder: H.264 (libx264)
[11:46:48]      + options: level=4.0:vbv-maxrate=20000:rc-lookahead=30:vbv-bufsize=25000:ref=16:bframes=16:b-adapt=2:b-pyramid=strict:me=tesa:subme=10:analyse=none:trellis=2
[11:46:48]      + quality: 22.00 (RF)
[11:46:48] sync: expecting 114787 video frames
[11:46:48] encx264: encoding at constant RF 22.000000
[11:46:48] encx264: unparsed options: level=4.0:vbv-maxrate=20000:vbv-bufsize=25000:rc-lookahead=30:ref=16:bframes=16:subme=10:b-adapt=2:b-pyramid=strict:me=tesa:analyse=none:trellis=2
x264 [info]: using SAR=240/247
x264 [warning]: DPB size (16 frames, 57600 mbs) > level limit (9 frames, 32768 mbs)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0
[11:46:48] sync: first pts video is 0
[11:46:48] sync: "Chapter 1" (1) at frame 1 time 0
[15:50:00] reader: done. 1 scr changes
[15:50:02] work: average encoding speed for job is 7.862864 fps
[15:50:02] vfr: 114782 frames output, 0 dropped and 0 duped for CFR/PFR
[15:50:02] vfr: lost time: 0 (0 frames)
[15:50:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:50:02] h264-decoder done: 114782 frames, 0 decoder errors
[15:50:02] sync: got 114782 frames, 114787 expected
[15:50:02] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:779   Avg QP:19.00  size: 40661
x264 [info]: frame P:38985 Avg QP:21.05  size: 15238
x264 [info]: frame B:75018 Avg QP:23.51  size:  3973
x264 [info]: consecutive B-frames:  9.9%  7.8% 20.7% 36.3% 20.7%  3.6%  0.5%  0.3%  0.1%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%
x264 [info]: mb I  I16..4: 12.4% 77.3% 10.3%
x264 [info]: mb P  I16..4: 17.0%  0.0%  0.0%  P16..4: 65.1%  0.0%  0.0%  0.0%  0.0%    skip:17.8%
x264 [info]: mb B  I16..4:  1.2%  0.0%  0.0%  B16..8: 42.4%  0.0%  0.0%  direct: 3.0%  skip:53.3%  L0:55.8% L1:41.5% BI: 2.7%
x264 [info]: 8x8 transform intra:7.2% inter:87.5%
x264 [info]: coded y,uvDC,uvAC intra: 18.0% 51.5% 8.2% inter: 10.7% 21.5% 0.5%
x264 [info]: i16 v,h,dc,p: 46% 25% 18% 12%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 13% 13%  7%  7%  9%  7%  9% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 11%  5%  8% 11% 13% 10% 10%  9%
x264 [info]: i8c dc,h,v,p: 50% 25% 20%  5%
x264 [info]: Weighted P-Frames: Y:4.1% UV:2.3%
x264 [info]: ref P L0: 63.9%  6.3% 11.2%  4.6%  3.1%  2.2%  1.9%  1.2%  1.1%  0.9%  0.8%  0.7%  0.7%  0.6%  0.6%  0.2%
x264 [info]: ref B L0: 88.7%  5.6%  1.9%  0.9%  0.6%  0.5%  0.4%  0.3%  0.2%  0.2%  0.2%  0.2%  0.1%  0.1%
x264 [info]: ref B L1: 97.4%  2.6%
x264 [info]: kb/s:1609.63
[15:50:04] mux: track 0, 114782 frames, 923745563 bytes, 1609.55 kbps, fifo 4096
[15:50:04] libhb: work result = 0

# Encode Completed ...


# Encode Stopped
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Dual Audio MKV silent after conversion

Post by rollin_eng »

Looks like your audio passthru options you have selected are not possible.

Try encoding your audio to AAC or AC3.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Dual Audio MKV silent after conversion

Post by Woodstock »

As Rollin says, you have two audio sources that handbrake can't "pass through":

Code: Select all

    Stream #0:1(eng): Audio: pcm_s16le
      44100 Hz, 2 channels, s16, 1411 kb/s (default)
    Stream #0:2(por): Audio: pcm_s16le
      44100 Hz, 2 channels, s16, 1411 kb/s
[11:46:48] Passthru requested and input codec is not the same as output codec for track 1, dropping track
If you do not have a fall-back encoder selected, "pass through" will ignore any tracks that don't match the pass through list.

So you have to encode them. For compatibility reasons, the defaults on handbrake's built-in presets is to use AAC. It is safest to leave this default, and override it when you KNOW the source track matches the output specification, i.e., you have AAC audio in the source.
Bruno Augusto
Posts: 8
Joined: Sat Dec 02, 2017 7:16 pm

Re: Dual Audio MKV silent after conversion

Post by Bruno Augusto »

That makes sense. I didn't want to re-encode the audio because in past the audio of my conversions ended up getting noticeably muffled.

Well, I'll try again next weekend, try to reduce 100GB of animations u.u'
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Dual Audio MKV silent after conversion

Post by Woodstock »

Such a small collection... :)

If the animations are raw from BD, you'll see over 80% size reduction with RF22, and probably better than 70% at RF20 (what I normally use). DVD at RF22 will usually be around 200MB/episode (figure 24 minutes).

LPCM is popular with certain publishers, while others are more likely to use either AC3 or DTS. I prefer AC3 because I've also noticed that players tend to play AAC at a lower perceived volume level. Not to mention that the current AAC encoder in handbrake "has issues" with quality.
Bruno Augusto
Posts: 8
Joined: Sat Dec 02, 2017 7:16 pm

Re: Dual Audio MKV silent after conversion

Post by Bruno Augusto »

The highest compression I've got so far with RF 22 was 56%. 80% would be amazing.

And this is just a "small" piece added as a new member of the family ^_^
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Dual Audio MKV silent after conversion

Post by Woodstock »

Only 56%? Is this with "noisy" backgrounds (grain or static)? Most anime from clean sources compresses very well. Noisy sources, not so much.

But I normally deal with BD or DVD sources, which do not start out very compressed.

"Some sources" have already been compressed once with h.264 or even h.265, so the compression within handbrake might not be that high.
Bruno Augusto
Posts: 8
Joined: Sat Dec 02, 2017 7:16 pm

Re: Dual Audio MKV silent after conversion

Post by Bruno Augusto »

I guess that's the case.

See, I just finish an encoding (4h... >.<) and got 51% reduction, but I used an RF of 20 instead of my usual 22. Still, the file size dropped from 2.46 GB to 1.26 GB, which is very helpful, but I wish I could shrink more.

My PC is a bit old to handle h.265 and the way I tried, through Adobe Premiere's unofficial plugin, I've got some colouring differences. Guess I'll wait until it gets more "popular"
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Dual Audio MKV silent after conversion

Post by mduell »

56% of an already compressed source? With no indication of how compressed that source is relative to raw? This is meaningless.
Bruno Augusto
Posts: 8
Joined: Sat Dec 02, 2017 7:16 pm

Re: Dual Audio MKV silent after conversion

Post by Bruno Augusto »

Although I agree with you, considering that I saved 1.2 GB in this "compression of compression" process it still was a nice saving, especially in a country where the price per GB is ridiculously costly
Post Reply