-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Feature Request
While working on NVENC support #259
I have compared FFMPEG with LIBAV a little, backporting FFMPEG's NVENC implementation
to LIBAV.
Here I have discovered a few artifacts:
-
FFMPEGs NVENC version is more up-to-date and closer to the Nvenc spec,
LIBAVs version is sort of outdated. -
Most enhancements are being produced for FFMPEG first, then merely backported to LIBAV
- FFMPEG is more up-to-date regarding error handling and security
- FFMPEG is also more quick to adopt state of the art features
- Backports to LIBAV are performed by 3rd party developer and may introduce new hard to find
issues bugs due to increasingly diverting API and lack of internal knowledge or time at hand. - See Nvenc encoder is not supported yet! #259 (comment)
- See a libav maintainer https://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2015-April/043942.html
- Above is also visible with the backporting, i.e. the format writer doesn't work properly using NVENC
- See cf7c027
- See 'academic' pull request Nvenc encoder libav #973 of trial branch https://github.com/sgothel/HandBrake/tree/nvenc-encoder-libav
- Reasons for Debian (and hence Ubuntu) to revert to the original FFMPEG
- See https://lists.debian.org/debian-devel-announce/2015/07/msg00001.html
- See https://wiki.debian.org/Debate/libav-provider/ffmpeg
- See https://en.wikipedia.org/wiki/Libav#Fork_from_FFmpeg
HandBrake version (e.g., 1.0.0)
Master branch
Example
Commit sgothel@0466852
as used for the NVENC feature in branch https://github.com/sgothel/HandBrake/tree/nvenc-encoder
(pull request #971)
I could easily replace LIBAV 12.2 with FFMPEG 3.4, however, one would need to
re-validated the many LIBAV patches for FFMPEG 3.4 - if they still apply.
A first attempt disclosed multiple rejections and this task surely needs some effort.
Work Assignment
I would volunteer performing this work, if the transition to FFMPEG is supported.