Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (24)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

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

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

    4 février 2018, 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 watermark text on video sliding from right top to right bottom vertically

    23 juillet 2015, par Durgesh Gupta

    How to watermark text on video sliding from right top to right bottom vertically ?

    This is my command :

    ffmpeg -i /usr/home/test.mp4 -vf "drawbox=x=iw-42:y=0:w=42:h=ih:color=black@0.5:t=80,drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:text='Hello World':fontcolor=white@1.0:fontsize=16: y=(mod(2*n\,h+th)-th):x=w-tw-10" -codec:v libx264 -codec:a copy -strict -2 /usr/home/out.mp4

    please help me out

  • 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