Homebrew libusbdvd

  • Thread starter Thread starter proconsule54
  • Start date Start date
  • Views Views 5,636
  • Replies Replies 67
  • Likes Likes 17

proconsule54

Well-Known Member
Member
Joined
Nov 5, 2019
Messages
942
Reaction score
1,976
Trophies
2
Age
45
XP
3,990
Country
Italy
libusbdvd is a c++ library for HorizonOS supporting CD/DVD/BD Drives.

Current support:

  • USB-DVD USB-BD Drives with USB MASS STORAGE SUBCLASS 0x02
  • File Image mount (.iso)
  • CD/DVD/BD Support
  • CD Audio
  • ISO9660 with Joliet and basic RockRidge support
  • UDF support up to 2.60
  • DVD CSS support (with cache)
TODO List:
  • AACS Algo
  • There is always something to do

There is also a test program that show info and list root directory of disc (you can use it to check if your drive is compatible)

Current version : 0.1.0

https://github.com/proconsule/libusbdvd
https://github.com/proconsule/libusbdvd/releases

Here you can find tested devices
https://github.com/proconsule/libusbdvd/blob/master/COMPAT.md
 
Last edited by proconsule54,
Just like libusbhsfs for the usb mass storage
Post automatically merged:

the final goal will be BR playback possible
Post automatically merged:

This is how an audiocd is shown
IMG_2855.webp
 
Last edited by proconsule54,
Tell me if you need Blu-rays tested out. I got an external bluray reader!
libaacs is available from VLC and the keydb.cfg should be googled to find.
 
Tell me if you need Blu-rays tested out. I got an external bluray reader!
libaacs is available from VLC and the keydb.cfg should be googled to find.
Sure, with next version will be a test app binary to test drive. All test are welcome so i can make a compatibility list
Post automatically merged:

https://github.com/proconsule/libusbdvd/releases/tag/0.0.3

https://github.com/proconsule/libusbdvd/releases/download/0.0.3/libusbdvd-example-c.nro

  • Added UDF Support
  • Added an example nro for testing drive/support
2025081222290000.jpg
This is if NO Drive is detected
2025081222291700.jpg
This is if no disc or other problem (BUT DRIVE IS DETECTED)
2025081222300300.jpg
This is all ok, Drive will work well with the lib

@linuxares send me screen of your tests when you have done it
Post automatically merged:

Created a file https://github.com/proconsule/libusbdvd/blob/master/COMPAT.md so i can add device tested
Post automatically merged:

https://github.com/proconsule/libusbdvd/blob/master/COMPAT.md

First Blu-Ray drive tested and supported!
 
Last edited by proconsule54,
  • Like
Reactions: linuxares
Didn't want to open a github issue for this but can confirm this cheap external works on 0.0.4

vendor_id: MATSHITA
product_id: DVD-RAM UJ8B0AW
product_revision: 1.00
serial_number: 11070400

Eject works as expected too! Awesome work so far. This disc should be reporting 24 tracks but unsure if I tripped the amount of printing it's expecting or something else.

image_2025-08-14_173845423.png
 
  • Like
Reactions: proconsule54
Didn't want to open a github issue for this but can confirm this cheap external works on 0.0.4

vendor_id: MATSHITA
product_id: DVD-RAM UJ8B0AW
product_revision: 1.00
serial_number: 11070400

Eject works as expected too! Awesome work so far. This disc should be reporting 24 tracks but unsure if I tripped the amount of printing it's expecting or something else.

View attachment 522282
Thanks a LOT! i will add this to COMPAT.md
 
@proconsule54 first, thanks for your hard work

my results, with audio CD and video DVD (CSS protected). Works great. Eject too !

vendor_id: TS8XDVDS
product_id: TRANSCEND
product_revision: 1.00
serial_number: J027804


BTW, my audio CD has 16 tracks, but libusbdvd only shows 15.
 

Attachments

  • TS8XDVDS_CD.png
    TS8XDVDS_CD.png
    22.7 KB · Views: 37
  • TS8XDVDS_DVD.png
    TS8XDVDS_DVD.png
    16.4 KB · Views: 39
Last edited by Badablek,
  • Like
Reactions: proconsule54
@proconsule54 first, thanks for your hard work

my results, with audio CD and video DVD (CSS protected). Works great. Eject too !

vendor_id: TS8XDVDS
product_id: TRANSCEND
product_revision: 1.00
serial_number: J027804


BTW, my audio CD has 16 tracks, but libusbdvd only shows 15.

Thanks for the test!
Yes there is a issue with audiocd and track count, i will fix it.
Post automatically merged:

https://github.com/proconsule/libusbdvd/releases/tag/0.0.5

libusbdvd 0.0.5

  • Fix a bug on audiocd showing a track less
  • ISO file loading also for UDF

@Badablek @lisreal2401 can you check if is ok also on yours side
 
Last edited by proconsule54,

Site & Scene News

Popular threads in this forum