2022年11月24日 星期四

ffmpeg MKV to MP4 with embed subtitle

使用 ffmpeg MKV 轉 MP4 內嵌字幕

ffmpeg -i input.mkv -vf subtitles=input.mkv:si=2 output.mp4

si=2 是指第三個字幕 stream, 第一個是 0
可先用 ffprobe 查看有幾個字幕

沒有留言:

New SSH client to old SSH server

從新版 SSH 8.x 連到舊版 6.x SSH server 若出現 Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss ...