Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (12879)

  • 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 do I only run ffmpeg if not currently running

    6 juin 2019, par RobertW

    I have a script that runs every 10 minutes which causes ffmpeg to run over and over and really slows it down. I’d like to only run one instance at a time so the movies will appear quicker on my website (And not crash my server).

    Here is my code :

    for i in MovieCategories/Category1/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done

    for i in MovieCategories/Category2/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done
    for i in MovieCategories/Category3/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done
    for i in MovieCategories/Category4/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done

    for i in MovieCategories/Category5/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done
    for i in MovieCategories/Category6/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done
    for i in MovieCategories/Category7/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done

    for i in MovieCategories/Category8/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done
    for i in MovieCategories/Category9/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done
    for i in MovieCategories/Category10/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done

    for i in MovieCategories/Category11/*/*.mkv;
     do name=`echo $i | cut -d'.' -f1`;
     echo $name;
     ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
    done

    I attempted to consolidate them into one command to help a bit but for some reason it mismatched the names from different directories and failed. Overall my main goal is to only run one movie at a time. If you could help consolidate this that would be a bonus. The movies are listed as follow :

    MovieCategories/

    • Category1/

      • Movie1/
        • Movie1.mp4
      • Movie2/
        • Movie2.mkv
      • Movie3/
        • Movie3.mp4
    • Category2/
      • Movie4/
        • Movie4.mp4
      • Movie5/
        • Movie5.mkv
      • Movie6/
        • Movie6.mp4

    And on...

  • Wowza RTMP to RTSP

    3 août 2016, par Nmas

    We’re using a Raspicam to stream live video to a client using Wowza Streaming Engine. We use FFMPEG to encode and send to Wowza and we can succesfully watch the RTMP stream using JWPlayer. This is the FFMPEG command used :

    ffmpeg -t 0 -s 320x240 -f video4linux2 -i /dev/video0 -b:v 250k -tune zerolatency -preset ultrafast -f flv -r 15 rtmp://wowzaaddress:1935/live/live

    To be able to watch the stream on mobile devices we want to use RTSP or HLS which Wowza provides links to, however when we use those links (provided on the Test Player) nothing happens and we can’t even open them to test for example in VLC. We have already added the extra ports on our web server to see if that was the problem and still didn’t work.
    Does anybody know what the problem is or what could we be doing wrong ?