OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
518 stars 170 forks source link

Got an error using x265 linked with SVT-HEVC to encode a 10bit input #549

Closed LSC527 closed 4 years ago

LSC527 commented 4 years ago

I built SVT-HEVC with x265 and ran this command to encode a 10bit input: x265 --svt --input xx.yuv --input-depth 10 --input-res 1920x1080 --fps 25 --output x265.mp4 image It said that "The encoder bit depth shall be equal to 8 for Main Profile"

intelmark commented 4 years ago

You might need to add a profile parameter for 10 bit encoding with x265 https://x265.readthedocs.io/en/default/cli.html#profile-level-tier

(e.g.) --main10

LSC527 commented 4 years ago

THANKS!It works fine now.

LSC527 commented 4 years ago

@intelmark @tianjunwork Hi, could you please help me with this case? Thanks a lot. I wonder if I can: step 1: link SVT-HEVC with x265, as described in https://x265.readthedocs.io/en/latest/svthevc.html#build-steps step 2: build FFMPEG with "./configure --enable-libx265" step 3: enable SVT-HEVC through FFMPEG command

Now I have built FFMPEG with x265, which has been linked with SVT-HEVC. But I don't know what command/params should I use to enable SVT through FFMPEG. I try to pass 'svt=1' to '-x265-params' but got an error. This is my command: ffmpeg -y -s 1920x1080 -pix_fmt yuv420p10le -i xx.yuv -c:v libx265 -x265-params "svt=1" -b:v 15M -preset slow xx.mp4 image

intelmark commented 4 years ago

Are you able to encode an 8 bit file using X265's SVT option?

tianjunwork commented 4 years ago

Hi @LSC527 , using SVT_HEVC through x265 is out of scope of this project. Your question is related to interface between ffmpeg -> x265 -> SVT-HEVC. Recommend you post question in x265 project.

LSC527 commented 4 years ago

Thanks for your advice!