Recherche avancée

Médias (91)

Autres articles (108)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • 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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6771)

  • Terminate ffmpeg.exe loop

    5 mars 2019, par jinaho

    Getting a thumbnail from a RTSP source results in infinit output from ffmpeg without exiting which makes the batch script not resume.

    It is basically only one line that calls the ffmpeg process like this (example) :

    ffmpeg -i rtsp://192.168.1.89:554/11 -f image2 -r 1 thumb%03d.jpg

    The input is user generated and for some ffmpeg is not returning a thumbnail but a warning message :

    Could not find codec parameters for stream 0 (Video: h264, 1 reference frame, none(left), 1280x720, 1/180000): unspecified pixel format

    After that instead of quiting and let the batch script resume, ffmpeg outputs :

    Press [q] to stop, [?] for help
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
    frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A

    This goes on forever meaning that the batch script does not resume. Manual invertention is required which is not intended.
    I am looking for a way to tell the script that ffmpeg has a hanging condition and make the script quit ffmpeg so it can resume.

  • How can I install ffmpeg if I'm using Cloud Foundry and a python buildpack

    14 juillet 2019, par david balague

    I’m writing a python application which uses pydub and want to run it in the cloud, I’m using IBM’s ibmcloud Cloud Foundry implementation to deploy the application.

    pydub requires access to ffmpeg. The python buildpacks do not include this tool.

    How can I install ffmpeg and make sure that pydub can access it from within my application ?

    I tried to copy ffmpeg within the app’s directory, even in the app’s root directory, but I get a
    [Errno 2] No such file or directory : ’ffprobe’ : ’ffprobe’
    meaning that pydub cannot access ffmpeg.

    I tried to include an additional buildpack (https://github.com/shunjikonishi/heroku-buildpack-ffmpeg) in my manifest.yaml

    Nothing worked

    this is my masked manifest.yaml

    applications :
    - services :
    - xxx_de
    disk_quota : 1024M
    - name : ffmpeg
    buildpacks : https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
    memory : 128M
    - name : xvz
    #route : eu-gb.mybluemix.net
    route : mybluemix.net
    instances : 1
    memory : 128M

    Could you suggest a fix or an alternative way to do this ?

    Thanks !!

  • To convert from avi file to mp4 file by ffmpeg command in php

    12 septembre 2018, par user27240

    The ffmpeg command in php below creates mp4 file from avi file without deleting the original avi file meaning that,for example,
    there are two files, 1221222.avi and 1221222.mp4 exist in the directry after all.

    (’for i in /xxxxx/xxxxxx/*.avi ; do ffmpeg -i "$i" -frames:v 1 "/xxxxx/xxxxxx/$(basename "$i" .avi).mp4" ; done’)

    I’d like to delete this 1221222.avi file right after the command created 1221222.mp4 file.

    Is there any command that converts the file from avi to mp4 by replacing it ? Or do I have to add delete command after the command above ?

    I would appreciate if anyone could help me out for the command.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Even though the php script below can upload avi file from local drive to application I’m currently developping, the avi will not be played at html.
    So, I’m trying to convert from the avi file to mp4 file which is working fine by using ffmpeg command in php. This ffmpeg command creates mp4, but the html still do not play it. Is it because the original avi file still exists in the directory ?

    //php
    case "video/x-msvideo":

    if($header){
       header("Content-Type: video/x-msvideo");

    $dst_im = copy($path, $dst_file);
    return "";
    }else{

    $dst_file = $dst_file . ".avi";
    shell_exec('for i in  /xxxxxx/xxxxxx/*.avi; do ffmpeg -i "$i" - frames:v 1 "/xxxxxx/xxxxxx/$(basename "$i"  .avi).mp4"; done');      

    $dst_im = copy($path, $dst_file);
    }
    unlink($dst_im);
    break;


    //html
    <video width="500" height="250" poster="video.jpg" controls="controls" preload="auto" autoplay="autoplay">
    <source type="video/mp4" src="xxxxxxxxxxxxxxxxxxxxx.mp4"></source>
    </video>