Recherche avancée

Médias (91)

Autres articles (27)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (5682)

  • 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;