[mythtv-users] Some DVD video will not play properly

Stephen Worthington stephen_agent at jsw.gen.nz
Thu Jul 11 06:06:55 UTC 2013


MythTV-0.26-fixes

I have run across several old DVDs that will not play properly using
Mythfrontend.  I have not bothered to look into the problem as they
play fine using mplayer, which I have set up as an alternate player in
Mythfrontend.  But my mother has now had the same problem with a
ballet DVD she wants to see, and learning to use mplayer would be very
difficult for her - she is only just able to play things with
Mythfrontend, and finds leading new technology very hard at her age.
So I would like to see if there is a way to fix it for her.

What happens is the picture is mostly black but with little bits of
picture showing, such as partial outlines of moving things, and what
looks like occasional macroblocks being displayed correctly, again
usually associated with movement.  Occasionally, a whole frame appears
to display OK.

I cut a one minute clip out of my mother's DVD that demonstrates the
problem, and I have put a copy on my web server:

  http://www.jsw.gen.nz/mythtv/Ondine_clip.mpg
  (49,498,116 bytes)

The clip plays fine with mplayer and vlc, and any player software I
have tried on my Windows PC.

I played the clip using mythavtest and logged the results:

2013-07-11 17:06:40.179089 C  mythavtest version: fixes/0.26
[v0.26.0-212-gcb02cec] www.mythtv.org
2013-07-11 17:06:40.179104 C  Qt version: compile: 4.8.1, runtime:
4.8.1
2013-07-11 17:06:40.179108 N  Enabled verbose msgs:  general
2013-07-11 17:06:40.179118 N  Setting Log Level to LOG_INFO
2013-07-11 17:06:40.179271 N  Using runtime prefix = /usr
2013-07-11 17:06:40.179279 N  Using configuration directory =
/root/.mythtv
2013-07-11 17:06:40.179385 I  Assumed character encoding: en_NZ.UTF-8
2013-07-11 17:06:40.179622 I  Added logging to the console
2013-07-11 17:06:40.179786 N  Empty LocalHostName.
2013-07-11 17:06:40.179793 I  Using localhost value of mypvr
2013-07-11 17:06:40.179832 I  Testing network connectivity to
'10.0.2.4'
2013-07-11 17:06:40.180769 I  Starting process signal handler
2013-07-11 17:06:40.180745 I  Starting process manager
2013-07-11 17:06:40.182569 I  Starting IO manager (read)
2013-07-11 17:06:40.182939 I  Starting IO manager (write)
2013-07-11 17:06:40.298202 N  Setting QT default locale to en_NZ
2013-07-11 17:06:40.298315 I  Current locale en_NZ
2013-07-11 17:06:40.298382 E  No locale defaults file for en_NZ,
skipping
2013-07-11 17:06:40.381565 I  ScreenSaverX11Private: XScreenSaver
support enabled
2013-07-11 17:06:40.382622 I  ScreenSaverX11Private: DPMS is active.
2013-07-11 17:06:40.398924 N  Desktop video mode: 1920x1080 50.000 Hz
2013-07-11 17:06:40.410430 I  Added logging to mythlogserver at
TCP:35327
2013-07-11 17:06:40.620249 N  Desktop video mode: 1920x1080 50.000 Hz
2013-07-11 17:06:40.626942 I  Using 1920x1080 50.000 Hz
2013-07-11 17:06:40.626963 I  SwitchToGUI: Switched to 1920x1080
50.000 Hz
2013-07-11 17:06:40.634849 E  LIRC: Failed to read config file
'/root/.lircrc'
2013-07-11 17:06:40.634922 E  JoystickMenuThread: Joystick disabled -
Failed to read /root/.mythtv/joystickmenurc
2013-07-11 17:06:40.689159 E  CECAdapter: Failed to find any CEC
devices.
2013-07-11 17:06:40.689205 I  CECAdapter: Closing down CEC.
2013-07-11 17:06:40.689218 I  UDPListener: Enabling
2013-07-11 17:06:40.692453 E  Failed binding to UDP 127.0.0.1:6948 -
Error 8: The bound address is already in use
2013-07-11 17:06:40.692490 E  Failed binding to UDP 10.0.2.4:6948 -
Error 8: The bound address is already in use
2013-07-11 17:06:40.694585 E  Failed binding to UDP [::1]:6948 - Error
8: The bound address is already in use
2013-07-11 17:06:40.694642 E  Failed binding to UDP
[fe80::2c0:f0ff:fe30:716e%eth1]:6948 - Error 8: The bound address is
already in use
2013-07-11 17:06:40.694717 E  Failed binding to UDP
[fe80::ca60:ff:fe15:8176%eth0]:6948 - Error 8: The bound address is
already in use
2013-07-11 17:06:40.694766 E  Failed binding to UDP
[fe80::6c6e:73ff:fe91:aefa%tap0]:6948 - Error 8: The bound address is
already in use
2013-07-11 17:06:40.694805 E  Failed binding to UDP 10.0.2.255:6948 -
Error 8: The bound address is already in use
2013-07-11 17:06:40.729616 I  Using Frameless Window
2013-07-11 17:06:40.729668 I  Using Full Screen Window
2013-07-11 17:06:40.866371 I  Using the Qt painter
2013-07-11 17:06:40.955349 I  Setup Interrupt handler
2013-07-11 17:06:40.955358 I  Setup Terminated handler
2013-07-11 17:06:40.955367 I  Setup Segmentation fault handler
2013-07-11 17:06:40.955376 I  Setup Aborted handler
2013-07-11 17:06:40.955383 I  Setup Bus error handler
2013-07-11 17:06:40.955391 I  Setup Floating point exception handler
2013-07-11 17:06:40.955399 I  Setup Illegal instruction handler
2013-07-11 17:06:40.955408 I  Setup Real-time signal 0 handler
2013-07-11 17:06:40.993705 I  Current MythTV Schema Version
(DBSchemaVer): 1307
2013-07-11 17:06:40.994302 I  TV: Creating TV object
2013-07-11 17:06:41.016837 N  Suspending idle timer
2013-07-11 17:06:41.018007 I  TV: Created TvPlayWindow.
2013-07-11 17:06:41.103718 I  MythCoreContext: Connecting to backend
server: 10.0.2.4:6543 (try 1 of 1)
2013-07-11 17:06:41.105384 I  Using protocol version 75
2013-07-11 17:06:41.109794 I  TV: Attempting to change from None to
WatchingVideo
2013-07-11 17:06:41.257265 N  AudioPlayer: Enabling Audio
2013-07-11 17:06:41.288202 I  AFD: Opened codec 0x41607c0,
id(MPEG2VIDEO) type(Video)
2013-07-11 17:06:41.288220 I  AFD: codec AC3 has 2 channels
2013-07-11 17:06:41.288851 I  AFD: Opened codec 0x4162480, id(AC3)
type(Audio)
2013-07-11 17:06:41.288958 I  AO: Opening audio device
'hw:CARD=SB,DEV=1' ch 2(2) sr 48000 sf signed 32 bit reenc 0
2013-07-11 17:06:41.290685 E  ALSA: Requested 500000us got 170666
buffer time
2013-07-11 17:06:41.290856 E  ALSA: Try to manually increase audio
buffer with: echo 192 | sudo tee
/proc/asound/card0/pcm1p/sub0/prealloc
2013-07-11 17:06:41.324681 I  Using 1920x1080 50.000 Hz
2013-07-11 17:06:41.426216 I  VDPAU: Created 2 output surfaces.
2013-07-11 17:06:41.426249 I  VDPAU: Version 1
2013-07-11 17:06:41.426261 I  VDPAU: Information NVIDIA VDPAU Driver
Shared Library  304.88  Wed Mar 27 14:49:27 PDT 2013
2013-07-11 17:06:41.426280 I  VDPAU: Created VDPAU render device
1920x1080
2013-07-11 17:06:41.456126 N  Player(0): Forcing decode extra audio
option on (Video method requires it).
2013-07-11 17:06:41.494651 I  Player(0): Video timing method: RTC
2013-07-11 17:06:41.495402 I  TV: Created player.
2013-07-11 17:06:41.495427 I  TV: Changing from None to WatchingVideo
2013-07-11 17:06:41.498616 I  TV: Main UI disabled.
2013-07-11 17:06:41.498638 I  TV: Entering main playback loop.
2013-07-11 17:06:41.517487 I  ScreenSaverX11Private: DPMS Deactivated
1
2013-07-11 17:06:41.561491 I  VDPAU: Added 2 output surfaces (total 4,
max 4)
2013-07-11 17:07:40.981146 E  decoding error
			eno: Unknown error 541478725 (541478725)
2013-07-11 17:07:41.123302 I  TV: Attempting to change from
WatchingVideo to None
2013-07-11 17:07:41.128996 W  MythPainter: 16 images not yet
de-allocated.
2013-07-11 17:07:41.129076 I  VDPAU Painter: Clearing VDPAU painter
cache.
2013-07-11 17:07:41.236683 I  Using 1920x1080 50.000 Hz
2013-07-11 17:07:41.236702 I  SwitchToGUI: Switched to 1920x1080
50.000 Hz
2013-07-11 17:07:41.261455 I  TV: Changing from WatchingVideo to None
2013-07-11 17:07:41.261484 I  TV: Exiting main playback loop.
2013-07-11 17:07:41.261774 I  ScreenSaverX11Private: DPMS Reactivated
1
2013-07-11 17:07:41.297860 N  Resuming idle timer
2013-07-11 17:07:41.309159 I  Waiting for threads to exit.



This is what mediainfo says about the clip:

General
Complete name                            : Ondine_clip.mpg
Format                                   : MPEG-PS
File size                                : 47.2 MiB
Duration                                 : 1mn 0s
Overall bit rate mode                    : Variable
Overall bit rate                         : 6 600 Kbps

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main at Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Duration                                 : 59s 980ms
Bit rate mode                            : Variable
Bit rate                                 : 6 276 Kbps
Maximum bit rate                         : 9 000 Kbps
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.605
Stream size                              : 44.9 MiB (95%)
Color primaries                          : BT.470-2 System B, BT.470-2
System G
Transfer characteristics                 : BT.470-2 System B, BT.470-2
System G
Matrix coefficients                      : BT.470-2 System B, BT.470-2
System G

Audio
ID                                       : 189 (0xBD)-128 (0x80)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Muxing mode                              : DVD-Video
Duration                                 : 1mn 0s
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 1.37 MiB (3%)


There is one error message in the mythavtest log:

2013-07-11 17:07:40.981146 E  decoding error
			eno: Unknown error 541478725 (541478725)

Does anyone know what this means?  Or have any ideas what the problem
might be?

I have noticed only one consistent thing about the video files that
will not play, and that is that mediainfo says they are all interlaced
with top field first, and they all report settings for the "Color
primaries", "Transfer characteristics" and "Matrix coefficients". Some
have NTSC settings, and some have PAL ones like above.  However, I
have other DVDs that report those things also but play just fine.


More information about the mythtv-users mailing list