2011-08-04, 05:25 AM
Is this in GraphEdit? If so, then you probably dont need to worry about it in app, where you're not going to get prompted with a File Open dialog.
2011-08-04, 05:25 AM
Is this in GraphEdit? If so, then you probably dont need to worry about it in app, where you're not going to get prompted with a File Open dialog.
2011-08-04, 05:40 AM
Ok, I will try it tomorrow, I see in graph edit I can hit cancel and no filename is saved.
Thanks for all your help. Martin
2011-08-05, 01:24 AM
Ok, good when I create the graph with no name, only the name file (and the Timing.Info) get created. However when I keep the LIVE& in the filename I get DAE errors in NextPVR.exe with "Faulting application NextPVR.exe, version 1.0.0.0, time stamp 0x4e2682e2, faulting module MSVCR90.dll, version 9.0.30729.6161, time stamp 0x4dace5b9, exception code 0xc0000005, fault offset 0x0003ae7a, process id 0xe98, application start time 0x01cc5300787fab40."
The last line of my NPVR logs look like Code: 2011-08-04 21:13:42.067 [DEBUG][1] Client got streaming handle: 5F903E8 And based on the Notify it looks like it is the build graph event that is taking place. (0x3e8==1000 which is where I start) Martin
2011-08-05, 01:36 AM
I'm not sure if it is the cause of the crash, but I think your server_type is set wrong on the channel's CHANNEL_MAPPING entry in the database. Set it to 0x01 or 0x11 for MPEG2, or 0x19 or 0x1b or 0x86 for H.264.
2011-08-05, 01:44 AM
I will try that, what about a source that can be either h264 or standard mpeg2?
Martin
2011-08-05, 01:53 AM
mvallevand Wrote:I will try that, what about a source that can be either h264 or standard mpeg2?You're going to have to tell the app in advance which channels are MPEG vs H264, since the app will need to add tha appropriate video decoder prior to playback. You can have multiple channels on the same device with differernt service types (like DVB-T where you can often get mixtures of MPEG2 and H.264), and the app will stop and rebuild the playback graph to switch decoder types if you switch between channels that requires a different video decoder type.
2011-08-05, 02:39 AM
Thank that was it, I had changed my graph to an HDPVR graph as a test, and I didn't know about the significance of the service_id. It will make the XMLTV import harder so I might look at having two "devices" returned in the list. If the Instance returned by GetStatus is the same does. will that identify conflicts?
Martin
2011-08-05, 03:03 AM
mvallevand Wrote:If the Instance returned by GetStatus is the same does. will that identify conflicts?No, that is identified by GetResourceIdentifier(). Two matching strings form different devices tells the app that they cant be used at the same time.
2011-08-05, 03:37 AM
Ok thanks, unfortunately I was wrong about a file not getting created. I end up with
4/08/2011 11:20p 0 (null) 4/08/2011 11:20p 0 (null).Timing.Info in the folder with SGraphrecorder. Does the NPVR Writer support the IFileSink interface (here is the SGraphrecorder page) http://www.nolberger.se/Sage/GraphRecorder/ Martin
2011-08-05, 03:42 AM
mvallevand Wrote:Does the NPVR Writer support the IFileSink interfaceYes, that is why you get prompted for the filename by graphedit, and it's the function the app users to tell the writer filter where to write it's data. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
NextPVR 5: When is PIN Required for API Access? | pkscout | 3 | 2,440 |
2020-05-26, 04:45 AM Last Post: sub |
|
API access to artwork and deleting recordings | cncb | 29 | 14,706 |
2016-11-06, 02:20 AM Last Post: mvallevand |
|
Access 'Stay on top' setting from a plugin? | McBainUK | 5 | 2,175 |
2011-11-07, 04:43 PM Last Post: sub |
|
Access to Schedules inside standalone progs | dero | 1 | 1,272 |
2008-12-09, 12:03 PM Last Post: dero |
|
Linking gbpvr.db3 to Access 2003: get readonly tables | Khurram | 5 | 3,726 |
2008-09-11, 08:35 AM Last Post: Khurram |
|
Access to FSE switch | idkpmiller | 12 | 3,808 |
2008-07-05, 04:01 PM Last Post: whurlston |
|
Access DB and DateTime | idkpmiller | 5 | 2,148 |
2008-04-14, 10:37 AM Last Post: idkpmiller |
|
SilverLight Web Access | uwfalcon | 1 | 1,204 |
2008-03-16, 05:32 AM Last Post: sub |
|
GB-PVR web access | McBainUK | 2 | 3,452 |
2008-03-14, 03:21 PM Last Post: McBainUK |
|
Need help, using VB 2005 Express and Access | TOM22 | 1 | 1,195 |
2007-09-23, 06:29 AM Last Post: Ommina |