资源简介
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个文件信息
相关资源
- FFmpeg-full-SDK-3.2.zip
- 一个可以解码并实时播放H264的播放器
- QT+ffmpeg+多摄像头+实时Ubuntu直接可用(
- 基于qt4的多媒体播放器图片,音乐,
- 使用FFmpeg和Qt制作图形化转码工具
- 多媒体编程开发之FFmpeg基础库(pdf)
- h264+ffmpeg+opencv开发手册
- 基于FFmpeg的H_264解码器实现_王彤
- windows32位下的ffmpeg.exe
- ffmpeg-20180130-42323c3-win64-static.zip
- ffmpeg.win32.exe
- ffmpeg-win32-v3.2.4.exe
- ffmpeg之H265解码
-
rtspPla
yer.rar - FFmpeg录屏
- ffmpeg.exe+ffprobe.exe+ffplay.exe
- linux-ffmpeg-3.3.1.tar.gz
- Centos6.5一键安装ffmpeg(含依赖包)
- ffmpeg+SDL2实现的视频播放器(windows版
- H264+ffmpeg解码+VFW播放
- ffmpeg-win64
- ffmpeg实现视频播放
- CMake+opencv3.4编译时 Download: opencv_ffmp
- ffmpeg-git-64bit-static.tar.xz
- FFmpeg从入门到精通-刘岐-PDF最新完整版
- ffmpeg win64位解码库 包括static、dev和
- ffmpeg 依赖库
- QML与ffmpeg实现简单视频播放与播放操
- ffmpeg相关安装包
- express-ffmpeg云转码程序带前后台管理
评论
共有 条评论