Forum Replies Created
-
AuthorPosts
-
stanelieParticipant
Looks like I spoke too fast : I only get 6-10 fps on my display machine after running through ffmpeg.
Guess I still need that command line syphon client… Oh well…
stanelieParticipantI forgot to say that the output of ffmpeg is a multicast network stream to be used with http://www.piwall.co.uk/ , if anyone cares.
So, in my case, Millumin to Syphon to Processing to FFmpeg to Big-Video-Wall-Made-Of-Lots-Of-TVs-Running-On-Raspberry-Pi
Latency is about 0.4 secs on my rig… Could be worse…
Yay!
stanelieParticipantSo,
I ended up doing it myself using Processing. I know it’s a very ugly hack, but it works.
Here is the sketch : http://pastebin.com/znLrCBcL
It’s a blend of the ReceiveFrames example sketch that was included with the Syphon library for Processing, and this sketch from Jeffrey Thompson : http://www.jeffreythompson.org/blog/2012/01/26/creating-video-with-processing-and-ffmpeg/
Also, since I am using a temporary file to pass the frames from Processing to FFMPEG on each frame and I didn’t want to wear out my SSD drive, I first created a ramdisk onto which I commit and overwrite this file.
To create this ramdisk, in Terminal, do this :
DISK_ID=$(hdid -nomount ram://121440) && newfs_hfs -v tempdisk ${DISK_ID} && diskutil mount ${DISK_ID}stanelieParticipantSorry,
I am not a coder, only a user…
🙂
stanelieParticipantAll I found so far is this :http://forum.processing.org/one/topic/sketch-video-catpure-with-ffmpeg-and-xuggle.html
Isn’t there something simpler? Is there a command line syphon client?
-
AuthorPosts