Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (88)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (10626)

  • g++ Linking Error on Mac while compiling FFMPEG

    7 mai 2013, par Saptarshi Biswas

    g++ on Snow Leopard is throwing linking errors on the following piece of code

    test.cpp

    #include <iostream>
    using namespace std;
    #include <libavcodec></libavcodec>avcodec.h>    // required headers
    #include <libavformat></libavformat>avformat.h>
    int main(int argc, char**argv) {
       av_register_all();             // offending library call
       return 0;
    }
    </iostream>

    When I try to compile this using the following command

    g++ test.cpp -I/usr/local/include -L/usr/local/lib \
    -lavcodec -lavformat -lavutil -lz -lm -o test

    I get the error
    Undefined symbols :
    "av_register_all()", referenced from :
    _main in ccUD1ueX.o
    ld : symbol(s) not found
    collect2 : ld returned 1 exit status

    Interestingly, if I have an equivalent c code,
    test.c

    #include
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    int main(int argc, char**argv) {
       av_register_all();
       return 0;
    }

    gcc compiles it just fine

    gcc test.c -I/usr/local/include -L/usr/local/lib \
    -lavcodec -lavformat -lavutil -lz -lm -o test

    I am using Mac OS X 10.6.5

    $ g++ --version
    i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
    $ gcc --version
    i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

    FFMPEG's libavcodec, libavformat etc. are C libraries and I have built them on my machine like thus :

    ./configure --enable-gpl --enable-pthreads --enable-shared \
    --disable-doc --enable-libx264
    make &amp;&amp; sudo make install

    As one would expect, libavformat indeed contains the symbol av_register_all

    $ nm /usr/local/lib/libavformat.a | grep av_register_all
    0000000000000000 T _av_register_all
    00000000000089b0 S _av_register_all.eh

    I am inclined to believe g++ and gcc have different views of the libraries on my machine. g++ is not able to pick up the right libraries. Any clue ?

  • ffmpeg stream video file from ubuntu to youtube

    14 mars 2018, par user3010452

    I’m trying to create a stream to youtube. I could see how preview button changes into enable state. However it never actually changes from offline.
    And it gives me several error. What am I doing wrong ?

        ffmpeg -i video.flv -f flv rtmp://a.rtmp.youtube.com/live2/XXXXXX


     ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers

         built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
         configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
         libavutil      54. 31.100 / 54. 31.100
         libavcodec     56. 60.100 / 56. 60.100
         libavformat    56. 40.101 / 56. 40.101
         libavdevice    56.  4.100 / 56.  4.100
         libavfilter     5. 40.101 /  5. 40.101
         libavresample   2.  1.  0 /  2.  1.  0
         libswscale      3.  1.101 /  3.  1.101
         libswresample   1.  2.101 /  1.  2.101
         libpostproc    53.  3.100 / 53.  3.100
       Input #0, flv, from 'video.flv':
         Metadata:
           major_brand     : qt  
           minor_version   : 0
           compatible_brands: qt  
           com.apple.quicktime.creationdate: 2017-07-20T21:44:12+0700
           com.apple.quicktime.make: Apple
           com.apple.quicktime.model: iPhone 6s Plus
           com.apple.quicktime.software: 10.3.2
           encoder         : Lavf57.83.100
         Duration: 00:01:15.24, start: 0.000000, bitrate: 4454 kb/s
           Stream #0:0: Video: flv1, yuv420p, 1920x1080, 200 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
           Stream #0:1: Audio: adpcm_swf, 44100 Hz, mono, s16, 176 kb/s
       Output #0, flv, to 'rtmp://a.rtmp.youtube.com/XXXXXX':
         Metadata:
           major_brand     : qt  
           minor_version   : 0
           compatible_brands: qt  
           com.apple.quicktime.creationdate: 2017-07-20T21:44:12+0700
           com.apple.quicktime.make: Apple
           com.apple.quicktime.model: iPhone 6s Plus
           com.apple.quicktime.software: 10.3.2
           encoder         : Lavf56.40.101
           Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080, q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
           Metadata:
             encoder         : Lavc56.60.100 flv
           Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, mono, s16p
           Metadata:
             encoder         : Lavc56.60.100 libmp3lame
       Stream mapping:
         Stream #0:0 -> #0:0 (flv1 (flv) -> flv1 (flv))
         Stream #0:1 -> #0:1 (adpcm_swf (native) -> mp3 (libmp3lame))
       Press [q] to stop, [?] for help
       [flv @ 0x162bac0] Failed to update header with correct duration.ate=4125.4kbits/s    
       [flv @ 0x162bac0] Failed to update header with correct filesize.
       frame= 2255 fps=114 q=31.0 Lsize=   37863kB time=00:01:15.24 bitrate=4122.0kbits/s    
       video:37194kB audio:588kB subtitle:0kB other streams:0kB global

    headers:0kB mixing overhead : 0.213941%

  • how can I transform 6 audio channels into one 5.1 channel with ffmpeg ? [closed]

    12 février 2021, par user2216280

    I have a pro-res file which has 6 mono audio channels.&#xA;here's the ffmpeg console :

    &#xA;&#xA;

        :\test-remapping>ffmpeg -i MelleParadis_PART1_CONSTANTE.mov&#xA;ffmpeg version N-60106-ge6d1c66 Copyright (c) 2000-2014 the FFmpeg developers&#xA;  built on Jan 22 2014 22:01:26 with gcc 4.8.2 (GCC)&#xA;  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av&#xA;isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab&#xA;le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp&#xA;e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena&#xA;ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l&#xA;ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp&#xA;eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa&#xA;cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp&#xA;ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib&#xA;  libavutil      52. 63.100 / 52. 63.100&#xA;  libavcodec     55. 49.100 / 55. 49.100&#xA;  libavformat    55. 25.101 / 55. 25.101&#xA;  libavdevice    55.  5.102 / 55.  5.102&#xA;  libavfilter     4.  1.100 /  4.  1.100&#xA;  libswscale      2.  5.101 /  2.  5.101&#xA;  libswresample   0. 17.104 /  0. 17.104&#xA;  libpostproc    52.  3.100 / 52.  3.100&#xA;Guessed Channel Layout for  Input Stream #0.1 : mono&#xA;Guessed Channel Layout for  Input Stream #0.2 : mono&#xA;Guessed Channel Layout for  Input Stream #0.3 : mono&#xA;Guessed Channel Layout for  Input Stream #0.4 : mono&#xA;Guessed Channel Layout for  Input Stream #0.5 : mono&#xA;Guessed Channel Layout for  Input Stream #0.6 : mono&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;MelleParadis_PART1_CONSTANTE.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 537199360&#xA;    compatible_brands: qt&#xA;    creation_time   : 2013-11-27 18:58:26&#xA;  Duration: 00:07:34.32, start: 0.000000, bitrate: 117742 kb/s&#xA;    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080,&#xA; 113098 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;      timecode        : 01:00:00:00&#xA;    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,&#xA; 768 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;    Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,&#xA; 768 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;    Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,&#xA; 768 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;    Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,&#xA; 768 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;    Stream #0:5(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,&#xA; 768 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;    Stream #0:6(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,&#xA; 768 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 18:58:26&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;    Stream #0:7(eng): Data: none (tmcd / 0x64636D74) (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-11-27 19:03:46&#xA;      handler_name    : Gestionnaire dıalias Apple&#xA;      timecode        : 01:00:00:00``&#xA;

    &#xA;&#xA;

    I would like to transform them into one 5.1 audio channel

    &#xA;&#xA;

    I try this line of code :

    &#xA;&#xA;

    D:\test-remapping>ffmpeg -i "MelleParadis_PART1_CONSTANTE.mov" -c copy -c:a ac3 -map 0 mlle5.1.mov&#xA;

    &#xA;&#xA;

    the console replies "NOT ENOUGH SPACE" and stop...&#xA;of course there's still some space in my hard drive...&#xA;How could I map all the 6 mono streams into 5.1 ? &#xA;thanks in advance.&#xA;pauline

    &#xA;