[mythtv-users] dvd iso playback problem

Dan Littlejohn dan.littlejohn at gmail.com
Sun Apr 28 18:49:29 UTC 2013


On Sat, Apr 27, 2013 at 4:56 PM, Neil Salstrom <salstrom at gmail.com> wrote:

> On Sat, Apr 27, 2013 at 1:43 PM, Dan Littlejohn <dan.littlejohn at gmail.com>wrote:
>
>> Just upgraded to .0.26 (p20130322) and am having an odd studdering /
>> audio issue with myth playing dvd isos.  tv recordings, avi, mpeg2, and
>> bluray recordings all play fine and if I use xine to play the dvd isos they
>> also plays fine.
>>
>> On gentoo 3.7.10 kernel using a 430 nvidia card with the nvidia 313.30
>> driver.  The problem does not change when changing the video renderer from
>> vdpau, to normal, to opengl.  Using optical out and it seems like the
>> problem is related to something audio (using alsa 1.0.26-r1).  In myth, I
>> have audio set to (alsa:ie958:card=pch,dev=0).
>>
>> The dvd isos are decrypted.  However, they are also available local to
>> the frontend on nfs although I am unsure if there is a setting to force
>> them to use this.
>>
>> I have been through the logs and not sure why it seems to be alternating
>> like this between no channels and 6 channels.
>>
>> Anyone have a tip to what else to check?
>>
>> Dan
>>
>>
> I fought this for quite a while before I figured out the solution!  My
> long sad story is here:
>
> http://www.gossamer-threads.com/lists/mythtv/users/539467
>
> For the short version, it turned out to be the new default mtu value in
> the 3.7+ kernel.
>
> I added this to my rc.local file:
>
> ifconfig lo mtu 16436
>
> Let me know if this helps!
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
Hi Neil:

Yes, that was the problem.  My conf is slightly different since I am
running Gentoo so here is what I changed if it helps anyone else

file
/etc/conf.d/net

added
mtu_lo="16436"

Reading the thread I see that it would work all the way up to 32872 .  Is
there a reason you stayed with 16k and not something like 32768?

Some additional info is that I am able to play dvd isos using xine with a
64k mtu without issue and also could play bluray isos in myth without
issue.  Seems like something in the myth code for playing dvd isos has a
problem or may have changed.

Now most of my dvd isos will play, I still have 1/2 dozen that won't
although the failure is different (these play fine in xine).  I wonder if
it is related.  This is the log from trying to play one of those (with the
loopback MTU set to 16k)

2013-04-28 13:33:01.440830 E [2698/2698] CoreContext
DVD/dvdringbuffer.cpp:430 (GetChapterTimes) - DVDRB: Failed to retrieve
chapter data
2013-04-28 13:33:01.767523 N [2698/2698] CoreContext audioplayer.cpp:167
(ReinitAudio) - AudioPlayer: Enabling Audio
2013-04-28 13:33:01.946049 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb31ffe0,
id(MPEG2VIDEO) type(Video)
2013-04-28 13:33:01.946062 I [2698/2698] CoreContext
avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 6 channels
2013-04-28 13:33:01.948021 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb2de500,
id(AC3) type(Audio)
2013-04-28 13:33:01.948060 I [2698/2698] CoreContext
avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 6 channels
2013-04-28 13:33:01.948337 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb4a0800,
id(AC3) type(Audio)
2013-04-28 13:33:01.948350 I [2698/2698] CoreContext
avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels
2013-04-28 13:33:01.948624 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb7c7960,
id(AC3) type(Audio)
2013-04-28 13:33:01.948637 I [2698/2698] CoreContext
avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels
2013-04-28 13:33:01.948924 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb7d7ec0,
id(AC3) type(Audio)
2013-04-28 13:33:01.948936 I [2698/2698] CoreContext
avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels
2013-04-28 13:33:01.949209 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb6fcc20,
id(AC3) type(Audio)
2013-04-28 13:33:01.949223 I [2698/2698] CoreContext
avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels
2013-04-28 13:33:01.949493 I [2698/2698] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb7cffa0,
id(AC3) type(Audio)
2013-04-28 13:33:01.950080 I [2698/2698] CoreContext
audio/audiooutputbase.cpp:791 (Reconfigure) - AO: Opening audio device
'iec958:CARD=PCH,DEV=0' ch 2(6) sr 48000 sf signed 16 bit reenc 0
2013-04-28 13:33:01.962201 I [2698/2698] CoreContext
DVD/dvdringbuffer.cpp:381 (StartFromBeginning) - DVDRB: Resetting DVD
device.
2013-04-28 13:33:01.970193 N [2698/2698] CoreContext
avformatdecoder.cpp:783 (SetEof) - AFD: Resetting byte context eof (livetv
0 was eof 0)
2013-04-28 13:33:02.032723 I [2698/2698] CoreContext mythpainter_ogl.cpp:62
(ClearCache) - Clearing OpenGL painter cache.
2013-04-28 13:33:03.610734 I [2698/2698] CoreContext
mythrender_vdpau.cpp:1682 (CreatePresentationSurfaces) - VDPAU: Created 2
output surfaces.
2013-04-28 13:33:03.612258 I [2698/2698] CoreContext
mythrender_vdpau.cpp:1716 (CheckHardwareSupport) - VDPAU: Version 1
2013-04-28 13:33:03.612267 I [2698/2698] CoreContext
mythrender_vdpau.cpp:1723 (CheckHardwareSupport) - VDPAU: Information
NVIDIA VDPAU Driver Shared Library  313.30  Wed Mar 27 16:46:58 PDT 2013
2013-04-28 13:33:03.612281 I [2698/2698] CoreContext
mythrender_vdpau.cpp:402 (Create) - VDPAU: Created VDPAU render device
1920x1080
2013-04-28 13:33:03.629022 N [2698/2698] CoreContext mythplayer.cpp:519
(CheckExtraAudioDecode) - Player(0): Forcing decode extra audio option on
(Video method requires it).
2013-04-28 13:33:03.761165 I [2698/2698] CoreContext mythplayer.cpp:1752
(InitAVSync) - Player(0): Video timing method: USleep with busy wait
2013-04-28 13:33:03.761663 I [2698/2698] CoreContext tv_play.cpp:5240
(StartPlayer) - TV: Created player.
2013-04-28 13:33:03.765665 E [2698/2894] Decoder DVD/dvdringbuffer.cpp:521
(safe_read) - DVDRB: Failed to read block: Error reading NAV packet.
2013-04-28 13:33:03.765706 E [2698/2894] Decoder DVD/dvdringbuffer.cpp:521
(safe_read) - DVDRB: Failed to read block: Error reading NAV packet.
2013-04-28 13:33:03.765730 E [2698/2894] Decoder DVD/dvdringbuffer.cpp:521
(safe_read) - DVDRB: Failed to read block: Error reading NAV packet.
2013-04-28 13:33:03.765767 E [2698/2894] Decoder avformatdecoder.cpp:4559
(GetFrame) - decoding error
                        eno: Unknown error 541478725 (541478725)
2013-04-28 13:33:03.795042 I [2698/2698] CoreContext tv_play.cpp:2485
(HandleStateChange) - TV: Main UI disabled.
2013-04-28 13:33:03.795054 I [2698/2698] CoreContext tv_play.cpp:403
(StartTV) - TV: Entering main playback loop.
2013-04-28 13:33:03.902342 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 103ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.004885 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 205ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.107068 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 308ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.209144 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 410ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.311072 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 512ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.413038 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 614ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.514971 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 715ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.616925 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 817ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.718933 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 919ms for video buffers
AAAAAAAAAAAAAA
...
2013-04-28 13:33:04.821076 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 1022ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:04.923278 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 1124ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:05.025455 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 1226ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:08.500166 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 4701ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:08.602405 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 4803ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:08.704567 N [2698/2698] CoreContext mythplayer.cpp:2093
(PrebufferEnoughFrames) - Player(0): Waited 4905ms for video buffers
AAAAAAAAAAAAAA
2013-04-28 13:33:08.766947 I [2698/2698] CoreContext tv_play.cpp:2155
(HandleStateChange) - TV: Attempting to change from WatchingDVD to None
2013-04-28 13:33:08.770842 W [2698/2698] CoreContext mythpainter.cpp:34
(Teardown) - MythPainter: 25 images not yet de-allocated.
2013-04-28 13:33:08.770872 I [2698/2698] CoreContext
mythpainter_vdpau.cpp:108 (ClearCache) - VDPAU Painter: Clearing VDPAU
painter cache.
2013-04-28 13:33:08.826691 I [2698/2698] CoreContext tv_play.cpp:2394
(HandleStateChange) - TV: Changing from WatchingDVD to None

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130428/1af5d573/attachment-0001.html>


More information about the mythtv-users mailing list