[mythtv] internal DVD and viaXvMC

mrvanes at gmail.com mrvanes at gmail.com
Thu Dec 28 10:40:59 UTC 2006


Hi,

Caught up with SVN since very long and played around with the internal DVD player (nice!).
I have a couple of thingies that I wonder are bug-report-worthy?

Environment: Via-EPIA M6000, using yesterday's Openchrome libviaXvMC svn and via_drv.

1. Some subtitles have a 1 pixel noise row below them (saw this posted before).

2. I own at least one DVD that renders awful when played using 'viaXvMC', using
'standard' it renders perfectly. So I hear you thinking: go bother Openchrome
developers. I would, if not for the fact that Xine renders this DVD flawless
using -V xxmc.

The 'awful' is best described as 'MPEG artefacts to the max'.
The video is mostly green and I clearly see mpeg block structure.
It is however remotely  recognisable as the video that it's supposed to be.

The big problem of course is, how do I get this DVD, or relevant material to a developer
so that the problem might be reproduced? It's not a DVD likely rentable anywhere
(cheap kids DVD).

3. CPU usage under xine (xxmc) is around 20%, in MythDVD this is 30%-40% (both with subtitles on)
and playback in MythDVD isn't as smooth as in Xine (especially when using subtitles). 

4. MythDVD doesn't seem to play all material with XVMC, which results in high CPU load and
stuttering (audio buffer underruns). Xine does (?), or at least copes with the non-main-feature
material smoothly.

This is a log of mythfrontend (-v playback,audio,important,general,libav) playing Ice Age 2:
(This is not the problem DVD I mentioned before in issue 2)

2006-12-28 11:00:43.968 Current Schema Version: 1173
2006-12-28 11:00:43.969 mythfrontend version: 0.20.20061213-1 www.mythtv.org
2006-12-28 11:00:43.970 Enabled verbose msgs: important general libav
2006-12-28 11:00:46.516 Total desktop dim: 960x600, with 1 screen[s].
2006-12-28 11:00:46.520 Using screen 0, 960x600 at 0,0
2006-12-28 11:00:46.526 Switching to square mode (blue)
2006-12-28 11:00:46.873 Using the OpenGL painter
2006-12-28 11:00:47.991 Loading from: /usr/share/mythtv/themes/default/base.xml
2006-12-28 11:00:49.158 Registering Internal as a media playback plugin.
2006-12-28 11:00:49.369 Registering MythDVD DVD Media Handler as a media handler ext()
2006-12-28 11:00:49.374 Registering MythDVD VCD Media Handler as a media handler ext()
2006-12-28 11:00:49.546 Registering MythGallery Media Handler 1/2 as a media handler ext()
2006-12-28 11:00:49.548 Registering MythGallery Media Handler 2/2 as a media handler ext(gif,jpg,png)
Failed to run 'cdrecord --scanbus'
Failed to run 'cdrecord --scanbus'
2006-12-28 11:00:53.184 Registering MythMusic Media Handler 1/2 as a media handler ext()
2006-12-28 11:00:53.186 Registering MythMusic Media Handler 2/2 as a media handler ext(ogg,mp3,aac,flac)
QDate::fromString: Parameter out of range
2006-12-28 11:01:13.539 New DB connection, total: 2
2006-12-28 11:01:13.571 Connected to database 'mythconverg' at host: pandora
2006-12-28 11:01:13.684 TV: Attempting to change from None to WatchingPreRecorded
libdvdnav: Using dvdnav version 0.1.10-xine from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdnav: DVD Title: ICE_AGE_2_SE_D1
libdvdnav: DVD Serial Number: 3542547A
libdvdnav: DVD Title (Alternative): ICE_AGE_2_SE_D1
libdvdnav: Unable to find map file '/root/.dvdnav/ICE_AGE_2_SE_D1.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

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

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00084af0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000a3da4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000adecd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00347665
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00351a7a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00351b09
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00351b3f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003541b1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00378ee3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0037c807
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00384aa0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003883f9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003932dd
libdvdread: Elapsed time 0
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 0
2006-12-28 11:01:17.132 Opened DVD device at //dev/dvd
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
2006-12-28 11:01:17.290 There are 15 titles on the disk
2006-12-28 11:01:17.290 Title 0 has 0 parts.
2006-12-28 11:01:17.291 Title 1 has 24 parts.
2006-12-28 11:01:17.291 Title 2 has 3 parts.
2006-12-28 11:01:17.292 Title 3 has 3 parts.
2006-12-28 11:01:17.292 Title 4 has 2 parts.
2006-12-28 11:01:17.292 Title 5 has 3 parts.
2006-12-28 11:01:17.293 Title 6 has 2 parts.
2006-12-28 11:01:17.293 Title 7 has 2 parts.
2006-12-28 11:01:17.294 Title 8 has 3 parts.
2006-12-28 11:01:17.294 Title 9 has 3 parts.
2006-12-28 11:01:17.294 Title 10 has 3 parts.
2006-12-28 11:01:17.295 Title 11 has 28 parts.
2006-12-28 11:01:17.295 Title 12 has 28 parts.
2006-12-28 11:01:17.295 Title 13 has 2 parts.
2006-12-28 11:01:17.296 Title 14 has 2 parts.
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
2006-12-28 11:01:17.320 DPMS Deactivated 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
2006-12-28 11:01:17.597 AFD: Opened codec 0x9288900, id(MPEG2VIDEO) type(Video)
2006-12-28 11:01:17.598 NVP: Disabling Audio, params(-1,-1,-1)
2006-12-28 11:01:17.599 NVP: Disabling Audio, params(0,-1,-1)
Input #0, mpeg, from '//dev/dvd':
  Duration: N/A, bitrate: N/A
  Stream #0.0[0x1e0], 1/90000: Video: mpeg2video, yuv420p, 720x576, 1/25, 9800 kb/s, 25.00 fps(c)
2006-12-28 11:01:17.684 VideoOutputXv: XvMCTex: Init failed
2006-12-28 11:01:17.686 VideoOutputXv: XVideo Adaptor Name: 'XV_SWOV'
2006-12-28 11:01:20.371 TV: Changing from None to WatchingPreRecorded
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
2006-12-28 11:01:20.551 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO) type (Video) already open.
2006-12-28 11:01:20.551 AFD: Opened codec 0x9f097b0, id(DVD_SUBTITLE) type(Subtitle)
2006-12-28 11:01:20.556 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO) type (Video) already open.
2006-12-28 11:01:20.557 AFD: Opened codec 0x9f07fc0, id(DVD_SUBTITLE) type(Subtitle)
2006-12-28 11:01:20.578 Video timing method: DRM
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  

[ This is where the "downloading is stealing" opening title starts ]

2006-12-28 11:02:26.559 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO) type (Video) already open.
2006-12-28 11:02:26.566 AFD: Opened codec 0x9f22f30, id(AC3) type(Audio)
2006-12-28 11:02:26.611 Opening ALSA audio device 'default'.
2006-12-28 11:02:27.143 NVP: Enabling Audio
2006-12-28 11:02:28.281 WriteAudio: buffer underrun

[ repeat lots of WriteAudio: buffer underrun ]

2006-12-28 11:03:31.961 WriteAudio: buffer underrun
2006-12-28 11:03:32.995 WriteAudio: buffer underrun

[ This is where the first 20th century fox logo begins ]

libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
2006-12-28 11:03:39.232 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:03:43.023 WriteAudio: buffer underrun
2006-12-28 11:03:43.905 WriteAudio: buffer underrun

[ repeat: WriteAudio: buffer underrun ]

2006-12-28 11:04:13.679 WriteAudio: buffer underrun

[ This is where the main feature begins ]

libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available:  
2006-12-28 11:04:15.091 NVP: prebuffering pause
2006-12-28 11:04:15.230 VideoOutputXv: XvMCTex: Init failed
2006-12-28 11:04:15.246 VideoOutputXv: XvMC Adaptor Name: 'XV_SWOV'
2006-12-28 11:04:16.390 AFD: Opened codec 0x9288900, id(MPEG2VIDEO_XVMC_VLD) type(Video)
2006-12-28 11:04:16.391 AFD: Opened codec 0x9f097b0, id(DVD_SUBTITLE) type(Subtitle)
2006-12-28 11:04:16.391 AFD: Opened codec 0x9f07fc0, id(DVD_SUBTITLE) type(Subtitle)
2006-12-28 11:04:16.397 AFD: Opened codec 0x9f22f30, id(AC3) type(Audio)
2006-12-28 11:04:16.398 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.429 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:16.430 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.443 AFD: Opened codec 0x9f1b220, id(DTS) type(Audio)
[mpeg @ 0xb76bd7f0]Parser not found for Codec Id: 86021 !
2006-12-28 11:04:16.452 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:16.453 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.454 AFD: Warning, audio codec 0x9f1b220 id(DTS) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.459 AFD: Opened codec 0x933c570, id(AC3) type(Audio)
2006-12-28 11:04:16.460 NVP: Disabling Audio, params(0,0,0)
2006-12-28 11:04:16.470 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:16.470 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.471 AFD: Warning, audio codec 0x9f1b220 id(DTS) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.471 AFD: Warning, audio codec 0x933c570 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.477 AFD: Opened codec 0x9fcd690, id(AC3) type(Audio)
2006-12-28 11:04:16.484 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:16.485 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.485 AFD: Warning, audio codec 0x9f1b220 id(DTS) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.486 AFD: Warning, audio codec 0x933c570 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.486 AFD: Warning, audio codec 0x9fcd690 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.492 AFD: Opened codec 0x933c8d0, id(AC3) type(Audio)
2006-12-28 11:04:16.502 Opening ALSA audio device 'default'.
2006-12-28 11:04:16.516 NVP: Enabling Audio
2006-12-28 11:04:16.523 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:16.524 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.524 AFD: Warning, audio codec 0x9f1b220 id(DTS) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.524 AFD: Warning, audio codec 0x933c570 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.525 AFD: Warning, audio codec 0x9fcd690 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.525 AFD: Warning, audio codec 0x933c8d0 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:16.531 AFD: Opened codec 0xa02c5a0, id(AC3) type(Audio)
2006-12-28 11:04:16.663 NVP: prebuffering pause
2006-12-28 11:04:16.679 NVP: prebuffering pause
2006-12-28 11:04:18.611 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:18.612 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:18.612 AFD: Warning, audio codec 0x9f1b220 id(DTS) type (Audio) already open, leaving it alone.
2006-12-28 11:04:18.612 AFD: Warning, audio codec 0x933c570 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:18.613 AFD: Warning, audio codec 0x9fcd690 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:18.613 AFD: Warning, audio codec 0x933c8d0 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:18.614 AFD: Warning, audio codec 0xa02c5a0 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:18.614 AFD: Opened codec 0xa043930, id(DVD_SUBTITLE) type(Subtitle)
2006-12-28 11:04:38.653 AFD: Warning, video codec 0x9288900 id(MPEG2VIDEO_XVMC_VLD) type (Video) already open.
2006-12-28 11:04:38.654 AFD: Warning, audio codec 0x9f22f30 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:38.654 AFD: Warning, audio codec 0x9f1b220 id(DTS) type (Audio) already open, leaving it alone.
2006-12-28 11:04:38.654 AFD: Warning, audio codec 0x933c570 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:38.655 AFD: Warning, audio codec 0x9fcd690 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:38.655 AFD: Warning, audio codec 0x933c8d0 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:38.656 AFD: Warning, audio codec 0xa02c5a0 id(AC3) type (Audio) already open, leaving it alone.
2006-12-28 11:04:38.656 AFD: Opened codec 0xa04e5f0, id(DVD_SUBTITLE) type(Subtitle)

[ Here I switch on dutch subtitles, minor hickup ]

2006-12-28 11:07:28.134 WriteAudio: buffer underrun
2006-12-28 11:07:45.933 WriteAudio: buffer underrun
2006-12-28 11:07:46.734 WriteAudio: buffer underrun
2006-12-28 11:07:47.599 NVP: prebuffering pause
2006-12-28 11:07:47.606 WriteAudio: buffer underrun
2006-12-28 11:07:47.626 NVP: prebuffering pause
2006-12-28 11:07:47.669 NVP: prebuffering pause
2006-12-28 11:07:47.949 NVP: prebuffering pause
2006-12-28 11:09:03.596 WriteAudio: buffer underrun

[ End watching DVD, stop mythfrontend ]

2006-12-28 11:10:27.890 Marking recording as unwatched
2006-12-28 11:10:27.891 TV: Attempting to change from WatchingPreRecorded to None
2006-12-28 11:10:28.350 TV: Changing from WatchingPreRecorded to None
2006-12-28 11:10:29.415 DPMS Reactivated.
2006-12-28 11:11:32.046 Connecting to backend server: 192.168.1.4:6543 (try 1 of 5)
2006-12-28 11:11:32.163 Using protocol version 32



Hope this helps...

Grts,
Martin


More information about the mythtv-dev mailing list