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
Development
General Development (no feature request here!)
[PATCH] Improvements for analog cards
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="Khurram" data-source="post: 337983" data-attributes="member: 74579"><p>Thanks for the information. I hope we can all get 1.0.1 soon, but since 1.0 will be christmas time, so 1.0.1 will be sometime next year. In the meantime, I am going to try this out on my own <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> </p><p></p><p>The way I would like to do this is to force PAL video for all sources because that all my channels are in PAL. I have 2 options:</p><p></p><p>1) Call IAMAnalogVideoDecoder->put_TVFormat() to force the TV format to PAL (many thanks to sub and carpeVideo over from GBPVR forums). </p><p></p><p>2) I have read in the directshow development forums at MSDN that this call is deprecated and the current way to do this is through IAMStreamConfig.</p><p></p><p>I have looked over the .cs files and it seems the bulk (all?) of filter graph is done in TvCardAnalog.cs. I have tried both ways but my code didnt work.</p><p></p><p>1)<strong>Using IAMAnalogVideoDecoder</strong>: Iadded the following lines to AddTvCaptureFilter function:</p><p>[CODE]IAMAnalogVideoDecoder _filterCaptureVideoDecoder = (IAMAnalogVideoDecoder) _filterCapture;</p><p> hr = _filterCaptureVideoDecoder.put_TVFormat(AnalogVideoStandard.PAL_B);</p><p> if (hr == 0)</p><p> {</p><p> Log.Log.WriteFile("analog: AddTvCaptureFilter forced tv format to PAL_B");</p><p> }</p><p> else</p><p> {</p><p> Log.Log.WriteFile("analog: AddTvCaptureFilter cannot force tv format to PAL_B");</p><p> }[/CODE]</p><p></p><p>But this has no effect.</p><p></p><p>2) <strong>Using IAMStreamConfig</strong>: I added the following lines to the SetupCaptureFormat function:</p><p>[CODE]setStreamConfigSetting(_interfaceStreamConfigVideoCapture, "VideoStandard", AnalogVideoStandard.PAL_B);</p><p>Log.Log.Info("SetupCaptureFormat: set VideoStandard to PAL_B");[/CODE]</p><p> </p><p>But this doesnt do anything. Btw, where is the output from Log.Log.WriteFile and Log.Log.Info stored? I cant find any logs in the TV Server installation folder.</p></blockquote><p></p>
[QUOTE="Khurram, post: 337983, member: 74579"] Thanks for the information. I hope we can all get 1.0.1 soon, but since 1.0 will be christmas time, so 1.0.1 will be sometime next year. In the meantime, I am going to try this out on my own ;) The way I would like to do this is to force PAL video for all sources because that all my channels are in PAL. I have 2 options: 1) Call IAMAnalogVideoDecoder->put_TVFormat() to force the TV format to PAL (many thanks to sub and carpeVideo over from GBPVR forums). 2) I have read in the directshow development forums at MSDN that this call is deprecated and the current way to do this is through IAMStreamConfig. I have looked over the .cs files and it seems the bulk (all?) of filter graph is done in TvCardAnalog.cs. I have tried both ways but my code didnt work. 1)[B]Using IAMAnalogVideoDecoder[/B]: Iadded the following lines to AddTvCaptureFilter function: [CODE]IAMAnalogVideoDecoder _filterCaptureVideoDecoder = (IAMAnalogVideoDecoder) _filterCapture; hr = _filterCaptureVideoDecoder.put_TVFormat(AnalogVideoStandard.PAL_B); if (hr == 0) { Log.Log.WriteFile("analog: AddTvCaptureFilter forced tv format to PAL_B"); } else { Log.Log.WriteFile("analog: AddTvCaptureFilter cannot force tv format to PAL_B"); }[/CODE] But this has no effect. 2) [B]Using IAMStreamConfig[/B]: I added the following lines to the SetupCaptureFormat function: [CODE]setStreamConfigSetting(_interfaceStreamConfigVideoCapture, "VideoStandard", AnalogVideoStandard.PAL_B); Log.Log.Info("SetupCaptureFormat: set VideoStandard to PAL_B");[/CODE] But this doesnt do anything. Btw, where is the output from Log.Log.WriteFile and Log.Log.Info stored? I cant find any logs in the TV Server installation folder. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[PATCH] Improvements for analog cards
Contact us
RSS
Top
Bottom