Recherche avancée

Médias (91)

Autres articles (111)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (11002)

  • FFmpeg not encoding with libx264 library

    29 octobre 2011, par bOkeifus

    Hey people of StackOverflow. I have been having a strange issue that I'm not exactly sure what's going on. I am using FFmpeg to convert any incoming video files to h264 mp4 files using the libx264. This is the log that I get from running this line of code :

    ffmpeg -y -i vdoname.flv -acodec libfaac -vcodec libx264 -sameq vid.mp4

    This is the log output after running the line :

    FFmpeg version SVN-r13428, Copyright (c) 2000-2008 Fabrice Bellard, et al.
     configuration: --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-liba52 --enable-liba52bin --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-network --disable-ipv6 --disable-ffserver --disable-ffplay
     libavutil version: 49.6.0
     libavcodec version: 51.57.0
     libavformat version: 52.14.0
     libavdevice version: 52.0.0
     built on Feb 17 2009 09:01:13, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 49.92 (599/12)
    Input #0, flv, from '/html/video/937.flv':
     Duration: 00:00:10.08, start: 0.000000, bitrate: 48 kb/s
       Stream #0.0: Video: flv, yuv420p, 720x480, 49.92 tb(r)
       Stream #0.1: Audio: mp3, 22050 Hz, stereo, 48 kb/s
    Output #0, h264, to '/html/flvideo/new_937.mp4':
       Stream #0.0: Video: libx264, yuv420p, 720x480, q=2-31, 200 kb/s, 49.92 tb(c)
       Stream #0.1: Audio: libfaac, 22050 Hz, stereo, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    [libx264 @ 0x11d58b0]using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
    Press [q] to stop encoding

    Can someone please help me out and tell me what to do to get this to work ? I guessed that the libx264 external library is not installed but it doesn't exactly say that in the log file and it looks as if it does find it but then doesn't actually encode the video.

    Any and all help is greatly appreciated.

  • Convert SWF file to FLV with FFMPEG & getting error "could not find codec parameters"

    30 mars 2013, par Ritesh

    Hi I am trying to convert SWF file to FLV, but i am getting same eror

    C:\Users\Administrator>C:/ffmpeg/ffmpeg.exe -i C:/xampplite/htdocs/ffmpeg/1.swf \
    C:/xampplite/htdocs/ffmpeg/file1.flv

    FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads
    --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora
    --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264
    --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl
     libavutil 49.12. 0 / 49.12. 0
     libavcodec 52.10. 0 / 52.10. 0
     libavformat 52.23. 1 / 52.23. 1
     libavdevice 52. 1. 0 / 52. 1. 0
     libswscale 0. 6. 1 / 0. 6. 1
    built on Jan 13 2009 02:57:09, gcc: 4.2.4
    C:/xampplite/htdocs/ffmpeg/1.swf: could not find codec parameters

    Please solve this problem, what i am doing wrong ??

  • What codec do I need to convert .wav to .mp3 with ffmpeg ?

    19 septembre 2011, par LedZeppelin

    I am able to convert from .mp3 files to .wav files.

    me@me-desktop:~$ ffmpeg -i Desktop/input.mp3 Desktop/output.wav
    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --extra-version=4:0.5.1-1ubuntu1.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 Mar 31 2011 18:53:20, gcc: 4.4.3
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 0
       Last message repeated 1 times
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 1
       Last message repeated 1 times
    Input #0, mp3, from 'Desktop/input.mp3':
     Duration: 00:04:45.31, start: 0.000000, bitrate: 256 kb/s
       Stream #0.0: Audio: mp3, 48000 Hz, stereo, s16, 256 kb/s
    Output #0, wav, to 'Desktop/output.wav':
       Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop encoding
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 0
       Last message repeated 1 times
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 1
    size=   42944kB time=229.03 bitrate=1536.0kbits/s    
    video:0kB audio:42944kB global headers:0kB muxing overhead 0.000100%

    However when I try to convert the same .wav file back to an .mp3 I get the following error : Unsupported codec for output stream #0.0

    me@me-desktop:~$ ffmpeg -i Desktop/output.wav Desktop/output2.mp3
    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --extra-version=4:0.5.1-1ubuntu1.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 Mar 31 2011 18:53:20, gcc: 4.4.3
    Input #0, wav, from 'Desktop/output.wav':
     Duration: 00:03:49.03, bitrate: 1536 kb/s
       Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Output #0, mp3, to 'Desktop/output2.mp3':
       Stream #0.0: Audio: 0x0000, 48000 Hz, stereo, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
    Unsupported codec for output stream #0.0

    I've already tried installing unstripped-51 per a suggestion from a previous question but I am still unable to convert from .wav to .mp3