Recherche avancée

Médias (91)

Autres articles (59)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (8944)

  • ffmpeg : Image2 => Error while opening encoder

    29 mai 2019, par user1844282

    I get the following error ffmpeg.

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4

    I’m pretty sure I’ve used this exact command before and it’s been fine. This is my terminal output. Any help would be appreciated.

    $ ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4
    ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
     built on Nov 22 2012 17:59:05 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil      51. 73.101 / 51. 73.101

     libavcodec     54. 59.100 / 54. 59.100

     libavformat    54. 29.104 / 54. 29.104

     libavdevice    54.  2.101 / 54.  2.101

     libavfilter     3. 17.100 /  3. 17.100

     libswscale      2.  1.101 /  2.  1.101

     libswresample   0. 15.100 /  0. 15.100

     libpostproc    52.  0.100 / 52.  0.100

    Input #0, image2, from '%05d.jpg':
     Duration: 00:00:04.44, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [libx264 @ 0x7fab0881aa00] width not divisible by 2 (1201x900)
    Output #0, mp4, to 'foo.mp4':
       Stream #0:0: Video: h264, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], q=-1--1, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg -> libx264)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • ffmpeg : Image2 => Error while opening encoder

    22 novembre 2012, par user1844282

    I get the following error ffmpeg.

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4

    I'm pretty sure I've used this exact command before and it's been fine. This is my terminal output. Any help would be appreciated.

    $ ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4
    ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
     built on Nov 22 2012 17:59:05 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil      51. 73.101 / 51. 73.101

     libavcodec     54. 59.100 / 54. 59.100

     libavformat    54. 29.104 / 54. 29.104

     libavdevice    54.  2.101 / 54.  2.101

     libavfilter     3. 17.100 /  3. 17.100

     libswscale      2.  1.101 /  2.  1.101

     libswresample   0. 15.100 /  0. 15.100

     libpostproc    52.  0.100 / 52.  0.100

    Input #0, image2, from '%05d.jpg':
     Duration: 00:00:04.44, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [libx264 @ 0x7fab0881aa00] width not divisible by 2 (1201x900)
    Output #0, mp4, to 'foo.mp4':
       Stream #0:0: Video: h264, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], q=-1--1, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg -> libx264)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Panning all audio channels center in ffmpeg ?

    7 mai 2012, par dcoffey3296

    I am using FFMPEG to transcode a large file to a smaller file. Usually the files will have 2 audio channels (though not always). I am trying to center all audio channels.

    I asked over at the ffmpeg-users for examples of how to do this : http://ffmpeg-users.933282.n4.nabble.com/Panning-audio-channels-example-td4417939.html

    What I got from the replies is that FFMPEG has yet to implement audio filters. Somehow I should be able to set up a libav filter (?) to pan all channels center... something to the effect of :
    pan="c0=0.5*FL+0.5*FR" though when I do this, I get the error : No such filter: 'pan'. Those guys are great but I can't figure this out by reading the docs.

    I have not disabled filters, here is my build info
    configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/opt/local/bin/gcc-apple-4.2 --arch=x86_64 --enable-yasm --enable-nonfree --enable-libfaac

    Here is an example of one of my built command lines : ffmpeg -i inMovie.mov -acodec libfaac -ab 64k -vcodec libx264 -vpre medium -b 320k -pass 1 -s 374x210 -threads 0 outMov.mp4

    I've got the rest of my FFMPEG command line working great... Essentially what I am looking for is to have left/right audio channels both have the same audio in the output file. If there is an easier way to do this (convert to 2 mixed mono channels ?) I am all ears !!

    Thank you for your help !