rushmj / mpv-video-cutter

cut video and concat automatically
MIT License
46 stars 7 forks source link

ffmpeg options -avoid_negative_ts 1 #2

Open kanliot opened 5 years ago

kanliot commented 5 years ago

I'm confused here about what this code does with ffmpeg? can you please add a short comment to the source code, explaining why you had to add or remove these options? Thank you.

I wanted the script to operate normally, but it looks like what was uploaded in both files wasn't really consistent.

in ffmpeg command line: -avoid_negative_ts 1 -accurate_seek

rushmj commented 5 years ago

avoid_negative_ts avoid negative time when cut video, accurate_seek makes cut accurate but it doesn't work when using -copy. thank you for fixing bug. ------------------ 原始邮件 ------------------ 发件人: "kanliot"notifications@github.com; 发送时间: 2019年9月10日(星期二) 上午9:35 收件人: "rushmj/mpv-video-cutter"mpv-video-cutter@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: [rushmj/mpv-video-cutter] ffmpeg options -avoid_negative_ts 1 (#2)

I'm confused here about what this code does with ffmpeg? can you please add a short comment to the source code, explaining why you had to add or remove these options? Thank you.

in ffmpeg command line: -avoid_negative_ts 1 -accurate_seek

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.