Closed LSC527 closed 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
THANKS!It works fine now.
@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
Are you able to encode an 8 bit file using X265's SVT option?
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.
Thanks for your advice!
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 It said that "The encoder bit depth shall be equal to 8 for Main Profile"