
Recherche avancée
Autres articles (24)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7061)
-
Play MPEG-2 TS using MseStreamSource
27 novembre 2022, par Nicolas SévenoI need to display a live video stream in a UWP application.



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 :



ffplay -fflags nobuffer -f:v mpegts udp://:8554




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



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



I receive the MPEG-2 TS stream with a UdpClient. It works well.
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).



I created a MseStreamSource :



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




This is how I send the messages to the MseStreamSource :



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




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



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


-
FFmpeg.AutoGen decoding an image using av_image_copy_to_buffer
28 juin 2022, par SteveI try to use
FFmpeg.AutoGen.av_image_copy_to_buffer
to get decoded data into my application defined frame_buffer like so :

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



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

Thanks in advance for any help on this issue.


-
Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4'
4 octobre 2017, par James AlmerMerge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4'
* commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4' :
fate : Rename WMV8_DRM decoder tests to WMV3_DRMMerged-by : James Almer <jamrial@gmail.com>