Recherche avancée

Médias (91)

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7134)

  • Cannot get MediaStream from Electron app to browser via Openvidu media server

    11 juin 2021, par foxy.bunny

    I'm currently having an issue with openvidu-browser-2.17.0.js

    


    I'm trying to transfer a camera stream from RTSP to an Openvidu media server deployed on cloud and get the stream back on the browser.

    


    The RTSP stream was converted into an HLS stream using FFmpeg and played using hls.js. It was captured in an video tag in HTML and I used the HTMLMediaElement.captureStream().getVideoTrack() to generate MediaStreamTrack and passed it into the videoSource property in initPublisher. This publisher part was wrapped in electron. Then, the stream was connected to our cloud Openvidu server deployed on-premises exactly like in the Docs (https://docs.openvidu.io/en/2.18.0/deployment/deploying-on-premises/). The subscriber part is a simple HTML page displayed on the browser to get the stream from the cloud server. The subscriber is responsible for creating session and generating stream from the media server when streamCreated event occurs.

    


    The whole workflow worked nicely when we tested it with our webcam, however, when we use MediaStreamTrack of our stream video instead of webcam, the subscriber part only showed the blank video.

    


    My question is :

    


    1 : Is it possible to stream an MediaStream to Openvidu media server like that ?

    


    2 : If yes, then what am I doing wrong here ?

    


    Describe the bug

    


    Cannot get MediaStream from Electron app to browser via Openvidu media server.

    


    Expected behavior

    


    Receive the stream from the Electron app to browser via Openvidu media server.

    


    Wrong current behavior

    


    Only get blank video

    


    Client device info

    


      

    • Chrome Version 91.0.4472.77 (Official Build) (64-bit) on Windows 10 Version 10.0.19042 Build 19042
    • 


    


  • 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 ?

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