
Recherche avancée
Autres articles (94)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (7811)
-
GIF to MP4 Conversion with ffmpeg won't play in browsers or certain computers
24 janvier 2014, par GordnfreemanI am using a script to convert a gif to an mp4 file using ImageMagick and ffmpeg (the latest version from http://ffmpeg.gusari.org/static/). The conversion works and gives me a mp4 file which I can play on my home computer but not any other one, the file also does not play in browsers. I have downloaded a lot of codecs at home so I suspect that is the issue.
The code I am using, I will include all of it incase there is a problem earlier on in the script :
convert ORIGINALGIF.gif NEWPNG%03d.png
ffmpeg -framerate 10 -i NEWPNG%03d.png NEWVIDEO.mp4And that is about it this script works and creates the file but I can only view it on my home computer, I did some research and found the script below :
ffmpeg -framerate 10 -i NEWPNG%03d.png -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 NEWVID.mp4
I have tried this and a few variations of it but even if the file gets made it cannot be played in any browsers.
-
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 ?