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
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#31
2007-02-19, 04:27 AM
yea, that did it for me....compiled and works...
now to the fun part....hehe
i think i'm gonna make one just for tuner graphs, as you can use the existing one to do normal graphs...tho an on the fly output filename is needed...

so basically just have to load graph, set outputfilesink,tune the tuner, and start the graph...Smile
also have to put in some sort of stop mechanism to stop it nicely instead of killing the app...[that keeps filters busy,need to close them]

let me know if you get anywhere with any of the pieces...
i'll post what i get going....
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#32
2007-02-23, 02:57 AM
Ok,

My compiled version does nothing - does yours play something?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#33
2007-02-23, 06:09 AM
yep,works, had to modify the double-slash code tho...
[basically i just commented it out,i think it's not needed anymore]
[mine threw errors from that part of code, so i just bypass it]
seems to not need it tho, ran graphs from long path no problem..
Code:
    //while(lastPos != string.npos)
//    {
//        s.replace(lastPos, 1, "\\\\");
//        lastPos = s.find('\\', lastPos + 2);
//    }

    return runGraph(lpCmdLine); This is the line that needs changing really

so yea, it works for me...just remember you have to give it a command line option..[the graph to run] or it won't do anything...Smile
i'm a total newbie to c++ so any help is great...

just need a couple extra parts and this baby will be quite useful..Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#34
2007-02-23, 03:21 PM (This post was last modified: 2007-02-23, 10:57 PM by carpeVideo.)
That did the trick -

I am a newbie to it as well - in fact I haven't programmed in forever.

Here is another tool that is worth looking at - it is specifically for firewire but shows how to create and renders graphs with decent comments as well.

http://home.comcast.net/~brzez2/dctrecord.html

I haven't got it to compile because of old headers but it might be worth a look see for examples. Finally here is a link to a version of what we are trying to build for Sage player - I don't even know what the language is but it is more robust and expects communication via an IP port.


http://www.nolberger.se/Sage/GraphRecorder/

Just stumbled on this explanation as to how to change filter graphs - looks like it may be a big help!

http://www.flipcode.com/articles/article...ow03.shtml
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#35
2007-02-24, 08:05 AM
that second one is borland delphi....unfortunately...i loved that language but i'm not setup for it anymore, and was long long time ago so i'm sure would have to start from scratch...too bad too cuz that is perfect for what we need,even better actually...i like the net render aspect...Smile
i'll see if i can weasel a way to use the original exe....doesn't seem to need anyting special on other end, and remote capture sources would be too cool...lol

the first one is vc++ tho so that's workable for bits and pieces......
thanx...now just need more time to work on it...got any extra of that laying around? Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#36
2007-02-24, 08:26 AM
you know, i may just be able to get this working for gbpvr as-is...[SGR]
and have channel change ability as well as external changer ability, and control it from hip or girder, tho i'll probably write my own app to send the SGR commands like channel changes and output filename..

but it does exactly what we need...Big Grin
excellent find dude...
the more i looked at source code and what needs to be done, the more i was leaning towards writing it from scratch using dshowlib,as it includes all the necessary bits we need,and works from c# too...very nice wrapper functions..
but may not have to as this does everything we need and thensome, and has net ability built in too...easy to write something to send the commands via tcp, so looking very good...Big Grin
will let ya know what i come up with..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#37
2007-02-24, 08:40 AM
the hilarious thing is, part of a package called gbOptions Big GrinBig Grin

apparently the guy's name is GL Brown...Smile

whew, i thought Sub was moonlighting on us!! LOL

tons of good info in source...i'll have to readup on sagetv's net-source commands to get it working as-is but that shouldn't be too hard..
couple of lines in an autoit script should be alls needed for control, and that should be all she wrote...
again, great find..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#38
2007-02-24, 01:42 PM
i've got it recording..Smile used a telnet session to send commands for now...
can start,stop, and change filename for output...it records nicely..
i sent sage a message to get details about the ip protocol used so i can change channels...it also has external changer and girder support..but i wanna change the graph's tuner's channel..so will wait for details..

in short, very usable for just about anything, including firewire no problem..
once i work a command line interface i'll see how it goes in external recorder..Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#39
2007-02-24, 03:49 PM
pBS Wrote:the hilarious thing is, part of a package called gbOptions Big GrinBig Grin

apparently the guy's name is GL Brown...Smile

whew, i thought Sub was moonlighting on us!! LOL
Big Grin
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#40
2007-02-25, 05:46 AM
Hmmm,

I should have read this earlier - I have taken the previous program and written a very kludgy graph player. It uses the filename from GBPVR to figure out the amount of time it is supposed to record.

Of course - it doesn't work well for live TV since it doesn't stop until a program is over and killing it leaves player resources taken (like graphEdit) Sad . Although I was going to try to add net control (or some other signalling to start and stop) as well.

I can change the filename within and probably the channels as well. Not knowing C++ it is pretty much C inside of C++. I will post if you want.

CarpeV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  What music player is used? cncb 1 1,606 2011-08-01, 08:02 PM
Last Post: sub
  Extend functionality of "Video Player" HydroChronic 7 2,519 2007-05-18, 04:37 PM
Last Post: sub
  plugin idea: cd-player dottore 23 6,212 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