I want to look at 5% of my clip using 5 second chunks.
So looking at a clip with 125906 frames and a frame rate of 25fps I calculated:So what I want is to use the first 125 frames of every 2518 frames, thus I thought my call should look like this:
- chunkSizeInFrames = outputFrameRate * "selection length in seconds" = 25 * 5 = 125
the length of the chunks I want to look at- maxChunkCount = outputFrameCount / chunkSizeInFrames = 125906/125 = 1007
the maximal number of chunks that could be created from my source- neededChunkCount = maxChunkCount * percent / 100 = 1007*5/100 = 50
the number of chunks I want to look at- distanceBetweenChunks = outputFrameCount / neededChunkCount = 125906/50 = 2518
the distance between the starting points of the chunks
Problem is, this still doesn't seem to be correct, since the chunks appear to be too small.Code:ffplay -i "path to file" -vf "select='lt(mod(n\, 2518),125)',setpts='N/(25*TB)'" -an
-> Does anybody know how to 'fix' this?
Cu Selur
+ Reply to Thread
Results 1 to 3 of 3
-
-
=> only way seems to be the use of previously created edl files
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
x264+AAC in FFmpeg -- plays fine in FFplay, loses sync in mplayer
By rusmichal in forum Video ConversionReplies: 2Last Post: 6th Apr 2013, 07:52 -
Saving FFplay output
By qontranami in forum ProgrammingReplies: 6Last Post: 13th Feb 2012, 14:15 -
FFPlay "-stats" option
By smike in forum Software PlayingReplies: 0Last Post: 6th Jan 2012, 12:05 -
FFMPEG 2-pass syntax help needed
By ITemplate in forum Video ConversionReplies: 7Last Post: 2nd Jul 2011, 19:41 -
Suggestion needed to select my capture device
By syedmahm in forum Capturing and VCRReplies: 18Last Post: 6th Sep 2010, 15:48