[英]how to encode a video file to x265 10bit main10 profile in ffmpeg
[英]lossless video to h.265 - [error]: main10 profile not compatible with i422 input chroma subsampling
我有一個無損.mov
視頻,我正在嘗試使用 h.265 對 firetv 和其他一些 android 電視設備進行編碼。 他們支持的規范是:
基於他們的原生 H.265 支持,我正在嘗試導出Main 10 Profile with level 4.1
。
我正在運行的命令是:
ffmpeg -i 001_lossless.mov -c:v libx265 -preset slow -profile:v main10 -level:v 4.1 -c:a aac -b:a 128k output.mp4
這會產生以下錯誤:
x265 [error]: main10 profile not compatible with i422 input chroma subsampling.
解決此問題的最佳方法是什么? 我也可以請求不同格式的無損視頻,但我不確定要什么。
解決方案是添加一個附加參數: -pix_fmt yuv420p
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.