This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Audio from dvd
#5
According to the debug output Hybrid does not detect the chapter matching, which is strange.
The audio queue entries: ('matchesChapter: false')
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9: extractAudioFromDVDWithMplayer: E:\VIDEO_TS
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9: shortFileName for: E:\VIDEO_TS
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9: -> shortened name: E:\VIDEO_TS
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:  set mencoder/mplayer selection,...
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9: cut: false
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:  getChaperUsed,...
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   startChapter: 52
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   endChapter: 66
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   chapterCount: 82
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:  -> chapterUsed: true
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   getStartAndEnd(cutStartTime: 7740.71, cutEndTime: 9293.5, selectionStartTime: 7740.7, selectionEndTime: 9293.5, ...)
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   startTime: 7740.70737404
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   endTime: 9293.50000000
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   -> startTime: 7740.71, endTime: 9293.5
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   matchesChapter: false
2025.07.21 - 21:11:03_Windows 11 Version 24H2 (64bit)_2025.05.18.2 - level 9:   chapter(2):  -ss 7740.71 -endpos 1552.79
it uses '-ss 7740.71 -endpos 1552.79'
When I do it here I see:
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9: extractAudioFromDVDWithMplayer: G:\TestClips&Co\discs\DVDs\TestDVD
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9: shortFileName for: G:\TestClips&Co\discs\DVDs\TestDVD
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9: -> shortened name: G:\TestClips&Co\discs\DVDs\TestDVD
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:  set mencoder/mplayer selection,...
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9: cut: false
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:  getChaperUsed,...
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   startChapter: 32
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   endChapter: 35
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   chapterCount: 35
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:  -> chapterUsed: true
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   getStartAndEnd(cutStartTime: 7728.48, cutEndTime: 8767.12, selectionStartTime: 7728.48, selectionEndTime: 8767.12, ...)
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   startTime: 7728.48000000
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   endTime: 8767.12000000
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   -> startTime: 7728.48, endTime: 8767.12
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   matchesChapter: true
2025.07.22 - 04:30:39_Windows 11 Version 24H2 (64bit)_2025.07.21.1 - level 9:   chapter(1): -chapter 32-35

This should not really be a problem, since both should work.
The generated audio call is:
mplayer -v -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 129 dvd://2 -dvd-device "E:\VIDEO_TS" -ss 7740.71 -endpos 1552.79  -dumpaudio -dumpfile "D:\Nuova cartella\iId_2_aid_129_lang_und_2025-07-21@21_11_03_4010_02.ac3"
which does contain the start&end info (' -ss 7740.71 -endpos 1552.79 ').

Looking at the processing of the audio call:
MPlayer SVN-r38359-11.2.0 (C) 2000-2022 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 32
CPU: Intel(R) Core(TM) i7-14700F (Family: 6, Model: 183, Stepping: 1)
extended cpuid-level: 8
extended cache-info: 134246464
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 'C:/Program Files/Hybrid/64bit/mplayer/codecs.conf'
Reading optional codecs config file C:/Program Files/Hybrid/64bit/mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /local64/etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using SSE2 Optimized OnScreenDisplay
get_path('fonts') -> 'C:/Program Files/Hybrid/64bit/mplayer/fonts'
Configuration: --prefix=/local64 --bindir=/local64/bin-video --extra-cflags=-fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC --extra-libs=-llzma -liconv -lws2_32 -lpthread -lwinpthread -lpng -lwinmm -LI:/media-autobuild_suite/local64/lib -lilbc -lstdc++           --extra-ldflags=-Wl,--allow-multiple-definition --enable-static --enable-runtime-cpudetection --disable-gif --disable-cddb --disable-faac --with-dvdread-config=/mingw64/bin/pkgconf --keep-system-libs --keep-system-cflags --static dvdread --with-freetype-config=/mingw64/bin/pkgconf --keep-system-libs --keep-system-cflags --static freetype2 --with-dvdnav-config=/mingw64/bin/pkgconf --keep-system-libs --keep-system-cflags --static dvdnav
CommandLine: '-v' '-mc' '0' '-vc' 'dummy' '-nocorrect-pts' '-noconsolecontrols' '-nocorrect-pts' '-vc' 'null' '-vo' 'null' '-nocache' '-hardframedrop' '-aid' '128' 'dvd://2' '-dvd-device' 'E:\VIDEO_TS' '-ss' '7740.71' '-endpos' '1552.79' '-dumpaudio' '-dumpfile' 'D:\Nuova cartella\iId_1_aid_128_lang_und_2025-07-21@21_11_03_4010_01.ac3'
Using Windows native timing
get_path('input.conf') -> 'C:/Program Files/Hybrid/64bit/mplayer/input.conf'
Parsing input config file C:/Program Files/Hybrid/64bit/mplayer/input.conf
Input config file C:/Program Files/Hybrid/64bit/mplayer/input.conf parsed: 92 binds
get_path('2.conf') -> 'C:/Program Files/Hybrid/64bit/mplayer/2.conf'

Playing dvd://2.
get_path('sub/') -> 'C:/Program Files/Hybrid/64bit/mplayer/sub/'
WINSOCK2 init: 0
URL: dvd://2
Reading disc structure, please wait...
There are 7 titles on this DVD.
There are 1 angles in this DVD title.
MPlayer output: DVD successfully opened.
audio stream: 0 format: ac3 (mono) language:  aid: 128.
audio stream: 1 format: ac3 (mono) language:  aid: 129.
number of audio channels on disk: 2.
number of subtitles on disk: 0

DVD start cell: 0  pack: 0x0-0xEDB2  
DVD start=0 end=3998383  
STREAM: [null] dvd://2
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xEDB2  
Angle-seek synced by cell/vob IDN search!  
MPEG-PS file format detected.
==> Found audio stream: 128
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 0 bytes
STREAM: [file] D:\Nuova cartella\iId_1_aid_128_lang_und_2025-07-21@21_11_03_4010_01.ac3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
==> Found audio stream: 129
--- END OF CELL !!! ---
DVD next cell: 1  pack: 0xEDB3-0x21994
--- END OF CELL !!! ---
DVD next cell: 2  pack: 0x21995-0x333A3
--- END OF CELL !!! ---
DVD next cell: 3  pack: 0x333A4-0x44322
--- END OF CELL !!! ---
DVD next cell: 4  pack: 0x44323-0x558B0
--- END OF CELL !!! ---
DVD next cell: 5  pack: 0x558B1-0x73863
--- END OF CELL !!! ---
DVD next cell: 6  pack: 0x73864-0x84411
dump: 28677597 bytes written (~12.2%)
--- END OF CELL !!! ---
DVD next cell: 7  pack: 0x84412-0x928AB
--- END OF CELL !!! ---
DVD next cell: 8  pack: 0x928AC-0x9E615
WINSOCK2 uninit
dump: 37259709 bytes written to 'D:\Nuova cartella\iId_1_aid_128_lang_und_2025-07-21@21_11_03_4010_01.ac3'.
Core dumped ;)
WINSOCK2 uninit

Exiting... (End of file)
It looks like title 2 ('dvd://2') has only 7 chapters.
So seems like there is a title mix-up.
Not sure why or where this happened, since the debug output did not contain the analysis of the source, but starts at the job generation.
(this would explain the 'matchesChapter: false')

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Audio from dvd - by Doom83 - 21.07.2025, 19:42
RE: Audio from dvd - by Selur - 21.07.2025, 19:44
RE: Audio from dvd - by Selur - 21.07.2025, 20:04
RE: Audio from dvd - by Doom83 - 21.07.2025, 21:12
RE: Audio from dvd - by Selur - 22.07.2025, 04:45
RE: Audio from dvd - by Doom83 - 22.07.2025, 17:53
RE: Audio from dvd - by Selur - 22.07.2025, 17:56
RE: Audio from dvd - by Doom83 - 22.07.2025, 18:10
RE: Audio from dvd - by Selur - 22.07.2025, 18:13
RE: Audio from dvd - by Doom83 - 22.07.2025, 19:30
RE: Audio from dvd - by Selur - 22.07.2025, 19:32
RE: Audio from dvd - by Doom83 - 23.07.2025, 19:29
RE: Audio from dvd - by Selur - 23.07.2025, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)