Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (57)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10395)

  • Cropping black bars in video with ffmpeg on ubuntu changes video size

    9 décembre 2013, par pramod

    I have a source video size that's 720x576 with black rectangles on the top and bottom.

    I want to remove the black rectangles and set the output video size to 640x352.

    I tried -vf cropdetect and the value it gave was 640:192:0:80.

    However, putting that same value in crop=<parameter></parameter> changes the output video size.

    How can I fix this ?

    E.g. :

    ffmpeg -i all_the_best_test.mpg -s 640x352 -deinterlace -b 500k -minrate 500k \
    -maxrate 500k -aspect 1.82 -force_fps -vcodec libx264 -me_method 10 \
    -vf crop=640:192:0:80 -r 25 -acodec libfaac -ac 2 -ar 44100 -ab 96k -subq 6 \
    -vpre medium /vod/Movies/final/allthebest-crop-2.mp4
  • 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
  • Using ffmpeg to convert flv to mp4 on debian 6 [closed]

    28 mars 2013, par user1542610

    I am using ffmpeg on debian version squeeze/sid to convert flv to mp4.I need to view final output on iphone, ipad. I have tried many different combinations but have not succeeded in converting the file properly.

    Information about the sample flv file is as follows - via command ffmpeg -i sample.flv

     FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 1 / 52.20. 1
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libavfilter    0. 4. 0 /  0. 4. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Jun 12 2012 16:27:59, gcc: 4.4.3
    Input #0, flv, from &#39;sample.flv&#39;:
     Duration: 00:01:06.90, start: 2.079000, bitrate: N/A
       Stream #0.0: Video: flv, yuv420p, 352x200, 1k tbr, 1k tbn, 1k tbc
       Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
    At least one output file must be specified

    when i try using command - ffmpeg -i sample.flv -sameq -ar 22050 sample.mp4

    I get error with following output.

    ffmpeg -i sample.flv -sameq -ar 22050 sample.mp4
    FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 1 / 52.20. 1
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libavfilter    0. 4. 0 /  0. 4. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Jun 12 2012 16:27:59, gcc: 4.4.3
    Input #0, flv, from &#39;sample.flv&#39;:
     Duration: 00:01:06.90, start: 2.079000, bitrate: N/A
       Stream #0.0: Video: flv, yuv420p, 352x200, 1k tbr, 1k tbn, 1k tbc
       Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
    Output #0, mp4, to &#39;sample.mp4&#39;:
       Stream #0.0: Video: mpeg4, yuv420p, 352x200, q=2-31, 200 kb/s, 90k tbn, 1k tbc
       Stream #0.1: Audio: 0x0000, 22050 Hz, mono, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Unsupported codec for output stream #0.1

    I am not very conversant with ffmpeg and any help, pointers would highly appreciated.

    Many thanks is advance.