NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
1 2 3 4 5 … 125 Next »
Graph and TVPI external recorder beta

 
  • 0 Vote(s) - 0 Average
Graph and TVPI external recorder beta
MediaDept
Offline

Junior Member

Posts: 22
Threads: 4
Joined: Sep 2007
#111
2007-09-05, 05:13 PM
I'm trying to get a WinFast TV2000 XP Expert working with the GraphRecorder plugin to tune some SECAM channels. Building the graph wasn't to complicated. In graphedit I can select SECAM-B as video standard for the video capture filter and everything seems to be fine.

But it's not that easy: Every time I change the channel (in PVRX2 as well as in graphedit), the video standard falls back to PAL-B (seems to be the default value). After setting SECAM-B in the capture filter properties (when testing with graphedit), the picture ist fine until the next channel change.

Is it possible to add an option to the graph tabs where the video standard for each graph can be chosen? Forcing the selected standard after re-tuning the channel should help ...

Thanks a lot
MediaDept
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#112
2007-09-06, 01:47 PM
I am not sure on this one - it depends if the attribute is a directShow core element/setting or specific for the filter.

Unfortunately, I am in the U.S. so I can't test or play with this. Let me root around a bit on the MS site and see if its native in the filters.

Can you post a screen shot of your graph and the select dialogue?

CV
MediaDept
Offline

Junior Member

Posts: 22
Threads: 4
Joined: Sep 2007
#113
2007-09-06, 02:14 PM
Thanks for having a look at it. Attached you find the graph I'm actually using with GraphRecorder.

I already searched the msdn pages a bit and found the IAMAnalogVideoDecoder interface (http://msdn2.microsoft.com/en-us/library/ms783797.aspx). Seems to be the one you'll need for this.

Thanks in advance
MediaDept
MediaDept
Offline

Junior Member

Posts: 22
Threads: 4
Joined: Sep 2007
#114
2007-09-06, 04:16 PM
I don't know if it is helpfull, but I found this in the source of the SoftwareRecorder:

Code:
IAMAnalogVideoDecoder decoder = capVideoFilter as IAMAnalogVideoDecoder;
if (decoder != null)
{
    AnalogVideoStandard oldStandard;
    decoder.get_TVFormat(out oldStandard);
    if (oldStandard != config.videoStandard)
    {
        Logger.Verbose("SoftwareRecorder[" + this.GetHashCode() + "]: CreateCaptureDevices-IAMAnalogVideoDecoder.TVFormat=" + config.videoStandard.ToString());
        decoder.put_TVFormat(config.videoStandard);
    }
    decoder = null;
}

Unfortunately Norman sets the videoStandard property only once, when he builds the graph Sad
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#115
2007-09-06, 07:06 PM
Try this :
MediaDept
Offline

Junior Member

Posts: 22
Threads: 4
Joined: Sep 2007
#116
2007-09-07, 09:30 AM
Hi CV,

thanks for the quick reply. I tested the new version and here's my report:

When setting up the initial configuration for GraphRecorder, a window pops up reporting an exception. I think it's only an initialisation issue with the new drop down (see image attached) because the configuration dialog works fine. If I start LiveTV, the graph ist correctly tuned to the selected video standard, but when I change the channel, it falls back to the default again (same behavior as with the Software Recorder). Do you need any log files or some other information?

I also had a closer look to the Software Recorder source and modified it a bit.

1. one additional member variable
Code:
/// <summary> decoder for the capture device. </summary>
private IAMAnalogVideoDecoder   decoder = null;

2. little change in void CreateCaptureDevices( bool previewMode, int quality )
old:
Code:
IAMAnalogVideoDecoder decoder = capVideoFilter as IAMAnalogVideoDecoder;
if (decoder != null)
{
    AnalogVideoStandard oldStandard;
    decoder.get_TVFormat(out oldStandard);
    if (oldStandard != config.videoStandard)
    {
        Logger.Verbose("SoftwareRecorder[" + this.GetHashCode() + "]: CreateCaptureDevices-IAMAnalogVideoDecoder.TVFormat=" + config.videoStandard.ToString());

        decoder.put_TVFormat(config.videoStandard);
    }
    decoder = null;
}

new:
Code:
decoder = capVideoFilter as IAMAnalogVideoDecoder;
if (decoder != null)
{
    AnalogVideoStandard oldStandard;
    decoder.get_TVFormat(out oldStandard);
    if (oldStandard != config.videoStandard)
    {
        Logger.Verbose("SoftwareRecorder[" + this.GetHashCode() + "]: CreateCaptureDevices-IAMAnalogVideoDecoder.TVFormat=" + config.videoStandard.ToString());

        decoder.put_TVFormat(config.videoStandard);
    }
}

3. little addition in private void setTuning(ChannelTuning channelTuning, bool previewMode)
Code:
private void setTuning(ChannelTuning channelTuning, bool previewMode)
{
    [...]
        // correct the decoder video standard
        if (decoder != null)
        {
            AnalogVideoStandard oldStandard;
            decoder.get_TVFormat(out oldStandard);
            if (oldStandard != config.videoStandard)
            {
                Logger.Verbose("SoftwareRecorder[" + this.GetHashCode() + "]: setTuning-IAMAnalogVideoDecoder.TVFormat=" + config.videoStandard.ToString());
                decoder.put_TVFormat(config.videoStandard);
            }
        }
    }
}

That did the trick Wink Unforunately the plugin breaks when I try to record a show and it is unsupported. Theese are only two reasons why I want to use the graphRecorder instead. I hope the above code samples can help you somehow.

Thanks for your great plugin and support

MediaDept
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#117
2007-09-07, 12:52 PM
Whoops - I didn't test on a new source. Try this one. I haven't tested the actual gbpvr code but it should work logically.
MediaDept
Offline

Junior Member

Posts: 22
Threads: 4
Joined: Sep 2007
#118
2007-09-07, 01:40 PM
Hi CV,

thanks for the new version. The exception dissapeared but the graph is still falling back to the default video standard when I change the channel ...

MediaDept
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#119
2007-09-07, 05:49 PM
Can you post your recorder log
MediaDept
Offline

Junior Member

Posts: 22
Threads: 4
Joined: Sep 2007
#120
2007-09-07, 06:22 PM
I don't have access to the machine during the weekend, so I will post the log file on monday.

Just a question about your source code provided with the plugin: there are some files missing (all the AudioMixer and WaveServices stuff) so that I can't build the project by myself. Aren't those files open source?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (35): « Previous 1 … 10 11 12 13 14 … 35 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  BBC Iplayer Downloader Plugin - Beta + Support smiler 420 159,493 2012-01-20, 12:15 PM
Last Post: martint123
  software recorder, any plugin like it for npvr? chesterusob 2 14,787 2011-04-11, 07:28 AM
Last Post: chesterusob
  Newbie needs help with renaming external plugins and making some plugins to work Chris79 2 2,373 2009-06-14, 05:36 AM
Last Post: Chris79
  GraphRecorder External via Executables Tab Ignored observer_11 0 1,689 2009-05-02, 09:44 PM
Last Post: observer_11
  Graph/ External Recorder - Ability to record to TS stream Dancasper 19 8,738 2009-04-28, 03:45 AM
Last Post: Dancasper
  ExternalDisplay - Beta Testers Wanted ralphy 124 43,552 2009-02-27, 02:11 PM
Last Post: feilh
  DBox Recorder Plugin Trouble junkiepilot 2 2,286 2008-12-06, 09:04 AM
Last Post: alibert
  Web Radio graph problem ACTCMS 7 3,712 2008-10-05, 12:50 AM
Last Post: ACTCMS
  Problem xternal Recorder Plugin and GraphRecorder Captain-DJ 6 3,620 2008-09-14, 06:12 PM
Last Post: Captain-DJ
  Anime Watchers, Take Two - Looking for Beta Testers Ommina 17 5,990 2008-01-25, 07:16 PM
Last Post: Ted the Penguin

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode