[FFmpeg-user] Problem with Select Filter
Paul B Mahol
onemda at gmail.com
Fri Aug 9 14:57:09 CEST 2013
On 8/9/13, James Board <jpboard2 at yahoo.com> wrote:
> I start with a raw AVI file that has been Inverse Telecined and single
> were compressed with lossless codec ffvhuff. Then I apply the Select
> to do some cut edits on the video. An example command is this:
> ffmpeg -i IN.avi select='-between(n\, 10\,
> -c:v ffvhuff -af aselect='-between(n\, 10\, 10000)',asetpts=N/SR/TB
> -c:a wmav2 OUT.avi
The above command is missing "-vf", is this true?
> Then I later mpeg4 encode it with mencoder (for Carl, I will use ffmpeg
> instead of mencoder once I figure out how to do that without error). Then
> play the file. The problem is when I seek forward 10 seconds, or a minute,
> there's often a 2 or 3 second delay once I get to the seek frame. The
> freezes for 2 or 3 seconds.
Perhaps pts are wrong. For simple cut you can use trim & atrim filters.
> This problem doesn't happen if I omit the above ffmpeg step (where I do Cut
> Edits with the Select filter). So, something isn't right with the way I'm
> using ffmpeg to do cut edits, or with the ffmpeg select filter, or
> Can anyone see anything wrong with the above ffmpeg command? Maybe
> the setpts or asetpts stuff, which I don't understand? Does anyone know
> how to figure this problem out?
> Thank you.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user