Skip to content

Instantly share code, notes, and snippets.

@Nolski
Last active August 29, 2015 14:26
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/cee93d5c47745170057a to your computer and use it in GitHub Desktop.
Save Nolski/cee93d5c47745170057a to your computer and use it in GitHub Desktop.
ffmpeg -i /var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmp9u4WhQ.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':enable='between(t,00:00:00,00:00:00)' -an -y /var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmp5jhIJa.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/tmp9u4WhQ.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
[drawtext @ 0x7fc9aa85d000] Cannot find color '00)'
[drawtext @ 0x7fc9aa85d000] Unable to parse option value "00)" as color
[drawtext @ 0x7fc9aa85d000] [Eval @ 0x7fff57efd460] Missing ')' or too many args in 'between(t,00'
[drawtext @ 0x7fc9aa85d000] Error when evaluating the expression 'between(t,00' for enable
[AVFilterGraph @ 0x7fc9a9d015a0] Error initializing filter 'drawtext' with args 'fontfile=/Library/Fonts/AppleGothic.ttf:x=380.406186625:y=313.698630137:fontcolor=0x000000:box=0:boxcolor=0x000000:text=This is a test:enable=between(t,00:00:00,00:00:00)'
Error opening filters!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment