Recherche avancée

Médias (91)

Autres articles (50)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8642)

  • firefox not playing ffmpeg processed video

    6 février 2014, par user3176531

    I am merging an mp3 audio file with mp4 video file using this command.

    exec("ffmpeg -i 1.mp3 -i 1.mp4 -acodec copy -vcodec copy -shortest final.mp4")

    Final video is fine. Mp3 audio file sound is merge successfully with mp4 video. Video is being play on all browsers but on firefox it is not playing. It is giving error that 'Video cant be played because the file is currupted'. Can you please tell me what's the issue.

  • 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 'sample.flv':
     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 'sample.flv':
     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 'sample.mp4':
       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.

  • 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