Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (42)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7484)

  • swresample/resample : speed up Blackman Nuttall filter

    9 novembre 2015, par Ganesh Ajjanagadde
    swresample/resample : speed up Blackman Nuttall filter
    

    This may be a slightly surprising optimization, but is actually based on
    an understanding of how math libraries compute trigonometric functions.
    Explanation is given here so that future development uses libm more effectively
    across the codebase.

    All libm’s essentially compute transcendental functions via some kind of
    polynomial approximation, be it Taylor-Maclaurin or Chebyshev.
    Correction terms are added via polynomial correction factors when needed
    to squeeze out the last bits of accuracy. Lookup tables are also
    inserted strategically.

    In the case of trigonometric functions, periodicity is exploited via
    first doing a range reduction to an interval around zero, and then using
    some polynomial approximation.

    This range reduction is the most natural way of doing things - else one
    would need polynomials for ranges in different periods which makes no
    sense whatsoever.

    To avoid the need for the range reduction, it is helpful to feed in
    arguments as close to the origin as possible for the trigonometric
    functions. In fact, this also makes sense from an accuracy point of view :
    IEEE floating point has far more resolution for small numbers than big ones.

    This patch does this for the Blackman-Nuttall filter, and yields a
    non-negligible speedup.

    Sample benchmark (x86-64, Haswell, GNU/Linux)
    test : fate-swr-resample-dblp-2626-44100
    old :
    18893514 decicycles in build_filter (loop 1000), 256 runs, 0 skips
    18599863 decicycles in build_filter (loop 1000), 512 runs, 0 skips
    18445574 decicycles in build_filter (loop 1000), 1000 runs, 24 skips

    new :
    16290697 decicycles in build_filter (loop 1000), 256 runs, 0 skips
    16267172 decicycles in build_filter (loop 1000), 512 runs, 0 skips
    16251105 decicycles in build_filter (loop 1000), 1000 runs, 24 skips

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libswresample/resample.c
  • avformat/cache : Avoid int-overflow in cache compare function

    9 novembre 2015, par Bryan Huh
    avformat/cache : Avoid int-overflow in cache compare function
    

    cache protocol indexes its cache using AVTreeNodes which require a cmp
    function for inserting and searching new cache-entries. This cmp
    function expects a 32-bit int return value (negative, zero, or positive)
    but the cache cmp function returns an int64_t which can overflow the
    int, giving negative numbers for when it should be positive, vice versa.
    This manifests itself only for very large files (e.g. 4GB+)

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/cache.c
  • FFMPEG hwaccel convert WEBM to MP4 video issue

    19 avril 2020, par Yen Nguyen

    I use FFMPEG to convert webm videos into mp4 format using a Nvidia GPU GeoForce GTX 1660 card on Windows 10. It has worked perfectly since the beginning for few months but now it's stopped working with strange error as below :

    &#xA;&#xA;

    [h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;

    &#xA;&#xA;

    FFMPEG version and Nvidia driver version are the same as before it just crashed overnight without a clue. I tried Googling around and did update to the latest ffmpeg version as well Nvidia driver version but it still doesn't help.&#xA;If I switch to CPU decoder (without hwaccel arg) using libx264 it just works fine.

    &#xA;&#xA;

    Environment Windows 10 64bit | ffmpeg version git-2020-04-15-51db0a4 (latest) | Nvidia GeForce GTX 1660, &#xA; - Geoforce Game Ready Driver version:445.87 Release Date Apr 15, 2020

    &#xA;&#xA;

     ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i big-buck-bunny-trailer.webm -c:v h264_nvenc output.mp4&#xA;&#xA;ffmpeg version git-2020-04-15-51db0a4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  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-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 78.102 / 58. 78.102&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;WARNING: defaulting hwaccel_output_format to cuda for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format cuda".&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, matroska,webm, from &#x27;big-buck-bunny-trailer.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : http://sourceforge.net/projects/yamka&#xA;    creation_time   : 2010-05-20T08:21:12.000000Z&#xA;  Duration: 00:00:32.48, bitrate: N/A&#xA;    Stream #0:0(eng): Video: h264, none, 640x360, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)&#xA;    Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono (default)&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))&#xA;  Stream #0:1 -> #0:1 (vorbis (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 66&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1339&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1908&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2123&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2504&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2294&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2684&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2468&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2622&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2867&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2737&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 3017&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2556&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 7811&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1880&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1722&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2309&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1215&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2080&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1775&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2247&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1782&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1945&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1529&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1807&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2015&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1568&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2159&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1861&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2397&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1627&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2364&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1821&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2282&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2068&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1699&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2129&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2268&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2197&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1981&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2169&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2888&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1600&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2958&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1518&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2738&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2319&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2421&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2841&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1949&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2422&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2288&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2559&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2403&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2257&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2573&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2320&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2231&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2408&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2194&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2697&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2480&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2256&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2245&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2519&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2203&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2341&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2439&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2201&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2882&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2467&#xA;Too many packets buffered for output stream 0:1.&#xA;[aac @ 0000013d8b6bf5c0] Qavg: 115.929&#xA;[aac @ 0000013d8b6bf5c0] 2 frames left in the queue on closing&#xA;Conversion failed!&#xA;

    &#xA;&#xA;

    Does anyone know how to fix it, i am getting stuck for few days ?&#xA;Much appreciated !

    &#xA;