I am a newbie to ffmpeg but currently using it Powershell to cut video clips from an mp4 file. What I am looking to do is cut a segment from a video and create a new mp4 file with such. I run the following command, see following example for one clip created. Run this multiple times with different start times and duration's through out the source file:
-ss 00:02:42.9060000 -i "C:\Users\User\Desktop\MySourceVideo.mp4" -t 00:00:07.2800000 -c:v copy "C:\Users\User\Desktop\MyClip.mp4" -y -v quiet
Source file is mp4, with H264 video codec, AAC video codec.
While it creates the clips, I run it at different times in the source video creating multiple cut mp4 videos. When I look to play the newly created mp4 files, for some clips I find some inconsistencies, such as:
- Playing the file for first few seconds just has black scream
- Playing the file for first few seconds has video moving very fast and then normal again
Some clips are perfect, others have the above issues. I would appreciate if my command could be checked in case I am missing a parameter or any further insight could be given?