modify existing file did not recognize audio tracks

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
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

modify existing file did not recognize audio tracks

Post by N!ghtW4lk3r »

Hey :)

Some time ago i ripped a 2h bd-movie with two audio tracks to nearly 8gb mkv file. somedays ago, as the diskspace is low :shock:, i want to modify this existing file to encode the audio track to 5.1 AC3. i have done this before with another movie of nearly 7gb - that worked fine.
but if i drag the first movie on handbrake, it scans, offers me the video options but no audio track options. a look into the log told me, that handbrake has recognized both audio tracks, but... what now?

Code: Select all

HandBrake 0.9.9.5530 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Ram: 16345 MB, Screen: 1920x1080
Temp Dir: ***
Install Dir: C:\Program Files (x86)\Handbrake
Data Dir: ***
-------------------------------------------
 -i "Q:\MovieName.mkv" -t0  --min-duration=10 -v 
[19:22:12] hb_init: starting libhb thread
HandBrake 0.9.9 (2013052900) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening Q:\MovieName.mkv...
[19:22:12] hb_scan: path=Q:\MovieName.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening Q:\MovieName.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening Q:\MovieName.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(Q:\MovieName.mkv) failed (000000000034D8A0)
[19:22:12] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:22:12] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'Q:\MovieName.mkv':
  Duration: 02:03:03.68, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 5690.535733, end 6225.486811
    Metadata:
      title           : Chapter 14
    Chapter #0.1: start 305.197433, end 834.017400
    Metadata:
      title           : Chapter 2
    Chapter #0.2: start 834.017400, end 1363.212733
    Metadata:
      title           : Chapter 3
    Chapter #0.3: start 1363.212733, end 1786.051811
    Metadata:
      title           : Chapter 4
    Chapter #0.4: start 1786.051811, end 2121.511933
    Metadata:
      title           : Chapter 5
    Chapter #0.5: start 2121.511933, end 2543.475144
    Metadata:
      title           : Chapter 6
    Chapter #0.6: start 2543.475144, end 3157.964022
    Metadata:
      title           : Chapter 7
    Chapter #0.7: start 3157.964022, end 3533.839522
    Metadata:
      title           : Chapter 8
    Chapter #0.8: start 3533.839522, end 4038.885733
    Metadata:
      title           : Chapter 9
    Chapter #0.9: start 4038.885733, end 4511.774811
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 4511.774811, end 5042.054567
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 5042.054567, end 5348.819356
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 5348.819356, end 5690.535733
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 6225.486811, end 6737.998811
    Metadata:
      title           : Chapter 15
    Chapter #0.14: start 6737.998811, end 6951.670600
    Metadata:
      title           : Chapter 16
    Chapter #0.15: start 6951.670600, end 7383.685500
    Metadata:
      title           : Chapter 17
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x528 [PAR 99:100 DAR 12:5], PAR 195:197 DAR 5200:2167, 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
    Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s (default)
    Stream #0.2(eng): Audio: dca (DTS-HD MA), 48000 Hz, 5.1, fltp, 1536 kb/s
[19:22:12] scan: decoding previews for title 1
[19:22:12] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 Deutsch (AC3) (5.1 ch)
[19:22:12] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[19:22:12] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Q:\MovieName.mkv
  + duration: 02:03:03
  + size: 1280x528, pixel aspect: 99/100, display aspect: 2.40, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:43:45
    + 2: cells 0->0, 0 blocks, duration -168406:-38:-6
    + 3: cells 0->0, 0 blocks, duration 00:08:49
    + 4: cells 0->0, 0 blocks, duration 00:07:03
    + 5: cells 0->0, 0 blocks, duration 00:05:35
    + 6: cells 0->0, 0 blocks, duration 00:07:02
    + 7: cells 0->0, 0 blocks, duration 00:10:14
    + 8: cells 0->0, 0 blocks, duration 00:06:16
    + 9: cells 0->0, 0 blocks, duration 00:08:25
    + 10: cells 0->0, 0 blocks, duration 00:07:53
    + 11: cells 0->0, 0 blocks, duration 00:08:50
    + 12: cells 0->0, 0 blocks, duration 00:05:07
    + 13: cells 0->0, 0 blocks, duration 00:05:42
    + 14: cells 0->0, 0 blocks, duration 00:17:27
    + 15: cells 0->0, 0 blocks, duration 00:03:34
    + 16: cells 0->0, 0 blocks, duration 00:07:12
  + audio tracks:
    + 1, Deutsch (AC3) (5.1 ch) (iso639-2: deu), 48000Hz, 640000bps
    + 2, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
  + subtitle tracks:
HandBrake has exited.
i hope i did not miss any neccessary information...
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

Re: modify existing file did not recognize audio tracks

Post by N!ghtW4lk3r »

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

Re: modify existing file did not recognize audio tracks

Post by s55 »

Nope. Log says everything worked correctly. What happens when you try to add a track on the audio tab?
i want to modify this existing file to encode the audio track to 5.1 AC3.
Um, you can't "modify" an existing file with HandBrake. You can only re-encode. Video Passthrough isn't supported. If you only want to re-encode audio, there are other tools for this.
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

Re: modify existing file did not recognize audio tracks

Post by N!ghtW4lk3r »

what happens if i click on the add a track button in the audio tab?
absolutly nothing. no error message. no wait cursor.
Um, you can't "modify" an existing file with HandBrake. You can only re-encode. Video Passthrough isn't supported. If you only want to re-encode audio, there are other tools for this.
yes. i said modify, but i mean re-encode or re-convert. passthrough isn't neccessary since the source bitrate is way to high 6000+ (rf18/fast if i remember correctly), i use rf19/slow now - that results in ~3500 and no visually differences. what are those other tools you mentioned? in this case i need to re-encode both video and audio, but there are other files where i only need to convert the audio from dts to ac3 5.1...
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

Re: modify existing file did not recognize audio tracks

Post by N!ghtW4lk3r »

i found the problem which seems to be an bug in the current (used to reconvert) or an older (used to create) version of handbrake.

the problem is the mkv chapter data. in the last lines of the activity log the chapters are listed - chapter 2 is listed with an negative number (-168406:-38:-6). i removed the chapter data from the mkv file using mkvmerge and dragged the chapter-less-mkv-file onto handbrake - the audio tracks are displayed and could be removed or reconverted.

can a mod please move this to the bug-forum or should i create a new thread?
Deleted User 11865

Re: modify existing file did not recognize audio tracks

Post by Deleted User 11865 »

This is probably already fixed in the nightly builds: http://handbrake.fr/nightly.php
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

Re: modify existing file did not recognize audio tracks

Post by N!ghtW4lk3r »

yes, its already fixed in svn6203.
so when do we get the new version? :o

thx for the support
Deleted User 11865

Re: modify existing file did not recognize audio tracks

Post by Deleted User 11865 »

When it's ready. Currently the MacGUI is lagging behind a bit.
Post Reply