[QUESTION] How to pipe hw-decoded stream into another encoder ?
Closed this issue · 4 comments
Hi there, in this discussion I've suggested to allow users choose how to exploit all available GPUs.
Can QSVEnc/NVEnc/VCEEnc be used as decoders only ?
In other words: is possible, for example, to pipe QSVEnc-hwdecoded video stream into NVEnc (or FFMPEG, why not) and vice-versa ?
Thanks in advance for your kindly clarifications.
note: a GH-Discussion section would be useful, IMHO.
It is possible to output raw video frame in y4m format by -c raw in QSVEnc and NVEnc ( not supported in VCEEnc).
It is possible to output raw video frame in y4m format by -c raw in QSVEnc and NVEnc ( not supported in VCEEnc).
When piping from NCEnc to QSVenc, can I apply all the filters as usual in NVENC and then pipe it via -c raw
to QSVenc? Would I also need to provide the necessary information, such as fps, colour matrix, etc.?
When piping from NCEnc to QSVenc, can I apply all the filters as usual in NVENC and then pipe it via -c raw to QSVenc? Would I also need to provide the necessary information, such as fps, colour matrix, etc.?
Yes, you can have filters applied in NVEnc and then encode in QSVEnc.
However, although framerate can be passed on, but the timestamps will not be, so it is not suitable for VFR(Variable framerate). Also colormatrix and related information will not be passed, so you will need to provide those information to the encoder.
I'll close the issue as the question has been answered.