How can I encode from video to VVC 10 bit and decode back from VVC to AV1? #102
-
Hello guys.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
You cannot decode a video back to a different format, this is not a thing. You can only decode the video from any format format back to raw video (raw YUV) and encode this raw YUV to another format. This is called transcoding. For VVenC, you'd need to actually create the intermediate YUV file or use piping, since it is not yet integrated into FFmpeg. For formats that have both encode and decode integration in FFmpeg, you don't need to create the intermedia files, since the decoding is done in FFmpeg memory, and the encoder uses it as a source. If I understand correctly, you want to encode VVC, and transcode (decode to raw YUV and encode) it to some other format for viewing. You'd have to ensure that the transcoding does not introduce additional artifacts, so you'd need to use high-bitrate (the second encoding has to be visually lossless if you want to see the effects of VVC encoding). If you are using x265 for transcoding, use --cu-lossless parameter, and I'd propose a bitrate of 40mbps for HD and 100mbps for UHD. Don't know about AV1. To keep the encodes and decodes as 10bit, make sure to use the yuv420_10 format in vvenc (vvdec will retain it), and after decoding your input format for the second encoding is yuv420p10le. Please check with your used codec how to ensure it encodes in 10bit, and visually lossless. |
Beta Was this translation helpful? Give feedback.
-
Please refer to the README.txt or the whitepaper (see Wiki) for an explanation on how to build the project. |
Beta Was this translation helpful? Give feedback.
You cannot decode a video back to a different format, this is not a thing.
You can only decode the video from any format format back to raw video (raw YUV) and encode this raw YUV to another format. This is called transcoding. For VVenC, you'd need to actually create the intermediate YUV file or use piping, since it is not yet integrated into FFmpeg. For formats that have both encode and decode integration in FFmpeg, you don't need to create the intermedia files, since the decoding is done in FFmpeg memory, and the encoder uses it as a source.
If I understand correctly, you want to encode VVC, and transcode (decode to raw YUV and encode) it to some other format for viewing. You'd have to …