Recherche avancée

Médias (91)

Autres articles (105)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (11019)

  • How to send stream on Azure Media service Secondary INGEST URL by RTMP ?

    12 avril 2018, par Lin ChiMing

    I did well to post stream on Primary INGEST URL, but failed to post stream on Secondary INGEST URL.

    I uesd FFMPEG to post stream, i found that FFMPEG stuck while handshaking with Azure Media service.

    I saw FFMPEG send 0x0C and 1536 random bytes to Azure Media service, but Azure didn’t response anything.

    Is Secondary INGEST URL still work ?

  • Calling external applications from windows service [duplicate]

    3 novembre 2016, par vvj

    This question already has an answer here :

    I have a windows service as part of my project which has to communicate with external applications to process the files. One of the external application I am using is FFMPEG.exe.

    My problem is when I call FFmpeg or other applications as the new process. After starting the process, it is getting idle. it will neither get execute successfully nor get an exit.

    I am facing this problem with multiple external exe’s and it happens only while calling from the windows service. When I tried the same block of code from a windows forms application, it works perfectly. Below is the sample code I used. Could anyone tell me whats wrong with this.?

    Process FFMPEGProcess = new Process();
    FFMPEGProcess.StartInfo.FileName =@"ffmpeg.exe";                                  
    string strArgument = @" -i  \\MachineName\video\file.mp4 -y -s 176x132 -r 0.2 \\MachineName\Image\File%4d.jpg";
    FFMPEGProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
    FFMPEGProcess.StartInfo.CreateNoWindow = true;
    FFMPEGProcess.StartInfo.UseShellExecute = true;
    FFMPEGProcess.StartInfo.Arguments = strArgument;
    FFMPEGProcess.Start();            
    FFMPEGProcess.WaitForExit();
  • Systemd service (python loop -> ffmpeg stream)

    7 janvier 2019, par Kevitto

    I am currently running a stream with ffmpeg, through icecast2 through a python snippet (Fig1). I have created a systemd service to run said python script on boot (Fig2) and use a custom target (Fig3) to make sure it loads once every other service is loaded, mostly for icecast2.

    I’ve conducted multiple tests, and the stream works fine if launched either from the python code or if I restart the service attached to it.

    My problem is, on a (re)boot of the system, the service runs for approximately 15 seconds, then the stream dies. I’ve read so much on python and systemd, but I can’t for the life of me figure out where the problem lies. I’ve tried changing my python code, the unit load order and anything else I found online that could help, but found nothing.

    Fig1 (dxstream.py)

    import sys
    import time
    import subprocess

    def start():
       return subprocess.Popen(r’ffpmeg -re -f alsa -ac2 -i hw:1,0 -acodec mp3 -ab 320k -f mp3 icecast://sourcehackme@localhost:8000/stream', shell=True)

    testProcess = start()

    while True:

       res = testProcess.poll()
       if res is not None:
           testProcess = start()
       time.sleep(1)

    Fig2 (dxstream.service)

    [Unit]
    Description=ffmpeg stream starter
    After=multi-user.target
    [Service]
    Type=idle
    Execstart=/usr/bin/python /usr/local/bin/dxstream.py
    Restart=on-failure

    [Install]
    WantedBy=custom.target

    Fig3 (custom.target)

    [Unit]
    Description=Custom Target
    Requires=multi-user.target
    After=multi-user.target
    AllowIsolate=yes