Recherche avancée

Médias (91)

Autres articles (84)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (4848)

  • fate : Handle lavf-fate tests in a makefile

    19 octobre 2012, par jamal

    fate : Handle lavf-fate tests in a makefile

  • ffmpeg doesnt work on live server while same code working on local server

    5 septembre 2016, par Samir Karmacharya

    I have used the code below code in local server to convert video and capture images from video

    <form action="index.php" method="post" enctype="multipart/form-data">
     <input type="file" />
     <input type="submit" />
    </form>

    &lt;?php
    if(isset($_POST['submit'])){    
     $ffmpeg="c:\\ffmpeg\\bin\\ffmpeg"; //ffmpeg path
     $file_name=$_FILES['file']['name'];
     $file_name=str_replace(' ','_', $file_name);
     $videoFile=$_FILES['file']['tmp_name'];    
     $imageFile=$file_name.'1.jpg'; //output image name
     $getFromSecond=5;// image capture from video in 5 second
     $size="720*590";
     $cmd="$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size  $imageFile";
     //for video converstion
     $cmd_video="$ffmpeg -i $videoFile -vcodec copy -acodec copy beighta.mp4";//working      
     if(!shell_exec($cmd)){      
       echo "thumbnail created";
     }else{
       echo "error";
     }
     if(!shell_exec($cmd_video)){
       echo "video completed";
     }else{
       echo 'vidoe fail';
     }
    }
    ?>

    But, in the live server if I replace

    $ffmpeg="c:\\ffmpeg\\bin\\ffmpeg"; //ffmpeg path

    with

    $ffmpeg="/usr/local/bin/ffmpeg";

    then it doesn’t capture images from video and does not convert the video format.

    Question

    How can I alter my code so I get the same outcome on the real server that I do on my local server ?

  • avfilter/vf_v360 : move some local variables to private filter context

    16 septembre 2019, par Paul B Mahol
    avfilter/vf_v360 : move some local variables to private filter context
    
    • [DH] libavfilter/v360.h
    • [DH] libavfilter/vf_v360.c