Recherche avancée

Médias (91)

Autres articles (42)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

Sur d’autres sites (6051)

  • ENOENT error when trying to access output with ffmpeg + node.js

    29 juin 2020, par John Grayson

    I am running ffmpeg in a lambda function to do some video processing. My problem is the processed video is not being outputted/saved. Therefore, when I try to access the processed video, I get the error :

    


    ERROR  Error retrieving video to upload [Error: ENOENT: no such file or directory

    


    Relevant parts of my code :

    


    const { spawnSync } = require("child_process");

exports.handler = async (event, context) => {
  spawnSync(
    "/opt/ffmpeg/ffmpeg",
    [
      "-i",
      `/tmp/myfile`,
      'title="Test 123"',
      `/tmp/processed_file`,
    ],
    { stdio: "inherit" }
  );
}



    


    The conversion file itself does not return any errors, but when I try to access processed_file, I get the ENOENT error. I also used an fs.readdir to see what files actually exist in /tmp and the only file there was myfile. Therefore, my processed video truly did not save correctly.

    


    Does anyone know what I might be doing wrong here ? Thanks !

    


  • exec() just run when i access target php in browser

    28 septembre 2016, par Mohammad Shojaa

    i use this code to run another php for some work (ffmpeg convert)

       $binpath = get_option('binpath','/usr/bin/php');
       $command = $binpath." -cli -f ".ABSPATH."/videocron.php";
       exec( "$command > /dev/null &", $arrOutput );

    but when i upload a video and run this code don’t convert video for ever.

    but when i access to videocron.php from browser all videos i uploaded convert suddenly !!!

    i use alternative exec function(system(); exec(); passthru(); shell_exec();)
    and i check videocron.php by readable function, it is readable.

    even i change owner videocron.php to nobody user

    in mod_security log i get this error :

    [Tue Sep 20 23:01:11 2016] [error] [client 37.156.10.171] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "codenevis.net"] [uri "/lib/upload-ffmpeg.php"] [unique_id "V@GAb38AAAEAAGrk2QoAAAAH"]

    but even i unistalll mod_security it don’t work automatically.

    but in all don’t convert video until i access to videocron.php from browser !

  • Access video stream from Cloud IP Camera

    13 février 2018, par Ferguson

    I have bought a new "cloud IP" camera and I don’t know If I can access video stream over RTSP or some other protocol from local computer ?

    I would like to stream a video over VLC or FFMpeg program.

    The model of camera is : CIPC-GC13H

    enter image description here

    thank you for any info