[other] - Problems with dropping frames with EVR | Page 2

Discussion in 'MediaPortal 1.1.0 BETA 1' started by MPUserFromGER, December 6, 2009.

  1. Scythe42
    • Team MediaPortal

    Scythe42 Retired Team Member

    Joined:
    June 20, 2009
    Messages:
    2,065
    Likes Received:
    2,632
    Gender:
    Male
    Occupation:
    Professional Hacker
    Location:
    Berlin
    Ratings:
    +2,724 / 1
    Home Country:
    Germany Germany
    Show System Specs
    There shouldn't be any audio drops. At least MP does not drop audio frames. It drops video frames when video is falling behind audio. It does nothing with audio.

    Can you try some other Codec for audio passthru to you receiver? I had similar issues with some MPA builds under Vista and Win7 and choppy audio playback.

    What also could help is enlarging the buffer of the Halli splitter and maybe having MP run at a higher thread priority. At least for testing if this helps in your case.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. MPUserFromGER
    • Premium Supporter

    MPUserFromGER MP Donator

    Joined:
    July 31, 2006
    Messages:
    403
    Likes Received:
    3
    Location:
    Germany
    Ratings:
    +3 / 0
    Home Country:
    Germany Germany
    What would be the preffered audio codec? ffdshow?

    I have not installed Halli splitter!

    Also, I run MP already in "above normal" mode...
     
  4. burnerbaum
    • Premium Supporter

    burnerbaum MP Donator

    Joined:
    November 25, 2006
    Messages:
    25
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Using MP with Saf and Ati Avivo for LiveTV and can confirm that exactly every 5 minutes i get a short stuttering in LiveTV. Definitly had no such problem with the last svn and same codec configuration!
     
  5. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    Netherlands Netherlands
    I have the same problem on 2 different htpc's (as reported earlier), both with ATI videocards and realtek digital coax outputs, mostly the video is frozen, but the audio is still playing indeed.

    Sometimes I have only a couple of dropped frames while watching live tv or recordings in the evening and sometimes it's that bad I cannot even watch a recording normally for a couple of minutes because the video is constantly freezing and bringing me back to the recorded tv listing. The recorded .ts files aren't corrupt, I can play them on another computer with Media Player and they don't "crash" at the same timeline everytime I play them within MediaPortal.

    Really hope this annoying bug will treated as a bug this time :)
     
  6. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    That behavior is completely different what other users have been reporting in this thread (dropped frames aren't ever going to stop a video playback, no matter if the renderer is dropping frames for a full hour :)).

    Please open a new thread to discuss that different issue.
     
  7. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    Netherlands Netherlands
    Just like you told me MediaPortal would not ever overwrite it's logfiles without beeing restarted, whehe, it also does eh :p
    But I'll wait untill this bug is fixed to see it that solves by bug as well, you've seen my logfiles about the dropping frames
     
  8. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    Netherlands Netherlands
    attachments for debuging recorded tv playback crashed @ 20:19:13
     

    Attached Files:

  9. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Please start a new thread. Nothing to do with this topic. I had a quick look on the logs, but those don't show any signs of crash. Did some windows message dialog popup when the crash happened?
     
  10. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    Netherlands Netherlands
    okay will start a new thread, the sign I saw was the such a big delay, the playback crashed ;)

    09-12-2009 20:19:13.027 [cb8]Scheduling sample from the past (2891 ms, last call to NotifyWorker: 2995 ms)
    09-12-2009 20:19:13.027 [a70]Dropping frame, behind 2891 ms, last sleep time 20 ms.
    09-12-2009 20:19:13.028 [cb8]Scheduling sample from the past (2871 ms, last call to NotifyWorker: 2996 ms)
    09-12-2009 20:19:13.030 [6f4]ProcessMessage MFVP_MESSAGE_ENDOFSTREAM
    09-12-2009 20:19:13.030 [a70]Dropping frame, behind 2873 ms, last sleep time 20 ms.
    09-12-2009 20:19:13.031 [a70]Sending completion message
     
  11. MPUserFromGER
    • Premium Supporter

    MPUserFromGER MP Donator

    Joined:
    July 31, 2006
    Messages:
    403
    Likes Received:
    3
    Location:
    Germany
    Ratings:
    +3 / 0
    Home Country:
    Germany Germany
    Could reproduce the audio dropouts

    tourettes:
    Ok, I just had the audio dropouts again!

    That is what happend:
    - Watched LiveTV
    - At 20:15 changed to channel "ZDF"
    - Watched "ZDF" and had no problems
    - At 20:43 I suddenly hear the first audio dropout
    - The audio dropouts now happen every few minutes
    - At 21:02 I stopped LiveTV and exit MP
    - I saved the logs (see attached file "01_LiveTV_MediaPortalLogs_09_12_09.zip") and the last timeshift file.
    NOTE: I uploaded this TS file to http://ftp.team-mediaportal.com
    Folder: "Full_MUXes"
    Filename: "20091209_live1-0.ts.tsbuffer4.ts"

    - I then restarted MP, entered "Videos" and played the same TS file again
    - Now I don't hear any audio dropouts!
    - That means the TS file is fine!
    - After playback has stopped, I exit MP and saved the logs (see attached file "02_Video_MediaPortalLogs_09_12_09.zip")

    - Finally I played the TS file with VLC MediaPlayer and the file plays just fine.

    When looking into "TsReader.log" that has been created during LiveTV (where the issue happend), I see that the audio dropouts correspond with the following log entries:
    Code (Text):
    1. 09-12-2009 20:43:06.439 [1244]Aud/Ref : 2043.224, Late              Compensated = 1647.030 ( 0.018 A/V buffers=02/00), Clk : 1647.012000, State 2
    2. 09-12-2009 20:54:56.693 [1244]Aud/Ref : 2753.304, Late              Compensated = 2357.110 ( 0.028 A/V buffers=02/00), Clk : 2357.082000, State 2
    3. 09-12-2009 20:57:40.740 [1244]Aud/Ref : 2917.304, Late              Compensated = 2521.110 ( 0.024 A/V buffers=02/02), Clk : 2521.086000, State 2
    4. 09-12-2009 20:58:12.757 [1244]Aud/Ref : 2949.304, Late              Compensated = 2553.110 ( 0.013 A/V buffers=02/01), Clk : 2553.097000, State 2
    5. 09-12-2009 20:58:20.760 [1244]Aud/Ref : 2957.304, Late              Compensated = 2561.110 ( 0.010 A/V buffers=02/02), Clk : 2561.100000, State 2
    6. 09-12-2009 21:00:11.812 [1244]Aud/Ref : 3068.344, Late              Compensated = 2672.150 ( 0.024 A/V buffers=02/01), Clk : 2672.126000, State 2
    7. 09-12-2009 21:00:15.807 [1244]Aud/Ref : 3072.344, Late              Compensated = 2676.150 ( 0.030 A/V buffers=02/03), Clk : 2676.120000, State 2
    8. 09-12-2009 21:01:11.827 [1244]Aud/Ref : 3128.344, Late              Compensated = 2732.150 ( 0.026 A/V buffers=02/01), Clk : 2732.124000, State 2
    9. 09-12-2009 21:01:23.828 [1244]Aud/Ref : 3140.344, Late              Compensated = 2744.150 ( 0.030 A/V buffers=02/00), Clk : 2744.120000, State 2
    10. 09-12-2009 21:01:31.831 [1244]Aud/Ref : 3148.344, Late              Compensated = 2752.150 ( 0.027 A/V buffers=02/00), Clk : 2752.123000, State 2
    11. 09-12-2009 21:01:51.839 [1244]Aud/Ref : 3168.344, Late              Compensated = 2772.150 ( 0.027 A/V buffers=02/00), Clk : 2772.123000, State 2
    12.  
    The "EVR.log" suprisingly does not show any dropped frames.

    While playing back the same TS file within MediaPortal, the TsReader.log does not show any audio/video sync compensation!
    However, the EVR.log shows some dropped frames with significant delays:
    Code (Text):
    1. 09-12-2009 21:11:09.010 [1044]Dropping frame, behind 80 ms, last sleep time 11 ms.
    2. 09-12-2009 21:11:09.013 [1044]Dropping frame, behind 63 ms, last sleep time 11 ms.
    3. 09-12-2009 21:11:09.016 [1044]Dropping frame, behind 46 ms, last sleep time 11 ms.
    4. 09-12-2009 21:11:09.019 [1044]Dropping frame, behind 29 ms, last sleep time 11 ms.
    5. 09-12-2009 21:11:09.022 [1044]Dropping frame, behind 12 ms, last sleep time 11 ms.
    6. 09-12-2009 21:14:26.960 [1044]Dropping frame, behind 54 ms, last sleep time 12 ms.
    7. 09-12-2009 21:14:26.963 [1044]Dropping frame, behind 37 ms, last sleep time 12 ms.
    8. 09-12-2009 21:14:26.966 [1044]Dropping frame, behind 20 ms, last sleep time 12 ms.
    :confused:

    So the audio dropouts have something to do with LiveTV and timeshifting IMO because the TS file is fine...

    Any ideas what is causing this?
     
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!