GithubHelp home page GithubHelp logo

hydra3333 / build_ffmpeg_x64_for_raspberrypiosx64 Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 1.5 MB

build ffmpeg x64 for the 64bit Raspberry Pi OS (bullseye)

License: GNU General Public License v3.0

Shell 61.01% C 38.99%

build_ffmpeg_x64_for_raspberrypiosx64's Introduction

Build ffmpeg x64 for the 64bit Raspberry Pi OS (bullseye)

The Raspberry Pi 4, like the Pi3/3+, contains an Armv8 CPU. Here, we assume an Arm8 operating system (64 bit) and build some dependencies to use ARM8-specific instructions.

OK, I started tinkering with building a "bleeding edge version" [gpl3, non-distributable] static 64-bit ffmpeg under 64-bit bullseye (a work in progress).

It builds some of ffmpeg's dependencies from the latest "bleeding edge" sources (mostly git), so as not to depend too much on what can come from the Raspberry Pi OS repositories (which can sometimes be a few versions behind).

The rest of the dependencies are pre-installed from Raspberry Pi OS repositories via sudo apt-y install (usually \*-dev).

Hopefully the resulting x64 ffmpeg enables h264_v4l2m2m gpu hardware accelerated encoding of h.264.

Perhaps also see these:
https://forums.raspberrypi.com/viewtopic.php?p=1776531#p1776531 https://gist.github.com/wildrun0/86a890585857a36c90110cee275c45fd

We do this build because:

It uses the LATEST updated source rather than whatever old version may be in Raspberry Pi debian bullseye x64 repositories.

Beware:

Encoding video to AV1 (AOM encoder) takes FOREVER on an AMD 3900X at 4000Ghz (eg it encodes at around 1 to 2 frames per second)
... let alone when running the AV1 encode on a little Raspberry Pi 4 ;)

build_ffmpeg_x64_for_raspberrypiosx64's People

Contributors

hydra3333 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jplana

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.