Skip to content

Instantly share code, notes, and snippets.

@Nolski
Created July 29, 2015 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nolski/d9edc88da76f204441ec to your computer and use it in GitHub Desktop.
Save Nolski/d9edc88da76f204441ec to your computer and use it in GitHub Desktop.
ffmpeg -i /var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmpg2H1Yj.avi
-c:v huffyuv -y
-vf drawtext=fontfile=/Library/Fonts/AppleGothic.ttf:
x=380.406186625:y=313.698630137:fontcolor='0x000000':box=0:boxcolor='0x000000':
text='This is a test':fontsize=70:enable='between(t,0,8.02619)' -an -y
-map [0:1]
/var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmpr18YI7.avi
ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, avi, from '/var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmpg2H1Yj.avi':
Metadata:
encoder : Lavf56.25.101
Duration: 00:00:50.84, start: 0.000000, bitrate: 106454 kb/s
Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 1280x720, 106438 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p, 64 kb/s
Output with label '0:1' does not exist in any defined filter graph, or was already used elsewhere.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment