by theover » Tue Dec 03, 2013 5:40 pm
Well, I'm used to running ffmpeg on I7s (notebook, and even an extreme), and I wouldn't say either h264 (with x264 or ffmpeg) gives me what I want: realtime 1080 HD encoding at at least 30 fps, but it compiles easily (on Linux), and it does produce usable results of High Definition quality.
The x264 tool can be used for bluray type of video streams, so 1080i pr 1080p at 24/50/60 frames/sec, and can do so properly. You cannot necessarily patch pieces of h264 together into one stream, because there may be frame-inter-dependencies. Of course both search algorithm and the rounding to a number of bits (with proper progressiveness) and other kinds of things (like motion analysis) can be done in different ways, and corners could be cut.
Of course this technology isn't new, so it's hardly a matter of "can it be done". Because "of course" it can be done, I've got a $300 Sony cam that pulls about 3 Watts and it creates stunning 1080p50 h264 of 28 megabit/sec.. Also a standard Android tablet with decent ARM processor in it can do reasonable realtime h264 encoding for 720HD. Sure a good idea to use Raspberry work to run on the ARM of the Adaptive board, maybe there's some nice NEON accelerated stuff that can be used, without wandering into the territory of making illegal DVD/Bluray transcodings. More like seeing if the Adaptiva can maybe also run a free Mathematica license!
From both you comments I recon you're not the kind of savvy guys I was talking about, but maybe some people you know have some interesting code you can port, and play around with. It would be cool to have some things on the Parallella that allow fun things like video encoding, even if it isn't industrial-level optimized. It would make a great (most likely university) undergrad teaching tool to be able to play with the available ARM-to-Adaptiva bandwidth, and to search out which computations could be offloaded to where. Including the FPGA would even make for some novel ideas to be implementable in the architecture, could be interesting, and a RISC processor like the Adaptiva cores may well give quite different results than say the PlayStation stream processor or offloading to something like Cuda and NVidia's "VDPAU".
T.V.