mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

failed when using --dvd-device

Open zaza42 opened this issue 7 years ago • 2 comments
trafficstars

When I'm watching a dvd from .iso file, the script is still trying read from real dvd device:

[mpv_thumbnail_script_server] Thumbnailing remote path, falling back on mpv. 
[mpv_thumbnail_script_server] libdvdnav: Using dvdnav version 6.0.0
[mpv_thumbnail_script_server] libdvdread: Could not open /dev/sr0 with libdvdcss.
[mpv_thumbnail_script_server] libdvdread: Can't open /dev/sr0 for reading
[mpv_thumbnail_script_server] libdvdnav: vm: failed to open/read the DVD
[mpv_thumbnail_script_server] Thumbnailing command failed! 
[mpv_thumbnail_script_server] mpv process error: nil 

zaza42 avatar Jun 11 '18 13:06 zaza42

I'll get back to this later with the rewrite, but for now, what's the full commandline you're using?

TheAMM avatar Jun 11 '18 18:06 TheAMM

$ mpv dvd://0 --dvd-device=Late.Night.Shopping.2001.Retail.PAL.HUN.DVDR-YhunYkx.iso                                                                                                                                                              
Playing: dvd://0
libdvdnav: Using dvdnav version 6.0.0
*** Zero check failed in src/ifo_read.c:564
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: DVD Title: LATE_NIGHT_SHOPPING
libdvdnav: DVD Serial Number: 42665117002142EA
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000156
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000118ff
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0020498e
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
[dvdnav] DVDNAV, switched to title: 1
 (+) Video --vid=1 (mpeg2video 720x576 25.000fps)
 (+) Audio --aid=1 --alang=hu (ac3 2ch 48000Hz)
     Audio --aid=2 --alang=en (ac3 2ch 48000Hz)
 (+) Subs  --sid=1 --slang=hu (dvd_subtitle)
File tags:
 Title: LATE_NIGHT_SHOPPING
[titleper] website icon use 
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 720x576 => 1024x576 yuv420p
AV: 00:00:01 / 01:27:47 (0%) A-V:  0.019 DS: 2.462/4
[mpv_thumbnail_script_server] Thumbnailing remote path, falling back on mpv. 
AV: 00:00:01 / 01:27:47 (0%) A-V:  0.019 DS: 2.464/4
[mpv_thumbnail_script_server] libdvdnav: Using dvdnav version 6.0.0
AV: 00:00:01 / 01:27:47 (0%) A-V:  0.020 DS: 2.467/4
[mpv_thumbnail_script_server] libdvdread: Could not open /dev/sr0 with libdvdcss.
[mpv_thumbnail_script_server] libdvdread: Can't open /dev/sr0 for reading
[mpv_thumbnail_script_server] libdvdnav: vm: failed to open/read the DVD
[mpv_thumbnail_script_server] Thumbnailing command failed! 
[mpv_thumbnail_script_server] mpv process error: nil 
[mpv_thumbnail_script_server] Process stdout:  
[mpv_thumbnail_script_server] Debug log: /dev/shm/DC-1_runtime/cache/mpv_thumbnails/0-0/000000.bgra.log 
[mpv_thumbnail_script_server] Output file missing! /dev/shm/DC-1_runtime/cache/mpv_thumbnails/0-0/000000.bgra 
AV: 00:00:02 / 01:27:47 (0%) A-V:  0.007 DS: 2.414/4


Exiting... (Quit)

zaza42 avatar Jun 12 '18 14:06 zaza42