Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
13th December 2019, 19:40 | #23681 | Link |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
BD Seamless branching (theatrical version / extended version)
Hi nevcairiel,
Some seamless branching BD (theatrical version / extended version) can not be played correctly. The extended version (usually the longest MPLS) can hide some audio tracks. You can check theses hidden tracks in BDInfo, beginning with an asterix '*'. LAVFDemuxer completely ignores this information. Therefore, when we launch the extend version (i.e. usually the longest playlist), the audio is out of sync when we reach a M2TS for which the initial language selected is not available. For example : Extended version : -> playlist 00802.MPLS english only (german hidden) -> 00001.M2TS (german and english) -> 00002.M2TS (english only) When we reach 00002.M2TS, audio is out of sync if we select german as initial audio track. One solution could be to check the available audio tracks in the selected playlist (MPLS) and avoid selecting a track hidden by the playlist. Or maybe LAV could change the audio track dynamically when the current audio language is not available in the current M2TS ? Thanks a lot |
14th December 2019, 14:57 | #23683 | Link |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
Kingdom Of Heaven (2005) - Director's Cut version
For example :
Kingdom Of Heaven (2005) - Director's Cut version BDInfo - Director's Cut version - Spanish and French hidden by the playlist (see asterix '*') : BDInfo - Theatrical version - Spanish and French available : Blu-Ray Menus -> French available only in theatrical version (as indicated) : |
14th December 2019, 17:00 | #23686 | Link | |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,380
|
Quote:
There is no check to omit streams which are not used in all editions. |
|
14th December 2019, 17:28 | #23688 | Link |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
According to my quick debug, I could find that LAV was the culprit.
LAV Splitter takes in account user preferences languages in order to select audio track but ignores that a track can be hidden by a playlist. When you reach at some point a piece (M2TS) which does not contain the initial audio track selected by LAV (because the cutted scenes are available only in english for example), the audio part you can hear does not belong anymore to the video part. It's quite funny. |
14th December 2019, 17:45 | #23689 | Link | ||
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Quote:
Its not really clear if a track is supposed to be hidden because its "incomplete", or if its missing for some other unwanted reason from the playlist, which does happen. Quote:
LAV will never offer Blu-ray menus, its not designed for such interactive access (and its also hard to make that happen in a generic filter like LAV, as it requires tight interaction with a player to work properly). It would be easier to make a stand-alone BD menu source filter then trying to shoe-horn that into LAV. Unfortunately all people that tried usually didn't stick around long enough to finish it, or have decent ambitions to do it right. And without menus, its almost impossible to find forced subtitles reliably on all discs.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 14th December 2019 at 17:51. |
||
14th December 2019, 17:45 | #23690 | Link |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
Here is an interesting trace (libbluray) on the playlist which belongs to the Director's cut version :
LAVSplitter.ax(tid c68) 3629801 : Seek Request: 40912906507 (time); 13685463360 (byte), 91791360 (prev byte) LAVSplitter.ax(tid c68) 3629802 : [BD] file_win32.c:47: Closed WIN32 file (0000020457FC6310) Le thread 0x3664 s'est arrêté avec le code 0 (0x0). LAVSplitter.ax(tid c68) 3629806 : [BD] file_win32.c:143: Opened WIN32 file Z:\\\BDMV\STREAM\00850.m2ts (00000204582C87A0) LAVSplitter.ax(tid c68) 3629806 : [BD] register.c:420: bd_psr_write(): PSR7 (PLAYITEM) 0x0 -> 0x22 LAVSplitter.ax(tid c68) 3629806 : [BD] bluray.c:3111: PSR change: psr7 = 34 LAVSplitter.ax(tid c68) 3629806 : [BD] register.c:418: bd_psr_write(8, 524280): no change in value LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:3072: PSR write: psr8 = 524280 LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:293: Stream with preferred language not found LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:314: Selected stream 0 (language eng) LAVSplitter.ax(tid c68) 3629807 : [BD] register.c:418: bd_psr_write(1, 1): no change in value LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:3072: PSR write: psr1 = 1 LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:293: Stream with preferred language not found LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:305: Subtitles disabled (audio is in the same language) LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:314: Selected stream 0 (language eng) LAVSplitter.ax(tid c68) 3629807 : [BD] register.c:418: bd_psr_write(2, 268369921): no change in value LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:3072: PSR write: psr2 = 268369921 LAVSplitter.ax(tid c68) 3629807 : [BD] register.c:420: bd_psr_write(): PSR8 (TIME) 0x7fff8 -> 0xb6d700 LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:3111: PSR change: psr8 = 11982592 LAVSplitter.ax(tid c68) 3629807 : [BD] register.c:420: bd_psr_write(): PSR5 (CHAPTER) 0x1 -> 0x19 LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:3111: PSR change: psr5 = 25 LAVSplitter.ax(tid c68) 3629807 : [BD] bluray.c:1632: Seek to 13685463360 LAVSplitter.ax(tid c68) 3629807 : BD Seek to 13685463364, achieved 13685463360, correcting target by 4 LAVSplitter.ax(tid c68) 3629828 : New clip! offset: 38363739337 bytepos: 12822546432 I will try to investigate this a little further because it's quite annoying. |
14th December 2019, 17:54 | #23691 | Link | |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
Quote:
Some commercial blu-ray players does not show you these hidden tracks. |
|
14th December 2019, 18:08 | #23692 | Link | |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
Quote:
- Jriver player can offer Blu-ray menus (thanks to libbluray and you) - KODI player can offer Blu-ray menu My opinion is that some small improvements can easily be done in MPC for the Blu-ray stuff but there is a lack of interest for the Blu-ray part in the MPC team (MPC-BE / MPC-HC). |
|
14th December 2019, 23:40 | #23693 | Link | |
Registered User
Join Date: Jul 2014
Posts: 942
|
Quote:
How about buying jRiver if you want bluray menus? That's what I did. It's not expensive and it works GREAT. It's also a way to show your appreciation for the work that Nevcairiel does on LAV
__________________
Win11 Pro x64 b23H2 Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33 madVR/LAV/jRiver/MyMovies/CMC Denon X8500HA>HD Fury VRRoom>TCL 55C805K Last edited by Manni; 14th December 2019 at 23:42. |
|
15th December 2019, 01:17 | #23695 | Link |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
I personnaly use Jriver for audio only. I much prefer Kodi for TV shows and movies : 3d cases, animated posters, cinéma experience, sagas, scrapping, flexibility, look and feel, widgets like imdb top 250 and so on. As a french guy, I had to wait until Jriver 24 for multi language scrapping. TV shows posters are not scrapped in my native language but in english. A shame for a paid software.
I asked many times the Jriver team on the feature request post (forums) to use the mouse wheel for volume control but they don't want their users to use their mouses like they want. Too bad for a so simple thing. They are very nice for asking me every year to pay in avance a license for the next release without the possibility to ask a so simple parameter. In fact, I would much prefer paying nevcareil or someone else for integrating blu Ray menus in MPC-HC rather than paying a 26th license to the Jriver team. Good developpers need to be supported and motivated. I like MPC-HC and lav filters for mkv but it lacks some features for blu rays. Just my personnal opinion Last edited by Olivier C.; 15th December 2019 at 01:33. |
15th December 2019, 01:30 | #23697 | Link | |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
Quote:
This way, everyone should be happy. |
|
15th December 2019, 03:00 | #23698 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
Can you share disc for me - for improvement MPC-BE ?
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
15th December 2019, 03:50 | #23700 | Link | |
Registered User
Join Date: Jan 2014
Location: France
Posts: 76
|
Quote:
A friend of mine has developed it in his player and it's very usable. 2% of the time, his tool is wrong. |
|
Tags |
decoders, directshow, filters, splitter |
|
|