Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (55)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (6672)

  • ffmpeg in not working in php exec()

    10 septembre 2016, par TNTWap WapChat

    FFMPEG is not working in exec but its working when using ssh on that us
    but other commands work with exec !

    Here is the code :

    exec("ffmpeg -i /home/setare/public_html/kanalmanager/wt/230307754.mp4 -i /home/setare/public_html/kanalmanager/wt/230307754_logo.png \
    -filter_complex  "[1]colorchannelmixer=aa=1,scale=iw*1.4:-1[wm];[0][wm]overlay=x=(W-w)/2:y=(H-h)/2" /home/setare/public_html/kanalmanager/wt/230307754_send.mp4 -y");
  • Shell Script - Issue while assigning command from shell script

    18 novembre 2013, par Simon

    I want to build a script for converting a set of .avi movies from a folder to .wmv movies by using the ffmpeg converter.

    My script has the following content :

    for file in *.avi
    do
    replace_string="wmw";
    new_file=${file/avi/$replace_string};
    #echo $new_file
    #echo $file
    ffmpeg -i $file -b:v 2500k /home/alin/WmvMovies/$new_file
    done

    However, it doesn't work. I receive the following error :

    [NULL @ 0x1849040] Unable to find a suitable output format for '/home/alin/WmvMovies/Teo_Pose90.wmw'
    /home/alin/WmvMovies/Teo_Pose90.wmw: Invalid argument

    However, if I try this independently, it works. If I introduce into shell the following command :

    ffmpeg -i Teo_Pose90.avi -b:v 2500k /home/alin/WmvMovies/Teo_Pose90.wmv

    Can someone please explain to me why do I get this behaviour ?

  • How to convert mp4 to flv a bunch of files ?

    21 avril 2013, par jerdiggity

    Assuming I had a bunch of videos sitting inside the directory /home/user/videos/awaiting_conversion how would I go about using cron to run a script similar to this one to batch convert each video into a different format ?

    /bin/sh -c $'nice /usr/bin/ffmpeg -i \044'\'$'/home/user/videos/awaiting_conversion/video_file_1.mp4'\'$' -s \044'\'$'480x320'\'$' -vcodec libx264 -acodec libmp3lame -ab \044'\'$'64k'\'$' -vpre fast -crf \044'\'$'30'\'$' -ar \044'\'$'22050'\'$' -f flv -y \044'\'$'/home/user/videos/converted/video_file_1.flv'\'$''

    The above script works fine for a single conversion, but :

    1. It assumes that the name of the video is static/known (which will not be the case when batch converting).
    2. It assumes that there is only one video to convert (which may or may not be the case), i.e. there's no "loop".
    3. It leaves the original file in place instead of deleting it (which is what I would want to happen to prevent duplicate conversions).

    The ultimate question would be how do I run that script for each video that exists inside /home/user/videos/awaiting_conversion, passing the file name as a variable ?