Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (33)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (4705)

  • 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>
  • Live video feed from ffmpeg to html with minimum latency

    11 juin 2020, par XPModder

    I am currently working on a project that requires me to get live video from a raspberry pi camera and stream it to a html page. At the moment I am using ffmpeg to create *.m3u8 and *.ts files and stream the video that way. In the html page I have hls.js running that receives the video and displays it through a video tag. This does work pretty good, but the latenca is a problem... The video in the browser is always between a few seconds and multiple minutes late. This is not really acceptable.

    &#xA;&#xA;

    I am currently using the following command to run ffmpeg :

    &#xA;&#xA;

    ffmpeg -loglevel quiet -y -i - -c:v copy -preset veryfast -hls_wrap 2 -hls_time 1 -g 1 stream.m3u8

    &#xA;&#xA;

    I have also tried other values for -hls_time and -g including values between 0 and 1.

    &#xA;&#xA;

    I am now searching for an alternative solution, that does not have this problem, or a way to reduce the latency to at least 2 seconds max. The video itself is transferred in to ffmpeg as h264. The html webpage is hosted on the same raspberry pi using apache2.

    &#xA;&#xA;

    Is there a way to accomplish that without installing a seperate streaming server on the pi ?

    &#xA;&#xA;

    Also this all has to work without a internet connection. Meaning the pi and the smartphone/computer that is viewing the html page are on the same wifi, but that wifi does not always have a connection to the internet and does not need to have one.

    &#xA;&#xA;

    So basically I want to have h264 video into ffmpeg and then somehow into html tag. The stream should also be accessable in another way, as I have a button on the page that should start and stop the recording of the stream to an mp4 file. This recording is also done using ffmpeg at the moment.

    &#xA;&#xA;

    I am asking this here and not on the raspberry pi stackexchange forum, because it is a general problem and the problem itself does not have anythingto do with the raspberry pi.

    &#xA;