
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (83)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14556)
-
The question about ffmpeg drawtext filter [closed]
5 mai 2024, par B1GGersnowI tried to use rockchip(aarch64) hardware acceleration and add a drawtext filter to add watermarks. However, squares appear when multiple Chinese fonts are added.


This is my compilation parameter.


./configure --prefix=/usr --enable-gpl --enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga --enable-filter=drawtext --enable-libharfbuzz --enable-libfreetype --enable-libfontconfig --enable-libfreetype --enable-libfribidi



- 

-
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i 1.mp4 -vf scale_rkrga=w=1920:h=1080,hwdownload,format=nv12,drawtext=text='中文':fontfile=msyh.ttc:fontsize=200 -c:v h264_rkmpp -y -t 10 output.mp4

img1

-
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i 1.mp4 -vf "scale_rkrga=w=1920:h=1080,hwdownload,format=nv12,drawtext=text='中文字幕测试':fontfile=msyh.ttc:fontsize=200" -c:v h264_rkmpp -y -t 10 output.mp4

img2







But I try to use
apt install ffmpeg
to install ffmpeg which is officially maintained by Ubuntu. I got the right result. So I think it's the library, and I'm trying to compile using the official library.

./configure --prefix=/usr --enable-gpl --enable-version3 --enable-filter=drawtext --enable-libharfbuzz --enable-libfreetype --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libx264



I still get garbled results.


Is this because there is something wrong with my compilation dependent library ?


When I compiled it with the same parameters on wsl, there was no garbled code.


-
-
How can I solve the error when installing ffmpeg [closed]
11 mars 2024, par zhiyang houOS :
uname -r
3.10.0-957.27.2.el7.x86_64


I performed the following steps on CentOS :


1.Installed dependency libraries :


sudo yum install epel-release -y
sudo yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel -y



2.Cloned the FFmpeg repository :


git clone https://git.ffmpeg.org/ffmpeg.git



3.Compiled and installed FFmpeg :


cd ffmpeg
./configure --enable-shared
make -j$(nproc)
sudo make install



Then, I encountered the following issue :


(123) [root@b0a30580415d ffmpeg]# make install
INSTALL libavdevice/libavdevice.a
X86ASM libavcodec/x86/vvc/vvc_mc.o
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
make: *** [libavcodec/x86/vvc/vvc_mc.o] Error 1



I am trying to find relevant information on the ffmpeg official website, but I don't know how to solve it. I hope to get guidance from someone with strong technical skills. Thank you.


-
JAVE (Java Audio Video Encoder) library exception only on Linux (CentOS 7)
13 octobre 2017, par Linu RaduI’m using JAVE (Java Audio Video Encoder) library and the developed application is on windows.
On windows the conversion of an.mp3
file is working fine but when I deployed on linux (CentOS 7) an exception is thrown.As I understand JAVE has also a wrapper around an
ffmpeg
executable.Here is my code :
try {
File source = new File(sourceFile);
File target = new File(targetFile);
final AudioAttributes audio = new AudioAttributes();
audio.setCodec("libmp3lame");
audio.setBitRate(88000);
audio.setChannels(2);
audio.setSamplingRate(44100);
EncodingAttributes attrs = new EncodingAttributes();
attrs.setFormat("mp3");
attrs.setAudioAttributes(audio);
Encoder encoder = new Encoder();
encoder.encode(source, target, attrs);
} catch (EncoderException ex) {
throw ex;
}Exception :
...
Caused by: it.sauronsoftware.jave.EncoderException: Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
at it.sauronsoftware.jave.Encoder.encode(Encoder.java:926)
at it.sauronsoftware.jave.Encoder.encode(Encoder.java:713)
at com.hft2.ejb.util.Mp3JaveEncoder.encode(Mp3JaveEncoder.java:36)
... 206 moreUpdate
Here is the official page : http://www.sauronsoftware.it/projects/jave/
Full exception log : https://jpst.it/1678l
Does anyone have any idea ?