Recherche avancée

Médias (91)

Autres articles (55)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (7285)

  • create single video form 3 separate videos using FFmpeg

    24 septembre 2019, par Shijin

    I was trying to create single video form 3 separate videos using FFmpeg.

    ffmpeg -y -loglevel debug  -i /home/ubuntu/test/1569317318/15693173181124138568.webm   -i /home/ubuntu/test/1569317318/1569317318867082351.webm   -i /home/ubuntu/test/1569317318/1569317318191333163.webm  -filter_complex '[0]scale=320:-1[a];[1]scale=320:-1[b];[2]scale=320:-1[c];[3]scale=320:-1[d];[a]pad=640:480[x];[x][b]overlay=320[y];[y][c]overlay=0:240[z];[z][d]overlay=320:240;[0][1]amix'  -c:v libx264   -crf 23   -preset veryfast   -shortest   /home/ubuntu/test/1569317318/1569317318478598265.mp4

    This is not woking, It throws an error like bellow

    Invalid file index 3 in filtergraph description
    [0]scale=320 :-1[a] ;[1]scale=320 :-1[b] ;[2]scale=320 :-1[c] ;[3]scale=320 :-1[d] ;[a]pad=640:480[x] ;[x][b]overlay=320[y] ;[y][c]overlay=0:240[z] ;[z][d]overlay=320:240 ;[0][1]amix.

    How to fix it ? If we provide four inputs, It is working

  • Java execute command doesn't work in code

    27 août 2017, par Ariana

    I am calling java.lang.Runtime.exec(...) in my Java program to run a command (some FFMPEG commands) simply passed to my function :

       private static void RunCommand(String command) throws InterruptedException {
           try {
               // Execute command
               Process proc = Runtime.getRuntime().exec(command);
    }
    }

    It runs OK for simple FFMPEG cases such as ffmpeg -i input.avi -c copy output.avi.

    But for one of the commands, apparently it doesn’t run. When I copy/paste the exact String in command line, I am able to run it and see the output file.

    ffmpeg -i "concat:/home/temp10.avi|/home/p2.avi|/home/temp15.avi" -c copy -y /home/output.avi

    Which is the following in code :

    String c4="ffmpeg -i \"concat:"+dir+temp1+"|"+dir+ad+"|"+dir+temp3+"\" -c copy -y "+dir+output;

    What is going on ? Any guesses why it doesn’t run in code ? If the " is causing the problem, why the corresponding string looks good ?!

  • Bash script doesn't read entire line

    4 octobre 2019, par Miguel Alatorre

    First off, I am in the early stages of learning bash shell scripting, so I apologize if I say / do anything that doesn’t make sense.

    Currently, I’m trying to have an SBC, a Khadas VIM3 specifically, run a python script to find and label faces in any given video from a local server. Currently, I need to reduce the frame rate and resolution of the video, which is where the bash script comes into play. I need to automate this process and thought I’d do it using a bash script and crontab.
    The file paths are found and output into a file from a separate script, and are read by the bash script. The problem comes when I try and call ffmpeg to use the file paths.

    The Code :

    pathFile="/home/khadas/Documents/paths"

    while IFS= read -r line
    do
           ffmpeg -i "$line" -vf scale=960:540 -y "$line"
           cp "$line" ./
    done < $pathFile

    The resulting error :

    : No such file or directoryalRecognition/10/14-53.h264+/20-509-26-10-14-53.mp4
    cp: cannot stat '/home/khadas/Downloads/FacialRecognition/10/14-53.h264+/20-509-26-10-14-53.mp4'$'\r': No such file or directory

    Example of the paths file (There will be hundreds of entries) :

    /home/khadas/Downloads/FacialRecognition/10/14-42.h264+/20-509-26-10-14-42.mp4
    /home/khadas/Downloads/FacialRecognition/10/59-06.h264+/20-509-26-10-59-06.mp4
    /home/khadas/Downloads/FacialRecognition/10/36-28.h264+/20-509-26-10-36-28.mp4
    /home/khadas/Downloads/FacialRecognition/10/14-53.h264+/20-509-26-10-14-53.mp4

    When using a trimmed down version, the script works as expected. Could it be an issue with the length of the lines ? Any help is much appreciated.