Hi
I need to removed the first 5 seconds of each video in a folder.
For doing this I'm using ffmpeg and this command poweshell command to do the loop
I tried to do this tonight for a folder of 950 videos.Code:Get-ChildItem -Filter *.mp4 | ForEach -Process {ffmpeg -ss 00:00:05 -i $_ -c:v copy -c:a copy ($_.BaseName + '_TAG.mp4')}
Right now I'm checking the results. I'm noticing that some videos do have the ending result as I want but other doesn't, the first 5 seconds are not trim out. But by comparing the lenght of the video, I could see that 5 seconds are indeed missing in the output file. I have no idea how this is possible and the logic behind.
Why some videos seems to correctly trim the first 5 seconds, while other doesn't but still trim 5 seconds in the video?
+ Reply to Thread
Results 1 to 5 of 5
-
-
In theory you can reencode only the cut GOP. In practice it can get complicated.
Similar Threads
-
How to batch resize AND append multiple videos in Avidemux?
By savvyguy in forum Newbie / General discussionsReplies: 6Last Post: 28th Jul 2021, 18:00 -
is there any tool which joins 3 seconds intro to all 100 videos in batch
By gta5 in forum Newbie / General discussionsReplies: 5Last Post: 4th Sep 2020, 08:56 -
Batch trim end of multiple length videos
By Budman1 in forum Video ConversionReplies: 3Last Post: 10th Dec 2019, 06:22 -
Batch trim Videos using FFMPEG (Remove Intro)
By dexterfox44 in forum EditingReplies: 0Last Post: 14th Oct 2019, 13:19 -
Batch trim Videos using FFMPEG
By dexterfox44 in forum Newbie / General discussionsReplies: 1Last Post: 14th Oct 2019, 13:11