簡體   English   中英

ffmpeg 從 H.264(High 4:4:4 Profile)轉換為 H.265(Main Profile)

[英]ffmpeg convert from H.264 (High 4:4:4 Profile) to H.265 (Main Profile)

如何使用 ffmpeg 將視頻從 H.264(High 4:4:4 Profile)轉換為 H.265(Main Profile 4:2:0)?

我不能用這個命令做到這一點:ffmpeg -i input.mkv -c:v hevc_nvenc -c:a copy output2.mkv

那會返回錯誤,無法識別源格式

得到一個錯誤:

Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Stream #0:1 -> #0:1 (copy)
Stream #0:3 -> #0:2 (subrip (srt) -> ass (ssa))
Press [q] to stop, [?] for help
[h264 @ 0000019d020a5000] gray chroma
[h264 @ 0000019d020a5000] error while decoding MB 61 26, bytestream 388357
[h264 @ 0000019d020a5000] concealing 5028 DC, 5028 AC, 5028 MV errors in I frame
[libx265 @ 0000019d020a8340] Error setting preset/tune 'placebo'/(null).
[libx265 @ 0000019d020a8340] Possible presets: ultrafast superfast veryfast 
faster fast medium slow slower veryslow placebo
[libx265 @ 0000019d020a8340] Possible tunes: psnr ssim grain zerolatency 
fastdecode animation
Error initializing output stream 0:0 -- Error while opening encoder for output 
stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM