Skip to content
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 (than h.264) encodings #4

Closed
bmegli opened this issue Jan 29, 2019 · 3 comments
Closed

add other (than h.264) encodings #4

bmegli opened this issue Jan 29, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@bmegli
Copy link
Owner

bmegli commented Jan 29, 2019

This is controlled by single hard-coded string now.

Enabling other is as simple as changing it, including:

  • mjpeg
  • mpeg2
  • vp8
  • vp9
  • hevc
@bmegli bmegli added the enhancement New feature or request label Jan 29, 2019
@bmegli
Copy link
Owner Author

bmegli commented Feb 3, 2019

This was already implemented in HVD so just copy the relevant section(s) of code

@bmegli
Copy link
Owner Author

bmegli commented Feb 4, 2019

This is not so easy, the situation is not symmetric to decoders, see #5

@bmegli
Copy link
Owner Author

bmegli commented Feb 4, 2019

Hack for anybody who needs other codecs: change the string "h264_vaapi" in hve.c to:

  • hevc_vaapi
  • vp8_vaapi
  • vp9_vaapi
  • ...

You can check what is supported by calling:

ffmpeg -codecs | grep vaapi

bmegli added a commit that referenced this issue Dec 30, 2019
- allows selecing H264, HEVC, MJPEG, ... through config
- HEVC 10 bit per channel encoding example

relevant to #4 and #18
@bmegli bmegli closed this as completed in ac3a4c1 Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant