Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (74)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications 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, par

    Certains 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, par

    Pré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 (12565)

  • Using FFMpeg to save an rtsp stream from a certain point in time

    14 août 2013, par Nir

    I 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 !

  • Can't save process's output stream to file

    10 octobre 2018, par Wahid Masud

    I’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.

  • Read and Save rtsp stream using FFMPEG using python with less memory size

    25 août 2022, par Vishak Raj

    I 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