Opened 5 years ago
Last modified 14 months ago
#5818 new enhancement
encoing to interlaced with nvenc
| Reported by: | milanc | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | nvenc, bounty |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
I have question or future request.
I need convert input stream in 50i to H264 or HEVC to 50i output.
I read, NVENC compiled in FFmpeg does not support interlaced encoding.
Only chance how do it is via standalone encoders available here do.
Is a chance to incorporate interlaced output via nvenc_hevc / nvenc_264 encorers?
N-81449-g0edfd8e
built on Linux stream.local 3.19.0-28-generic #30~14.04.1-Ubuntu SMP
Change History (9)
comment:1 Changed 5 years ago by cehoyos
- Component changed from ffmpeg to avcodec
- Keywords iterlaced removed
- Priority changed from normal to wish
comment:2 Changed 5 years ago by milanc
comment:3 Changed 5 years ago by milanc
We provide $150 reward for this. :-)
comment:4 Changed 5 years ago by milanc
We provide $150 reward for this. :-)
comment:6 Changed 5 years ago by oromit
Does interlaced encoding with NVENC work with any other tool?
To my knowledge, it is properly implemented in ffmpeg, but just doesn't work for unknown reasons.
comment:7 Changed 4 years ago by alexpigment
oromit: Not to hijack this bug, but it works with Staxrip. As you said, it "seems to be implemented" in FFMPEG from what I can tell, but the resultant video seems as if half of the fields are being thrown away. In other words, it's got the temporal resolution of 30p but with combing artifacts.
For what it's worth, MediaInfo? shows a field that says "Original Frame Rate: 59.940 (60000/1001)FPS" - which seems a bit odd considering the source video in my test is 29.97 interlaced. The working video from Staxrip doesn't have that same field at all.
comment:8 Changed 16 months ago by Brainiarc7
You can attempt interlaced encoding on NVENC provided that:
(a). You're using an NVENC-capable GPU older than Turing. Turing GPUs inexplicably disabled interlaced encoding.
(b). The following flags are set before input:
-flags +ildct+ilme.
Alternatively (or in combination with the above), insert the filter
-vf tinterlace=interleave_top,fieldorder=tff and retest.
An older thread courtesy of Google which may still be relevant: https://devtalk.nvidia.com/default/topic/1043798/video-codec-and-optical-flow-sdk/possible-driver-bug-or-sdk-bug-related-to-encoding-interlaced-video-with-nvenc/
comment:9 Changed 14 months ago by hydra3333
Please see these
https://devtalk.nvidia.com/default/topic/1038493/video-codec-and-optical-flow-sdk/details-about-nvenc-in-turing-/post/5294637/#5294637
https://devtalk.nvidia.com/default/topic/1038493/video-codec-and-optical-flow-sdk/details-about-nvenc-in-turing-/post/5294809/#5294809
and
"The Turing core generation (GeForce? RX20 series) does not support the interlaced output function."
it's the newer nvidia video cards which do not support hardware encoding of interlaced material via their nvenc technology, not "NVENC compiled in FFmpeg".



We provide $150 reward for this. :-)