MattMcManis / Axiom

An FFmpeg GUI for Windows
https://axiomui.github.io
GNU General Public License v3.0
1.54k stars 118 forks source link

Black Screen After Cutting Video #68

Open pcaglar opened 4 years ago

pcaglar commented 4 years ago

There is a problem mentioned in the topic.

https://video.stackexchange.com/questions/16516/ffmpeg-first-second-of-cut-video-part-freezed

The problem is solved by applying the mentioned solution.

The order of the parameters is very important on ffmpeg. Try this: ffmpeg -ss 00:36:18 -i input.mp4 -vcodec copy -acodec copy -to 00:39:50 output.mp4 It seems that setting the -ss parameter before -i sets a keyframe at the beginning of the newly generated video. Or so I understand from the Wiki page here.

Can you post an update ? Thank you for your interest.

Edit: This not a solution. Sorry. With this change, the video duration became longer.

MattMcManis commented 3 years ago

Hello, I have been away.

I have looked at multiple ways to cut video properly, but I've found putting -ss after -i works the best in most situations.

Did you find a solution?