Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (31)

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

  • Anomalie #2025 : Surlignage intempestif

    20 septembre 2011, par tetue -

    Ceinture et bretelles : la classe pas_surlignable est passée par défaut sur toutes les balises de la dist depuis Changeset 50225 (c’est inutile, du coup ?)

  • avutil/mathematics : speed up av_gcd by using Stein’s binary GCD algorithm

    11 octobre 2015, par Ganesh Ajjanagadde
    avutil/mathematics : speed up av_gcd by using Stein’s binary GCD algorithm
    

    This uses Stein’s binary GCD algorithm :
    https://en.wikipedia.org/wiki/Binary_GCD_algorithm
    to get a roughly 4x speedup over Euclidean GCD on standard architectures
    with a compiler intrinsic for ctzll, and a roughly 2x speedup otherwise.
    At the moment, the compiler intrinsic is used on GCC and Clang due to
    its easy availability.

    Quick note regarding overflow : yes, subtractions on int64_t can, but the
    llabs takes care of that. The llabs is also guaranteed to be safe, with
    no annoying INT64_MIN business since INT64_MIN being a power of 2, is
    shifted down before being sent to llabs.

    The binary GCD needs ff_ctzll, an extension of ff_ctz for long long (int64_t). On
    GCC, this is provided by a built-in. On Microsoft, there is a
    BitScanForward64 analog of BitScanForward that should work ; but I can’t confirm.
    Apparently it is not available on 32 bit builds ; so this may or may not
    work correctly. On Intel, per the documentation there is only an
    intrinsic for _bit_scan_forward and people have posted on forums
    regarding _bit_scan_forward64, but often their documentation is
    woeful. Again, I don’t have it, so I can’t test.

    As such, to be safe, for now only the GCC/Clang intrinsic is added, the rest
    use a compiled version based on the De-Bruijn method of Leiserson et al :
    http://supertech.csail.mit.edu/papers/debruijn.pdf.

    Tested with FATE, sample benchmark (x86-64, GCC 5.2.0, Haswell)
    with a START_TIMER and STOP_TIMER in libavutil/rationsl.c, followed by a
    make fate.

    aac-am00_88.err :
    builtin :
    714 decicycles in av_gcd, 4095 runs, 1 skips

    de-bruijn :
    1440 decicycles in av_gcd, 4096 runs, 0 skips

    previous :
    2889 decicycles in av_gcd, 4096 runs, 0 skips

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

    • [DH] libavutil/intmath.h
    • [DH] libavutil/mathematics.c
  • FFMPEG with VP9 + RTSP

    4 janvier 2021, par Jim Jin

    When we use HEVC + RTSP, ffmpeg works fine. The stream is captured by webcam.

    &#xA;

    ffmpeg -f dshow -rtbufsize 100M  -f vfwcap -i "0" -strict experimental -c:v hevc_qsv -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test&#xA;

    &#xA;

    The output is like :

    &#xA;

    frame=  355 fps= 37 q=-0.0 size=N/A time=00:00:11.27 bitrate=N/A dup=159 drop=0 speed=1.18x&#xA;

    &#xA;

    Then we switch to VP9 + RTSP.

    &#xA;

    ffmpeg -f dshow -rtbufsize 100M  -f vfwcap -i "0" -strict experimental -c:v libvpx-vp9 -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test&#xA;

    &#xA;

    The fps and speed looks too slow :

    &#xA;

    frame=  263 fps=9.5 q=0.0 size=N/A time=00:00:07.94 bitrate=N/A dup=119 drop=0 speed=0.288x&#xA;

    &#xA;

    Then we use ffplay to play the stream. There are a lot of error messages and the video seems frozen.

    &#xA;

    [vp9 @ 000001c3da86c200] Not all references are available&#xA;[vp9 @ 000001c3dffd5700] Not all references are available&#xA;[vp9 @ 000001c3da8477c0] Not all references are available&#xA;[vp9 @ 000001c3da848240] Not all references are available&#xA;[vp9 @ 000001c3da848e40] Not all references are available&#xA;[vp9 @ 000001c3e01d2fc0] Not all references are available&#xA;[vp9 @ 000001c3e01dd280] Not all references are available&#xA;[vp9 @ 000001c3e01e8980] Not all references are available&#xA;[vp9 @ 000001c3e01f1880] Not all references are available&#xA;[vp9 @ 000001c3da86c200] Not all references are available&#xA;[vp9 @ 000001c3dffd5700] Not all references are available&#xA;[vp9 @ 000001c3da8477c0] Not all references are available&#xA;[vp9 @ 000001c3da848240] Not all references are available&#xA;[vp9 @ 000001c3da848e40] Not all references are available&#xA;[vp9 @ 000001c3e01d2fc0] Not all references are available&#xA;[vp9 @ 000001c3e01dd280] Not all references are available0B f=0/0&#xA;[vp9 @ 000001c3e01e8980] Not all references are available&#xA;[vp9 @ 000001c3e01f1880] Not all references are available&#xA;[vp9 @ 000001c3da86c200] Not all references are available&#xA;[vp9 @ 000001c3dffd5700] Not all references are available&#xA;[vp9 @ 000001c3da8477c0] Not all references are available&#xA;[vp9 @ 000001c3da848240] Not all references are available&#xA;[vp9 @ 000001c3da848e40] Not all references are available&#xA;[vp9 @ 000001c3e01d2fc0] Not all references are available&#xA;[vp9 @ 000001c3e01dd280] Not all references are available&#xA;[vp9 @ 000001c3e01e8980] Not all references are available&#xA;[vp9 @ 000001c3e01f1880] Not all references are available&#xA;

    &#xA;

    Finally, we try hardware VP9 encoder.

    &#xA;

    ffmpeg -f dshow -rtbufsize 100M  -f vfwcap -i "0" -strict experimental -c:v vp9_qsv -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test&#xA;

    &#xA;

    It can't work.

    &#xA;

    [swscaler @ 0000021e88df9fc0] deprecated pixel format used, make sure you did set range correctly&#xA;[vp9_qsv @ 0000021e8687df80] Selected ratecontrol mode is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Low power mode is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current frame rate is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current picture structure is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current resolution is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current pixel format is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;Conversion failed!&#xA;

    &#xA;

    So, how can we deal with VP9 + RTSP successfully ?

    &#xA;