[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208356, current: 206206; changing to 208357. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208357, current: 206206; changing to 208358. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208358, current: 206206; changing to 208359. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208359, current: 206206; changing to 208360. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208360, current: 206206; changing to 208361. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208361, current: 206206; changing to 208362. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208362, current: 206206; changing to 208363. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208363, current: 206206; changing to 208364. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208364, current: 206206; changing to 208365. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208365, current: 206206; changing to 208366. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208366, current: 206206; changing to 208367. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208367, current: 206206; changing to 208368. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Non-monotonous DTS in output stream 0:0; previous: 208368, current: 206206; changing to 208369. This may result in incorrect timestamps in the output file.
[mp4 @ 0000028c199dc000] Invalid DTS: 370370 PTS: 209209 in output stream 0:0, replacing by guess


最近合併一部字幕視頻出現這個,只有在合併那一部才會遇到這個問題,想問一下是什麼問題?謝謝

我的指令如下
mkdir ..\transfer
for /r %%a in (*.mp4) do ffmpeg -y -vsync 0 -c:v h264_cuvid -i "%%a" -c:v h264_nvenc -vf "subtitles=filename='%%~na.ass'" -b:v 6000K -b:a 192K -ar 44100 "..\transfer\%%~na".mp4
mss77520
我把-c:v h264_cuvid這個拿掉還是一樣的問題
mss77520
我的指令要怎麼修改呢??感謝
1tac wrote:
似是RTX系的NVENC...(恕刪)




我的指令要怎麼修改呢??感謝
j800930
如果是樓上1tac大說的問題那你該改的是h264_nvenc,如果你的ffmpeg有--enable-libx264就改成libx264
j800930
在舊文回你都不理的 = =
硬壓
mkdir ..\transfer
for /r %%a in (*.mp4) do ffmpeg -vsync 0 -c:v h264_cuvid -i "%%a" -vf "ass='%%~na.ass',hwupload_cuda" -c:v h264_nvenc -b:v 6000K -b:a 192K -ar 44100 -y "..\transfer\%%~na.mp4"


軟壓
mkdir ..\transfer
for /r %%a in (*.mp4) do ffmpeg -i "%%a" -vf "ass='%%~na.ass'" -c:v libx264 -b:v 6000K -b:a 192K -ar 44100 -y "..\transfer\%%~na.mp4"


請自行參考:How to Add Subtitles to a Video File Using FFmpeg - Bannerbear
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!