Recherche avancée

Médias (91)

Autres articles (33)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (5150)

  • Redirect ffmpeg console output to a string or a file in C++

    21 juillet 2019, par NeoFahrenheit

    I’m trying to use ffmpeg to do some operations for me. It’s really simple for now. I want to omit the ffmpeg output in my console, either redirecting them to strings or a .txt file that I can control. I’m on Windows 10.

    I have tried _popen (with and "r" and "w") and system("ffmpeg command > output.txt")’, with no success.

    #include <iostream>
    #include
    using namespace std;

    #define BUFSIZE 256

    int main()
    {
       /* 1.
       x = system("ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4 > output.txt");
       */

       /* 2.
       FILE* p;
       p = _popen("ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4", "w");
       _pclose(p);
       */

       /* 3.
       char cmd[200] = { "ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4" };

       char buf[BUFSIZE];
       FILE* fp;

       if ((fp = _popen(cmd, "r")) == NULL) {
           printf("Error opening pipe!\n");
           return -1;
       }

       while (fgets(buf, BUFSIZE, fp) != NULL) {
           // Do whatever you want here...
           // printf("OUTPUT: %s", buf);
       }

       if (_pclose(fp)) {
           printf("Command not found or exited with error status\n");
           return -1;
       }
       */


       return 0;
    }
    </iostream>

    Further in the development, I would like to know when the ffmpeg process finished (maybe I can monitor the ffmpeg return value ?) or to display only the last line if the some error occurred.

  • How to capture movie with Gphoto2 + ffmpeg and redirect serve to html embed

    1er avril 2021, par Doglas Antonio Dembogurski Fei

    Iam trying to capture video from Panasonic DC-GH5 camera to serve this and access from browser withoud ffserver because ffserver is deprecated

    &#xA;

    Iam using Ubuntu 20.04

    &#xA;

    #gphoto2 -v&#xA;&#xA;&#xA;gphoto2         2.5.23         gcc, popt(m), exif, cdk, aa, jpeg, readline&#xA;libgphoto2      2.5.25         standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF&#xA;libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking&#xA;

    &#xA;

    Iam try this code

    &#xA;

    ffmpeg -f video4linux2 -s 640x480 -r 30 -i /dev/video0 -thread_queue_size 512 -ac 1 -f alsa -i pulse -f webm -listen 1 -seekable 0 -multiple_requests 1 http://localhost:8090&#xA;

    &#xA;

    and embed

    &#xA;

    <video src="http://localhost:8090"></video>&#xA;

    &#xA;

    in index.php but don`t appear anything.&#xA;If anyone knows a way to make a server for a specific port I would appreciate it&#xA;Thank you.

    &#xA;

  • Redirect FFMPEG's output to multiple named pipes on Windows

    31 mai 2016, par tearvisus

    I am trying to stream video and audio data into two separate named pipes on Windows.

    ffmpeg.exe -f dshow -i video="My camera name":audio="My microphone name" -map 0:1 -ac 1 -f f32le \\.\pipe\audioStream -map 0:0 -f mjpeg \\.\pipe\videoStream

    The problem is that FFMPEG does not seem to understand that the outputs \\.\pipe\audioStream and \\.\pipe\videoStream are pipes and treats them like files.

    1. If the pipes are already created when the FFMPEG starts, it wants to overwrite them and fails.
    2. Otherwise, it complains that the path does not exist and fails.

    As far as I understand, specifying the pipe: protocol should do the trick, but I can’t figure out how to use it properly, even with a single pipe. I have tried :

    1. pipe:pipeName
    2. pipe:pipe\pipeName
    3. pipe:\\.\pipe\pipeName
    4. pipe://pipeName
    5. pipe://pipe\pipeName
    6. pipe://\\.\pipe\pipeName

    I always end up with the same result : the output is written to the console and not to the pipe. If the pipe already exists when the FFMPEG starts, nothing connects to the pipe.

    Is it possible to use FFMPEG with named pipes on Windows ? If yes, what is the proper way to do this ?