Recherche avancée

Médias (91)

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (8150)

  • Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4'

    4 octobre 2017, par James Almer
    Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4'
    

    * commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4' :
    fate : Rename WMV8_DRM decoder tests to WMV3_DRM

    Merged-by : James Almer <jamrial@gmail.com>

    • [DH] tests/fate/microsoft.mak
    • [DH] tests/ref/fate/wmv3-drm-dec
    • [DH] tests/ref/fate/wmv3-drm-nodec
    • [DH] tests/ref/fate/wmv8-drm
    • [DH] tests/ref/fate/wmv8-drm-nodec
  • FFmpeg.AutoGen decoding an image using av_image_copy_to_buffer

    28 juin 2022, par Steve

    I try to use FFmpeg.AutoGen.av_image_copy_to_buffer to get decoded data into my application defined frame_buffer like so :

    &#xA;

    bytes_decoded = ffmpeg.av_image_copy_to_buffer(frame_data, buffer_size, frame->data, frame->linesize, &#xA;                                               codCtx->pix_fmt, codCtx->width, codCtx->height, 1);&#xA;

    &#xA;

    However the type of the parameter frame->data is of type FFmpeg.AutoGen.byte_ptrArray8, but the interface expects FFmpeg.AutoGen.byte_ptrArray4.&#xA;Does anyone know how to convert this parameter, so that I can pass it to the interface ? VS complains with the following error message :&#xA;https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1503?f1url=%3FappId%3Droslyn%26k%3Dk(CS1503)

    &#xA;

    Thanks in advance for any help on this issue.

    &#xA;

  • Play MPEG-2 TS using MseStreamSource

    27 novembre 2022, par Nicolas Séveno

    I need to display a live video stream in a UWP application.

    &#xA;&#xA;

    The video stream comes from a GoPro. It is transported by UDP messages. It is a MPEG-2 TS stream. I can play it successfully using FFPlay with the following command line :

    &#xA;&#xA;

    ffplay -fflags nobuffer -f:v mpegts udp://:8554&#xA;

    &#xA;&#xA;

    I would like to play it with MediaPlayerElement without using a third party library.

    &#xA;&#xA;

    According to the following page :&#xA;https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/supported-codecs&#xA;UWP should be able to play it. (I installed the "Microsoft DVD" application in the Windows Store).

    &#xA;&#xA;

    I receive the MPEG-2 TS stream with a UdpClient. It works well.&#xA;I receive in each UdpReceiveResult a 12 bytes header, followed by 4, 5, 6, or 7 MPEGTS packets (each packet is 188 bytes, beginning with 0x47).

    &#xA;&#xA;

    I created a MseStreamSource :

    &#xA;&#xA;

    _mseStreamSource = new MseStreamSource();&#xA;_mseStreamSource.Opened &#x2B;= (_, __) =>&#xA;{&#xA;    _mseSourceBuffer = _mseStreamSource.AddSourceBuffer("video/mp2t");&#xA;    _mseSourceBuffer.Mode = MseAppendMode.Sequence;&#xA;};&#xA;_mediaPlayerElement.MediaSource = MediaSource.CreateFromMseStreamSource(_mseStreamSource);&#xA;

    &#xA;&#xA;

    This is how I send the messages to the MseStreamSource :

    &#xA;&#xA;

        UdpReceiveResult receiveResult = await _udpClient.ReceiveAsync();&#xA;    byte[] bytes = receiveResult.Buffer;&#xA;    mseSourceBuffer.AppendBuffer(bytes.AsBuffer());&#xA;

    &#xA;&#xA;

    The MediaPlayerElement displays the message "video not supported or incorrect file name". (not sure of the message, my Windows is in French).

    &#xA;&#xA;

    Is it a good idea to use the MseAppendMode.Sequence mode ?&#xA;What should I pass to the AppendBuffer method ? The raw udp message including the 12 bytes header or each MPEGTS 188 bytes packet ?

    &#xA;