Can't play recorded TV files

Discussion in 'Television (MyTV frontend and TV-Server)' started by thekiwi, September 15, 2013.

  1. thekiwi
    • Premium Supporter

    thekiwi MP Donator

    Joined:
    January 26, 2007
    Messages:
    287
    Likes Received:
    14
    Gender:
    Male
    Occupation:
    IT Consultant
    Location:
    Gisborne
    Ratings:
    +16 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Got a very weird problem playing "SOME" recorded TV files in Recorded TV



    * Cant confirm, but appears those which are a "series" cant be played as opposed to one off recordinsg? Ive got the defaults for naming, btu maybe they are too long?
    * Live TV plays perfectly OK. I can even view the live channel whilst the recording is being made. Cant play the recording afterwards, from live point or from beginning
    * If I go to My Videos, and Ive got a link to my DVB Recordings, I can play the recordings OK.
    * If I do a "one off" recording can play it straight away as well as later.

    Ive attached debug files
     
    Last edited: September 15, 2013
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. thekiwi
    • Premium Supporter

    thekiwi MP Donator

    Joined:
    January 26, 2007
    Messages:
    287
    Likes Received:
    14
    Gender:
    Male
    Occupation:
    IT Consultant
    Location:
    Gisborne
    Ratings:
    +16 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Confirmed, that whenever I try and play a recording which is part of a "scheduled series - eg once everyt week, or some time every day) it cant be played by "My Recordings". If I do a one off recording (eg just a sinlge movie) it can be played OK.

    The files themselves are OK, as all can be played directly from their respective folders.
     
  4. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    Are you certain it is any series?
    If you hadn't said any I'd have suspected the apostrophe (') in "America's Cup" is the issue...
     
  5. thekiwi
    • Premium Supporter

    thekiwi MP Donator

    Joined:
    January 26, 2007
    Messages:
    287
    Likes Received:
    14
    Gender:
    Male
    Occupation:
    IT Consultant
    Location:
    Gisborne
    Ratings:
    +16 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Yea that's what I thought as well when I first noticed it, however series recordings for our "One News" doesnt play, and as a test I did a simple Kids programme which just had one word, and it too didnt work.

    To confirm further have just done the following:
    Did a "every day" recording for "Two and a Half Men".
    Recording started, went into Recorded TV, file displays OK, click play and it pops up that the file cant be played.
    Stopped the recording.
    Went back to the Guide, and recorded it as a One Off.
    Go back to Recorded TV, now two files show with the current one actively recording ... and it plays fine.

    The only difference between the two files is their location, the one off recording is at
    E:\Mediaportal\Recordings\Two And A Half Men - TV2 - 2013-09-16.ts

    whilst the series based recording is at
    E:\Mediaportal\Recordings\TV2\Two And A Half Men\Two And A Half Men - 2013-09-16 - S1014441 - E331964.ts

    As mentioned these are just vthe defaults, but maybe the filename and folder setup is just too long for Mediaportal.
     
    Last edited: September 16, 2013
  6. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    Well, if you look at the previous logs that you posted, the reason for the no-play seems to be either that TS reader is failing to play the file (but there is no TsReader log... which is confusing me a bit) or that MediaInfo is failing to properly read the file details:

    Show Spoiler

    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : \\MEDIASERVER\DVB Recordings\Breakfast America's Cup Special\Breakfast America's Cup Special - 2013-09-16 - S1017592 - E10315506.ts
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Parse speed : 0.3
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: FrameRate : 0
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Width : 0
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Height : 0
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: AspectRatio : widescreen
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: VideoCodec : [ ".png" ]
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Scan type :
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: IsInterlaced : False
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: VideoResolution : SD
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration : 0
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: AudioRate : 0
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: AudioChannels : 0 [ "0.png" ]
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: AudioCodec : [ ".png" ]
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: HasAudio : False
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: HasVideo : False
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: HasSubtitles : False
    [2013-09-16 06:43:09,563] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: NumSubtitles : 0


    This could be share/location related.
     
  7. thekiwi
    • Premium Supporter

    thekiwi MP Donator

    Joined:
    January 26, 2007
    Messages:
    287
    Likes Received:
    14
    Gender:
    Male
    Occupation:
    IT Consultant
    Location:
    Gisborne
    Ratings:
    +16 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Looks like its the length of the folder_filename combo causing it grief.

    Ive just edited the defaults on the TV Server for Series to be:
    %title%\%title% - %name%_%date%_%starthh%_%startmm%

    since I dont need the Channel name, and NZ EPG doesnt give Series and Episodes.

    This gives a series recording of
    E:\Mediaportal\Recordings\Emmerdale\Emmerdale - _2013-09-16_12_30.ts

    and that played firstpop.
     
  8. Benoire
    • Premium Supporter

    Benoire MP Donator

    Joined:
    March 17, 2012
    Messages:
    679
    Likes Received:
    92
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    Auckland
    Ratings:
    +135 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Sorry to drag this up from the depths, it appears that the default naming convention for series causes an issue with UNC shares that already have a storage path. I have a path that is\\media\recorded TV\ and coupled with the above information it appears that files often exceed the max file depth in Windows. RTSP doesn't have this issue so it is definitely a UNC issue.

    Perhaps this needs to be clarified in the wiki somewhere so people are aware as it had me stumped this evening!
     
  9. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    Ummm... I'm not sure that makes sense. The server deals with recordings. UNC vs. RTSP is a client-side concern. I think you should post logs.
     
  10. Benoire
    • Premium Supporter

    Benoire MP Donator

    Joined:
    March 17, 2012
    Messages:
    679
    Likes Received:
    92
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    Auckland
    Ratings:
    +135 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Okay :)

    So what I meant was that if the client calls the recorded file via RTSP then it plays fine as I assume that the Server simply does the stream which the client connects to. If the client calls UNC it gets the absolute windows file path which in my case due to the server \\media\recorded TV\ will exceed the maximum file depth windows can access and therefore the client TSreader can't access the file hence the 0 figures for width, frame rate etc.

    Make more sense?
     
    • Agree Agree x 1
  11. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,389
    Likes Received:
    608
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,172 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    according to http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#maxpath the max path length is 256 symbols if the trich with "\\?\" not used.
    RTSP generates very short URLs that work always, but for UNC with long path the client may be not able to play it...

    though in the log above the UNC path is much shorter than the limit.
     
    Last edited: November 19, 2013
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!