-
Notifications
You must be signed in to change notification settings - Fork 256
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
Implement rav1eenc.c for libavcodec #472
Comments
A C API is in the work, it depends on #410 and wouldn't be limited to libavcodec. :) |
This is especially useful because ivf to mp4 muxing in ffmpeg doesn't currently work due to the lack of an av1 parser. |
this is on my todo plate for march |
+1 from me. |
The C API exists, you are welcome to use it and provide feedback :) |
Thanks for the link. I will have a look. Offtopic question: is there support for encoding with |
We're missing an API call to set it. When that's added, still_picture should work. There's also some support for reduced_still_picture_header but it's never been tested so we may need to fix a few bugs. |
Sounds good. As soon as I find some time, I'll try to integrate rav1e to libheif. |
@dwbuiten , any update on this? I want to use ffmpeg+rav1e to do some RD curve comparison. Is your patch ready for target bitrate setting? |
@xuguangxin what do you have in mind? |
@xuguangxin It's a few extra lines of code to update the patch to properly map bitrate options from FFmpeg to rav1e. However, rav1e's bitrate mode is a WIP. I am, in fact, working on updating some of the empiracally derived values in the bitrate RC code to work properly with AV1 (one of tons of low hanging fruit for rav1e). If you really want to test it within FFmpeg, you can apply the patch as-is and build; it will work fine, but you have to specify stuff like bitrate via |
@lu-zero , just want to draw some RD curve for all AV1 encoders and compare it with x264 and x265. But current rav1e's ivf muxer did not write bitrate information to headers. @dwbuiten. I had use some workaround to get the bitrate. I used ffmpeg remux the ivf to mp4. ffmpeg will calc the bitrate for me. Also, I want to double confirm you with params. To make sure I did not make a mistake.
thanks for help |
Offtopic, but can't you get bitrate just by diving file size to the number of seconds in resulting video which should be known in your case? |
Sorry for off topic :). In this case, I need query fps and frame count from ivf. Then to the calc by my self. But ffmpeg can help me do this :). |
This is done an upstreamed. |
This issue rather belongs to ffmpeg's bugtracker but I suppose it would be useful to have tracking issue here as well.
Right now ffmpeg supports encoding to AV1 only via libaom. Would be nice to add encoding support via rav1e as well.
The text was updated successfully, but these errors were encountered: