Verify ffmpeg and other image and video libraries use optimal build flags #70529
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#70529
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example, we build ffmpeg with
--disable-sse
, which seems like a wasted opportunity.This task involves going over libraries in
build_files/build_environment/cmake/
and verifying that:Added subscriber: @brecht
Added subscriber: @dr.sybren
Added subscriber: @tintwotin
This ffmpeg setting will enable hardware acceleration
-hwaccel auto
and this one-tune fastdecode
will allow a much faster playback in Blender(going from 20 fps to 30 fps on my low spec computer with a h.264 encoded file): https:*trac.ffmpeg.org/wiki/HWAccelIntro Some code for building ffmpeg with NVENC and VAAPI hardware-accelerated support: https:*gist.github.com/Brainiarc7/3f7695ac2a0905b05c5b Several builds of ffmpeg with hardware acceleration: https://github.com/Brainiarc7Added subscriber: @Ja_cko
Might it be possible to add support for HAP (free, open-source) codecs to ffmpeg within Blender? I believe it would only require adding
--with-snappy
build flag (see https://hap.video/using-hap.html). HAP has becomes very popular in stage productions / VJ circles because of its playback performance. I'm not sure if this is the right place to ask this, but at least the topic is relevant! Please advise if there's better place to ask. Thanks!This issue was referenced by
5b2bfb2fed
Currently, the VSE ffmpeg lib can't decode AV1. Ex: https://www.youtube.com/watch?v=PVGeM40dABA
Ffmpeg 4.2 includes a AV1 decoder: https://hub.packtpub.com/ffmpeg-4-2-releases-with-av1-decoding-support-through-libdav1d-decoding-of-hevc-444-content-and-more/
And an AV1 encoder: https://trac.ffmpeg.org/wiki/Encode/AV1
Other new ffmpeg supported codecs: hevc-444 and Cineform(GoPro - edit friendly).
There is a new ffmpeg gui which includes options for all the new HDR 10 bit formats and Nvidia based hardware encoding here:
https://github.com/CineEncoder/cine-encoder
It may be useful to generate test files to detect what codecs currently aren't supported by by the Blender built-in ffmpeg and also compare render times with and without hardware acceleration, in order the check the necessary build flags are being set.
All the new hardware settings in ffmpeg explained: https://developer.nvidia.com/blog/nvidia-ffmpeg-transcoding-guide/#disqus_thread
Compiling FFmpeg with NVIDIA hardware accelerated settings: https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/index.html
Added subscriber: @clayhands
This issue was referenced by
88604b79b7
This issue was referenced by
1614795ae2
Added subscriber: @iss
Changed status from 'Confirmed' to: 'Resolved'
Added my commits that seems to be relevant.
Since all parts of task have been resolved, closing task as resolved.