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
#11
2007-01-08, 07:53 AM
unfortunately none of the controls in graphedt are addressable...
particularly the add filter dialog...or i haven't found any functions to control them yet...stilll looking and got newest ver of au3 with some new commands so i'll see what i can come up with...also they added binary functions so should be able to do it with autoit like a search/replace...but really messy with binary stuff...i found a nice little hex editor i'm gonna try to mod to do it..

not sure how i'm gonna handle varying length replacements in binary tho..
if it can handle the extra space i'll just make original name a really long one..Smile
hmmm,maybe the newer version of graphedt has better controls...
[it lacks xml completely..]
let me know what you come up with...
cuz that's what's stopping my util from doing avi->anything else...
[i can write avi fine tho...go figure]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#12
2007-01-08, 06:58 PM (This post was last modified: 2007-01-09, 04:37 AM by carpeVideo.)
Well I got the tool to replace the name in binary - but as suspected it gets kicked out of graphedit (says the file is too short, even though its longer)

Here is the code for the moment, since I'll be unable to work on it for the rest of the week. Assumes the original graph is pointing to c\output.mpeg.

Maybe your trick of using a really long name to start with will work.

Ok - had a few minutes before I left - using a long name as base and padding with spaces works!! - must change the window name from 'untitled - graphedt' to convert2.grf - graphedt' for the controls to work. I'll try as a replacement to VLC for firewire when I get back later in the week.

CarpeV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#13
2007-01-09, 06:36 AM
hmm,is that with the newer graphedt? old one should work for grf files no problem too..hmmm,will have to run it to extract files nad look...
otherwise not sure why need to change window handle..are you working with the controls or just editing the xgr and running normally?

got it decompiled and looking thru...told ya it was a mess...lol
nice simple method,should have thought of that myself...but that's why collaberation is so cool...Big Grin
thanx for the look-see...i know lots of users would want it..
i can clan it up alot, tons of stuff in there not neeeded for this use...Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#14
2007-01-09, 07:08 AM
yes, working nicely...but could you explain a little about how you did it?
[i need to double it up and replace the infile too for avi<>avi encoding..]

i'll add a little context help for /? command, and clean out all the file sizing crap..
[it only needs to stop when you stop it,otherwise continue on forever..]
so will speed things up considerably..
and will kill all the gui stuff just cuz don't need it...maybe keep tray tho..
[just to give heads up on what's recording,and kill ability]

nice thing about this is, you'll be able to have different recording specs for each channel..Smile even different file types...avi,mpg,psp,etc

Now it's really a .grf player....thanx..

[now i just need to put my ati tvwonder back together and try it out...lol]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#15
2007-01-09, 02:10 PM
well, got it working but it's ugly...for tuners that is..
seems tuners don't actually apply their settings when added,they just add...
so to actually have a tuner 'tune', yuo have open it's properties and 'ok' it..
no biggie, but the controls in graphedt only allow this to happen with mouse..
and to control with mouse you have to bring to front and make visible..Sad
[just for a flash tho] and watch mouse do it's thing..[kinda slow]
i'll see if i can hide it better but i think it'll have to work this way for now..
now takes ("outputfilename.mpg" graph ) as params and doesn't show the little tooltip..

also i got the longer filenames to work,i used a 78-char filename so that should be enough...Smile

you probably won't have to do the mousing for yours if it's a non-tuned input..

let me know if you can right click on a filter in the graph with auto-it and we can make it work better..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#16
2007-01-11, 04:08 AM
Sounds like a great start, I'm not using it to tune but it would still be nice to change some properties of the graphs. As I said I can't touch it again til later but I'll give it a shot when back. Can you post your stripped down version?

I got a new tool from Dvico to experiment with as well.

CarpeV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#17
2007-01-11, 06:27 AM
cool..will post it when i get a bit more cleaned up..i had also made some more changes to my base version that wasn't in yours so will add that as well..
[now using ffmpeg to check ongoing file duration,but not needed here..]
plus a nice little tray bar graph stolen from task manager..Smile

i can't control a thing as i'm just mousing around blind, but it'll always work cuz the tuner is always first filter and i mouse relative to the window..
i speeded it up to where it's only a second quick flash before encoding, and it puts the mouse back where it came from...
was hard catching that tuner initialize error, i would go into filter to check correct setting, not knowing i was actually initializing it...
i just open the dialog, and hit ok, and that's enough to 'init' the tuner...

also, i have a custom ati avivo codec i altered the defaults on if ya want it...works nicely..Smile i rec. at 1800 at 352x480 and it looks wonderfull and really small..can also put out avi/psp/ipod..
i just need to figure out where the audio defaults are, it defaults to 44khz which isn't dvd compatible at all, has to be re-compressed..Sad
i think i have someone who can help with that tho..

next i'll hook it into external recorder to see if everything works in there...
but so far so good...Big Grin it works..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#18
2007-01-11, 03:21 PM (This post was last modified: 2007-01-12, 01:39 AM by carpeVideo.)
Thanks

Found this site on graphedit tricks which is very cool (pip etc.):
http://www.rage3d.com/board/showthread.php?t=33792569

It also says you can hit enter to start a graph playing, I wonder if that has a different behavior with settings than hitting the play button (prob not but its worth a shot)


Even more fun check this out : http://forum.doom9.org/archive/index.php/t-106066.html
Somebody wrote something that plays graphs - with source code included. It would need to be modded to change the filenames (or use autoit on it instead of graphedit). Haven't tried it yet to be honest.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#19
2007-01-12, 05:33 PM (This post was last modified: 2007-01-13, 09:44 AM by pBS.)
the 'enter' is same as alt-g p....you have to actually bring that menu up before 'enter' works tho...[alt-g]
i use the one key versions, but same key actually...
working nicely now...had to make sure to 'stop' the graph before exiting or wouldn't work next time..
also added in the /stop param part to kill nicely it if it's already running... [play.exe /stop]
for yours you can comment out the mousing/properties thing easily to streamline it better...

[but apparently any tuner will need this..otherwise channels never get tuned]
it's pretty quick tho..Smile

also had to make sure previous program got focus back for remote issues..
[by sw_show then sw_hide it]

i left the gui in it but cleaned up the stat checking and includes and tray stuff in this version..

tho still needs work, thought i'd share..Big Grin
will have to create a different one for transcodes, but should be easy enough to adapt to my existing one..

still have optimization to do to keep the startup time to a minimum...

EDIT:
oops, sent wrong file....Big Grin
here's working one..
learned a bit about the capture graphs, that app isn't worth much...basically you just have to add the capture source and writer, [and for me, tuner] and tell it to autoconnect and it will..Smile
may try that to see if it tunes properly...
[in other words, just save in your graph the filters, it will connect the appropriate pins itself..]
but there a lot of exclusions....probably can just connect and save those pins in graph and let it connect the rest...

cuz sure would love to get rid of the mousing...annoying on several levels..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#20
2007-01-15, 03:20 PM
Gave the new code a shot, it does work but not really any better than VLC does for firewire recording. In fact sometimes the close menu hangs around as an artifact. I may mess with the other program attached and see if I can get it to issue a stop command as well. Back on the road though so it won't happen for a few weeks,

cv
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  What music player is used? cncb 1 1,611 2011-08-01, 08:02 PM
Last Post: sub
  Extend functionality of "Video Player" HydroChronic 7 2,543 2007-05-18, 04:37 PM
Last Post: sub
  plugin idea: cd-player dottore 23 6,257 2005-10-11, 05:06 AM
Last Post: dottore
  Any developer interested in a "DV" player/viewer plugin? A_Brass 6 2,368 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