
Recherche avancée
Autres articles (87)
-
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 (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (16882)
-
Read and Save rtsp stream using FFMPEG using python with less memory size
25 août 2022, par Vishak RajI am trying to read a rtsp stream and save in a file, for that I am using the
ffmpeg
in python

import ffmpeg

stream = ffmpeg.input(rtsp_link, t=10)
print(stream)

file = stream.output("test.mp4")
testfile = file.run()#capture_stdout=True, capture_stderr=True



but this save the video file in high space, for 10 second video, the file occupies around 3 Mb, how to reduce the file size


thanks


-
Can't save process's output stream to file
10 octobre 2018, par Wahid MasudI’m using
ffmpeg.exe
as a process and output the converted video to memory, then from memory I’m saving the data to a video file (this is the requirement I can’t directly save the converted video to a file). But the conversion is not working for some reason, Here is what I’ve tried,var ffmpeg = HttpContext.Current.Server.MapPath("~/FFMpeg/ffmpeg.exe");
var outputDir = HttpContext.Current.Server.MapPath("~/Uploads/converted.mp4");
var inputDir = "https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_10mb.mp4";
var args = "-i " + inputDir + " -c:v libx264 -preset veryslow -crf 26 " +
"-ar 44100 -ac 2 -c:a aac -strict -2 -b:a 128k -";
var process = new Process();
process.StartInfo.UseShellExecute = false;
process.StartInfo.FileName = ffmpeg;
process.StartInfo.WorkingDirectory = ffmpeg.Replace("\\ffmpeg.exe", "");
process.StartInfo.Arguments = args;
process.StartInfo.RedirectStandardOutput = true;
process.Start();
process.EnableRaisingEvents = true;
//process.WaitForExit();
Stream output = process.StandardOutput.BaseStream;
process.Exited += (sender, e) =>
{
using (var fileStream = File.Create(outputDir))
{
output.Seek(0, SeekOrigin.Begin);
output.CopyTo(fileStream);
}
};The output file
converted.mp4
is created but its 0 kb. -
Using FFMpeg to save an rtsp stream from a certain point in time
14 août 2013, par NirI would like to use FFMpeg to save a live stream from a certain offset. For example, "from timestamp 00:05 to 00:12".
I know how to dump the stream to file (ffmpeg -i rtsp ://SRC -r 15 C :/file.mp4), the catch is how to clip it to the givem timestamp, if possible.
Thanks !