Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (9)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • 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 (...)

Sur d’autres sites (3985)

  • Rails : MP4 videos showing up blank in Firefox (but works in Chrome)

    10 février 2015, par Mark Boulder

    I got this Rails app with uploaded MP4 videos that play back just fine in Chrome - but why do they show up blank in Firefox ?

    The video appears on the page and plays just fine if I download it :

    <video loop="loop" src="/path/to/whatever.mp4?1234567"></video>

    From Rails I did :

    &lt;%= video_tag photo.attachment_url(:medium) %>

    I tried adding Mime::Type.register "video/mp4", :mp4 to config/initializers/mime_types.rb but to no avail.

    Live app : http://runnable.com/VNkNeJ9wpNZJBEma/paperclip-mp4-problem

    Click Run and navigate to the last post to see the MP4. Note that Runnable is very slow. If it says something bad happened in the terminal, try reloading the page until it disappears.

  • ffmpeg MKV to MP4 format conversion issues

    28 septembre 2019, par Lucas Lecce

    I converted a 3Gb MKV video file to MP4 format using the following ffmpeg command :

    ffmpeg -i input.mkv -c: v libx264 -crf 23 -c: a aac -movflags faststart output.mp4
    ffmpeg -i input.mkv -acodec copy -vcodec copy output.mp4
    ffmpeg version N-95111-g87ddf9f1ef Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.2.1 (GCC) 20190918
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 35.100 / 56. 35.100
     libavcodec     58. 59.100 / 58. 59.100
     libavformat    58. 33.100 / 58. 33.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 59.100 /  7. 59.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Input #0, matroska,webm, from 'input.mkv':
     Metadata:
       title           : claucha75
       encoder         : libebml v1.3.5 + libmatroska v1.4.8
       creation_time   : 2018-01-23T22:07:33.000000Z
     Duration: 01:37:13.89, start: 0.000000, bitrate: 5044 kb/s
       Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
       Metadata:
         title           : claucha75
         BPS             : 4146894
         BPS-eng         : 4146894
         DURATION        : 01:37:12.952000000
         DURATION-eng    : 01:37:12.952000000
         NUMBER_OF_FRAMES: 139851
         NUMBER_OF_FRAMES-eng: 139851
         NUMBER_OF_BYTES : 3023579528
         NUMBER_OF_BYTES-eng: 3023579528
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:1(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
       Metadata:
         title           : Latino
         BPS             : 448000
         BPS-eng         : 448000
         DURATION        : 01:37:13.888000000
         DURATION-eng    : 01:37:13.888000000
         NUMBER_OF_FRAMES: 182309
         NUMBER_OF_FRAMES-eng: 182309
         NUMBER_OF_BYTES : 326697728
         NUMBER_OF_BYTES-eng: 326697728
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
       Metadata:
         title           : Ingles
         BPS             : 448000
         BPS-eng         : 448000
         DURATION        : 01:37:13.856000000
         DURATION-eng    : 01:37:13.856000000
         NUMBER_OF_FRAMES: 182308
         NUMBER_OF_FRAMES-eng: 182308
         NUMBER_OF_BYTES : 326695936
         NUMBER_OF_BYTES-eng: 326695936
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:3(spa): Subtitle: subrip
       Metadata:
         title           : Sub. Latino
         BPS             : 58
         BPS-eng         : 58
         DURATION        : 01:27:56.723000000
         DURATION-eng    : 01:27:56.723000000
         NUMBER_OF_FRAMES: 1048
         NUMBER_OF_FRAMES-eng: 1048
         NUMBER_OF_BYTES : 38641
         NUMBER_OF_BYTES-eng: 38641
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:4(eng): Subtitle: subrip
       Metadata:
         title           : Sub. Ingles
         BPS             : 72
         BPS-eng         : 72
         DURATION        : 01:32:29.880000000
         DURATION-eng    : 01:32:29.880000000
         NUMBER_OF_FRAMES: 1820
         NUMBER_OF_FRAMES-eng: 1820
         NUMBER_OF_BYTES : 50243
         NUMBER_OF_BYTES-eng: 50243
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    [mp4 @ 000002935ee0ff00] track 1: codec frame size is not set
    Output #0, mp4, to 'output.mp4':
     Metadata:
       title           : claucha75
       encoder         : Lavf58.33.100
       Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn, 1k tbc (default)
       Metadata:
         title           : claucha75
         BPS             : 4146894
         BPS-eng         : 4146894
         DURATION        : 01:37:12.952000000
         DURATION-eng    : 01:37:12.952000000
         NUMBER_OF_FRAMES: 139851
         NUMBER_OF_FRAMES-eng: 139851
         NUMBER_OF_BYTES : 3023579528
         NUMBER_OF_BYTES-eng: 3023579528
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:1(spa): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
       Metadata:
         title           : Latino
         BPS             : 448000
         BPS-eng         : 448000
         DURATION        : 01:37:13.888000000
         DURATION-eng    : 01:37:13.888000000
         NUMBER_OF_FRAMES: 182309
         NUMBER_OF_FRAMES-eng: 182309
         NUMBER_OF_BYTES : 326697728
         NUMBER_OF_BYTES-eng: 326697728
         _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
         _STATISTICS_WRITING_DATE_UTC: 2018-01-23 22:07:33
         _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-23 22:07:33
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=139851 fps=2149 q=-1.0 Lsize= 3275868kB time=01:37:13.85 bitrate=4600.0kbits/s speed=89.7x
    video:2952714kB audio:319041kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.125715%

    The command produces a MP4 file. The file takes a long time to open and then it takes several more minutes for a frame to appear. The converted file is also missing audio.

    Does anyone have an idea about the slow loading time and missing audio ?

  • FFMPEG Concat protocol Error : Found duplicated MOOV Atom. Skipped it

    11 septembre 2020, par user3541092

    I'm concatenating mp3 files into a single m4a.

    &#xA;&#xA;

    To save time, I'm doing the mp3 to m4a conversion first (multi-threaded) and then concatenating the output files (m4a) into a single m4a file.

    &#xA;&#xA;

    The concat works when I do the conversion (mp3 -> m4a) and cancat in one swoop. But it takes forever to run.

    &#xA;&#xA;

    Example :

    &#xA;&#xA;

    ffmpeg -i "concat:001.mp3|002.mp3|003.mp3" -codec:a aac -c copy output.m4a&#xA;

    &#xA;&#xA;

    &#xA;If I take those same mp3 files and convert them to m4a in parallel and then concat, I can save myself a significant amount time.

    &#xA;&#xA;

    The problem is if I run the concat command on the converted m4a files

    &#xA;&#xA;

    Example cmd :

    &#xA;&#xA;

    ffmpeg -i "concat:001.m4a|002.m4a|003.m4a" -c copy output.m4a&#xA;

    &#xA;&#xA;

    I getting the following error :

    &#xA;&#xA;

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000052f680] Found duplicated MOOV&#xA; Atom. Skipped it

    &#xA;

    &#xA;&#xA;

    &#xA;UPDATE : Ouput when concatenating m4a files (two track example) :

    &#xA;&#xA;

    C:\_ffmpeg>ffmpeg -i "concat:001.m4a|002.m4a" -c copy output.m4a&#xA;ffmpeg version N-79630-g9ac154d Copyright (c) 2000-2016 the FFmpeg developers&#xA;  built with gcc 5.3.0 (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-libbs2b --enable-libcaca --&#xA;enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib&#xA;modplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-&#xA;libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl&#xA;e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable&#xA;-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena&#xA;ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx&#xA;264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable&#xA;-lzma --enable-decklink --enable-zlib&#xA;  libavutil      55. 22.101 / 55. 22.101&#xA;  libavcodec     57. 38.100 / 57. 38.100&#xA;  libavformat    57. 34.103 / 57. 34.103&#xA;  libavdevice    57.  0.101 / 57.  0.101&#xA;  libavfilter     6. 44.100 /  6. 44.100&#xA;  libswscale      4.  1.100 /  4.  1.100&#xA;  libswresample   2.  0.101 /  2.  0.101&#xA;  libpostproc    54.  0.100 / 54.  0.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000048a9a0] Found duplicated MOOV Atom. Skipped&#xA; it&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;concat:001.m4a|002.m4a&#x27;:&#xA;  Metadata:&#xA;    track           : 1&#xA;    major_brand     : M4A&#xA;    minor_version   : 512&#xA;    title           : 001 Moon Over Soho&#xA;    artist          : Ben Aaronovitch&#xA;    album_artist    : Narrated by Kobna Holdbrook-Smith&#xA;    composer        : Narrated by Kobna Holdbrook-Smith&#xA;    album           : Moon Over Soho&#xA;    date            : 2012&#xA;    encoder         : Lavf57.34.103&#xA;    genre           : Speech&#xA;    copyright       : Tantor Audio&#xA;    compatible_brands: isomiso2&#xA;  Duration: 00:44:03.83, start: 0.000000, bitrate: 251 kb/s&#xA;    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt&#xA;p, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;[ipod @ 000000000048bb20] Using AVStream.codec to pass codec parameters to muxer&#xA;s is deprecated, use AVStream.codecpar instead.&#xA;Output #0, ipod, to &#x27;output.m4a&#x27;:&#xA;  Metadata:&#xA;    track           : 1&#xA;    major_brand     : M4A&#xA;    minor_version   : 512&#xA;    title           : 001 Moon Over Soho&#xA;    artist          : Ben Aaronovitch&#xA;    album_artist    : Narrated by Kobna Holdbrook-Smith&#xA;    composer        : Narrated by Kobna Holdbrook-Smith&#xA;    album           : Moon Over Soho&#xA;    date            : 2012&#xA;    compatible_brands: isomiso2&#xA;    genre           : Speech&#xA;    copyright       : Tantor Audio&#xA;    encoder         : Lavf57.34.103&#xA;    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 128&#xA; kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;Press [q] to stop, [?] for help&#xA;size=   41892kB time=00:44:03.80 bitrate= 129.8kbits/s speed=2.21e&#x2B;003x&#xA;video:0kB audio:41445kB subtitle:0kB other streams:0kB global headers:0kB muxing&#xA; overhead: 1.077122%&#xA;&#xA;C:\_ffmpeg>pause&#xA;Press any key to continue . . .&#xA;

    &#xA;