NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 15 16 17 18 19 … 93 Next »
NEW Graphedit player

 
  • 0 Vote(s) - 0 Average
NEW Graphedit player
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#51
2007-02-27, 09:53 PM (This post was last modified: 2007-02-28, 03:37 AM by carpeVideo.)
Ok,

I have something that works on my development machine but not on DVR machine (it may be my graphs), it is essentially and extension of the external recorder so it has all that functionality plus - I have two fields a previewGraph and record medium graph that you can select. Idoubt if a preview graph will work to be honest it will probably show up in its own screen)

When invoked it will load the graph file, search the filters for something with write or dump in the name and then change the name of the file in that filter to the correct name.

Then it checks for a filter with tuner in the name and there is blank code there since I use the external chan changer and have no way of testing tuner code.
(Sub do you know a better way of checking what each filter is (IE tuner, fileSink) than using the name?)

It then plays the graph and at the end releases it.

May not play well with external recorder installed - it needs the same recorder helper files so I am not sure if there are any identity clashes.

Anyways give it a shot let me know what it does for you (and back up your directory, it is a little unstable at this point).

CV

----

It's actually more stable than I thought and seems to be fine with external recorder (although technically you could use this for both functions.) - I think I copied to much over the existing external recorder stuff - if you are using extern record already just grab graphrecord.dll and directshowlib.dll from the release folder and try dropping that in the plugin-dir. I'll see about adding a low and high quality graph setting as well.

CV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#52
2007-02-28, 10:02 AM
cool...hey, i think the preview graph will work if you insert the right gb filters...yea, it will probably have its own window, but should still be controllable with the gb filters present...

otherwise, really just easier to uncheck 'use live preview mode' and use only timeshift[file read] for livetv...Smile

oh and you can require users to build graph with gb's filewriter for output, as we'll know everyone has that filter for sure...
[plus, i don't think it has either of those words in it..lol]
actually there is another way that was used in WDM Rec. to find filters, but after reading ms docs, it is being deprecated, so not advisable...and some filters already have dropped it...that's why it's having hard time for some users,hence this effort...

i'll help you test the tuner code, as mine works great and is very typical of most tuners..and works great with wdm rec. plugin...

thanx for working on this, as i have a nasty cold...ugh...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#53
2007-02-28, 10:14 AM
dosn't this work to find tuner? should only be one in graphs...

public DsDevice[] GetTvTuners()
{
//this returns TV tuners only
DsDevice [] tvTunerDevices = DsDevice.GetDevicesOfCat(FilterCategory.AMKSTVTuner);
//is there a way to go from TvTuner to VideoInputDevice?
//the only way i can think is to iter through VideoInputDevices,
//then try to find the TvTuner interface from that
//it will fail if the TvTuner interface isn't there
return tvTunerDevices;
}
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#54
2007-02-28, 10:47 AM (This post was last modified: 2007-02-28, 10:52 AM by pBS.)
excellent job there....recording works...Big Grin can't seem to watch tho...even with timeshift...tuning working also...
is there anything else i need to setup? i just put a graph in the recording slot..
is the preview slot used for watching? edit: jus saw the preview 'graph' hehe...i'm a bit out of it still..
excelent work there...Smile

oh and i'm using it in conjunction with wdm recorder so no problems with both together...all my settings were saved and used from graph so all is well..Wink
[wdm for svideo in [sat] and yours for local tuner channels]
will try it on other channels[svideo in] later,but looking fantastic so far!

hey, was wonderin what part o the world you're in? Houston,TX here..Smile
many thanx again..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#55
2007-02-28, 11:42 AM
ahh, seem to have found why it won't let me playback livetv...it won't allow anything to read the file.."permission denied" even with VLC...
so something about the writing is keeping exclusive access...
but i believe once that's sorted it will work fine with timeshift..Smile

hmm,are you replacing the out-filter entirely? i believe the name can be changed in existing filter like sgr does it..but may be a graph thing...YEP! Sad
seems that playing a graph that writes file with graphedit, i still can't watch,[same error]
so apparently the graphs are keeping exclusive access to the outfile..
maybe some other mode or out filter to use that's better?
or just the mode the outfile is opened with...
not sure about that one, maybe the wdm rec. plugin give some clues?
anyways, it works perfectly other than that...tho i did have one BSOD earlier...hehe i think it was cuz i was editing graph with gbpvr loaded..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#56
2007-02-28, 11:54 AM
i edited my graph to make sure gbpvr's file writer was used and viola! it works..Smile i musta been using the ms one before...and can't tell name once it's in there,just shows filename...
so that's solved...Smile too cool..now working fine..Big Grin
more testing coming...will try to have two cards now, finally will be able to use my ati usb2 tvwonder!

[and timeshift is so freakin fast in latest versions, i won't miss livetv at all! plus preview mode with wdm doesn't give any deinterlacing options so looks horrible]

dude, you rock! lol

will let ya know how the testing goes, and yea, separate graphs for livetv and rec. will enable a pseudo-2 quality recordings,[start rec. from timeshift, get preview graph, start from scheduler, get rec graph..] but selectable graphs would be nice for quality management, but not a huge deal..
could even swap out graph files on fly b4 running to do this...
or name them Medium.grf,high.grf etc if you can receive the designation from gbpvr on quality...
just a thought..i'll be happy with just one...as once that's optimised, i'll do most stuff with that one anyways...Big Grin
exclleent work there...!!
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#57
2007-02-28, 12:48 PM
hmmm,i wonder what's required to output an avi instead of mpg? Smile
or wmv? i know there are capture cards that output avi natively, just not sure how or what's required..
sure would be nice as they are usually smaller size for same quality..

Sub, is there anything special needed when recording to .avi?
is there even any way to do it from this plugin?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#58
2007-02-28, 02:44 PM
i got a live preview graph working, but it only outputs to separate activemovie window...hmmm,wonder if it can be squeezed into the gbpvr window? Big Grin
no control/osd yet but i think i know why..
but it is working...Big Grin
have to have a different kind of graph for both, one has no encoders..

anyways, all is working great so far, just playing with asstd graphs...

separate satellite [svideo in] and tuner graphs working nicely...[for those dual capture source setups with one card]

[in best Borat voice] yes, Very Nice....Smile

had a couple of reboots, but gb wasn't open, was playing with graphs...
[invalid graphs can hose you..lol]
so problems in gb yet tho...even when no graph it displayed an error dialog without crash...i renamed the graph file and it worked fine..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#59
2007-02-28, 03:19 PM
Wow PBS you have been busy -

Let see if I can answer any of the questions you have -

I don't change the graph out filter (I think you found this out) I just change the filename.

You should be able to transcode to an AVI (or anything) with a graph - to make it playable we would have to send the "corrected" name back to GBPVR and I see code in there to do that.

I do plan to add low/high graph's just need to figure out what the integer code means for quality to match them.

Notes in the code say to do the preview right you need to build a graph, not run it, then pass it back to GBPVR - my question is which video out filter should you use?
(I suppose this is documented somewhere so time to RTFM)

I have problems with watching firewire sometimes it works sometimes it doesn't - its a bit odd but I'll keep experimenting. If I record into the lib directory I can open the file with GBPVR no problem as its recording, but about 50% of the time if I do it timeshifted GBPVR says it fails - hard to figure out why.

Oh and I live in the town with a King instead of mayor(6 terms??), and a good football team with no quarterback :0(


CV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#60
2007-02-28, 03:46 PM
hmmm,apparently i was wrong about the profiles/graphs, while using preview, if i hit pause to go to timeshift, it actually works, which is impossible if using the preview graph as it doesn't have any encoders or fileout...
i'll test to see if this is the case when not using preview mode in config...
[keeping fingers crossed] nope, bummer... it uses the recording graph..
still can't get the osd working..what is appoverlaysource?

live preview in this way does provide the deinterlacing support, unlike wdm recorder..Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  What music player is used? cncb 1 1,605 2011-08-01, 08:02 PM
Last Post: sub
  Extend functionality of "Video Player" HydroChronic 7 2,510 2007-05-18, 04:37 PM
Last Post: sub
  plugin idea: cd-player dottore 23 6,172 2005-10-11, 05:06 AM
Last Post: dottore
  Any developer interested in a "DV" player/viewer plugin? A_Brass 6 2,350 2005-07-28, 02:39 PM
Last Post: A_Brass

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

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

Linear Mode
Threaded Mode