Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (73)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

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

Sur d’autres sites (8320)

  • avcodec/mpeg12dec : Don't initialize IDCT more than once

    1er octobre 2023, par Andreas Rheinhardt
    avcodec/mpeg12dec : Don't initialize IDCT more than once
    

    Before 998c9f15d1ca8c7489775ebcca51623b915988f1, the IDCTDSPContext
    has only been initialized in ff_mpv_common_init() which is deferred
    until immediately before decoding a picture ; to nevertheless parse
    the quant matrices in sequence headers or quant matrix extensions,
    a dummy (identity) permutation has been stored in the codec's init
    function ; after ff_mpv_common_init() which could change the permutation
    the matrices were repermutated.

    Yet since said commit, the IDCTDSPContext is initialized during init
    and does not change afterwards (unless the user forces different CPU
    flags), so there is no need to reinitialize it ; the repermutation code
    can be removed as well.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/mpeg12dec.c
  • dnn_backend_native_layer_mathunary : add sin support

    6 juin 2020, par Ting Fu
    dnn_backend_native_layer_mathunary : add sin support
    

    It can be tested with the model file generated with below python scripy :

    import tensorflow as tf
    import numpy as np
    import imageio

    in_img = imageio.imread('input.jpeg')
    in_img = in_img.astype(np.float32)/255.0
    in_data = in_img[np.newaxis, :]

    x = tf.placeholder(tf.float32, shape=[1, None, None, 3], name='dnn_in')
    x1 = tf.multiply(x, 3.14)
    x2 = tf.sin(x1)
    y = tf.identity(x2, name='dnn_out')

    sess=tf.Session()
    sess.run(tf.global_variables_initializer())

    graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['dnn_out'])
    tf.train.write_graph(graph_def, '.', 'image_process.pb', as_text=False)

    print("image_process.pb generated, please use \
    path_to_ffmpeg/tools/python/convert.py to generate image_process.model\n")

    output = sess.run(y, feed_dict=x : in_data)
    imageio.imsave("out.jpg", np.squeeze(output))

    Signed-off-by : Ting Fu <ting.fu@intel.com>
    Signed-off-by : Guo Yejun <yejun.guo@intel.com>

    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathunary.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathunary.h
    • [DH] tools/python/convert_from_tensorflow.py
    • [DH] tools/python/convert_header.py
  • Gstreamer : how to achieve the same effect as ffmpeg filter tmix

    2 février, par dudengke

    The ffmpeg command can smooth video :

    &#xA;

    ffmpeg -i 1.h265 -vf "tmix=frames=3:weights=1 1 1" 2.h265&#xA;

    &#xA;

    Now i want to use gstreamer to smooth but I can't find the avfilter in gst-libav

    &#xA;

    gst-launch-1.0 filesrc location=1.h265 ! decodebin ! videoconvert ! avfilter filter="tmix=frames=3:weights=1 1 1" ! videoconvert ! gstsink&#xA;

    &#xA;

    My question : Is there another way gstreamer can achieve the same effect as "tmix" in ffmpeg ?&#xA;I tried chatGPT, but the effect was not.

    &#xA;

    gst-launch-1.0 filesrc location=1.h265 ! h265parse ! avdec_h265 ! videoconvert ! tee name=t \&#xA;t. ! queue ! identity single-segment=true ! videomixer name=mix sink_0::alpha=0.33 \&#xA;t. ! queue ! identity single-segment=true ! mix.sink_1 \&#xA;t. ! queue ! identity single-segment=true ! mix.sink_2 \&#xA;mix. ! gtksink&#xA;

    &#xA;