home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
initial support for Hauppuage HD-PVR
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ixian" data-source="post: 513974" data-attributes="member: 54932"><p>Now this is interesting. I took a look at the code and saw this:</p><p></p><p>[code]</p><p>#region audio streams</p><p></p><p> /// <summary></p><p> /// returns the list of available audio streams</p><p> /// </summary></p><p> public override List<IAudioStream> AvailableAudioStreams</p><p> {</p><p> get</p><p> {</p><p> return null;</p><p> }</p><p> }</p><p></p><p> /// <summary></p><p> /// get/set the current selected audio stream</p><p> /// </summary></p><p> public override IAudioStream CurrentAudioStream</p><p> {</p><p> get</p><p> {</p><p> return null;</p><p> }</p><p> set</p><p> {</p><p> }</p><p> }</p><p>[/code]</p><p></p><p></p><p>The above is in HDPVRChannel.cs.</p><p></p><p>I looked at the crossbar code (TVCardHDPVR.cs) and it doesn't appear to be asking the card for the audio type when it creates the AudioPinMap when building the graph. In other words, the type of audio stream is never defined, and so naturally it will always return null.</p><p></p><p>Now like you say, whether this has anything to do with the jitter issues in MePo I don't know, but in looking at other devices I was struck, as you were, by the fact that they do return an audio type.</p><p></p><p>Take this snippet from HDPVRChannels.cs:</p><p></p><p>[code]</p><p>/// <summary></p><p> /// Should be called when the graph is tuned to the new channel</p><p> /// resets the state</p><p> /// </summary></p><p> public override void OnAfterTune()</p><p> {</p><p> Log.Log.WriteFile("HDPVR: subch:{0} OnAfterTune", _subChannelId);</p><p> if (IsTimeShifting && _subChannelId >= 0)</p><p> {</p><p> _tsFilterInterface.TimeShiftPause(_subChannelId, 0);</p><p></p><p> //hack</p><p> OnNotify(PidType.Audio);</p><p> OnNotify(PidType.Video);</p><p> }</p><p> }</p><p>[/code]</p><p></p><p>What I'm wondering is if there's no real type that can be called; as far as I am aware the HDPVR is the only capture device supported by MePo that has DD/TOSLink capture support - if I'm wrong let me know one that does so I can look at it's code.</p><p></p><p>We may be on to something here. It could be something as simple as the codec/post processing not knowing what to do but if that were the case then recordings should have a problem too - since this is only timeshift related on channel change, I think the snippet above may have something to do with it. I'm not a good enough coder to troubleshoot it all the way but maybe we can get the attention of someone who is?</p></blockquote><p></p>
[QUOTE="ixian, post: 513974, member: 54932"] Now this is interesting. I took a look at the code and saw this: [code] #region audio streams /// <summary> /// returns the list of available audio streams /// </summary> public override List<IAudioStream> AvailableAudioStreams { get { return null; } } /// <summary> /// get/set the current selected audio stream /// </summary> public override IAudioStream CurrentAudioStream { get { return null; } set { } } [/code] The above is in HDPVRChannel.cs. I looked at the crossbar code (TVCardHDPVR.cs) and it doesn't appear to be asking the card for the audio type when it creates the AudioPinMap when building the graph. In other words, the type of audio stream is never defined, and so naturally it will always return null. Now like you say, whether this has anything to do with the jitter issues in MePo I don't know, but in looking at other devices I was struck, as you were, by the fact that they do return an audio type. Take this snippet from HDPVRChannels.cs: [code] /// <summary> /// Should be called when the graph is tuned to the new channel /// resets the state /// </summary> public override void OnAfterTune() { Log.Log.WriteFile("HDPVR: subch:{0} OnAfterTune", _subChannelId); if (IsTimeShifting && _subChannelId >= 0) { _tsFilterInterface.TimeShiftPause(_subChannelId, 0); //hack OnNotify(PidType.Audio); OnNotify(PidType.Video); } } [/code] What I'm wondering is if there's no real type that can be called; as far as I am aware the HDPVR is the only capture device supported by MePo that has DD/TOSLink capture support - if I'm wrong let me know one that does so I can look at it's code. We may be on to something here. It could be something as simple as the codec/post processing not knowing what to do but if that were the case then recordings should have a problem too - since this is only timeshift related on channel change, I think the snippet above may have something to do with it. I'm not a good enough coder to troubleshoot it all the way but maybe we can get the attention of someone who is? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
initial support for Hauppuage HD-PVR
Contact us
RSS
Top
Bottom