Reply to thread

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)Using IAMAnalogVideoDecoder: 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) Using IAMStreamConfig: 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.


Top Bottom