Re: [FFmpeg-user] 'incorrect' number of extracted frames in a non-VFR video

2021-08-12 Thread Jon Beyer
> A quick calculation gave me the impression that the number of decoded frames mostly matches the expectation ((8x60+9.5)x3/1001) - what did you calculate? Thanks for the reply Carl, and I apologize. I had pasted two commands that used slightly different files. We had an 'original' file

[FFmpeg-user] 'incorrect' number of extracted frames in a non-VFR video

2021-08-10 Thread Jon Beyer
I have a video that is supposedly not VFR (ffmpeg vfrdet command and output pasted at the very bottom), but the number of extracted frames, or frame count with ffprobe, doesn't match what would be expected based on frame rate and duration by a large margin (off by a factor of nearly 3x). Please

Re: [FFmpeg-user] splitting and concatenating file results in a different file

2019-10-31 Thread Jon Beyer
A bit more information on this issue, after created the concatenated file with the following commands [1] and [2], pasted at bottom, if I print pkt_pts_time via ffprobe with commands [3] and [4], I see that the timestamp of frame 302 is what is throwing things off when I compare the two list of

Re: [FFmpeg-user] splitting and concatenating file results in a different file

2019-10-31 Thread Jon Beyer
.jpg On Thu, Oct 31, 2019 at 11:32 AM Carl Eugen Hoyos wrote: > > > > Am 31.10.2019 um 14:55 schrieb Jon Beyer : > > > > I'm trying to understand the basics of splitting a file on I frames and > > then concatenating the smaller files back together. > > T

Re: [FFmpeg-user] splitting and concatenating file results in a different file

2019-10-31 Thread Jon Beyer
are inserted at the beginning of different chunks. There are 14 chunks in all, so it isn't an extra frame at each chunk, as there are only three extra frames in the concatenated file. Thanks again, Jon On Thu, Oct 31, 2019 at 1:22 PM Jon Beyer wrote: > Thanks Carl, here is the full output f

[FFmpeg-user] splitting and concatenating file results in a different file

2019-10-31 Thread Jon Beyer
I'm trying to understand the basics of splitting a file on I frames and then concatenating the smaller files back together. I am using the commands below to split a basic .mp4 file with the "-f segment" option, and then I use "-f concat" to join them. I then extract all frames from the file as

[FFmpeg-user] toggle between two audio streams

2017-04-25 Thread Jon Beyer
I'd like to be able to replace the audio with constant tones for certain intervals of a video. As an example, I might have a thirty second video, and want to insert 440 Hz from 5 seconds to 10 seconds and again from 15 to 20 seconds. Assume that I already have the 440 Hz tone in a .wav file that