FFMPEG duration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mikeworks
    Confirmed User
    • Apr 2010
    • 272

    #1

    FFMPEG duration

    When I run /usr/local/bin/ffmpeg -i "video.mp4"

    I can see data like: Duration: 00:01:17.92, start: 0.023220, bitrate: 1593 kb/s

    I want to use that duration value later on in the ffmpeg command, for example duration/2, so drawtext will show watermark in middle of video.

    Anyone know the variable to use to show duration, perhaps some like this %duration%?
Working...