Skip to content

Instantly share code, notes, and snippets.

@chexov
Last active April 20, 2018 12:48
Show Gist options
  • Save chexov/fd5b1713935e90450f267e6aedb5c21e to your computer and use it in GitHub Desktop.
Save chexov/fd5b1713935e90450f267e6aedb5c21e to your computer and use it in GitHub Desktop.
hitchhiker's guide to the ops

Hitchhiker's guide to the ops

Burnt-in timecodes

DASH

    _local/bin/ffmpeg -i  http://kote.videogorillas.com/vmir/car_damage_detection/mp4/AugmentedReality.mp4 -f dash \
        -vcodec libx264 -acodec copy -crf 22 -g 24 \
        -vf drawtext="fontsize=15:fontfile=/Users/chexov/Library/Fonts/Anonymous \Pro\ B.ttf:timecode='00\:00\:00\:00':rate=30:text='':fontsize=32:fontcolor='white':boxcolor=0x000000AA:box=1:x=40:y=20" -y out.dash/out.mpd

MP4

    _local/bin/ffmpeg -i  http://kote.videogorillas.com/vmir/car_damage_detection/mp4/AugmentedReality.mp4 -vcodec libx264 -acodec copy -crf 22 -g 24 \
        -vf drawtext="fontsize=15:fontfile=/Users/chexov/Library/Fonts/Anonymous \Pro\ B.ttf:timecode='00\:00\:00\:00':rate=30:text='':fontsize=32:fontcolor='white':boxcolor=0x000000AA:box=1:x=40:y=20" -y out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment