Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (61)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (6420)

  • The question about ffmpeg drawtext filter [closed]

    5 mai 2024, par B1GGersnow

    I 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


    


      

    1. 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

      


    2. 


    3. 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

      


    4. 


    


    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 hou

    OS :
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 Radu

    I’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 more

    Update

    Here is the official page : http://www.sauronsoftware.it/projects/jave/

    Full exception log : https://jpst.it/1678l

    Does anyone have any idea ?