Wrong HD aspect ratio detection

Discussion in '1.0.1 and SVN Builds' started by Ambass, October 24, 2009.

  1. Ambass
    • Premium Supporter

    Ambass Retired Team Member

    Joined:
    December 24, 2007
    Messages:
    555
    Likes Received:
    130
    Ratings:
    +130 / 0
    Home Country:
    France France
    Aspect ratio detection is not working properly on H264 channels.
    In the following log there is :
    1 ) start TV on M6HD / H264 ( Tsreader shows 4:3, MP found 16:9 ) => correct ratio is 16:9 ( 1440x1080i ) Final aspect is OK.
    2 ) zap to FR3 / MPEG2 ( Tsreader shows 16:9, MP found 16:9 ) => correct ratio is 16:9 ( 720x576i ) Final aspect is OK.
    3 ) zap back to M6HD / H264 ( Tsreader shows 4:3, MP found 4:3 :( ) => correct ratio is 16:9 ( 1440x1080i ) Final aspect is wrong.

    A second XP install on another HDD with same release do not show the problem...I'll attach same logs from 2nd install later.

    Now it's attached.

    MP found 16:9 on zap back to M6 and works... ( Tsreader always fails in H264 AR detection )

    In fact it seems a bit random, I've already seen AR of 1 and 720:480...!


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    In TsReader uncomment the following

    Code (Text):
    1.  
    2. bool CMpegPesParser::ParseVideo(byte* tsPacket,bool isMpeg2)
    3.  
    4. //hdrParser.DumpAvcHeader(avc);
    5.  
    That way we see if the parsing itself is faulty, or is there somewhere a bug that the new channel change doesn't trigger the parsing.
     
  4. Ambass
    • Premium Supporter

    Ambass Retired Team Member

    Joined:
    December 24, 2007
    Messages:
    555
    Likes Received:
    130
    Ratings:
    +130 / 0
    Home Country:
    France France
    I've tried with an old tsreader, it gives a correct AR of 16:9 ( so the new "golomb...." is probably faulty", same on both XP installs) , but it doesn't change anything to the final MP result that found the AR from elsewhere ...
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Codec could be telling that AR to MP.
     
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!