Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (98)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (9171)

  • sw_scale : Add specializations for hscale 8 to 19

    28 octobre 2022, par Hubert Mazur
    sw_scale : Add specializations for hscale 8 to 19
    

    Add arm64 neon implementations for hscale 8 to 19 with filter
    sizes 4, 4X and 8. Both implementations are based on very similar ones
    dedicated to hscale 8 to 15. The major changes refer to saving
    the data - instead of writing the result as int16_t it is done
    with int32_t.

    These functions are heavily inspired on patches provided by J. Swinney
    and M. Storsjö for hscale8to15 which were slightly adapted for
    hscale8to19.

    The tests and benchmarks run on AWS Graviton 2 instances. The results
    from a checkasm tool shown below.

    hscale_8_to_19__fs_4_dstW_512_c : 5663.2
    hscale_8_to_19__fs_4_dstW_512_neon : 1259.7
    hscale_8_to_19__fs_8_dstW_512_c : 9306.0
    hscale_8_to_19__fs_8_dstW_512_neon : 2020.2
    hscale_8_to_19__fs_12_dstW_512_c : 12932.7
    hscale_8_to_19__fs_12_dstW_512_neon : 2462.5
    hscale_8_to_19__fs_16_dstW_512_c : 16844.2
    hscale_8_to_19__fs_16_dstW_512_neon : 4671.2
    hscale_8_to_19__fs_32_dstW_512_c : 32803.7
    hscale_8_to_19__fs_32_dstW_512_neon : 5474.2
    hscale_8_to_19__fs_40_dstW_512_c : 40948.0
    hscale_8_to_19__fs_40_dstW_512_neon : 6669.7

    Signed-off-by : Hubert Mazur <hum@semihalf.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libswscale/aarch64/hscale.S
    • [DH] libswscale/aarch64/swscale.c
  • avformat/movenc : write the colr atom by default

    13 avril 2020, par Michael Bradshaw
    avformat/movenc : write the colr atom by default
    

    The write_colr flag has been marked as experimental for over 5 years.
    It should be safe to enable its behavior by default as follows :

    - Write the colr atom by default for mp4/mov if any of the following :
    - The primaries/trc/matrix are all specified, OR
    - There is an ICC profile, OR
    - The user specified +write_colr
    - Keep the write_colr flag for situations where the user wants to
    write the colr atom even if the color info is unspecified (e.g.,
    http://ffmpeg.org/pipermail/ffmpeg-devel/2020-March/259334.html)

    This fixes https://trac.ffmpeg.org/ticket/7961

    Signed-off-by : Michael Bradshaw <mjbshaw@google.com>

    • [DH] libavformat/movenc.c
    • [DH] tests/ref/fate/copy-trac236
  • Error while concatenating audio files with ffmpeg

    17 janvier 2023, par Rub

    While concatenating audio files with

    &#xA;

    ffmpeg -safe 0  -f concat &#xA;-segment_time_metadata 1 &#xA;-i {m3u_file_name} &#xA;-vf select=concatdec_select &#xA;-af aselect=concatdec_select,aresample=async=1 {ogg_file_name} &#xA;

    &#xA;

    I get the following output

    &#xA;

    ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, concat, from &#x27;fm3u.m3u&#x27;:&#xA;  Duration: N/A, start: -0.006500, bitrate: N/A&#xA;    Stream #0:0: Audio: opus, 48000 Hz, mono, fltp&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (opus (native) -> vorbis (libvorbis))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, ogg, to &#x27;fout.ogg&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf57.83.100&#xA;    Stream #0:0: Audio: vorbis (libvorbis), 48000 Hz, mono, fltp&#xA;    Metadata:&#xA;      encoder         : Lavc57.107.100 libvorbis&#xA;[opus @ 0x558b2c245400] Error parsing the packet header.&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[opus @ 0x558b2c245400] Error parsing the packet header.&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[opus @ 0x558b2c245400] Error parsing the packet header.&#xA;...&#xA;...&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[opus @ 0x558b2c245400] Error parsing the packet header.&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;size=      47kB time=00:00:10.84 bitrate=  35.2kbits/s speed=4.38x    &#xA;video:0kB audio:42kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 10.251080%&#xA;/fout.ogg&#xA;

    &#xA;

    The final audio sounds good.

    &#xA;

    ffprobe on the 2 participating files looks like

    &#xA;

    # ffprobe <file>&#xA;&#xA;ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, ogg, from &#x27;f1.ogg&#x27;:&#xA;  Duration: 00:00:01.08, start: 0.000000, bitrate: 34 kb/s&#xA;    Stream #0:0: Audio: opus, 48000 Hz, mono, fltp&#xA;&#xA;# ffprobe <file>&#xA;ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, ogg, from &#x27;f2.ogg&#x27;:&#xA;  Duration: 00:00:05.00, start: 0.000000, bitrate: 6 kb/s&#xA;    Stream #0:0: Audio: vorbis, 48000 Hz, mono, fltp, 80 kb/s&#xA;    Metadata:&#xA;      ENCODER         : Lavc57.107.100 libvorbis&#xA;</file></file>

    &#xA;

    What is the reason of the error ?

    &#xA;