-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add other hardware support #5
Comments
This was already implemented in HVD so just copy the relevant section(s) of code |
Some conclusions after quick implementation trial with FFmpeg:
It seems that for the
It is definitely doable in a clumsy hacky way with heuristics:
I don't really like the above solution. What I really need is VAAPI so this issue is put for later (if ever) |
Hack for anybody who needs other hardware. Know your hardware and check what FFmpeg supports with
Or grep by hardware type:
Identify the hardware codec you would like to use and:
|
You can get some idea which format to use with: ffmpeg -pix_fmts Look for the ones described with |
After making encoder configurable in ac3a4c1 the only things holding support for other hardware seem to be: What I need is VAAPI, so I am not going to touch it right now. If anybody needs other hardware support those are the lines to hack. |
- extend hardware config with input_width, input_height fields - if specified and different from width/height perform hardware accelerated scaling before encoding - update examples - update docs - update readme Adds dependency on libavfilter. Closes #24 Makes #5 more complex Indirectly related to #25 Indirectly related to #6
In #32 library was generalized to support also Nvidia NVENC Generalizing for more hardware should be even easier now. |
Generally Intel, AMD, Nvidia and Nvidia jetson work but may have their quirks See: |
Adding other hardware support should be rather easy but this needs:
This is simpler in FFmpeg 4.0 and later.
I don't really need this future so this is distant future (if ever)
The text was updated successfully, but these errors were encountered: