资源简介
ffmpeg 支持水印ffmpeg 支持水印 ffmpeg 支持水印

代码片段和文件信息
/*
* drawtext.c: print text over the screen
******************************************************************************
* Options:
* -f font filename (MANDATORY!!!)
* -s font size in pixels [default 16]
* -b print background
* -o outline glyphs (use the bg color)
* -x x position ( >= 0) [default 0]
* -y y position ( >= 0) [default 0]
* -t text to print (will be passed to strftime())
* MANDATORY: will be used even when -T is used.
* in this case -t will be used if some error
* occurs
* -T file with the text (re-read every frame)
* -c <#RRGGBB> foreground color (‘internet‘ way) [default #ffffff]
* -C <#RRGGBB> background color (‘internet‘ way) [default #000000]
*
******************************************************************************
* Features:
* - True Type Type1 and others via FreeType2 library
* - Font kerning (better output)
* - Line Wrap (if the text doesn‘t fit the next char go to the next line)
* - Background box
* - Outline
******************************************************************************
* Author: Gustavo Sverzut Barbieri
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not write to the Free Software
* Foundation Inc. 51 Franklin Street Fifth Floor Boston MA 02110-1301 USA
*/
#define MAXSIZE_TEXT 1024
#include “framehook.h“
#include
#include
#include
#include
#include
#include
#undef time
#include
#include
#include
#include FT_FREETYPE_H
#include FT_GLYPH_H
#define SCALEBITS 10
#define ONE_HALF (1 << (SCALEBITS - 1))
#define FIX(x) ((int) ((x) * (1<
#define RGB_TO_YUV(rgb_color yuv_color) do { \
yuv_color[0] = (FIX(0.29900) * rgb_color[0] + FIX(0.58700) * rgb_color[1] + FIX(0.11400) * rgb_color[2] + ONE_HALF) >> SCALEBITS; \
yuv_color[2] = ((FIX(0.50000) * rgb_color[0] - FIX(0.41869) * rgb_color[1] - FIX(0.08131) * rgb_color[2] + ONE_HALF - 1) >> SCALEBITS) + 128; \
yuv_color[1] = ((- FIX(0.16874) * rgb_color[0] - FIX(0.33126) * rgb_color[1] + FIX(0.50000) * rgb_color[2] + ONE_HALF - 1) >> SCAL
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2007-10-01 21:31 shared_ffmpeg\ffmpeg\
文件 7876608 2007-09-11 10:02 shared_ffmpeg\ffmpeg\avcodec-51.dll
文件 555520 2007-09-11 10:02 shared_ffmpeg\ffmpeg\avformat-51.dll
文件 28672 2007-09-11 10:02 shared_ffmpeg\ffmpeg\avutil-49.dll
目录 0 2007-10-01 21:31 shared_ffmpeg\ffmpeg\bin\
目录 0 2007-10-01 21:31 shared_ffmpeg\ffmpeg\doc\
文件 22005 2007-05-14 01:15 shared_ffmpeg\ffmpeg\doc\faq.html
文件 77138 2007-05-14 01:15 shared_ffmpeg\ffmpeg\doc\ffmpeg-doc.html
文件 3712 2007-05-14 01:15 shared_ffmpeg\ffmpeg\doc\ffplay-doc.html
文件 69120 2007-09-11 10:02 shared_ffmpeg\ffmpeg\ffmpeg.exe
文件 37888 2007-09-11 10:02 shared_ffmpeg\ffmpeg\ffplay.exe
文件 18327 2006-12-03 07:47 shared_ffmpeg\ffmpeg\GPL.txt
目录 0 2007-10-01 21:31 shared_ffmpeg\ffmpeg\imlib2\
目录 0 2007-10-01 21:31 shared_ffmpeg\ffmpeg\imlib2\filters\
文件 10240 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\filters\bumpmap.dll
文件 8704 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\filters\colormod.dll
文件 7680 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\filters\testfilter.dll
目录 0 2007-10-01 21:31 shared_ffmpeg\ffmpeg\imlib2\loaders\
文件 6656 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\argb.dll
文件 12800 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\bmp.dll
文件 113152 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\jpeg.dll
文件 10240 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\lbm.dll
文件 10240 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\png.dll
文件 12800 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\pnm.dll
文件 9216 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\tiff.dll
文件 11776 2007-09-11 10:03 shared_ffmpeg\ffmpeg\imlib2\loaders\xpm.dll
文件 443392 2007-09-11 10:02 shared_ffmpeg\ffmpeg\libfreetype-6.dll
文件 182784 2007-09-11 10:02 shared_ffmpeg\ffmpeg\libImlib2-1.dll
文件 182784 2007-09-11 10:02 shared_ffmpeg\ffmpeg\libpng-3.dll
文件 477184 2007-09-11 10:02 shared_ffmpeg\ffmpeg\libtiff-3.dll
文件 25600 2007-09-11 10:02 shared_ffmpeg\ffmpeg\libungif-4.dll
............此处省略664个文件信息
相关资源
- nginx-rtmp-win32-master.rar
- FFMEPG实现h264解码
- ffmpegh265rtmp.zip
- ffserver(windows下编译32位)
- qt_ffmpeg_mp4_export_and_import.zip
- 最简单的基于FFmpeg的推流器 1.2
- 简单的ffmpeg推流demo
- FFmpeg和SDL,读内存中的视频流,进行
- ffmpeg之pcm转AAC
- ffmpeg-2.8.14.tar.gz
- 利用ffmpeg的filter混音
- vs2010 ffmpeg实时解码h264码流
- ffmpeg 音视频转码代码
- windows上自己编译的最新的ffmpeg库
- Qt基于FFmpeg播放本地 H.264H264文件
- 从ffmpeg中抽取的h264解码器,可用于
- ffplay源代码
- 最简单的基于FFmpeg的推流器以推送R
- DVD文件VOB的生成代码
- FFmpeg 采集摄像头输出rtmp直播流媒体,
- 基于ffmpeg将avi视频转换为mp4视频
- (补充)修改output-example,将H.264AAC帧
- ffmpeg-win64位库
- X264实时编码,FFmpeg实时解码
- FFmpeg API读取视音频文件信息的一个工
- 使用FFmpeg采集摄像头图像和麦克风音
- opencv_ffmpeg249.dll
- FFmpeg-3.1 windows vs2013编译动态库静态库
- 基于FFmpeg4.0.2的AAC编码器
- FFmpeg获取网络摄像头数据解码
评论
共有 条评论