MediaPortal SVN-Snapshot:-11-06-2009 19-18h - Revision:24047.rar (1 Viewer)

Status
Not open for further replies.

RandyAndy

Portal Member
May 12, 2009
20
0
HDTV and Audio out of Sync

Hi,

treid not all day to find a work around. Usinf differnt codec, different Audio codecs but nothing works out. When I select an HDTV channel in TV mode than the Audio and the picture is out of sinc. I detect in on Arte HDm ARD HD, ZDF HD.
If needed I can upload any kind of log file. I tried also a full new installation.

RandAndy:(
 

RandyAndy

Portal Member
May 12, 2009
20
0
Hi,

will try this evening. But even if it works, this should be not like that.
The HDTV should work with any codec supporting H.264.

RandyAndy
:D
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    sigh, MediaPortal is VERY UNSTABLE for me lately watching recordings, sometimes live tv also.
    while watching recordings, MediaPortal often hangs (screen is freezing, hickups, etc, etc).

    can anyone take a look a my logging and tell me why MediaPortal is having trouble playing my recordings ???

    Unfortunately none of those logs contain any playback activity (just look at the MediaPortal.log and you see that they are pretty empty).
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    Home Country
    Netherlands Netherlands
    come on, I thought you were a little more clever than that ;)
    have a look at MediaPortal.bak (because I had to close MediaPortal and the logfiles were beeing moved)
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    come on, I thought you were a little more clever than that ;)
    have a look at MediaPortal.bak (because I had to close MediaPortal and the logfiles were beeing moved)

    As far as I know the .bak file isn't created (or overwritten if it exists already) untill you start up MediaPortal again after closing it. So how should tourettes have guessed that?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    come on, I thought you were a little more clever than that ;)
    have a look at MediaPortal.bak (because I had to close MediaPortal and the logfiles were beeing moved)

    I really don't have that much time available that I could wonder what logs to check. Logs should be always clean, and only containing the use case that caused the issue.

    And what comes to the .bak, there isn't any issues visible.
     

    jtw

    Portal Member
    October 12, 2009
    48
    1
    63
    Hamburg
    Home Country
    Germany Germany
    No EPG in Revision:24047

    Hi,
    I'm not really a expert in MP.
    But I try it...

    I got no EPG in this Snapshot,
    what do I wrong?

    Hope you can help me :confused:

    JTW
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Just installed after the previous SVN lost 50% of todays Freeview radio recordings to the "WaitForRecordingFile" problem I reported earlier. And the new SVN is worse, its now screwing up simultaneous TV recordings from the same mux with a "WaitForRecordingFile - video was found, but audio was not found".

    Any easy way I can suppress that test? So far, where I've caught it in time, the audio has actually been there.

    Just a theory: Freeview includes 2 audio tracks, one at low bitrate and almost always completely silent. I use Media Player Classic to play the MP created .ts files and occasionally it cant find an audio track, however ProjectX can and remultiplexing gets my sound working. Maybe MP is creating malformed stream mappings?

    are these the log files you refer to: https://forum.team-mediaportal.com/528246-post25.html ?

    I can see one logic error in the logs:
    Code:
    2009-10-29 23:00:48.908750 [23]: card: Tuner locked: True
    2009-10-29 23:00:48.924375 [23]: **************************************************
    2009-10-29 23:00:48.924375 [23]: ***** SIGNAL LEVEL: 80, SIGNAL QUALITY: 100 *****
    2009-10-29 23:00:48.924375 [23]: **************************************************
    2009-10-29 23:00:48.924375 [23]: card: tuned user: scheduler166 subchannel: 46
    2009-10-29 23:00:48.924375 [23]: user:scheduler166 add
    2009-10-29 23:00:48.924375 [Scheduler timer]: Scheduler: MakeFileName() using "seriesformat" (_isSerie=True)
    2009-10-29 23:00:48.924375 [Scheduler timer]: Scheduler : record to X:\PVR\Rigor Mortis - BBC Radio 7\BBC Radio 7 - Rigor Mortis - 2009-10-29 - 23_00.ts
    2009-10-29 23:00:48.940000 [23]: Recorder.start add audioVideoEventHandler
    2009-10-29 23:00:48.940000 [23]: card: StartRecording 2 X:\PVR\Rigor Mortis - BBC Radio 7\BBC Radio 7 - Rigor Mortis - 2009-10-29 - 23_00.ts
    2009-10-29 23:00:48.940000 [23]: StartRecording to X:\PVR\Rigor Mortis - BBC Radio 7\BBC Radio 7 - Rigor Mortis - 2009-10-29 - 23_00.ts
    2009-10-29 23:00:48.940000 [23]: subch:46 StartRecord(X:\PVR\Rigor Mortis - BBC Radio 7\BBC Radio 7 - Rigor Mortis - 2009-10-29 - 23_00.ts)
    2009-10-29 23:00:48.940000 [23]: subch:46-46 tswriter StartRecording...
    2009-10-29 23:00:48.940000 [23]: SetRecorderPids
    2009-10-29 23:00:48.955625 [23]: Set video / audio observer
    2009-10-29 23:00:48.955625 [23]: DVB subch:46 Started recording
    [B]2009-10-29 23:00:48.955625 [23]: card: WaitForRecordingFile - waiting _eventAudio & _eventVideo[/B]
    2009-10-29 23:00:49.127500 [19]: PID seen - type = Audio
    2009-10-29 23:00:49.143125 [19]: Recorder audioVideoEventHandler Audio
    2009-10-29 23:01:04.143125 [23]: card: WaitForRecordingFile - video was found, but audio was not found after 15.1875 seconds

    because code "should" not wait for video if the requested channel is radio:
    Code:
          IChannel channel = _cardHandler.Card.SubChannels[0].CurrentChannel;
          bool isRadio = channel.IsRadio;
    
          _eventVideo.Reset();
          _eventAudio.Reset();
    
         [B] if (isRadio)
          {
            Log.Write("card: WaitForRecordingFile - waiting _eventAudio");[/B]
            // wait for audio PID to be seen
            if (_eventAudio.WaitOne(waitForEvent, true))
            {
              // start of the video & audio is seen
              TimeSpan ts = DateTime.Now - timeStart;
              Log.Write("card: WaitForRecordingFile - audio is seen after {0} seconds", ts.TotalSeconds);
    
              return true;
            }
            else
            {
              TimeSpan ts = DateTime.Now - timeStart;
              Log.Write("card: WaitForRecordingFile - no audio was found after {0} seconds", ts.TotalSeconds);
              if (_cardHandler.IsScrambled(ref user))
              {
                Log.Write("card: WaitForRecordingFile - audio stream is scrambled");
                scrambled = true;
              }
            }
          }
          else
          {
            Log.Write("card: WaitForRecordingFile - waiting _eventAudio & _eventVideo");
            // block until video & audio PIDs are seen or the timeout is reached

    this means for me, that your channel is either not correctly detected as radio channel, or the recorder code is wrong in interpretation...

    one source could be if more than one subchannel is active:
    Code:
    _cardHandler.Card.SubChannels[0].CurrentChannel;
    --> means if a TV channel is timeshifting and a recording of Radio starts, the type might me taken from the 1st active subchannel


    if you're able to reproduce the error, please check the attached TvService.exe. Make a backup first and replace your version with my modified one. try to record under same conditions as you noticed the failure.

    fix for subchannel handling in recorder/timeshifter in svn 24131
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    Home Country
    Netherlands Netherlands
    As far as I know the .bak file isn't created (or overwritten if it exists already) untill you start up MediaPortal again after closing it. So how should tourettes have guessed that?

    with normal behaviour it doesn't indeed, but when it's buggy it does all kinds a weird things ;)

    happened again between 21:47 and 21:50, logs attached (MediaPortal.bak renamed to MediaPortal.log this time)

    this doesn't look normal to me as well:

    18-11-2009 21:47:37.595 [7e0]Aud/Ref : 2737.830, Late Compensated = 871.756 ( 1.240 A/V buffers=02/06), Clk : 870.516000, State 2
    18-11-2009 21:47:37.600 [7e0]Aud/Ref : 2737.854, Late Compensated = 871.780 ( 1.248 A/V buffers=01/06), Clk : 870.532000, State 2
    18-11-2009 21:47:37.689 [7e0]Aud/Ref : 2737.878, Late Compensated = 871.804 ( 1.194 A/V buffers=01/04), Clk : 870.610000, State 2
    18-11-2009 21:47:37.695 [7e0]Aud/Ref : 2737.902, Late Compensated = 871.828 ( 1.202 A/V buffers=01/11), Clk : 870.626000, State 2
    18-11-2009 21:47:37.700 [7e0]Aud/Ref : 2737.926, Late Compensated = 871.852 ( 1.226 A/V buffers=02/11), Clk : 870.626000, State 2
    18-11-2009 21:47:37.705 [7e0]Aud/Ref : 2737.950, Late Compensated = 871.876 ( 1.250 A/V buffers=01/11), Clk : 870.626000, State 2
    18-11-2009 21:47:37.789 [7e0]Aud/Ref : 2737.998, Late Compensated = 871.924 ( 1.205 A/V buffers=01/10), Clk : 870.719000, State 2
    18-11-2009 21:47:37.795 [7e0]Aud/Ref : 2738.022, Late Compensated = 871.948 ( 1.229 A/V buffers=02/10), Clk : 870.719000, State 2
    18-11-2009 21:47:37.800 [7e0]Aud/Ref : 2738.046, Late Compensated = 871.972 ( 1.253 A/V buffers=01/10), Clk : 870.719000, State 2
    18-11-2009 21:47:37.889 [7e0]Aud/Ref : 2738.070, Late Compensated = 871.996 ( 1.183 A/V buffers=01/09), Clk : 870.813000, State 2
    18-11-2009 21:47:37.895 [7e0]Aud/Ref : 2738.094, Late Compensated = 872.020 ( 1.207 A/V buffers=01/09), Clk : 870.813000, State 2
    18-11-2009 21:47:37.901 [7e0]Aud/Ref : 2738.118, Late Compensated = 872.044 ( 1.216 A/V buffers=02/08), Clk : 870.828000, State 2
    18-11-2009 21:47:37.906 [7e0]Aud/Ref : 2738.166, Late Compensated = 872.092 ( 1.264 A/V buffers=01/08), Clk : 870.828000, State 2
    18-11-2009 21:47:37.989 [7e0]Aud/Ref : 2738.190, Late Compensated = 872.116 ( 1.210 A/V buffers=01/07), Clk : 870.906000, State 2
    18-11-2009 21:47:37.995 [7e0]Aud/Ref : 2738.214, Late Compensated = 872.140 ( 1.218 A/V buffers=01/07), Clk : 870.922000, State 2
    18-11-2009 21:47:38.000 [7e0]Aud/Ref : 2738.238, Late Compensated = 872.164 ( 1.242 A/V buffers=01/07), Clk : 870.922000, State 2
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom