Yes, sure.
Just re-tested.
Let me explain:
When I enter start time 5 and end time 30, I get the info for the real cut at 08,640 and 30.000. Okay, that is what I want. A 21,36 second clip.
[Attachment 89088 - Click to enlarge]
But the ffmpeg command use the next start keyframe of 08,640 which is 13,000.
And the command cut exactly at that (to late) point and keep the duration of 21s. So the clip starts to late, keep the 21s duration and therefor also ends at a later point in the video.
When you simply change the ffmpeg command to the mentioned real start cut at 08,640, you get your correct clip.
Start at 08,640 end at 30,000 - duration 21.36s.
+ Reply to Thread
Results 2,761 to 2,770 of 2770
-
Last edited by Findu; 7th Oct 2025 at 10:47.
-
I don't see anything in the title field. Your picture shows the title field with a wide width. Is the field width adjustable with that version? If so, I would like to have that version. For me nothing is adjustable.
[Attachment 89089 - Click to enlarge] -
Please take a look!
Other mp4 file, same problem:
Only mp4 files have that problem!
Picture of the video at Frame 2880 (0:00:48.000) [K] should be the first picture of cut 1
[Attachment 89090 - Click to enlarge]
Picture of the video at Frame 3240 (0:00:54.000) [K] should be the first picture of cut 2
[Attachment 89091 - Click to enlarge]
Picture of the video at Frame 3600 (0:01:00.000) [K]
[Attachment 89092 - Click to enlarge]
Picture of the video at Frame 3960 (0:01:06.000) [K] should be the last picture for all cuts
[Attachment 89093 - Click to enlarge]
cut 1:
start cut 44, real cut 48
end cut always 1:06 = real cut at keyframe
duration 18, 1080 frames
Stream cut: ?C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720.mp4?174850?-hide_banner -loglevel error -stats -y -ss:0:0 54 -i "C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720.mp4" -frames:v 1079 -map 0 -map_metadata 0 -movflags use_metadata_tags -c copy -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720_cut#1.mp4?0?44 - 66
First picture of the cut output, duration 12
[Attachment 89094 - Click to enlarge]
Last picture of the cut output
[Attachment 89095 - Click to enlarge]
cut 2:
start cut 50, real cut 54
end cut always 1:06 = real cut
duration 12, 720 frames
Stream cut: ?C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720.mp4?174850?-hide_banner -loglevel error -stats -y -ss:0:0 60 -i "C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720.mp4" -frames:v 719 -map 0 -map_metadata 0 -movflags use_metadata_tags -c copy -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720_cut#2.mp4?0?50 - 66
First picture of the cut output, duration 6
[Attachment 89096 - Click to enlarge]
Last picture of the cut output
[Attachment 89097 - Click to enlarge] -
OK, I think to know where the problem is.
With mp4, variable framerate, especially with 23.976 or 29.97 fps, Virtualdub2 isn't reliable to locate the keyframes.
Use Ffplay instead. -
AviDemux has all at .000 like VD2
That code:
Stream cut: ?C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720.mp4?174850?-hide_banner -loglevel error -stats -y -ss:0:0 48 -i "C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720.mp4" -frames:v 1440 -map 0 -map_metadata 0 -movflags use_metadata_tags -c copy -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Brute Concrete - a 64K intro by UFDD 720_cut#6.mp4?0?40 - 66
generate the correct 18s cut file.
-ss:0:0 48
-frames:v 1440 (but that are 24s, not 18s) -
-
Will be done...
Next strange behavior:
If the end cut isn't exactly an I-frame, the -frames:v value in the code is aways the correct end cut for the output.
EDIT: same file in a mkv container process correct cuts!!!
I'm going offline for today!Last edited by Findu; 7th Oct 2025 at 16:35.
Similar Threads
-
GUI for ffmpeg x265 encoder
By david55 in forum Video ConversionReplies: 15Last Post: 11th May 2025, 09:15 -
New small GUI for FFmpeg
By ProWo in forum Video ConversionReplies: 29Last Post: 24th Feb 2024, 02:06 -
Best GUI for ffmpeg encoding
By usta in forum Video ConversionReplies: 25Last Post: 17th Jan 2019, 11:23 -
GUI for FFMpeg amf?
By Micky in forum Video ConversionReplies: 0Last Post: 14th Jan 2018, 07:45 -
dmMediaEncoder v1.8.0 - crossplatform FFMPEG GUI
By mdalacu in forum Video ConversionReplies: 38Last Post: 29th Sep 2015, 00:19