Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (66)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (5227)

  • Add multiple audio files to video at specific points using FFMPEG

    7 août 2012, par Pascal Beyeler

    I am trying to create a video out of a sequence of images and various audio files using FFmpeg. While it is no problem to create a video containing the sequence of images with the following command :

    ffmpeg -f image2 -i image%d.jpg video.mpg

    I haven't found a way yet to add audio files at specific points to the generated video.
    Is it possible to do something like :

    ffmpeg -f image2 -i image%d.jpg -i audio1.mp3 AT 10s -i audio2.mp3 AT 15s video.mpg

    Any help is much appreciated !

    EDIT :

    The solution in my case was to use sox as suggested by blahdiblah in the answer below. You first have to create an empty audio file as a starting point like that :

    sox -n -r 44100 -c 2 silence.wav trim 0.0 20.0

    This generates a 20 sec empty WAV file. After that you can mix the empty file with other audio files.

    sox -m silence.wav "|sox sound1.mp3 -p pad 0" "|sox sound2.mp3 -p pad 2" out.wav

    The final audio file has a duration of 20 seconds and plays sound1.mp3 right at the beginning and sound2.mp3 after 2 seconds.
    To combine the sequence of images with the audio file we can use FFmpeg.

    ffmpeg -i video_%05d.png -i out.wav -r 25 out.mp4
  • ftp upload then loop

    23 juillet 2012, par thevoipman

    I have a minor bash script loop I'm trying to learn and accomplish but it's giving me a hard time to comprehend with all the readings I've done.

    I am uploading to a ftp server, then I want to check to see if the upload went through successfully by using wget spider method. If it returns OK then we're good, if not then I want to redo the ftp upload once more.

    The code I have below are based on my research and learning from here. If I could be doing this better, please help me revise it so I can learn from it.

    Thanks again in advance :

    for ((i = 0 ; i < 1 ; i++ ));
    do
       wget_output=$(wget -q --spider "http://$FTP_HOST/test.jpg")
       if [ $? -ne 0 ];
       then

           ftp -in $FTP_HOST &lt;<endftp user="user" binary="binary" put="put" bye="bye" endftp="endftp" else="else" echo="echo" code="code" fi="fi" done="done"></endftp>code>

    My errors when executing is :

    line 28: syntax error: unexpected end of file
  • Video Conversion from cross platform (IOS, ANDROID, WEB) using FFMPEG [closed]

    1er août 2012, par Sunil Gulabani

    We are converting videos recorded from Apple IOS and Android device. And this converted videos are being accessed from IOS, android devices and Website using Strobe Media Playback.

    The videos are converted on Ubuntu Server.

    We are using following command to convert video :

    ffmpeg -i -s 480*800 -vcodec libx264 -acodec aac
    -strict experimental -ac 2 -r 25 -ab 44100 .mp4

    The issue come when uploading from the IOS device that orientation changes.

    By removing the "-s 480*800" the orientation issue solves, but android devices stopped playing the converted videos.

    Is there any way that the converted video plays well in IOS, Android devices and Web.