
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (54)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (9935)
-
FFMPEG play an overlay video
6 juillet 2016, par ChrisHello everyone,
I’m struggling hours on placing an image over a video (overlay) and to play the output directly in the web browser (I have FFMPEG installed on the server). Here is what I have :
$output = shell_exec($command);
$image = '/image.png';
$video = '/videoin.mp4';
$saved_video_path= "";
$i = "'";
$command = '/usr/local/bin/ffmpeg -i ' . $video . ' -i ' . $image . ' -filter_complex "[0:v][1:v] overlay=10:10:enable=' . $i . 'between(t,5,10)' . $i . '" '.$saved_video_path;
echo "$output";I would really appreciate your help !
Chris
-
Cannot stop and (re-play) a rtsp stream with FFMediaElement
5 mars 2024, par CactusJackI have a problem using stop and play on a rtsp stream using the FFMediaElement.


I am initializing an instance of the MediaElement once by doing
m_MediaPlayer = new MediaPlayer();

This instance should live the whole application lifetime.

After this, I open the rtsp stream :
await m_MediaPlayer.Open(new Uri(rtspAdress));

The media opens, and when I dom_MediaPlayer.Play();
the stream is displayed in the MediaElement.

Now I want to stop the stream with
m_MediaPlayer.Stop();
and play it again. After calling play again, the stream is not diplayed anymore. The log says :

Direct Command 'Close' accepted. Perparing execution.
OnStreamReadInterrupt was requested an immediate read exit.
EVENT START : BufferingEnded
EVENT DONE : BufferingEnded
V BLK : 14.388 | CLK : 14.417 | DFT : 29 | IX : 4 | RNG : 48.897% | PQ : 0.0k | TQ : 0.0k
Direct Command 'Close' entered
MediaState changed : + Close
Media closed.
OnStreamReadInterrupt was requested an immediate read exit.
EVENT START : MediaStateChanged
EVENT START : MediaClosed
EVENT DONE : MediaStateChanged
Direct Command 'Close' completed. Result : True
EVENT DONE : MediaClosed
Dispose Entered. Waiting for Command Manager processor to stop.
Dispose is waiting for pending direct commands.
Dispose is closing media.
EVENT START : MediaClosed
Media closed.
EVENT DONE : MediaClosed
Dispose completed.


So why is Stop disposing the media ?
When I create a new player before re-playing and open the stream again, it works. But this takes a moment, so I just wat to stop and start again. Is that possible ?


-
Play Multiple online videos in FFMPEG
4 juillet 2014, par AndroidOptimistI’m trying to make an Android Applicaion that uses FFMPEG to play online streams. I gone through dolphin player source and with the help of this i achieved playing udp streams in android. Now i am trying to play multiple streams in my player. For example i have a list activity that has 10 names and by clicking each name the corrosponding video should be played. How can i achieve this in avformat_open_input. I am very new to ffmpeg. Please help me in achiving this. Thanks in advance.
My c code is as follows :
static int decode_module_init(void *arg)
{
VideoState *is = (VideoState *)arg;
AVFormatContext *pFormatCtx;
int err;
int ret = -1;
int i;
int video_index = -1;
int audio_index = -1;
is->videoStream=-1;
is->audioStream=-1;
char* Filename = "udp://.....";
global_video_state = is;
pFormatCtx = avformat_alloc_context();
pFormatCtx->interrupt_callback.callback = decode_interrupt_cb;
pFormatCtx->interrupt_callback.opaque = is;
**err = avformat_open_input(&pFormatCtx, Filename , NULL, NULL);**
if (err < 0) {
__android_log_print(ANDROID_LOG_INFO, "message", "File open failed");
ret = -1;
goto decode_module_init_fail;
}
__android_log_print(ANDROID_LOG_INFO, "message", "File open successful");
}