DeepFry prop video player (update 6/20/08)
vampyre
Posts: 146
alpha release, still a lil buggy, but it works
example video:
www.youtube.com/watch?v=KLeLwTQ4J3o
DeepFry is a prop application that will play color video files on your NTSC tv from your SD card
the videos are in .pvf format, a custom format.
AVI files can be converted using the freeware app virtualdub, and the included videomaker.exe utility
in this release, the audio is still a little glitchy, but it works well enough to make me giggle like a little girl I'm releasing it a bit early in case anyone wants to play with it. Please let me know if you are able to get it to play vids, or if you have trouble with it.
suggestions, bug reports or feature requests are very welcome
new new version attached:
Post Edited (vampyre) : 6/20/2008 7:09:46 AM GMT
example video:
www.youtube.com/watch?v=KLeLwTQ4J3o
DeepFry is a prop application that will play color video files on your NTSC tv from your SD card
the videos are in .pvf format, a custom format.
AVI files can be converted using the freeware app virtualdub, and the included videomaker.exe utility
in this release, the audio is still a little glitchy, but it works well enough to make me giggle like a little girl I'm releasing it a bit early in case anyone wants to play with it. Please let me know if you are able to get it to play vids, or if you have trouble with it.
suggestions, bug reports or feature requests are very welcome
new new version attached:
Post Edited (vampyre) : 6/20/2008 7:09:46 AM GMT
zip
333K
Comments
Here's a converted video of the Quadrover..
(I think I got this right..)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Post Edited (Oldbitcollector) : 6/17/2008 10:41:09 PM GMT
the video looks a little like it might be pausing, slowing down in places? and then the audio dies out. did you notice that or is it just me? maybe my SD card is badly fragmented
couple of extra notes on this release:
i didn't release the source code for the converter, but if anyone wants it i'll gladly post it. its written in plain old C (for dev c++) using the allegro gaming library
very-soon-to-come future revisions include :
120x96 resolution option and hydra support (thanks to baggers), non-clicky audio, a GUI for the converter, and the ability to adjust colors of the video your processing.
for some reason. It doesn't sound off, just in the wrong spot.
You'll get it.. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
the first difference i noticed was that my video comes out to about 10.3 megs instead of 20.something. when playing it it seems to work fine. My guess is that you dind't first convert your video to 15 frames per second? if you were using virtualdub its because that program is rather confusing when it comes to framrate conversion.
to make things either easier (or more complicated , not sure which)... i created a settings file for virtualdub that people can download, with all the correct settings
To use this
1. start virtual dub, load your movie
2. click file->load settings file (or press CTRL-L), and select the pvfmaker.vcf file
3. export your video as usual
if you try this please let me know if it works.
I used "Change frame rate to: (fps)" and put 15 in the box,
you have "Convert to fps" selected with 15.0000 below the option I used.
Good idea to put the configuration file with it.. Will save everyone errors [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
thanks a lot for trying it out, feedback is really helpful.
Baggers:
Yes and no. the sound is now much better than before, but i'm still having trouble wrapping my brain around non-linear code
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter
www.brilldea.com·- uOLED-IOC, RGB LEDs, TLC5940 driver PCB
www.tdswieter.com
One little spark of imagination is all it takes for an idea to explode
perhaps its the spin code, or perhaps my SD card, but i can't seem to load enough data quickly. at this point the sound is similar to an old scratched up record, which is acceptable to me for now. i think im gonna work on the converter until i have an epiphany about how to do the player better.
Timothy:
Thats actually my next planned move with this monstrosity, is to make a video-based game
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Some concerns/thoughts..
in the video code "Doug Dingus 07/07 Rev 1.0 For HYDRA " lines 132,133 and 256 there are references to a debug led
this makes my proto board's SD card fail.
there seems to ben no audio after "N I C E . . ." ???
for better timing try this :
Perry
I did copy the 'frog.pvf. vid that OBC posted onto my SD card.
And PropDOS loads just fine with defaults, using that as a reference, my TV, KB, SD, Audio..etc all works.
Any ideas?
Thanks,
Rick
I will fix and re-upload that today.. Sorry
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Baggers:
any help is greatly appreciated. what bugs have you noticed? I was hoping someone could help me with my logic, here's the basic concept i've got for double buffering:
is this logically correct? It doesn't feel right to me, i wanna be sure my logic is right before i try to find bugs in the code.
OBC:
thanks again for that video. I'd been trying to think of some video i could post that wouldn't cause copyright issues. I dont think parallax will be terribly upset about putting a commercial for a prop-based-robot on the prop itself [noparse]:)[/noparse]
cassian:
this app was written for propdos or porthos, so if there is any error, it simply reboots. if you load the program into your ROM it will reboot over and over again on an error. is your tv screen red or black during the clicking?
My guess is that your prop isn't set up the way mine is, and my code isn't smart nuff to know about it. what pins are your TV and your SD card hooked up to? Also what hardware platform are you using? i.e. , is it a protoboard, hydra, something custom made,etc?
perry:
OBC is correct about the timing issue, its a problem with that video file, not the player (not that the player is bug free by any means). the players speed is based on the speed of the audio, i.e. frames will only load as fast as the audio plays.
also your right about the LED. I'll soon switch to baggers modified version of the driver which comments that out, as well as a few other nifty things
Well I've tried running it via PropDOS with the same results.
I tried re-downloading the video with no luck.
I can play wav's off the SD etc.
TV - 12-14
SD - 0-4
I'll try the next release, if I get it working I'll let you know, sounds awesome!!!
Oh and I'm using a protoboard with OBCs design suggestions in the CookBook.
THanks,
Rick
Thanks for your feedback. As per perry's note in this thread, some protoboard users may experience problems ( I use one, and i havn't got the problem ) but the next version will fix that error. in the meantime if you want to try to find the problem, try fryview, if that works for you then we can assume the problem isn't the video driver.
fryview can be found here :
http://forums.parallax.com/showthread.php?p=730288
still a bit of a hassle to set up, as it still needs virtual dub, and i can't bundle that with the converter for liscensing issues, but once its set up, converting is now all automated. you just copy your video into the directory , run the batch file, and watch the pretty colors, then bam, u have a PVF file
the new file is linked in the first message in this thread
Post Edited (vampyre) : 6/18/2008 5:34:49 AM GMT
A proper quadrover video
jeffledger.googlepages.com/quadrover.zip
Paul @ Parallax doing a temperature test on the Demoboard
jeffledger.googlepages.com/paul.zip
A little cool surprize..
jeffledger.googlepages.com/spaceace.zip
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
ok I DLed fryview, tried to convert the sample cat PPM image via PropDOS and when I hit enter after the settings screen, the screen goes blank until I reset the prop. No PGF gets created.
The color test works though.
Rick
Did Spudview (the project this is based from) work with your setup?
That would eliminate the video driver from the problem..
BTW, I need to update the Cookbook, but I've been running SD on 16-19
for a while now.. It frees 0-7 for use as a experimentation/game port if you
use the SpinStudio setup.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Thanks for the patience guys.
@OBC
I REMed those same lines for the fryview and it worked, although it made my dogs look evil.
Post Edited (casslan) : 6/17/2008 11:47:52 PM GMT
OBC:
i am really looking forward to seeing those vids, thanks so much for posting them. out of curiousity, did you use the new converter i posted today or did you do all three of those the old fashioned way?
I've noticed an audio sync problem i think with the longer videos, i need to check my settings
I'll give the other a go on the next conversion...
BTW, SpaceAce looks awesome on my little 7" LCD screen. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Very nice and simple. Sound is still a tad out of synch though, I'm sure you'll work it out.
I'm impressed by the high frame rates.
Here is a good fight scene for the masses:
(its a little bigger than the limit of uploads here - 10MB)
http://www.cassidydevelopment.net/dl/dragon.rar
enjoy,
Rick
still having trouble with double buffering, could definately use help with that if anyone wants to toss me a bone
as for frame rates, i believe that this (at 15 fps) is gonna be the limits of spin code unless i find a smarter way to to do it, that being said im quite happy with it. once i get the audio bugs worked out, and add the modified driver i think i'll call it done
try this:
add a variable
after you read the audio from SD
in the player cog loop use:
you make ii global so that you can reset the audio play cog every time you read from the SD.
audio is way cleaner !!!
I have changed wplay in "PropDOS" to this so I can play named files
Perry
Post Edited (Perry) : 6/18/2008 11:20:38 PM GMT
Would you mind posting your complete code for this? I'm a little lost..
Thanks
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
@Perry, still want to see what you are doing..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
at command line entry type in
vplay frog.pvf ' or other filename
my micro A/V Protoboard setup:
Perry
Post Edited (Perry) : 6/19/2008 1:02:11 AM GMT