Since the deprecation of vhook, it’s hard to watermark videos in ffmpeg. With the new google summer of code changes, it’s possible to do watermarking again. The problem is, this requires building a recent version of ffmpeg. And if you want x264 support too, the package in Squeeze isn’t recent enough, so that has to be compiled too. Anyway, here’s the “guide”. It’s based off FFmpeg image overlay and install ffmpeg on Debian Lenny from SVN and x264 from GIT, with a few small adjustments.
Let’s start by installing all the dependencies for debian’s ffmpeg package:
aptitude build-dep ffmpeg
We need to add the debian-multimedia repository. Edit your sources.list:
vi /etc/apt/sources.list
Add in these lines for the debian-multimedia repository:
deb http://www.debian-multimedia.org squeeze main non-free
deb-src http://www.debian-multimedia.org squeeze main non-free
Then add the repository key so dpkg doesn’t complain (you’ll need install wget):
aptitude install wget
wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb
dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
Then update:
aptitude update
Now we’ll install some packages to flesh out ffmpeg’s format support:
aptitude install libmp3lame-dev libxvidcore4-dev libfaad-dev libfaac-dev liba52-0.7.4-dev
And we’ll need subversion and git to grab sources for ffmpeg and x264, respectively:
aptitude install subversion git
Now, let’s go ahead and check out the summer of code branch of ffmpeg
svn co svn://svn.ffmpeg.org/soc
cd soc/libavfilter/
./checkout.sh
cd ffmpeg/
./configure --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libgsm --enable-postproc --enable-libxvid --enable-pthreads --enable-libvorbis --enable-gpl --enable-x11grab --enable-nonfree --enable-filter=movie --enable-avfilter --enable-libfaac
At this point, the configure script will complain that “ERROR: libx264 not found”. So now it’s time to install x264:
cd ../../..
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
checkinstall --fstrans=no --install=yes --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0squeeze1" --default
Now, back to ffmpeg:
cd ../soc/libavfilter/ffmpeg/
./configure --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libgsm --enable-postproc --enable-libxvid --enable-pthreads --enable-libvorbis --enable-gpl --enable-x11grab --enable-nonfree --enable-filter=movie --enable-avfilter --enable-libfaac
make
checkinstall --pkgname=ffmpeg --pkgversion "4:0.7+svn`date +%Y%m%d`" --backup=no --default
And that’s it! You now have ffmpeg on your debian squeeze system (should work fine with lenny if you change the debian-multimedia sources.list entries).
Update: Added libfaac.
calev_dan@yahoo.com
system: debian6.0, squeeze stable
Need the ‘crop’ filter
Trying to follow the procedure in:
“ffmpeg with x264 and libavfilter on debian squeeze”
1. Uninstall blockers
sudo apt-get remove ffmpeg x264 libx264-dev
2. Install dependencies for debian’s ffmpeg package:
aptitude build-dep ffmpeg
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libfaad-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev
3. Edit sources.list:
sudo gedit /etc/apt/sources.list
Add in these lines for the debian-multimedia repository:
deb http://www.debian-multimedia.org squeeze main non-free
deb-src http://www.debian-multimedia.org squeeze main non-free
4. Add the repository key:
sudo apt-get install debian-archive-keyring
Then update:
sudo apt-get update
5. Install ffmpeg’s format support:
sudo apt-get install libmp3lame-dev libxvidcore4-dev libfaad-dev libfaac-dev liba52-0.7.4-dev
6. Install subversion and git to grab sources for ffmpeg and x264:
sudo apt-get install subversion git
7. Check out the “summer of code” branch of ffmpeg
svn co svn://svn.ffmpeg.org/soc
cd soc/libavfilter/
./checkout.sh
cd ffmpeg/
./configure –enable-libmp3lame –enable-libtheora –enable-libx264 –enable-libgsm –enable-postproc –enable-libxvid –enable-pthreads –enable-libvorbis –enable-gpl –enable-x11grab –enable-nonfree –enable-filter=movie –enable-avfilter –enable-libfaac
At this point, the configure script will complain “ERROR: libx264 not found” – install x264:
cd ../../..
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall –fstrans=no –install=yes –pkgname=x264 –pkgversion “1:0.svn`date +%Y%m%d`-0.0squeeze1″ –default
**********************************************************************
Done. The new package has been installed and saved to
/home/user1/x264/x264_0.svn20110405-0.0squeeze1-1_i386.deb
You can remove it from your system anytime using:
dpkg -r x264
**********************************************************************
8. Back to ffmpeg:
cd ../soc/libavfilter/ffmpeg/
./configure –enable-libmp3lame –enable-libtheora –enable-libx264 –enable-libgsm –enable-postproc –enable-libxvid –enable-pthreads –enable-libvorbis –enable-gpl –enable-x11grab –enable-nonfree –enable-filter=movie –enable-avfilter –enable-libfaac
sudo make
sudo checkinstall –pkgname=ffmpeg –pkgversion “4:0.7+svn`date +%Y%m%d`” –backup=no –default
8. Back to ffmpeg:
cd ../soc/libavfilter/ffmpeg/
./configure –enable-libmp3lame –enable-libtheora –enable-libx264 –enable-libgsm –enable-postproc –enable-libxvid –enable-pthreads –enable-libvorbis –enable-gpl –enable-x11grab –enable-nonfree –enable-filter=movie –enable-avfilter –enable-libfaac
sudo make
——————————————————————-
while making ffmpeg, following errors:
sudo make
CC libavdevice/alldevices.o
CC libavdevice/alsa-audio-common.o
CC libavdevice/alsa-audio-dec.o
CC libavdevice/alsa-audio-enc.o
CC libavdevice/avdevice.o
CC libavdevice/dv1394.o
CC libavdevice/jack_audio.o
CC libavdevice/oss_audio.o
CC libavdevice/v4l.o
CC libavdevice/v4l2.o
CC libavdevice/x11grab.o
libavdevice/x11grab.c: In function ‘x11grab_read_header’:
libavdevice/x11grab.c:101: warning: assignment makes integer from pointer without a cast
AR libavdevice/libavdevice.a
CC libavfilter/af_anull.o
CC libavfilter/allfilters.o
CC libavfilter/asink_anullsink.o
CC libavfilter/asrc_anullsrc.o
CC libavfilter/avfilter.o
CC libavfilter/avfiltergraph.o
CC libavfilter/defaults.o
CC libavfilter/formats.o
CC libavfilter/graphparser.o
CC libavfilter/vf_aspect.o
CC libavfilter/vf_blackframe.o
CC libavfilter/vf_copy.o
CC libavfilter/vf_crop.o
CC libavfilter/vf_cropdetect.o
CC libavfilter/vf_drawbox.o
CC libavfilter/vf_drawtext.o
libavfilter/vf_drawtext.c:40:10: error: #include expects “FILENAME” or
libavfilter/vf_drawtext.c:41:10: error: #include expects “FILENAME” or
libavfilter/vf_drawtext.c:60: error: expected specifier-qualifier-list before ‘FT_Library’
libavfilter/vf_drawtext.c:121:10: error: #include expects “FILENAME” or
libavfilter/vf_drawtext.c:127: error: expected expression before ‘static’
libavfilter/vf_drawtext.c: In function ‘init’:
libavfilter/vf_drawtext.c:147: error: ‘FT_BBox’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:147: error: (Each undeclared identifier is reported only once
libavfilter/vf_drawtext.c:147: error: for each function it appears in.)
libavfilter/vf_drawtext.c:147: warning: statement with no effect
libavfilter/vf_drawtext.c:147: error: expected ‘;’ before ‘bbox’
libavfilter/vf_drawtext.c:148: warning: ISO C90 forbids mixed declarations and code
libavfilter/vf_drawtext.c:200: error: implicit declaration of function ‘extract_color’
libavfilter/vf_drawtext.c:210: error: implicit declaration of function ‘FT_Init_FreeType’
libavfilter/vf_drawtext.c:210: error: ‘DrawTextContext’ has no member named ‘library’
libavfilter/vf_drawtext.c:215: error: implicit declaration of function ‘FT_New_Face’
libavfilter/vf_drawtext.c:215: error: ‘DrawTextContext’ has no member named ‘library’
libavfilter/vf_drawtext.c:215: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:219: error: implicit declaration of function ‘FT_Set_Pixel_Sizes’
libavfilter/vf_drawtext.c:219: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:224: error: implicit declaration of function ‘FT_HAS_KERNING’
libavfilter/vf_drawtext.c:224: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:232: error: implicit declaration of function ‘FT_Load_Char’
libavfilter/vf_drawtext.c:232: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:232: error: ‘FT_LOAD_RENDER’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:232: error: ‘FT_LOAD_MONOCHROME’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:232: error: invalid operands to binary | (have ‘struct ft_error *’ and ‘struct ft_error *’)
libavfilter/vf_drawtext.c:236: error: ‘DrawTextContext’ has no member named ‘bitmaps’
libavfilter/vf_drawtext.c:236: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:236: error: ‘struct ft_error’ has no member named ‘glyph’
libavfilter/vf_drawtext.c:236: error: ‘struct ft_error’ has no member named ‘bitmap’
libavfilter/vf_drawtext.c:236: error: incompatible types when assigning to type ‘struct ft_error’ from type ‘struct ft_error *’
libavfilter/vf_drawtext.c:236: warning: statement with no effect
libavfilter/vf_drawtext.c:237: error: ‘DrawTextContext’ has no member named ‘bitmap_left’
libavfilter/vf_drawtext.c:237: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:237: error: ‘struct ft_error’ has no member named ‘glyph’
libavfilter/vf_drawtext.c:237: error: ‘struct ft_error’ has no member named ‘bitmap_left’
libavfilter/vf_drawtext.c:237: error: incompatible types when assigning to type ‘struct ft_error’ from type ‘struct ft_error *’
libavfilter/vf_drawtext.c:237: warning: statement with no effect
libavfilter/vf_drawtext.c:238: error: ‘DrawTextContext’ has no member named ‘bitmap_top’
libavfilter/vf_drawtext.c:238: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:238: error: ‘struct ft_error’ has no member named ‘glyph’
libavfilter/vf_drawtext.c:238: error: ‘struct ft_error’ has no member named ‘bitmap_top’
libavfilter/vf_drawtext.c:238: error: incompatible types when assigning to type ‘struct ft_error’ from type ‘struct ft_error *’
libavfilter/vf_drawtext.c:238: warning: statement with no effect
libavfilter/vf_drawtext.c:239: error: ‘DrawTextContext’ has no member named ‘advance’
libavfilter/vf_drawtext.c:239: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:239: error: ‘struct ft_error’ has no member named ‘glyph’
libavfilter/vf_drawtext.c:239: error: ‘struct ft_error’ has no member named ‘advance’
libavfilter/vf_drawtext.c:239: error: request for member ‘x’ in something not a structure or union
libavfilter/vf_drawtext.c:239: error: invalid operands to binary >> (have ‘struct ft_error *’ and ‘int’)
libavfilter/vf_drawtext.c:239: error: incompatible types when assigning to type ‘struct ft_error’ from type ‘struct ft_error *’
libavfilter/vf_drawtext.c:239: warning: statement with no effect
libavfilter/vf_drawtext.c:241: error: implicit declaration of function ‘FT_Get_Glyph’
libavfilter/vf_drawtext.c:241: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:241: error: ‘struct ft_error’ has no member named ‘glyph’
libavfilter/vf_drawtext.c:241: error: ‘DrawTextContext’ has no member named ‘glyphs’
libavfilter/vf_drawtext.c:245: error: ‘DrawTextContext’ has no member named ‘glyphs_index’
libavfilter/vf_drawtext.c:245: error: implicit declaration of function ‘FT_Get_Char_Index’
libavfilter/vf_drawtext.c:245: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:245: error: incompatible types when assigning to type ‘struct ft_error’ from type ‘int’
libavfilter/vf_drawtext.c:245: warning: statement with no effect
libavfilter/vf_drawtext.c:248: error: implicit declaration of function ‘FT_Glyph_Get_CBox’
libavfilter/vf_drawtext.c:248: error: ‘DrawTextContext’ has no member named ‘glyphs’
libavfilter/vf_drawtext.c:248: error: ‘ft_glyph_bbox_pixels’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:248: error: ‘bbox’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:249: error: request for member ‘yMax’ in something not a structure or union
libavfilter/vf_drawtext.c:249: warning: comparison between pointer and integer
libavfilter/vf_drawtext.c:250: error: request for member ‘yMax’ in something not a structure or union
libavfilter/vf_drawtext.c:250: warning: assignment makes integer from pointer without a cast
libavfilter/vf_drawtext.c:251: error: request for member ‘yMin’ in something not a structure or union
libavfilter/vf_drawtext.c:251: warning: comparison between pointer and integer
libavfilter/vf_drawtext.c:252: error: request for member ‘yMin’ in something not a structure or union
libavfilter/vf_drawtext.c:252: warning: assignment makes integer from pointer without a cast
libavfilter/vf_drawtext.c: In function ‘uninit’:
libavfilter/vf_drawtext.c:269: error: implicit declaration of function ‘FT_Done_Face’
libavfilter/vf_drawtext.c:269: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:270: error: implicit declaration of function ‘FT_Done_FreeType’
libavfilter/vf_drawtext.c:270: error: ‘DrawTextContext’ has no member named ‘library’
libavfilter/vf_drawtext.c: In function ‘config_input’:
libavfilter/vf_drawtext.c:277: error: ‘DrawTextContext’ has no member named ‘hsub’
libavfilter/vf_drawtext.c:277: warning: statement with no effect
libavfilter/vf_drawtext.c:278: error: ‘DrawTextContext’ has no member named ‘vsub’
libavfilter/vf_drawtext.c:278: warning: statement with no effect
libavfilter/vf_drawtext.c: At top level:
libavfilter/vf_drawtext.c:297: error: expected declaration specifiers or ‘…’ before ‘FT_Bitmap’
libavfilter/vf_drawtext.c: In function ‘draw_glyph’:
libavfilter/vf_drawtext.c:306: error: ‘bitmap’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:306: error: ‘struct ft_error’ has no member named ‘pixel_mode’
libavfilter/vf_drawtext.c:306: error: ‘ft_pixel_mode_mono’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:308: error: ‘struct ft_error’ has no member named ‘rows’
libavfilter/vf_drawtext.c:308: warning: comparison between pointer and integer
libavfilter/vf_drawtext.c:309: error: ‘struct ft_error’ has no member named ‘width’
libavfilter/vf_drawtext.c:309: warning: comparison between pointer and integer
libavfilter/vf_drawtext.c:314: error: ‘struct ft_error’ has no member named ‘buffer’
libavfilter/vf_drawtext.c:314: error: ‘struct ft_error’ has no member named ‘pitch’
libavfilter/vf_drawtext.c:314: error: invalid operands to binary * (have ‘int’ and ‘struct ft_error *’)
libavfilter/vf_drawtext.c:314: error: array subscript is not an integer
libavfilter/vf_drawtext.c:314: error: invalid operands to binary & (have ‘struct ft_error *’ and ‘int’)
libavfilter/vf_drawtext.c:314: warning: assignment makes integer from pointer without a cast
libavfilter/vf_drawtext.c:337: error: ‘struct ft_error’ has no member named ‘buffer’
libavfilter/vf_drawtext.c:337: error: ‘struct ft_error’ has no member named ‘pitch’
libavfilter/vf_drawtext.c:337: error: invalid operands to binary * (have ‘int’ and ‘struct ft_error *’)
libavfilter/vf_drawtext.c:337: error: array subscript is not an integer
libavfilter/vf_drawtext.c:337: error: invalid operands to binary & (have ‘struct ft_error *’ and ‘int’)
libavfilter/vf_drawtext.c:342: error: ‘struct ft_error’ has no member named ‘buffer’
libavfilter/vf_drawtext.c:342: error: ‘struct ft_error’ has no member named ‘pitch’
libavfilter/vf_drawtext.c:342: error: invalid operands to binary * (have ‘int’ and ‘struct ft_error *’)
libavfilter/vf_drawtext.c:342: error: array subscript is not an integer
libavfilter/vf_drawtext.c:342: error: invalid operands to binary & (have ‘struct ft_error *’ and ‘int’)
libavfilter/vf_drawtext.c: In function ‘draw_text’:
libavfilter/vf_drawtext.c:384: error: ‘FT_Face’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:384: warning: statement with no effect
libavfilter/vf_drawtext.c:384: error: expected ‘;’ before ‘face’
libavfilter/vf_drawtext.c:385: error: ‘FT_GlyphSlot’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:385: warning: statement with no effect
libavfilter/vf_drawtext.c:385: error: expected ‘;’ before ‘slot’
libavfilter/vf_drawtext.c:386: warning: ISO C90 forbids mixed declarations and code
libavfilter/vf_drawtext.c:392: error: ‘FT_Vector’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:392: warning: statement with no effect
libavfilter/vf_drawtext.c:392: error: expected ‘;’ before ‘pos’
libavfilter/vf_drawtext.c:393: warning: statement with no effect
libavfilter/vf_drawtext.c:393: error: expected ‘;’ before ‘delta’
libavfilter/vf_drawtext.c:394: warning: ISO C90 forbids mixed declarations and code
libavfilter/vf_drawtext.c:396:5: warning: “HAVE_LOCALTIME_R” is not defined
libavfilter/vf_drawtext.c:411: error: ‘DrawTextContext’ has no member named ‘glyphs_index’
libavfilter/vf_drawtext.c:411: error: invalid operands to binary && (have ‘int’ and ‘struct ft_error’)
libavfilter/vf_drawtext.c:412: error: implicit declaration of function ‘FT_Get_Kerning’
libavfilter/vf_drawtext.c:412: error: ‘DrawTextContext’ has no member named ‘face’
libavfilter/vf_drawtext.c:412: error: ‘DrawTextContext’ has no member named ‘glyphs_index’
libavfilter/vf_drawtext.c:413: error: ‘DrawTextContext’ has no member named ‘glyphs_index’
libavfilter/vf_drawtext.c:413: error: ‘ft_kerning_default’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:413: error: ‘delta’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:414: error: request for member ‘x’ in something not a structure or union
libavfilter/vf_drawtext.c:414: error: invalid operands to binary >> (have ‘struct ft_error *’ and ‘int’)
libavfilter/vf_drawtext.c:414: warning: assignment makes integer from pointer without a cast
libavfilter/vf_drawtext.c:417: error: ‘DrawTextContext’ has no member named ‘advance’
libavfilter/vf_drawtext.c:417: error: invalid operands to binary + (have ‘int’ and ‘struct ft_error’)
libavfilter/vf_drawtext.c:417: warning: comparison between pointer and integer
libavfilter/vf_drawtext.c:425: error: ‘pos’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:425: error: ‘struct ft_error’ has no member named ‘x’
libavfilter/vf_drawtext.c:425: error: ‘DrawTextContext’ has no member named ‘bitmap_left’
libavfilter/vf_drawtext.c:425: error: invalid operands to binary + (have ‘int’ and ‘struct ft_error’)
libavfilter/vf_drawtext.c:425: warning: statement with no effect
libavfilter/vf_drawtext.c:426: error: ‘struct ft_error’ has no member named ‘y’
libavfilter/vf_drawtext.c:426: error: ‘DrawTextContext’ has no member named ‘bitmap_top’
libavfilter/vf_drawtext.c:426: error: invalid operands to binary – (have ‘int’ and ‘struct ft_error’)
libavfilter/vf_drawtext.c:426: warning: statement with no effect
libavfilter/vf_drawtext.c:427: error: ‘DrawTextContext’ has no member named ‘advance’
libavfilter/vf_drawtext.c:427: error: invalid operands to binary + (have ‘int’ and ‘struct ft_error’)
libavfilter/vf_drawtext.c:427: warning: statement with no effect
libavfilter/vf_drawtext.c:428: error: ‘DrawTextContext’ has no member named ‘advance’
libavfilter/vf_drawtext.c:428: error: invalid operands to binary + (have ‘int’ and ‘struct ft_error’)
libavfilter/vf_drawtext.c:428: warning: statement with no effect
libavfilter/vf_drawtext.c:442: error: ‘DrawTextContext’ has no member named ‘hsub’
libavfilter/vf_drawtext.c:442: error: ‘DrawTextContext’ has no member named ‘vsub’
libavfilter/vf_drawtext.c:442: warning: passing argument 7 of ‘drawbox’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:353: note: expected ‘int’ but argument is of type ‘struct ft_error *’
libavfilter/vf_drawtext.c:442: warning: passing argument 8 of ‘drawbox’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:353: note: expected ‘int’ but argument is of type ‘struct ft_error *’
libavfilter/vf_drawtext.c:454: error: ‘DrawTextContext’ has no member named ‘bitmaps’
libavfilter/vf_drawtext.c:454: error: ‘struct ft_error’ has no member named ‘x’
libavfilter/vf_drawtext.c:454: error: ‘struct ft_error’ has no member named ‘y’
libavfilter/vf_drawtext.c:455: error: ‘DrawTextContext’ has no member named ‘hsub’
libavfilter/vf_drawtext.c:455: error: ‘DrawTextContext’ has no member named ‘vsub’
libavfilter/vf_drawtext.c:455: warning: passing argument 2 of ‘draw_glyph’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:297: note: expected ‘unsigned int’ but argument is of type ‘struct ft_error *’
libavfilter/vf_drawtext.c:455: warning: passing argument 3 of ‘draw_glyph’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:297: note: expected ‘unsigned int’ but argument is of type ‘struct ft_error *’
libavfilter/vf_drawtext.c:455: warning: passing argument 4 of ‘draw_glyph’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:297: note: expected ‘unsigned int’ but argument is of type ‘struct ft_error *’
libavfilter/vf_drawtext.c:455: warning: passing argument 6 of ‘draw_glyph’ makes pointer from integer without a cast
libavfilter/vf_drawtext.c:297: note: expected ‘unsigned char *’ but argument is of type ‘int’
libavfilter/vf_drawtext.c:455: warning: passing argument 8 of ‘draw_glyph’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:297: note: expected ‘short int’ but argument is of type ‘unsigned char *’
libavfilter/vf_drawtext.c:455: warning: passing argument 10 of ‘draw_glyph’ makes integer from pointer without a cast
libavfilter/vf_drawtext.c:297: note: expected ‘int’ but argument is of type ‘struct ft_error *’
libavfilter/vf_drawtext.c:455: error: too many arguments to function ‘draw_glyph’
libavfilter/vf_drawtext.c:458: error: ‘slot’ undeclared (first use in this function)
libavfilter/vf_drawtext.c:458: error: ‘struct ft_error’ has no member named ‘advance’
libavfilter/vf_drawtext.c:458: error: request for member ‘x’ in something not a structure or union
libavfilter/vf_drawtext.c:458: error: invalid operands to binary >> (have ‘struct ft_error *’ and ‘int’)
libavfilter/vf_drawtext.c:458: warning: assignment makes integer from pointer without a cast
libavfilter/vf_drawtext.c:394: warning: unused variable ‘ltime’
libavfilter/vf_drawtext.c:390: warning: unused variable ‘now’
libavfilter/vf_drawtext.c:388: warning: unused variable ‘buff’
make: *** [libavfilter/vf_drawtext.o] Error 1
Can you help, please?
It’s possible the summer of code branch has been under ongoing development, you can try checking out an older version. Or maybe your issue has been fixed by now :)