
Recherche avancée
Autres articles (15)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (3279)
-
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 ?


-
Play UDP live video stream in UWP
19 avril 2018, 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. I think 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://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/supported-codecs
UWP should be able to play it. (I installed the "MPEG 2 video extension" in the Windows Store).I tried using DatagramSocket and the MessageReceived event to receive the UDP packets, it works without problem :
_datagramSocket = new DatagramSocket();
_datagramSocket.MessageReceived += (s, args) =>
{
Debug.WriteLine("message received");
};
await _datagramSocket.BindServiceNameAsync(8554);Then I create a MseStreamSource :
_mseStreamSource = new MseStreamSource();
_mseStreamSource.Opened += (_, __) =>
{
_mseSourceBuffer = _mseStreamSource.AddSourceBuffer("video/mp2t");
};
this.MediaSource = MediaSource.CreateFromMseStreamSource(_mseStreamSource);And in the DatagramSocket.MessageReceived event I send the messages to the MseStreamSource :
using (IInputStream stream = args.GetDataStream())
{
_mseSourceBuffer.AppendStream(stream);
}The AppendStream method fails with error HRESULT 0x8070000B for some packets.
If I catch the error, the MediaPlayerElement displays the message "video not supported or incorrect file name". (not sure of the message, my Windows is in French).Is the MseStreamSource the correct way to display the stream ? Is there a better solution ?
-
avformat/mux, mxfenc, utils : Use dedicated pointer for AVFormatInternal
24 août 2021, par Andreas Rheinhardtavformat/mux, mxfenc, utils : Use dedicated pointer for AVFormatInternal
This gets rid of ugly "->internal" and is in preparation for removing
AVFormatInternal altogether.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>