fast forward and overlay blinking

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fast forward and overlay blinking

Andreas Nadobnik

Hi there,

I'm trying to cut out and fast forward a part of a video and adding an  
overlay to it. The overlay should change its enable state every 15  
frames. At the moment I'm using this piece of code ...

===== cut ======
ffmpeg_p=(
        -i "${IMG_Path}/media_fastforward.png"
        -filter_complex  
"[0:v]setpts=${Multiplier}*PTS[v1];[0:a]asetrate=(44100/${Multiplier}),aresample=44100[a];[v1]overlay=enable='lt(mod(n\,30)\,15)':x=(main_w-overlay_w-50):y=50[v]"
        -map "[v]"
        -map "[a]"
        -r $RATE
        )

ffmpeg -loglevel error -ss $B -t $BC -i "$IN" "${ffmpeg_p[@]}" -strict  
-2 "$scratch/part-2.mp4"
===== cut ======

My problem is, that the blinking is also increasing its blink  
frequency. Is it possible to avoid this behavior and do the overlay  
(with the defined blink frequency) after the fast forward?

Thanks in advance and best regards,
Andreas

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".