FFMPEG Installation compile build

centos安装ffmpeg-php处理视频资源 如果是php7的话就别看了,暂时还没支持php7.最多支持到php5.6。环境为centos7,一顿yum安装。先装上repo源,目前ffmpeg的软件版本为2.6.8 sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro sudo rpm -Uvh http://li.nux.ro/download/nux/d 阅读详情

https://kattafix.wordpress.com/2013/06/03/ffmpeg-installation/


FFMPEG Installation

Manual Installation of FFMPEG

The following Guide will show you exactly how to install the following packages on a CentOS system:

  • FFmpeg
  • FFmpeg-PHP
  • Mplayer + Mencoder
  • flv2tool
  • LAME MP3 Encoder
  • AMR (for 3gp file conversions)
  • Libogg
  • Libvorbis

Setup the directory to use

mkdir /usr/local/src
cd /usr/local/src

Download the necessary files.

wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://downloads.sourceforge.net/lame/lame-3.97.tar.gz
wget http://en.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fffmpeg-php%2Fffmpeg-php%2F0.5.1%2Fffmpeg-php-0.5.1.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-6.0.0.1.tar.bz2

Extract all the files

tar zxvf flvtool2_1.0.5_rc6.tgz
tar zxvf lame-3.97.tar.gz
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
tar zxvf flvtool2_1.0.5_rc6.tgz
tar jxvf essential-20061022.tar.bz2
tar jxvf ffmpeg-php-0.5.1.tbz2
tar jxvf amrwb-6.0.0.1.tar.bz2
tar jxvf amrnb-6.1.0.4.tar.bz2

Create a folder to hold the codecs

mkdir /usr/local/lib/codecs/

Make sure we have all the necessary libraries as well as SVN + Ruby installed

yum -y install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran subversion ruby ncurses-devel

Install subversion via rpm.

http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/

wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/apr-0.9.12-1.i386.rpm
wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/apr-util-0.9.12-1.i386.rpm
wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/apr-devel-0.9.12-1.i386.rpm
wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/apr-util-devel-0.9.12-1.i386.rpm
wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm

Get ffmpeg and mplayer via SVN

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd /usr/local/src/mplayer
svn update
cd /usr/local/src

Copy Codes for Mplayer

mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/

Create a temp dir with 777 permissions (needed to install ffmpeg)

mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp

Installing LAME

cd /usr/local/src/lame-3.97
./configure
make && make install
cd /usr/local/src/

Installing LIBOGG:

cd /usr/local/src/libogg-1.1.3
./configure && make && make install
cd /usr/local/src/

Installing LIBVORBIS:

cd /usr/local/src/libvorbis-1.1.2
./configure && make && make install
cd /usr/local/src/

Installing FLVTOOL2:

cd /usr/local/src/flvtool2_1.0.5_rc6/
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd /usr/local/src/
cd /usr/local/src/mplayer
./configure && make && make install
cd /usr/local/src/

Installing AMR (for 3GP Conversion)

cd /usr/local/src/amrnb-6.1.0.4
./configure
make && make install
cd /usr/local/src/amrwb-6.0.0.1
./configure
make && make install

Installing FFMPEG:

cd /usr/local/src/ffmpeg/
./configure --enable-libmp3lame --enable-libogg --enable-libamr-nb --enable-libamr-wb --enable-libvorbis --disable-mmx --enable-shared
make
make install
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
ln -s /usr/local/lib/libavformat.so.52 /usr/lib/
ln -s /usr/local/lib/libamrnb.so.2 /usr/lib/
ln -s /usr/local/lib/libamrwb.so.2 /usr/lib/
ln -s /usr/local/lib/libvorbisenc.so.2 /usr/lib/
ln -s /usr/local/lib/libvorbis.so.0 /usr/lib/

ffmpeg -version

cd /usr/local/src/

Installing FFMPEG-PHP:

cd /usr/local/src/ffmpeg-php-0.5.0/
phpize
./configure
make
make install

Note: Make sure this is the correct php.ini for the box!!

echo 'extension=ffmpeg.so' >> /usr/local/lib/php.ini

Restart and you’re done

service httpd restart
cd /usr/local/src

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg/
./configure --enable-shared
make
make install
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
bunzip2 ffmpeg-php-0.5.0.tbz2
tar xvf ffmpeg-php-0.5.0.tar
cd ffmpeg-php-0.5.0
phpize

./configure

make
make install

Add the following line to php.ini

extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
service httpd restart

Testing

Direct your browser to view a phpinfo() php file. Scroll down and you should see the ffmpeg extension.

[edit]Errors faced

1. If in the ./configure step following error occurs: Enable to create and execute files in /tmp. Set the TMPDIR environment variable to another directory and make sure that /tmp is not mounted noexec. Sol:

mkdir ffmpeg/tmp
chmod 777 ffmpeg/tmp
vi configure

change TMPDIR from /tmp to tmp tmp dir we make should be inside the directory ffmpeg/

2. ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avcodec_alloc_context2

Sol:- Add /usr/local/lib to etc/ld.so.conf and then run

ldconfig

3. make[1]: *** [stream_dvd.o] Error 1 make[1]: Leaving directory `/usr/local/src/mplayer/stream’ make: *** [stream/stream.a] Error 2

Sol: –

cd /us/local/src
wget http://www3.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
tar -jxf MPlayer-1.0rc2.tar.bz2
cd MPlayer-1.0rc2
./configure
make
make install

4. Installing Subversion Using yum on CentOS 5 (Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion)

yum install subversion
–> Finished Dependency Resolution
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion

Sol:- check the yum.conf to see if there is line like this. If yes, commnet it and instgall subversion using yum.

exclude=apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

wget ftp://rpmfind.net/linux/fedora/releases/8/Everything/ppc64/os/Packages/perl-URI-1.35-3.1.noarch.rpm
rpm -ivh perl-URI-1.35-3.1.noarch.rpm

If 64 bit server use below.

wget ftp://rpmfind.net/linux/fedora/releases/8/Everything/x86_64/os/Packages/perl-URI-1.35-3.1.noarch.rpm

5. checking for ffmpeg headers… configure: error: ffmpeg headers not found. Make sure you’ve built ffmpeg as shared libs using the –enable-shared option

Sol:

strace -f -o /root/file ./configure

check in /root/file for error:

13062 stat64("/usr/local/include/ffmpeg/avcodec.h", (No such file or directory)

do below

ln -s /usr/local/include/libavcodec/ /usr/local/include/ffmpeg

then run ./configure again

6. /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:26:22: error: avformat.h: No such file or directory /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c: In function ‘zm_startup_ffmpeg’: /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:118: error: for each function it appears in.) make: *** [ffmpeg-php.lo] Error 1 Sol:

cp /usr/include/libavformat/* /usr/local/include/php/

7. checking for ffmpeg headers… configure: error: ffmpeg headers not found. Make sure you’ve built ffmpeg as shared libs using the –enable-shared option

ffmpeg -version

The configs should show up. After confirming that you have –enable-shared there, then try the following:

The exact error happens when you phpize the php-ffmpeg file. The error goes something like this:

checking for gawk… gawk
checking for ffmpeg support… yes, shared
checking for ffmpeg headers… configure: error: ffmeg headers not found. Make sure you’ve bult ffmpeg as shared libs using the –enable-shared option

It means basically that the shared files that are requried aren’t in their correct locations. php-ffmpeg is checking /usr/local/include/ffmpeg location and yours are in the /usr/local/include directory. Silly I know, but at least its easily fixed. Run the following commands which copies the files to the new location:

cp /usr/local/include/libavcodec/* /usr/local/include/ffmpeg
cp /usr/local/include/libavutil/* /usr/local/include/ffmpeg
cp /usr/local/include/libavformat/* /usr/local/include/ffmpeg
cp /usr/local/include/libavdevice/* /usr/local/include/ffmpeg
cp /usr/local/include/libswscale/* /usr/local/include/ffmpeg

If you don’t have the libswscale directory don’t loose sleep over it, just ignore it!

8. php -v showing php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so: undefined symbol:av_free_static

Sol: > For reference, I just went into the ffmpeg-php.c file and commented > out the one instance of av_free_static (its a method call) and rebuilt > and everything worked!

commenting "av_free_static()" in ffmpeg-php.c worked for me also

9. While installing FFMPEG on a server when we run “make” after “./configure” it gives following error:

math-errno -c -o libavdevice/v4l.o libavdevice/v4l.c
In file included from libavdevice/v4l.c:32:
/usr/include/linux/videodev.h:56: error: syntax error before "ulong"
/usr/include/linux/videodev.h:72: error: syntax error before '}' token
libavdevice/v4l.c:77: warning: unused variable `tuner'
make: *** [libavdevice/v4l.o] Error 1

Sol:-

a. First do below. If not working try the next solution.

vi /usr/include/linux/videodev.h

Search for the line below

ulong rangelow, rangehigh; /* Tuner range */

Change:

unsigned long rangelow, rangehigh; /* Tuner range */

b. This problem can be fixed by disabling v41 and v42 for FFMPEG. This can be done when we run “./configure” for FFMPEG

./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --disable-demuxer=v4l --disable-demuxer=v4l2

10. php -v shows the following error

ffmpeg.so: undefined symbol: avcodec_build

Sol:-

edit the file ffmpeg-php.c in the source and compile again

avcodec_build (), CONST_CS | CONST_PERSISTENT);

to

LIBAVCODEC_BUILD, CONST_CS | CONST_PERSISTENT);

11.

/root/paresh/ffmpeg-php-0.5.3.1/ffmpeg_frame.c:448: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)
/root/paresh/ffmpeg-php-0.5.3.1/ffmpeg_frame.c: In function ‘zif_ffmpeg_frame’:
/root/paresh/ffmpeg-php-0.5.3.1/ffmpeg_frame.c:533: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1

Sol:-

vi ffmpeg_frame.c
%s/PIX_FMT_RGBA32/PIX_FMT_RGBA/gwget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download
/usr/bin/phpize
./configure
make
make install

add extrension in the Zend section

extension=ffmpeg.so

12.

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libavcodec.a(libx264.o): In function `X264_init':
/opt/libavfilter/ffmpeg/libavcodec/libx264.c:305: undefined reference to `x264_encoder_open_110'
collect2: ld returned 1 exit status
make: *** [x264] Error 1

OR

libavcodec.so: undefined reference to `x264_encoder_open_115'

Sol:-

yum install git
cd /usr/src
git clone git://git.videolan.org/x264.git
cd  x264
./configure --enable-shared --prefix=/usr
make
make install

If arch is x86_64 do the following and run ffmpeg make command

unlink /usr/lib64/libx264.so
ln -s /usr/lib/libx264.so /usr/lib64/libx264.so

13. make error in ffmpeg-php

/usr/src/ffmpeg-php-0.6.1/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/src/ffmpeg-php-0.6.1/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/src/ffmpeg-php-0.6.1/ffmpeg-php.c:164: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
/usr/src/ffmpeg-php-0.6.1/ffmpeg-php.c:164: error: (Each undeclared identifier is reported only once
/usr/src/ffmpeg-php-0.6.1/ffmpeg-php.c:164: error: for each function it appears in.)
make: *** [ffmpeg-php.lo] Error 1

Sol:-

cp /usr/local/include/ffmpeg/libswscale/swscale.h  /usr/local/include/ffmpeg/

Run “make” command again
14. ffmpeg configure error

ERROR: libtheora not found

Sol:-

wget  http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2
tar -jxf  libtheora-1.1.1.tar.bz2
cd libtheora-1.1.1
./configure --prefix=/usr
make
make install

龙芯LoongArch交叉编译实战:从x86到Qt应用全流程 交叉编译是一种在一种硬件架构上生成另一种架构可执行代码的技术,其核心原理是通过特殊的编译器将源码翻译为目标指令集,而无需在目标机器上构建完整环境。它解决了目标机依赖缺失、库版本不匹配等痛点,在嵌入式开发、国产平台适配等场景中极具价值。当开发环境为x86\_64、目标平台为LoongArch时,正确配置工具链与sysroot成为关键。本文从工具链选型、环境搭建开始,逐步演示Qt、Boost、OpenCV等复杂项目的交叉编译流程,并分享常见报错排查与排错习惯,为在龙芯平台部署Qt应用提供一份可落地的工程实践指南 阅读详情

相关推荐

从零开始成为GStreamer专家——基于Windows的GStreamer从源码下载、编译到开发

写一个自己的Hello,Word! 代码下载 一、GStreamer下载 到Sign up · GitLabfreedesktop.org GitLab loginhttps://gitlab.freedesktop.org/users/sign_up上注册一个用户。 在PC机上用ssh-keygen -t rsa -C "yourname@yourhost.com"生成id_rsa.pub值,把这个值贴到下面Key框里,如果这一步不会,请搜索参考ssh-keygen的用法。 git clo...

intel1985的专栏 1万+

php安装ffmpeg-php扩展php视频截图视频处理获取视频时长

如果是php7的话就别看了,暂时还没支持php7.最多支持到php5.6。 把项目脚本中报错的一行注释掉,引起的原因貌似是php7重写了一些东西,这里通不过了。注释掉那个报错脚本里报错的行,目前暂时没有出现问题。 环境为centos7,一顿yum安装。先装上repo源,目前ffmpeg的软件版本为2.6.8 ffmpeg是软件,ffmpeg-php是php的扩展 sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro sud

webnoties的专栏 1469

vcpkg 2024.01 实战:Windows MSVC + CMake 项目集成,3步解决OpenCV依赖

本文详细介绍了如何使用vcpkg 2024.01在Windows MSVC + CMake项目中快速集成OpenCV依赖。通过三个关键步骤:安装vcpkg并集成Visual Studio、使用vcpkg安装OpenCV、配置CMake项目,开发者可以高效解决C++依赖管理问题,特别适合处理像OpenCV这样的复杂库。

SAN_YUN的专栏 393

linux下ffmpeg的完整安装教程,linux下安装FFMPEG全纪录.doc

linux下安装FFMPEG全纪录怎样安装ffmpeg?1,cd /usr/local/src下载最新版本的ffmpeg:svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg2,cd ffmpeg./configuremake && make install以上是安装不带任何解码库的ffmpeg。使用ffmpeg命令进行测试...

weixin_36254537的博客 512

从AI画稿到3D虚拟时装:Illustrator与Substance 3D的服装设计工作流

本文旨在解决传统服装与纺织品设计师在产品开发流程中,面临的“2D印花图案无法直观预见3D上身效果”、“物理打样成本高昂且周期漫长”的核心痛点。我们将介绍一套纯数字化的3D可视化工作流,核心是利用 Adobe Illustrator 进行矢量印花图案创作,通过 Adobe Substance 3D Sampler 将其转化为逼真的PBR(基于物理渲染)布料材质,并最终在 Adobe Substance 3D Stager 中,将该材质应用于3D服装模型,渲染出照片级的虚拟样衣。本指南将帮助设计师以极低的成本和

Kingsdesigner的博客 1412

Windows 11“此应用已被管理员阻止运行”解决方案

通过本文介绍的两种方法,你应该能够解决Windows 11中“此应用已被管理员阻止运行”的问题。无论你选择创建新管理员账户还是禁用管理员批准模式,都请确保了解相关操作的风险,并根据你的实际需求做出选择。通过禁用“用户账户控制:以管理员批准模式运行所有管理员”设置,可以解决因系统安全设置导致的应用程序被阻止运行的问题。这种方法适用于那些希望简化管理员账户操作流程的用户,但需要注意可能带来的安全风险。通过创建并登录具有管理员权限的新账户,可以解决因系统安全设置导致的应用程序被阻止运行的问题。

mmoo_python的博客 1万+

cakephp使用php-ffmpeg调用ffmpeg处理视频和音频

http://ffmpeg.org/download.html#build-linux 安装ffmpeg git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg x264必要的库,其他无关紧要的,可以不安装 sudo ./configure --enable-shared --enable-gpl --enable-libx264 --ena...

朝军的博客 1413

SWMM建模与案例应用

4、排水系统控制规则通过控制功能,可以在模拟进行过程中,通过条件判断,对闸门、水泵、管道、孔口、堰进行控制,实现排水系统实时控制。5、SWMM与其他模型对比分析分析:STORM、MOUSE、Info Works、SUSTAIN、SWC。1、模型初始设置主要参数:雨量计、汇水区、节点、出水口、管渠、分流器、蓄水池等参数前缀的设置。2、气象数据设置温度、蒸发、风速、融雪、面积亏损、气候调整、雨量计。1、多软件数据交互:CAD、Arcgis、SWMM。(1)节点、管段、水泵、孔口、堰、雨水口和街道。

m0_74575633的博客 3433

ffmpeg php api,php-ffmpeg

Installing FFMpegyum install ffmpeg ffmpeg-develIf you getpackage not found,then you will need to add few lines in the yum repository for dag packages installation. Create a file nameddag.repoin/et...

weixin_29521249的博客 381

YOLO26涨点改进 | 全网独家,注意力创新改进篇 | Arxiv2025 | YOLO26引入MSLA多尺度线性注意力模块,高效提取多尺度特征和建模长程依赖,含多种创新改进,助力有效涨点

本文提出了一种多尺度线性注意力模块(MSLA)来优化YOLO26模型。MSLA通过并行使用不同尺寸的深度可分离卷积(3×3至9×9)提取多尺度特征,并结合线性注意力机制高效建模全局依赖关系。该模块显著提升了模型对多尺度目标的检测能力,同时保持了轻量化特性。实验表明,MSLA能有效增强小目标检测和复杂场景下的分割精度。文章详细介绍了MSLA的网络结构、核心优势及实现代码,并提供了两种集成MSLA的YOLO26改进方案,为实时目标检测任务提供了高效解决方案。

Ai缝合怪、助力小伙伴高效发论文 326

AUTOSAR知识点 之 XCP (三):XCP功能描述

记录一下XCP使用时候的功能包含命令时序、错误码表、事件描述以及对规范的记录。XCP的图示如下从上图就可以看出数据流的流向CAN-CANIF-XCP,发送反之。XCP的状态机如下。

梦想技术家 3086

从源码到部署:realtime-transcription-fastrtc开发者进阶手册(含模型选择策略)

realtime-transcription-fastrtc是一个基于FastRTC和本地Whisper模型构建的实时语音转录项目,它能够实现音频输入与文本输出之间的实时交互,让开发者轻松搭建高效的语音识别应用。 ## 项目核心架构解析 📊 该项目的核心架构主要由两大关键技术支撑: - **FastRTC**:负责处理音频流和实时交互,确保语音数据的高效传输和低延迟处理。在[main.py

gitblog_00940的博客 780

基于 YOLOv26 的陶瓷产品缺陷检测系统:智能视觉质检方案

本文提出了一种基于YOLOv26深度学习模型的陶瓷产品智能缺陷检测系统。该系统针对陶瓷生产中的裂纹、气泡、釉面缺陷等8类常见质量问题,采用YOLOv26目标检测算法实现高精度自动化检测。系统架构包含数据采集、预处理、YOLOv26检测和后处理四个模块,具有多类别分类、实时推理和强鲁棒性等技术优势。文章详细介绍了数据预处理与增强方法,并提供了Python代码实现示例。该方案可显著提升陶瓷产品质量检测效率,替代传统人工检测方式,为陶瓷制造业提供智能化质检解决方案。

一键难忘的博客 814

LinkSwift 网盘直链下载指南:九大网盘、五种下载方式,免费油猴脚本快速拿到官方直链

网盘网页版下载大文件,速度常被压在几十 KB/s,而 IDM、Aria2 这类本地下载器又拿不到文件直链。LinkSwift 是一个免费油猴脚本,注入网盘页面后直接调用官方接口取回直链,覆盖 9 大网盘、5 种下载方式,适合本地已有下载器、只想省掉取链这一步的人。 ## 能力边界:先讲清楚能做什么、不能做什么 ✅ 能做的: - 一个脚本覆盖百度网盘、阿里云盘、中国移动云盘、天翼云盘、迅雷云盘

gitblog_00073的博客 386

C#使用OpenCvSharp+微信模型识别多个二维码

本文介绍了一个基于OpenCvSharp和微信开源二维码检测器的多二维码识别项目。该项目通过C# WinForm实现,主要功能包括:加载图片、识别图片中的多个二维码并显示识别结果。核心代码使用了OpenCvSharp.WeChatQRCode类,通过预训练的caffe模型(detect.prototxt/detect.caffemodel和sr.prototxt/sr.caffemodel)进行二维码检测和解码。识别结果包括每个二维码的编号、内容及位置信息。项目适用于批量二维码识别场景,部署简单,识别效果良

遇见--专栏 127

JeecgBoot passwordChange 任意用户密码重置漏洞复现

​JeecgBoot 框架passwordChange接口存在任意用户密码重置漏洞,未经身份验证的远程攻击者可以利用此漏洞重置管理员账户密码,从而接管系统后台,造成信息泄露,导致系统处于极不安全的状态。

0xSec 2646

Jetson Orin Nano 安装 torchvision 0.15.1:源码编译 3 个常见错误与解决方案

本文详细介绍了在Jetson Orin Nano上源码编译torchvision 0.15.1时可能遇到的3个致命错误及其解决方案,包括内存不足、符号未定义和隐式依赖缺失问题。通过环境准备、编译参数优化和版本匹配验证等实战技巧,帮助开发者高效完成深度学习框架部署。

weixin_34068198的博客 296

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

本地部署 ChatTTS-ui 实操手册:十分钟跑通网页语音合成与 API 服务

把批量文案变成配音、给自己的项目挂一个语音合成后端,通常卡在一件事上:得先有一个既能用浏览器操作、又能被程序调用的本地服务。ChatTTS-ui 就是干这个的——它把 ChatTTS 内核封装成本地网页应用,支持中英数字混杂文本转语音,同时对外暴露 `/tts` HTTP 接口。照本手册操作,从空目录到 `http://127.0.0.1:9966` 上出第一段音频,大约十分钟,全程不依赖任何付费

gitblog_00348的博客 366

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

ChatTTS-ui部署与快速上手:本地跑起文字转语音Web服务

ChatTTS-ui是一个本地文字转语音工具:在网页输入中英文混合文本,即可合成可试听、可下载的语音,并提供 `/tts` 接口供其他程序调用。ChatTTS-ui部署全程约10分钟,照以下步骤即可完成安装、模型下载与首次合成。 ## 环境要求一览 部署前先对照下表确认你的机器满足条件,不满足的项目可以先跳过对应功能(如GPU): | 项目 | 要求 | 说明 | |------|-----

gitblog_00367的博客 325

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

如何高效部署LivePortrait:专业开发者的人像动画实战手册

LivePortrait是一款基于深度学习的开源人像动画工具,能够将静态图像转换为逼真的动态肖像。通过先进的姿态迁移和面部特征捕捉技术,该工具为开发者和创作者提供了强大的人像动画生成能力。本文将为您提供完整的部署指南、使用技巧和性能优化策略,帮助您快速掌握这一创新工具。 ## 🎯 为什么选择LivePortrait:技术优势与应用场景 ### 核心技术创新亮点 LivePortrait在肖

gitblog_00161的博客 373

为什么叫Repackaged?HunyuanVideo模型打包原理与ComfyUI兼容性深度解析

HunyuanVideo_repackaged 是腾讯混元视频(HunyuanVideo)的 **ComfyUI 重打包版模型仓库**:把原版检查点拆开、改名、转格式后,直接对应到 ComfyUI 的标准模型目录。你只需按 README 中的路径把文件放进 `ComfyUI/models/` 对应子目录,即可在 ComfyUI 工作流中加载使用,无需任何转换步骤。 ## 仓库内容一览:8 个模型

gitblog_01190的博客 404

ChatTTS-ui 本地部署教程:三步跑通语音合成服务,含 API 接入

本文带你完成 ChatTTS-ui 的本地部署——这是一个基于 ChatTTS 内核的网页语音合成服务。装好之后你手里有两样东西:一个能用浏览器打开的中英文文字转语音界面,和一个可供自己程序调用的 /tts 合成接口。Linux 上大约 10 分钟能跑通,Windows 与 Mac 的步骤一致,只是个别命令有差别。 ## 三分钟跑通:克隆仓库并激活虚拟环境 最短路径以 Linux 为例,一条命

gitblog_01020的博客 385

ChatTTS-ui 部署指南:10分钟用三条路线跑起本地文本转语音服务

你要转的文字里中文、英文、数字混在一起,又想完全在本地完成、一个字都不发给云端接口。部署 ChatTTS-ui(一个基于 ChatTTS 引擎的本地文本转语音 Web 服务),你会得到点开即用的网页界面,外加一个任何程序都能调用的 /tts 接口。下面三条路线,选一条跟着走。 ## 先选路线:10 秒对比 | 路线 | 上手速度 | 可定制性 | 适合场景 | |---|---|---|---

gitblog_00271的博客 835

MAA 明日方舟自动化指南:一键长草、自动战斗与识别排错

每天登录《明日方舟》,清理智、给基建换班、领完奖励再刷一波公开招募,这套动作要耗掉半个多小时。MAA(MaaAssistantArknights)就是为这类明日方舟自动化准备的:它把日常做成可勾选的"一键长草",你勾上想跑的任务,刷理智、基建换班、收奖励这些就都交给它。 [![MAA 一键长草主界面与任务列表](https://raw.gitcode.com/GitHub_Trending/ma

gitblog_00963的博客 1047

为什么大模型会拒绝你?abliterator背后的激活引导与可解释性原理入门

你有没有让AI助手帮忙写点什么,结果它张口就是一句“抱歉,我不能……”?本文带你了解大模型拒绝行为(refusal)背后的原理,并学习如何借助 [abliterator](https://link.gitcode.com/i/ae633c372cdfa362ea56c1bbb4a944ab)——一个基于 TransformerLens 的 Python 库——通过激活引导(activation s

gitblog_00517的博客 869

Qt打包部署实战:用windeployqt和Inno Setup解决DLL依赖

在Windows环境下运行Qt程序,经常遇到因动态链接库(DLL)缺失而导致的启动失败问题。理解依赖库的组织原理,是高效交付软件的基础。Qt官方提供的windeployqt工具能自动扫描并复制核心依赖,而Inno Setup则可将整个运行目录封装为专业的安装包。本文从动态链接库的搬运逻辑讲起,详解windeployqt的常用参数与边界,并逐步拆解Inno Setup脚本写法,帮助开发者快速构建一套可复用的Qt打包流程,解决从开发机到用户电脑之间的部署难题。

weixin_34161083的博客 430
上一篇: Using pkg-config to detect libraries installed using homebrew
下一篇: Zeranoe FFmpeg - Builds
isuker
博客等级 码龄11年 77粉丝 15原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值