
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (104)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (8123)
-
Creating a transparent color mask that covers half of every frame in a video with opencv/moviepy/ffmpeg
24 octobre 2019, par NyktofobI’m doing a pose estimation in rats separated into two compartments of a cage. To make my tracking better I want to put a transparent color mask that covers half of every frame so that one of the rats will appear to the neural net as being of different color, thus making it easier for the net to differentiate those rats. My question is : Is there any easy way to do this using python (moviepy/opencv/ffmpeg) ?
Bare in mind, I’m completely new to python, so I’d appreciate any recommendation of a tutorial or detailed answer.
I tried using blender to do this, but failed miserably.
I expect to be able to modify the video, so that there will be a rectangular transparent mask in some color that covers certain part of every frame (Let’s say video is 1920x1080 pixels, so from pixel 960 on x axis everything to the right is transparently green)
-
ffmpeg problem video duration of an hour and a half
14 mai 2024, par Bruno MunnéWhen start record i call an api /start-record which does :


const ffmpeg = spawn("ffmpeg", [
 "-i",
 rtsp,
 "-c:v",
 "copy",
 "-an",
 "-f",
 "flv",
 `${filename}.flv`,
 ]);
ffmpegProcesses[rtsp] = {
 process: ffmpeg,
 filename,
 };



When stop the record i call an api /stop-record which does :


ffmpegProcesses[rtsp].process.kill("SIGKILL");
ffmpegProcesses[rtsp].process.on("exit", async () => {
 const ffmpeg = spawn("ffmpeg", [
 "-i",
 `${filename}.flv`,
 "-c:v",
 "libx264",
 "-preset",
 "fast",
 "-crf",
 "30",
 "-an",
 `${filename}.mp4`,
 ]);

 ffmpeg.on("exit", async () => {
 uploadToS3()
 })

})



If the recording is less than or equal to approximately 1 hour it works perfectly, but if the recording is 1 and a half hours it already breaks and it does not correctly generate the files, nor the flv nor the conversion to mp4


I hope my program works the same way it does for 1 hour recordings


-
avformat/movenc : use stream indexes when generating track ids
3 août 2024, par James Almeravformat/movenc : use stream indexes when generating track ids
In some scenarios nb_tracks isn't the same as nb_streams, so a given id may end
up being used for two separate streams.e.g. when muxing an IAMF track followed by a video track, if the IAMF track
consists of several streams, the video track would end up having an id of 2,
which may also be used by one of the IAMF streams.Signed-off-by : James Almer <jamrial@gmail.com>