Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (24)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP 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" (...)

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

Sur d’autres sites (3744)

  • running ffmpeg via nodejs error

    4 février 2017, par Greyhammer

    I’m trying to run ffmpeg from node, and I’m getting an error. Here is the code

    var exec = require('child_process').exec;

    var cmd = '/home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y -codec:a aac -b:a 44.1k -r 15 -b:v 1000k -codec:v h264 -f mp4 /home/ubuntu/output.mp4';

    exec(cmd, function(err, stdout, stderr) {
       if (err) console.log('err:\n' + err);
       if (stderr) console.log('stderr:\n' + stderr);
       console.log('stdout:\n' + stdout);
    });

    When I run this node script, I get the following errors :

    err:
    Error: Command failed: /home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y -codec:a aac -b:a 44.1k -r 15 -b:v 1000k -codec:v h264 -f mp4 /home/ubuntu/output.mp4
    ffmpeg version N-83323-g126e965 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --bindir=/home/ubuntu/bin --enable-gpl --enable-libopus --enable-libvpx --enable-libvorbis --enable-libmp3lame --enable-libfdk-aac --enable-libx264 --enable-nonfree
     libavutil      55. 45.100 / 55. 45.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 66.101 / 57. 66.101
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 72.100 /  6. 72.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    /home/ubuntu/input.flv: Invalid data found when processing input

    stderr:
    ffmpeg version N-83323-g126e965 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --bindir=/home/ubuntu/bin --enable-gpl --enable-libopus --enable-libvpx --enable-libvorbis --enable-libmp3lame --enable-libfdk-aac --enable-libx264 --enable-nonfree
     libavutil      55. 45.100 / 55. 45.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 66.101 / 57. 66.101
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 72.100 /  6. 72.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    /home/ubuntu/input.flv: Invalid data found when processing input

    stdout:

    But when I run

    /home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y -codec:a aac -b:a 44.1k -r 15 -b:v 1000k -codec:v h264 -f mp4 /home/ubuntu/output.mp4

    straight in the terminal, It works flawlessly. I think it has to do with how node runs the command but all my google searching has returned zero useful results. Any help is greatly appreciated.

  • How can I install brew (or ffmpeg) on Heroku ?

    28 mai 2018, par Donovant

    As per the title, I’d like to know whether and how to install brew, because I need to install ffmpeg lib

    I tried what it’s written here :

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

    test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
    test -d /home/linuxbrew/.linuxbrew && PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
    test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
    echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

    but then brew is still not found :

    bash: brew: command not found
  • Install ffmpeg package inside docker container

    13 juillet 2020, par Yaran

    I am trying to install ffmpeg package inside dockerfile, but after that ffmpeg package was not installed.

    


    Here is my dockerfile :

    


    FROM ubuntu:18.04

FROM maven:3.6.0-jdk-11-slim AS build
COPY src /home/app/src
COPY pom.xml /home/app
RUN mvn -f /home/app/pom.xml clean package -DskipTests

RUN apt-get update -y && apt-get install -y ffmpeg

FROM openjdk:11-jdk
COPY --from=build /home/app/target/car-1.0.jar /home/car.jar
EXPOSE 8080:8080
ENTRYPOINT ["java","-jar","/home/car.jar"]


    


    If I enter inside docker container and run command :

    


    apt-get update -y && apt-get install -y ffmpeg


    


    package was successfuly installed and works.

    


    With upper Dockerfile after finished build I typed :

    


    whereis ffmpeg


    


    and it was empty.

    


    I also tried with static ffmpeg inside Dockerfile, but not works https://hub.docker.com/r/mwader/static-ffmpeg/

    


    COPY --from=mwader/static-ffmpeg:4.3.1 /ffmpeg /usr/local/bin/
COPY --from=mwader/static-ffmpeg:4.3.1 /ffprobe /usr/local/bin/