[mythtv-users] playing bluray

Neil Cooper neilcoo at yahoo.co.uk
Mon Dec 27 00:09:09 UTC 2010


see inline comments

--- On Sun, 12/26/10, Jean-Yves Avenard <jyavenard at gmail.com> wrote:

> From: Jean-Yves Avenard <jyavenard at gmail.com>
> Subject: Re: [mythtv-users] playing bluray
> To: "Discussion about MythTV" <mythtv-users at mythtv.org>
> Date: Sunday, December 26, 2010, 3:26 PM
> On 27 December 2010 01:42, Neil
> Cooper <neilcoo at yahoo.co.uk>
> wrote:
> > very sure.
> 
> The default in mythbuntu is to mount the device on
> /dev/cdrom0 (check
> /proc/mounts). All other locations (/dev/dvd, /dev/cdrom
> etc..) are
> only symlinks to the main mount point.

It sounds like you are confusing device nodes and mount points. I'm not using mythbuntu but I'd still be VERY surprised if mythbuntu puts its mountpoints in the dev directory. mythavtest seems to require a mountpoint (mounted filesystem) as a parameter not a device node.

I am using ubuntu (10.10) as my base OS, not mythbuntu. Ubuntu automounts media. With a disk in the drive the /media folder has a single entry ( /media/<volume label> ). With no disk in the drive my /media folder is totally empty. There is no /media/cdrom0 for example.

I do have a device node (/dev/cdrom) which is a symbolic link to /dev/sr0 but I can see just by running mount with no options or with 'cat /proc/mounts' that the /media/<volume name> filesystem is mounted on the /dev/sr0 device not the /dev/cdrom device.

Just to eliminate the possibility that the problem was somehow because the disk was automounted or that cdrom0 was a 'magic' name, I made a /mnt/cdrom0 directory and manually umounted/remounted /dev/sr0 on it. I still got exactly the same error messages in the output when running mythavtest bd://mnt/cdrom0 (missing A/V decoder).

I also tried a different blu-ray movie in case Blade Runner specifically had some unusual encoding scheme, but my "Layer Cake" disk gave me the same error.

> for BD playback to work, AACS needs to get the key for
> your
> drive/disk, and to do so, it must use the original mounting
> point.

You can see from the output I already provided that it reports it found the key OK.

> So again, how sure are you ? :)

quite sure, but still mystified. I'm starting to guess/wonder if mythbuntu comes with some codec installed that the internal player uses for blu-ray (and which it calls an A/V decoder), which is still missing if you install mythtv and all the w64 and non-free codec packages on vanilla ubuntu.

Just for completeness I've included the output from mythavtest below, this time from explicitly umounting/mounting /dev/sr0 /mnt/cdrom0 first and using my "Layer Cake" Blu-Ray disk. Still fails with the same "missing A/V decoder" problem as ever though:


2010-12-26 16:33:32.044 Using runtime prefix = /usr
2010-12-26 16:33:32.044 Using configuration directory = /home/n/.mythtv
2010-12-26 16:33:32.045 Empty LocalHostName.
2010-12-26 16:33:32.045 Using localhost value of MythBox
2010-12-26 16:33:32.065 New DB connection, total: 1
2010-12-26 16:33:32.066 Connected to database 'mythconverg' at host: localhost
2010-12-26 16:33:32.070 Closing DB connection named 'DBManager0'
2010-12-26 16:33:32.070 Connected to database 'mythconverg' at host: localhost
2010-12-26 16:33:32.071 Current locale EN_US
2010-12-26 16:33:32.071 Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2010-12-26 16:33:32.277 ScreenSaverX11Private: Gnome screen saver support enabled
2010-12-26 16:33:32.278 DPMS is active.
2010-12-26 16:33:32.289 Desktop video mode: 1920x1080 60.000 Hz
2010-12-26 16:33:32.300 max_width: 1920 max_height: 1080
2010-12-26 16:33:32.302 Desktop video mode: 1920x1080 60.000 Hz
2010-12-26 16:33:32.305 max_width: 1920 max_height: 1080
2010-12-26 16:33:32.305 Trying 1920x1080 0.000 Hz
2010-12-26 16:33:32.305 Dynamic TwinView rate found, set 5.33591e-321Hz as XRandR 0
2010-12-26 16:33:32.316 SwitchToGUI: Switched to 1920x1080 0.000 Hz
2010-12-26 16:33:32.320 LIRC: Successfully initialized '/dev/lircd' using '/home/n/.mythtv/lircrc' config
2010-12-26 16:33:32.320 JoystickMenuThread: Joystick disabled - Failed to read /home/n/.mythtv/joystickmenurc
2010-12-26 16:33:32.341 Using Frameless Window
2010-12-26 16:33:32.342 Using Full Screen Window
2010-12-26 16:33:32.555 Using the OpenGL painter
2010-12-26 16:33:32.599 OpenGL: OpenGL vendor  : NVIDIA Corporation
2010-12-26 16:33:32.599 OpenGL: OpenGL renderer: GeForce 9400/PCI/SSE2
2010-12-26 16:33:32.599 OpenGL: OpenGL version : 3.3.0 NVIDIA 260.19.06
2010-12-26 16:33:32.599 OpenGL: Max texture size: 8192 x 8192
2010-12-26 16:33:32.599 OpenGL: Max texture units: 4
2010-12-26 16:33:32.599 OpenGL: Direct rendering: Yes
2010-12-26 16:33:32.599 OpenGL: Initialised MythRenderOpenGL
2010-12-26 16:33:32.730 Current MythTV Schema Version (DBSchemaVer): 1264
2010-12-26 16:33:32.731 TV: ctor -- begin
2010-12-26 16:33:32.731 TV: ctor -- end
2010-12-26 16:33:32.731 TV: Init -- begin
2010-12-26 16:33:32.738 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:32.738 TV: DrawUnusedRects() -- end
2010-12-26 16:33:32.859 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:32.859 TV: DrawUnusedRects() -- end
2010-12-26 16:33:32.860 TV: Init -- end
2010-12-26 16:33:32.860 TV: StartTV() -- begin
2010-12-26 16:33:32.860 TV: ctor -- begin
2010-12-26 16:33:32.863 TV: ctor -- end
2010-12-26 16:33:32.863 TV: Init -- begin
2010-12-26 16:33:32.864 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:32.864 TV: DrawUnusedRects() -- end
2010-12-26 16:33:32.864 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:32.864 TV: DrawUnusedRects() -- end
2010-12-26 16:33:32.920 TV: Init -- end
2010-12-26 16:33:32.922 MythCoreContext: Connecting to backend server: 192.168.0.110:6543 (try 1 of 1)
2010-12-26 16:33:32.923 Using protocol version 63
2010-12-26 16:33:33.063 TV: tv->Playback() -- begin
2010-12-26 16:33:33.064 TV: tv->Playback() -- end
2010-12-26 16:33:33.064 TV: StartTV -- process events begin
2010-12-26 16:33:33.065 TV: HandleStateChange(0) -- begin
2010-12-26 16:33:33.065 TV: Attempting to change from None to WatchingBD
2010-12-26 16:33:33.065 RingBuf(bd://mnt/cdrom0/): OpenFile(bd://mnt/cdrom0/, 2000 ms)
2010-12-26 16:33:33.081 OpenFile() trying BD at /mnt/cdrom0/
2010-12-26 16:33:33.081 BDRingBuffer: Opened BDRingBuffer device at /mnt/cdrom0/
2010-12-26 16:33:33.087 BDRingBuffer: Using /home/n/.mythtv/KEYDB.cfg as keyfile...
2010-12-26 16:33:33.088 BDRingBuffer: Found 39 relevant titles.
2010-12-26 16:33:33.099 BDRingBuffer: Selected title: index 37. Duration: 569083514 (105 mins) Number of Chapters: 16 Number of Angles: 1
2010-12-26 16:33:33.099 BDRingBuffer: Frame Rate: 23.97
2010-12-26 16:33:33.099 BDRingBuffer: Chapter 01 found @ [00:00:00.000]->0
2010-12-26 16:33:33.099 BDRingBuffer: Chapter 02 found @ [00:15:34.000]->22400
2010-12-26 16:33:33.099 BDRingBuffer: Chapter 03 found @ [00:22:21.000]->32160
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 04 found @ [00:29:57.000]->43093
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 05 found @ [00:33:15.000]->47827
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 06 found @ [00:37:27.000]->53880
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 07 found @ [00:42:35.000]->61263
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 08 found @ [00:46:04.000]->66269
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 09 found @ [00:50:17.000]->72330
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 10 found @ [00:59:10.000]->85095
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 11 found @ [01:04:54.000]->93354
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 12 found @ [01:12:06.000]->103711
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 13 found @ [01:17:17.000]->111164
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 14 found @ [01:21:43.000]->117546
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 15 found @ [01:28:46.000]->127671
2010-12-26 16:33:33.100 BDRingBuffer: Chapter 16 found @ [01:31:40.000]->131836
2010-12-26 16:33:33.106 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:33.106 TV: DrawUnusedRects() -- end
2010-12-26 16:33:33.106 TV: StartPlayer(0, WatchingBD, main) -- begin
2010-12-26 16:33:33.106 TV: Elapsed time since TV constructor was called: 246 ms
2010-12-26 16:33:33.516 Player(0), Error: Couldn't find an A/V decoder for: '/mnt/cdrom0/'
2010-12-26 16:33:33.516 Unable to open video file.
2010-12-26 16:33:53.539 playCtx, Error: StartPlaying() Failed to start player
2010-12-26 16:33:53.539 Player(0): StopPlaying - begin
2010-12-26 16:33:53.539 Player(0): Exited decoder loop.
2010-12-26 16:33:53.540 Player(0): StopPlaying - end
2010-12-26 16:33:53.540 TV: StartPlayer(0, WatchingBD, main) -- end error
2010-12-26 16:33:53.540 TV: HandleStateChange(0) -- end
2010-12-26 16:33:53.540 TV: StartTV -- process events end
2010-12-26 16:33:53.540 TV: StartTV -- process events 2 begin
2010-12-26 16:33:53.579 ScreenSaverX11Private: DPMS Deactivated 1
2010-12-26 16:33:53.579 ScreenSaverX11Private: ResetTimer -- begin
2010-12-26 16:33:53.579 ScreenSaverX11Private: StopTimer
2010-12-26 16:33:53.580 ScreenSaverX11Private: StartTimer
2010-12-26 16:33:53.580 ScreenSaverX11Private: ResetTimer -- end
2010-12-26 16:33:53.580 TV: StartTV -- process events 2 end
2010-12-26 16:33:53.580 TV::~TV() -- begin
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- end
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- end
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- end
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- begin
2010-12-26 16:33:53.580 TV: DrawUnusedRects() -- end
2010-12-26 16:33:53.590 TV::~TV() -- lock
2010-12-26 16:33:53.591 Player(0): StopPlaying - begin
2010-12-26 16:33:53.591 Player(0): Exited decoder loop.
2010-12-26 16:33:53.591 Player(0): StopPlaying - end
2010-12-26 16:33:53.592 TV::~TV() -- end
2010-12-26 16:33:53.592 TV: StartTV -- end
2010-12-26 16:33:53.593 ScreenSaverX11Private: DPMS Reactivated 1
2010-12-26 16:33:53.594 ScreenSaverX11Private: StopTimer
2010-12-26 16:33:53.594 Trying 1920x1080 60.000 Hz
2010-12-26 16:33:53.594 Dynamic TwinView rate found, set 60Hz as XRandR 50
2010-12-26 16:33:53.594 SwitchToGUI: Switched to 1920x1080 60.000 Hz






      


More information about the mythtv-users mailing list