[mythtv-users] DVD iso Playback Fails After Upgrade to 0.28

Richard Hulme peper03 at yahoo.com
Mon Oct 2 12:03:50 UTC 2017


On 01/10/17 00:43, Jay Foster wrote:
> On 09/27/2017 12:26 PM, Richard Hulme wrote:
>> On 22/09/17 00:18, Jay Foster wrote:
>>>>
>>> Here is the mythfrontend log.  Nothing pops out to me.
>>
>> <snip>
>>
>>> Sep 21 15:13:54 mythbox mythfrontend.real: mythfrontend[24974]: D CoreContext tv_play.cpp:2245 (HandleStateChange) TV::HandleStateChange(): (0) -- begin
>>> Sep 21 15:13:54 mythbox mythfrontend.real: mythfrontend[24974]: I CoreContext tv_play.cpp:2275 (HandleStateChange) TV::HandleStateChange(): Attempting to change from None to WatchingVideo
>>
>> This last line pops out to me.  It means it's trying to play the image as a video, not as a DVD.  It should be "Attempting to change from None to WatchingDVD".
>>
>> If you start mythfrontend with "-v media" (or just add it to the existing parameters - "-v playback,media --loglevel=debug") you should one of:
>>
>> "Found Bluray at ..."
>> "Found DVD at ..."
>> or
>> "inspectImage - unknown"
>>
>> Basically, if you try to play an ISO the code tries to inspect the contents of the image.  If it finds a sub-directory under root called 'BDMV', it treats it as a Blu-ray image.  If it finds a directory called "VIDEO_TS", it treats it as a DVD.  Otherwise it gives up.
>>
>> Richard
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
> Here is the frontend log with the failing ISO followed by a working ISO.  You are correct that the failing one states, "Attempting to change from None to WatchingVideo", and the working one states, "Attempting to change from None to WatchingDVD".
> 
> Sep 30 15:33:00 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:378 (StartTV) TV::StartTV(): tv->Playback() -- begin
> Sep 30 15:33:00 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:2245 (HandleStateChange) TV::HandleStateChange(): (0) -- begin
> Sep 30 15:33:00 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext tv_play.cpp:2275 (HandleStateChange) TV::HandleStateChange(): Attempting to change from None to WatchingVideo

It looks like some lines are missing just before these lines.

Compare them with the logs from the "good" image:

> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: N CoreContext mythmainwindow.cpp:2951 (PauseIdleTimer) Suspending idle timer
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext mythcdrom.cpp:213 (inspectImage) Found DVD at /home2/mythtv/videos/dvd/MissionImpossible/Mission_Impossible.iso
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext DVD/dvdringbuffer.cpp:50 (DVDInfo) DVDInfo: Trying dvd:/home2/mythtv/videos/dvd/MissionImpossible/Mission_Impossible.iso
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext DVD/dvdringbuffer.cpp:76 (~DVDInfo) DVDInfo: Finishing.
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext tv_play.cpp:1092 (TV) TV::TV(): Creating TV object
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext tv_play.cpp:1111 (TV) TV::TV(): Finished creating TV object
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:332 (StartTV) TV::StartTV(): -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: N CoreContext mythmainwindow.cpp:2951 (PauseIdleTimer) Suspending idle timer
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:1240 (Init) TV::Init(): -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext tv_play.cpp:1314 (Init) TV::Init(): Created TvPlayWindow.
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:8748 (DrawUnusedRects) TV::DrawUnusedRects(): -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:8761 (DrawUnusedRects) TV::DrawUnusedRects(): -- end
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:8748 (DrawUnusedRects) TV::DrawUnusedRects(): -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:8761 (DrawUnusedRects) TV::DrawUnusedRects(): -- end
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:8748 (DrawUnusedRects) TV::DrawUnusedRects(): -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:8761 (DrawUnusedRects) TV::DrawUnusedRects(): -- end
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:1361 (Init) TV::Init(): -- end
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:378 (StartTV) TV::StartTV(): tv->Playback() -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: D CoreContext tv_play.cpp:2245 (HandleStateChange) TV::HandleStateChange(): (0) -- begin
> Sep 30 15:33:09 mythbox mythfrontend.real: mythfrontend[9849]: I CoreContext tv_play.cpp:2275 (HandleStateChange) TV::HandleStateChange(): Attempting to change from None to WatchingDVD

The "tv_play.cpp:378" line comes once it's decided what it is it's trying to play.

> Is MythTV confused by the space character in the file name?  I know this worked on 0.21, and assume on 0.27 (do not know if I ever checked).

I couldn't reproduce the problem here by using a space in a filename, although that's easy enough for you to try.  The code only looks at the end of the filename and does a case-insensitive comparison with ".iso" and ".img".

I've just looked at the code again and there is one path that wouldn't produce any output.  That is if it failed to open as a UDF image.

What does:

file "/home2/mythtv/videos/dvd/matrix/THE MATRIX.iso"

say?

You could also try:

isoinfo -p -i "/home2/mythtv/videos/dvd/matrix/THE MATRIX.iso"

That should produce something like this:

Path table starts at block 257, size 42
    1:    1 103
    2:    1 104 AUDIO_TS
    3:    1 105 VIDEO_TS


Richard

.


More information about the mythtv-users mailing list