-
Notifications
You must be signed in to change notification settings - Fork 114
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
AV1 encoding to IVF #607
Comments
It seems like that ivf format requires it's timebase of the stream to be as exact inverse of framerate, it's little weird behavior. I'll have it changed in the next release, but I recommend to avoid use of ivf format, as "setting timebase to exact inverse of framerate" means that it cannot handle VFR (variable framerate) properly, and can only handle CFR (constant framerate). I recommend to output video in mkv or mp4 format, which can handle timestamps more precisely. You shall be able to mux audio afterwards even if the video is in mkv or mp4 format. |
Oh, okay, very interesting and truly weird. So I will avoid IVF and find another way and see, if I can implement a workflow with an MKV or MP4 file. Thank you. |
Hello rigaya,
I have an issue when encoding to AV1. Until now
NVEncC
created an.av1
file that was muxed to MKV/MP4. Due to a bug and to be compliant with the other encoders, I decided to switch the extension to.ivf
which is the sort of default extension for AV1 encoders. This is also supported byNVEncC
, but the result is broken. Maybe I am missing something or is it a bug?Little addition: It should also affect
QSVEncC
andVCEEncC
.Source File
```Without altering the fps using this command line:
NVEncC64.exe --avsdll [..]\AviSynth.dll --qvbr 28 --codec av1 --preset P1 --output-depth 10 --colormatrix bt709 --colorprim bt709 --transfer bt709 -i XXX_AV1.avs -o XXX_AV1_out.av1
...
NVEncC
outputs the right values:... and the media info is okay, even the fps are not mentioned, and the playback is also okay:
AV1 File
```But when using the same command line with an
.ivf
file extension,NVEncC
is also right:... but the result is completely off, indicating 100 fps instead of 25, which leads to massive issues when mixing with audio to MKV/MP4:
IVF File
```The text was updated successfully, but these errors were encountered: