celluloid-player / celluloid

A simple GTK+ frontend for mpv
https://celluloid-player.github.io
GNU General Public License v3.0
1.1k stars 87 forks source link

Celluloid will not play my DVD's #554

Open robinhood2014 opened 4 years ago

robinhood2014 commented 4 years ago

Overview Description: Celluloid will not play my DVD's.

Steps to Reproduce:

  1. Launch Celluloid.
  2. Open the '+' menu, click 'Open Disc.' There is the first sign of trouble, as the menu says 'No disc found.'
  3. Click to back out of the 'Open Disc' menu, then click 'Open Location.'
  4. Type in 'dev/sr0' to tell Celluloid that you want to play a disc in your DVD drive.
  5. Click 'Open'.

Actual Results: Two 'Error' dialog boxes pop up, saying 'Playback was terminated abnormally. Reason: unrecognized file format.' When you close these boxes, depending on what studio produced the DVD you're trying to open, you might get a message saying something similar to 'This disc is not formatted to play in this region.'

Expected Results: I expected to see the DVD start up with either previews of coming attractions, or the DVD's menu.

Version: 0.18 running on Kubuntu 20.04 LTS 'Focal Fossa.'

Additional Information: The following .deb packages are installed on my Kubuntu machine:

gnome-mpv commented 4 years ago

Can you play the DVD with mpv?

robinhood2014 commented 4 years ago

That's a negative. Executing mpv /dev/sr0 in a terminal returns all of this: `[libarchive] Truncated input file (needed 28672 bytes, only 0 available) [libarchive] could not read archive entry [libarchive] fatal error received - closing archive

Playing: archive:///dev/sr0|/VIDEO_TS/VIDEO_TS.BUP Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VIDEO_TS.IFO Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VIDEO_TS.VOB [libarchive] possibly unsupported seeking - switching to reopening (+) Video --vid=1 (mpeg2video 720x480 29.970fps) Subs --sid=1 (dvd_subtitle) Subs --sid=2 (dvd_subtitle) VO: [gpu] 720x480 => 853x480 yuv420p Invalid video timestamp: 0.000000 -> 0.000000 V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s/659KB Invalid video timestamp: 0.000000 -> 0.000000 V: 00:00:00 / 00:00:00 (0%) Dropped: 1 Cache: 0.0s/439KB Invalid video timestamp: 0.000000 -> 0.000000 V: 00:00:00 / 00:00:00 (0%) Dropped: 2 Cache: 0.0s/219KB Invalid video timestamp: 0.000000 -> 0.000000 V: 00:00:00 / 00:00:00 (0%) Dropped: 3 Cache: 0.0s Invalid video timestamp: 0.000000 -> 0.000000 V: 00:00:00 / 00:00:00 (0%) Dropped: 4 Cache: 0.0s Invalid video timestamp: 0.000000 -> 0.000000 V: 00:00:00 / 00:00:00 (0%) Dropped: 5 Cache: 0.0s

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_01_0.BUP V: 00:00:00 / 00:00:00 (0%) Dropped: 5 Cache: 0.0s Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_01_0.IFO V: 00:00:00 / 00:00:00 (0%) Dropped: 5 Cache: 0.0s Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_01_0.VOB V: 00:00:00 / 00:00:00 (0%) Dropped: 5 Cache: 0.0s [libarchive] possibly unsupported seeking - switching to reopening V: 00:00:00 / 00:00:00 (0%) Dropped: 5 Cache: 0.0s (+) Video --vid=1 (mpeg2video 720x480) VO: [gpu] 720x480 => 720x540 yuv420p V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_01_1.VOB V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s (+) Video --vid=1 (mpeg2video 720x480) V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_02_0.BUP V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s [libarchive] Truncated input file [libarchive] fatal error received - closing archive V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_02_0.IFO V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_02_0.VOB V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s [libarchive] Truncated input file [libarchive] fatal error received - closing archive V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s Failed to recognize file format.

Playing: archive:///dev/sr0|/VIDEO_TS/VTS_02_1.VOB V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s [libarchive] Truncated input file [libarchive] fatal error received - closing archive V: 00:00:00 / 00:00:00 (0%) Cache: 0.0s Failed to recognize file format.

Exiting... (Some errors happened)`

I'm afraid that's a story for MPV, not for Celluloid. Sorry for wasting your time.

robinhood2014 commented 4 years ago

I found something. Instead of '/dev/sr0', I enter 'dvd://' in the 'Open Location' box, and the DVD plays, but at twice normal speed, and the video looks distorted. Entering 'mpv dvd://' in a terminal causes the DVD to play correctly.

gnome-mpv commented 4 years ago

Run celluloid --mpv-options="--msg-level=all=trace --log-file=/tmp/mpv.log" dvd:// and upload the log file here.

robinhood2014 commented 4 years ago

Here's the log file. It plays at the correct speed with the correct video quality.

https://1drv.ms/u/s!Aj9V_5x2ju0Xpr9BFu8yDzM9D7TF7Q?e=efW6Js

Additionally, I tried "Open Location" and entering "dvd://" again, and the second time around I got the DVD to play at the correct speed with the correct quality. Just some odd luck, I guess...

...but it would still be nice to fix Celluloid so that it won't have that behavior of showing me "No disc found" when I have a disc in the drive.

robinhood2014 commented 4 years ago

As there has been no response to my last message within 3 days, is it okay if I close this issue, so as not to bog you down with unnecessary work and worry?

gnome-mpv commented 4 years ago

You can leave it open.

...but it would still be nice to fix Celluloid so that it won't have that behavior of showing me "No disc found" when I have a disc in the drive.

I'll look into this when I have time.

vijay-prema commented 1 year ago

For me, using a LG USB DVD drive, the GUI Open Disk option gives an error, as does celluloid dvd://, but celluloid /dev/sr0 works fine.