[other] Problems with dropping frames with EVR (1 Viewer)

Scythe42

Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    46
    Berlin
    Germany Germany
    However, every now and then (maybe once every evening), the audio drops out heavily and if this starts, it remains until MediaPortal or even the htpc is restarted!
    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.
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    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...
     

    burnerbaum

    MP Donator
  • Premium Supporter
  • November 25, 2006
    25
    0
    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!
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    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 :)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    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 :)
    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.
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    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
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    attachments for debuging recorded tv playback crashed @ 20:19:13
    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?
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    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
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    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:
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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:
    09-12-2009 21:11:09.010 [1044]Dropping frame, behind 80 ms, last sleep time 11 ms.
    09-12-2009 21:11:09.013 [1044]Dropping frame, behind 63 ms, last sleep time 11 ms.
    09-12-2009 21:11:09.016 [1044]Dropping frame, behind 46 ms, last sleep time 11 ms.
    09-12-2009 21:11:09.019 [1044]Dropping frame, behind 29 ms, last sleep time 11 ms.
    09-12-2009 21:11:09.022 [1044]Dropping frame, behind 12 ms, last sleep time 11 ms.
    09-12-2009 21:14:26.960 [1044]Dropping frame, behind 54 ms, last sleep time 12 ms.
    09-12-2009 21:14:26.963 [1044]Dropping frame, behind 37 ms, last sleep time 12 ms.
    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?
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    R Connection (api) problems with thetvdb.com General 3
    123vak123 [solved] 5008: The problem with scrolling text in the "listcontrol" in 4K General Support 22
    framug 1.24.0 1.25.0 pre : problem with build ? 1.24 Pre Release 75
    J Problems with 1.24 StreamedMP 19
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    404 [solved] EPG problem after Win10 'upgrade' General Support 1
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 30
    C strange tuner(?) problem TV-Cards 0
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    T [solved] Startup problem General 6
    G Problems with DRR MediaPortal 1 Talk 1
    rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    joecrow Default Wide HD Xmas Theme Problem General Support 3
    K Sleep mode problem after formating General Support 2
    P IPTV Channel Problem TV-Server 0
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    nominefi Problem scanning channels. General Support 0
    E Swedish subtitles problem General 2
    G Newb trying MP2, trouble with guide data General 5
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    geotwticher [solved] Fatal Error 0x80070643 during MP2 installation General 7
    limpwhizkid 1.22.0 Stutter and or artifact problem when recording and watching the same live tv channel 1.22 2
    M.Hulot Probleme mit den Filtern Allgemeines Supportforum 3
    Predpray OnlineVideo 2 Probleme Allgemeines Support- und Diskussionsforum 12
    Top Bottom