Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (38)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (8003)

  • Crontab starts again befor the process of conversion in ffmpeg ends(depending on time supose /2 minutes) How to Control that ?

    18 décembre 2016, par A Sahra

    I am running a bash .sh file every two minutes with crontab. the problem is that when crontab runs bash file the process of ffmpeg video conversion starts,the conversion time varies depending on length of videos, i have set the crontab to run every two minutes. crontab runs again after two minutes before end of ffmpeg conversion.

    How to Figure out :

    control of crontab and conversion process so the crontab doesn’t starts again until process of conversion is not completed.

    #!/bin/bash
    # set PATH to check existance of video file in this directory
    checkfiles=/home/webuser/public_html/shareportal/convert_Up_videos/*
    checkforfiles=/home/webuser/public_html/shareportal/convert_Up_videos
    movetodire=/home/webuser/public_html/shareportal/uploaded_videos/
    conversionprocessdir=/home/webuser/public_html/shareportal/conversion_process/
    movetoArchive=/home/webuser/public_html/shareportal/Video_Archive/
    blockpath=/home/webuser/public_html/shareportal/block.txt
    processid=/home/webuser/public_html/shareportal/processid.txt
    #format of output video file
    webm='webm'
    if [ "$(ls -A $checkforfiles)" ]
    then
    #check directory for files to convert
    for f in $checkfiles
       do  
           fullfilename="$f"
           filename=$(basename "$f")
           filewithoutextforimage="${filename%.*}"
           nametofile=$filewithoutextforimage | cut -c1-10;
           echo $filewithoutextforimage | cut -c1-10 1> $blockpath 2>&1
       filewithoutext="${f%.*}"
       fileextention="${f##*.}"
       image_path='/home/webuser/public_html/shareportal/video_images/'$filewithoutextforimage'.png'
       outputfilename=$conversionprocessdir"$filewithoutextforimage.webm"
       #ffmpeg conversion process starts here
       if (ffmpeg -i "$f" "$outputfilename" 1>> $blockpath 2>&1)
       then
           #Extract Image of video file on provided time stamp
           if (ffmpeg -ss 00:00:06 -i "$f" -vframes:v 1 "$image_path")
           then
               echo "Image Extracted"
           else
               echo "Could not Extract Image"
           fi
           echo "Video Converted";
       else
           echo "Could Not Convert Video"
       fi
       #conversion Ends!!
       mv "$outputfilename" $movetodire
       mv "$fullfilename" $movetoArchive
    done
    else
    echo "File Not Found Directory is empty!!!-----"
    fi
  • how to convert video file via ffmpeg in php ?

    4 janvier 2015, par ali raha

    In SSH centos terminal, I run it via this command :

    $HOME/bin/ffmpeg -i test.mp4 test.webm

    I tried this

    $ffmpegPath = "/home/bin/ffmpeg";
     //or $ffmpegPath = "/bin/ffmpeg";




     $outPath=$outPath."/".$newname.$format;
     shell_exec("$ffmpegPath  -i $inputPath $outPath");
  • How to convert a first 5 sec of a video to gif using ffmpeg

    2 octobre 2019, par chithra
     String livestream = "/home/Downloads/123.MP4";

       String folderpth = "/home/chithra/Downloads/aagiten.gif";

       Runtime.getRuntime().exec(
               new String[] {
                       "ffmpeg",
                       "-i",
                       "-t 5",
                        livestream,
                       folderpth

               }
       );

    I tried to add the parameter -t in this code but it is not converting the first 5 seconds of a video.