Thanks Moritz, indeed it does solve it. What I don't understand now is how the expression evaluation takes place and why only the comma operator needs to be pre-dashed and not colon?
Indeed, in https://www.ffmpeg.org/ffmpeg-filters.html#Examples-22 9.7.1 Examples <https://www.ffmpeg.org/ffmpeg-filters.html#toc-Examples-21> - Apply transition from bottom layer to top layer in first 10 seconds: blend=all_expr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))' While - Set the luma and chroma radii to a fraction of the video dimension: boxblur=luma_radius=min(h\,w)/10:luma_power=1:chroma_radius=min(cw\,ch)/10:chroma_power=1 2014-12-16 23:18 GMT+01:00 Moritz Barsnick <[email protected]>: > > Hi Sub, > > On Tue, Dec 16, 2014 at 22:22:48 +0100, Sub Phil wrote: > > I wish to have a fixed size cropping rectangle, that changes its > x-position > > after say 15 sec for an initial x position of say 200 to 100. > > > > Do I miss some quotes?? > > > > F:\>ffmpeg -i timeC.mp4 -vf > "crop=in_w-700:in_h-100:if(lte(t,15),200,100):80" -an -c:v libx264 > -preset:v ultrafast "test.mp4" > > You should escape each comma using a backslash. Under Windows and under > Unix, as it's for the sake of ffmpeg, not for the shell/cmd.exe. :-) > > -vf "crop=in_w-700:in_h-100:if(lte(t\,15)\,200\,100):80" > > (Untested by myself under Windows, but I think it should work.) > > Moritz > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
