NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 13 14 15 16 17 93 Next »
Access ImportHDPVRChannelsForm

 
  • 0 Vote(s) - 0 Average
Access ImportHDPVRChannelsForm
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#31
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#32
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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#33
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
2011-08-04 21:13:42.067    [DEBUG][1]    service type is: 0
2011-08-04 21:13:42.067    [DEBUG][1]    StartLiveTV@5

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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#34
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#35
2011-08-05, 01:44 AM
I will try that, what about a source that can be either h264 or standard mpeg2?

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#36
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#37
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#38
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#39
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#40
2011-08-05, 03:42 AM
mvallevand Wrote:Does the NPVR Writer support the IFileSink interface
Yes, 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.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 2 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR 5: When is PIN Required for API Access? pkscout 3 2,661 2020-05-26, 04:45 AM
Last Post: sub
  API access to artwork and deleting recordings cncb 29 15,439 2016-11-06, 02:20 AM
Last Post: mvallevand
  Access 'Stay on top' setting from a plugin? McBainUK 5 2,359 2011-11-07, 04:43 PM
Last Post: sub
  Access to Schedules inside standalone progs dero 1 1,379 2008-12-09, 12:03 PM
Last Post: dero
  Linking gbpvr.db3 to Access 2003: get readonly tables Khurram 5 3,905 2008-09-11, 08:35 AM
Last Post: Khurram
  Access to FSE switch idkpmiller 12 4,176 2008-07-05, 04:01 PM
Last Post: whurlston
  Access DB and DateTime idkpmiller 5 2,313 2008-04-14, 10:37 AM
Last Post: idkpmiller
  SilverLight Web Access uwfalcon 1 1,324 2008-03-16, 05:32 AM
Last Post: sub
  GB-PVR web access McBainUK 2 3,599 2008-03-14, 03:21 PM
Last Post: McBainUK
  Need help, using VB 2005 Express and Access TOM22 1 1,328 2007-09-23, 06:29 AM
Last Post: Ommina

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

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

Linear Mode
Threaded Mode