View Single Post
Old 03-15-2016, 10:04 AM  
johnnyloadproductions
Account Shutdown
 
Industry Role:
Join Date: Oct 2008
Location: Gone
Posts: 3,611
:stoned ffmpeg Raspberry Pi 2 4k -> 1080 encoding

I installed ffmpeg on the Raspberry Pi 2, and even using all the cores to compile it took over 30 minutes.

Mostly impractical but I could see someone loading a bunch of videos onto the Pi and just running a cron job that would encode the videos differently, slice them up, or extract images. $5 a year for electricity that bad, ~5 watts humming away.

Still the newer intel chips are actually more efficient per unit of power than the Pi is.

Here's the basic instructions to follow: Installing FFMPEG for Raspberry Pi – Jeff Thompson

Here's the original 4k video: Elysium 2013 2160p - 1 Minute Sample Footage - Free 4K Sample Footage

The Pi 2 encoded version: https://dl.dropboxusercontent.com/u/...080_sample.mp4

Doesn't look very good but still neat, took over 30 minutes to render. The last line means that the Pi has to render for around 25-30 seconds for every second of footage. Still if you have it sitting there all the time could be useful just running hot all the time.

I don't know the ins and outs of ffmpeg and what settings are best, so it's just shooting at the hip with this. These commands works in the link.
cheat sheat for ffmpeg 4k arguments: https://nwgat.ninja/4kultrahd-encoding-cheatsheet/

Below is the initial command line argument to the readout of the rendering progress.


johnnyloadproductions is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote