Amazing stuff! Hope we can have a test build soon
Does MPLS with multiple M2TS also work?
May I ask, how do you get this type of media info screen?
Your iso is still not working:
2024-05-02 12:46:51.453 T:8530 debug <general>: CBlurayCallback::Logger - bluray.c:1463: libbluray version 1.3.4
2024-05-02 12:46:51.453 T:8530 debug <general>: CBlurayCallback::Logger - bluray.c:1488: BLURAY initialized!
2024-05-02 12:46:51.453 T:8530 debug <general>: CBlurayCallback::Logger - register.c:420: bd_psr_write(): PSR18 (MENU_LANG) 0xffffff -> 0x656e67
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - disc.c:333: failed opening UDF image (null)
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback - Error opening file! (udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/AACS/Unit_Key_RO.inf)
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - aacs.c:83: AACS/Unit_Key_RO.inf not found. No AACS protection.
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - index_parse.c:221: UHD disc type: 5, 4k: 1, HDR: 2, HDR10+: 0, Dolby Vision: 1
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - bluray.c:1136: Detected 4K UltraHD (profile 6) disc
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - register.c:422: bd_psr_write(): PSR25 0x0 -> 0xffffffff
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - register.c:422: bd_psr_write(): PSR26 0x0 -> 0xffffffff
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - register.c:422: bd_psr_write(): PSR27 0x0 -> 0xffffffff
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - register.c:418: bd_psr_write(28, 0): no change in value
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback::Logger - register.c:422: bd_psr_write(): PSR31 0x30200 -> 0x310
2024-05-02 12:46:51.454 T:8530 debug <general>: CBlurayCallback - Opening dir udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/META/DL
2024-05-02 12:46:51.455 T:8530 error <general>: GetDirectory - Error getting udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/META/DL
2024-05-02 12:46:51.455 T:8530 debug <general>: CBlurayCallback - Error opening dir! (udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/META/DL)
2024-05-02 12:46:51.455 T:8530 debug <general>: CBlurayCallback - Opening dir udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/META/TN
2024-05-02 12:46:51.456 T:8530 error <general>: GetDirectory - Error getting udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/META/TN
2024-05-02 12:46:51.456 T:8530 debug <general>: CBlurayCallback - Error opening dir! (udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/META/TN)
2024-05-02 12:46:51.456 T:8530 debug <general>: CBlurayCallback - Opening dir udf://%2fstorage%2fvideos%2fBL_EL_Test.iso/BDMV/PLAYLIST
2024-05-02 12:46:51.460 T:8530 debug <general>: CBlurayCallback - Closed dir (0xde9d82e0)
2024-05-02 12:46:51.462 T:8530 debug <general>: CBlurayCallback::Logger - bluray.c:1610: BLURAY destroyed!
So like this?
The loading takes a while as it’s over Samba:
Great, can we hope to add this feature to the nightly build? Or are there still some serious obstacles?
@Portisch Not sure what to tell you. I tested the new .iso I created and for me it plays from an NFS share and also if I copy it to /storage/videos.
To be sure, I renamed the file on my Google Drive to _v2 and downloaded it back to my system.
My log file looks like this:
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:1488: BLURAY initialized!
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - register.c:420: bd_psr_write(): PSR20 (REGION) 0x2 -> 0x1
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - register.c:420: bd_psr_write(): PSR19 (COUNTRY) 0xffff -> 0x4445
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - opening
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - aacs.c:83: AACS/Unit_Key_RO.inf not found. No AACS protection.
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - index_parse.c:221: UHD disc type: 5, 4k: 1, HDR: 2, HDR10+: 0, Dolby Vision: 1
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:1136: Detected 4K UltraHD (profile 6) disc
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - register.c:418: bd_psr_write(25, -1): no change in value
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:3181: PSR change: psr14 = 65535
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - Disc name :
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - First Play supported: 1
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - Top menu supported : 1
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - HDMV titles : 1
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - BD-J titles : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - BD-J handled : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - UNSUPPORTED titles : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - AACS detected : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - libaacs detected : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - AACS handled : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - BD+ detected : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - libbdplus detected : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - BD+ handled : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CDVDInputStreamBluray::Open - no menus (libmmbd, or profile 6 bdj) : 0
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - register.c:418: bd_psr_write(4, 65535): no change in value
2024-05-02 15:27:06.638 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:3142: PSR write: psr4 = 65535
2024-05-02 15:27:06.639 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_ANGLE 1
2024-05-02 15:27:06.639 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_TITLE 65535
2024-05-02 15:27:06.639 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_AUDIO_STREAM 255 -1
2024-05-02 15:27:06.639 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_PG_TEXTST 0
2024-05-02 15:27:06.639 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_PG_TEXTST_STREAM 4095, -1
2024-05-02 15:27:06.639 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_TITLE 65535
2024-05-02 15:27:06.639 T:9180 debug <general>: ScanForExternalSubtitles: Searching for subtitles...
2024-05-02 15:27:06.639 T:9180 debug <general>: ScanForExternalSubtitles: END (total time: 0 ms)
2024-05-02 15:27:06.639 T:9180 info <general>: VideoPlayer: playing a file with menu's
2024-05-02 15:27:06.639 T:9180 info <general>: Creating Demuxer
2024-05-02 15:27:06.639 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:3519: HDMV event: HDMV_EVENT_PLAY_STOP(9): 0
2024-05-02 15:27:06.639 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:3519: HDMV event: HDMV_EVENT_TITLE(3): 0
2024-05-02 15:27:06.639 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:3142: PSR write: psr5 = 1
2024-05-02 15:27:06.639 T:9180 debug <general>: CBlurayCallback::Logger - bluray.c:1694: Seek to 768
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_PLAYLIST 0
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_ANGLE 1
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_PLAYITEM 0
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_CHAPTER 1
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_AUDIO_STREAM 255 -1
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_PG_TEXTST 0
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_PG_TEXTST_STREAM 4095, -1
2024-05-02 15:27:06.640 T:9180 debug <general>: CDVDInputStreamBluray - BD_EVENT_SEEK
2024-05-02 15:27:06.640 T:9180 debug <general>: Open - probing detected format [mpegts]
2024-05-02 15:27:06.640 T:9180 debug <general>: Open - avformat_find_stream_info starting
2024-05-02 15:27:06.722 T:9024 debug <general>: ------ Window Init (DialogBusy.xml) ------
2024-05-02 15:27:06.763 T:9180 debug <general>: Open - av_find_stream_info finished
2024-05-02 15:27:06.763 T:9180 info <general>: ffmpeg[0x49c45d8]: Input #0, mpegts, from '/storage/videos/BL_EL_Test_v2.iso':
2024-05-02 15:27:06.763 T:9180 info <general>: ffmpeg[0x49c45d8]: Duration: N/A, start: 600.000000, bitrate: N/A
2024-05-02 15:27:06.763 T:9180 info <general>: ffmpeg[0x49c45d8]: Program 1
2024-05-02 15:27:06.763 T:9180 info <general>: ffmpeg[0x49c45d8]: Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
2024-05-02 15:27:06.763 T:9180 info <general>: ffmpeg[0x49c45d8]: Stream #0:1[0x1015]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
2024-05-02 15:27:06.763 T:9180 debug <general>: DVDDemuxFFmpeg::AddStream - fps:24000/1001 tbr:24000/1001 tbn:90000/1
2024-05-02 15:27:06.763 T:9180 debug <general>: DVDDemuxFFmpeg::AddStream - fps:24000/1001p
2024-05-02 15:27:06.763 T:9180 debug <general>: CDVDDemuxFFmpeg::AddStream ID: 0
2024-05-02 15:27:06.763 T:9180 debug <general>: DVDDemuxFFmpeg::AddStream - fps:24000/1001 tbr:24000/1001 tbn:90000/1
2024-05-02 15:27:06.763 T:9180 debug <general>: DVDDemuxFFmpeg::AddStream - fps:24000/1001p
2024-05-02 15:27:06.763 T:9180 debug <general>: CDVDDemuxFFmpeg::AddStream - discarding Dolby Vision stream
Yes, the new version does work now, thx.
Can you make me another short (small) test Blu Ray ISO without DV content?
So I can test if the player still works normal.
I put two more ISO files in my Google Drive.
Test_1 has HDR video with a DD5.1+ Atmos track.
Test_2 has HDR video with a TrueHD Atmos track.
Thx, as I thought it needs a bit more tweaking.
Non DV does now not play as no EL layer exists…
@Portisch Any further directions about where to look in the media_modules_aml code? I’ve had a look at the repo, but still have no idea where to start looking.
I’ve also tried access the vframe_s
objects in the kernel using both canvases and directly getting pointers (trying to copy from amvideocap.c
) , but have only managed to find lots of ways to freeze and reboot.
In an attempt to get interest from any others that may also have input, the summary is I want to get read/write access to the pixels values that are output from a device on the fly. This appears to be the only remaining roadblock in enabling tv-led DV on all devices (licensed or not). I now have tv-led DV working on videos on my unlicenced device - if I pre-encode the DV metadata into the video.
I know what data to write to embed the DV metadata, will have a fair bit of spare time over the next few days, but I do need more help on the how to do it. Any more specific help would be greatly appreciated
No, I have no idea. You need to enable like for h265 the debug prints to get an idea where to place them:
I think each decoded frame goes into here:
And goes out here, maybe:
When all goes fine it will be included with next nightly 20240504 → support of BluRay (ISO & M2TS) Dolby Vision, include libdovi to convert to P8.1 like on Homatics or other S905X4 what do not support DV FEL.
Amazing! Such wonderful news.
Sounds great @Portisch ! Thanks for the effort you are putting into this.
Will it also work if the ISO is extracted to a BDMV folder and you choose “Play” on the folder above?
Is there any plans to add DTDL support for MKV and MP4 files?
What’s the use case other than demo files?
Older files did not mux to STDL and encoded FEL as DTDL.
@Portisch I just made a build to try DTDL and it works, except with MEL files it seems. I get green video and player info shows 1080p. I don’t know how to make a sample from an mt2s file.
I know it’s early and it’s not even actually released, but I just wanted to report.