Hi. First, I apologize if this question has been asked before and if so, please kindly show me the links. But, I'm trying to do something very specific and all my searches have resulted in some confusion.
I am aware of the various methods of creating time lapse videos. However, for my little project I decided to keep this simple.
I'm using a GoPro Hero Black 5 in time lapse video mode, 4K with a 5 second interval.
Yesterday I took a break and went back and didn't realize the default mode was set to video. So, I have 1 hour of 4 K video that I want to convert to a 5 second interval time lapse so I can eventually combine with my other video segments into a complete file.
I don't have any high end video software yet. So I'm looking for software that can do this for free. I'm aware of VLC, FFMPEG and I believe ffmpeg is probably the best, but I don't have the experiences for the settings.
I have a bunch of GoPro time lapse videos already and when I look at the details of those I get:
3840 x 2160, 29.97 frames/sec
The hour long segment that I want to convert to the 5 second interval time lapse is divided into multiple 4GB files:
GOPR5028.MP4
GO15028.MP4
GO25028.MP4
etc...
How can I do this? Thank you.
Paul
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 13 of 13
Thread
-
-
Actually, I did figure out how to put it through, but it reports back cannot play back the file.
Sorry, was using DirectShowSource.Last edited by Phizy; 5th Jan 2019 at 14:11.
-
Ok. So, I found this online: ffmpeg -i in.mp4 -vf select='not(mod(n,15))',setpts=N/FRAME_RATE/TB out.mp4
This seems to do the trick. Specifically I used 150 for the value of 15.
When I ran this it created the video as I expected, but had a total length of the original video. The original was 8 minutes and the time lapse was about 3, so I know it worked. It just showed the remaining video with the last frame. Plus, there is sound.
1. How do I have it automatically set the video to the true final length
2. How do I remove the sound?
Thanks,
Paul -
I ran that ffmepg command line on a video which had the frame number printed on every frame. The original video was 208 seconds long, and the new video was 14.9 seconds (1/15 the source length) and the same frame rate as the source (24 fps). Examining the video I saw frames 0, 15, 30, 45... I don't know why you didn't get the right length. Maybe your source is variable frame rate?
To eliminate the audio use -an (audio none) on the command line after the input file. -
Did you type in anything for N, FRAME_RATE, or TB or leave those as the letters?
-
I copy/pasted your exact command line from the post (and supplied a source video called in.mp4).
-
Hmm...strange. Thanks for taking the time to check it out. I appreciate it.
-
Hmm...strange. Thanks for taking the time to check it out. I appreciate it.
Apparently adding in the -an stopped it at the right time. -
Ah, yes. The audio and video in a file don't have to start at the same time or have the same length. The Select video filter reduced the video length but the audio was still full length. So your new mp4 file retained the original audio's length. The file I tested with had no audio.
Similar Threads
-
How to change a video made in time lapse to normal speed?
By TeNSoR in forum Newbie / General discussionsReplies: 2Last Post: 27th Jan 2018, 07:16 -
Convert a long avi video into a short time lapse avi
By Grampold in forum Newbie / General discussionsReplies: 3Last Post: 21st May 2017, 17:17 -
Time Lapse Video
By itech in forum Newbie / General discussionsReplies: 2Last Post: 20th Apr 2016, 15:16 -
convert 30 fps time lapse video to 60 fps to speed up and keep all frames
By acem77 in forum Video ConversionReplies: 12Last Post: 19th Jan 2016, 20:01 -
Give 30fps video a time lapse look?
By zapster in forum EditingReplies: 16Last Post: 31st Aug 2014, 07:15