Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (81)

  • 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 (11330)

  • mpegvideo : allocate sufficiently large scratch buffer for interlaced vid

    16 mai 2013, par Jindrich Makovicka
    mpegvideo : allocate sufficiently large scratch buffer for interlaced vid
    

    MPV_decode_mb_internal needs 3 * 16 * linesize bytes of scratch buffer

    For interlaced content, linesize is multiplied by two after the allocation
    of the scratch buffer, and the dest_cr pointer ends past the buffer.

    This patch makes ff_mpv_frame_size_alloc allocate a total of
    (aligned line_size) * 2 * 16 * 3 bytes, which suffices even for the
    interlaced case.

    CC:libav-stable@libav.org

    Signed-off-by : Jindrich Makovicka <makovick@gmail.com>
    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] libavcodec/mpegvideo.c
  • How to capture desktop using ffmpeg ? getting error when stop recording : System.InvalidOperationException : 'StandardIn has not been redirected.'

    4 octobre 2023, par SharonHemed

    I want it to record the entire desktop then when stopping to save the file to the hard drive. and to hide without the console window of the ffmpeg.

    &#xA;

    but getting this exception error. and i'm setting the RedirectStandardInput to true.&#xA;so i'm not sure why it's showing this error.

    &#xA;

    The exception error is on the line

    &#xA;

    process.StandardInput.BaseStream.Write(qKey, 0, 1);&#xA;

    &#xA;

    The full code

    &#xA;

    using System;&#xA;using System.Collections.Generic;&#xA;using System.ComponentModel;&#xA;using System.Data;&#xA;using System.Diagnostics;&#xA;using System.Drawing;&#xA;using System.IO;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using System.Windows.Forms;&#xA;using NAudio.CoreAudioApi;&#xA;using NAudio.Wave;&#xA;&#xA;namespace Desktop_Recorder&#xA;{&#xA;    public partial class Form1 : Form&#xA;    {&#xA;        Process process;&#xA;&#xA;        public Form1()&#xA;        {&#xA;            InitializeComponent();&#xA;&#xA;            process = new Process();&#xA;            Start(@"d:\test.mp4", 30);&#xA;        }&#xA;&#xA;        private void Form1_Load(object sender, EventArgs e)&#xA;        {&#xA;            &#xA;        }&#xA;&#xA;        private void Form1_FormClosing(object sender, FormClosingEventArgs e)&#xA;        {&#xA;            Stop();&#xA;        }&#xA;&#xA;        public void Start(string FileName, int Framerate)&#xA;        {&#xA;            process.StartInfo.FileName = @"d:\ffmpeg\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.  &#xA;            process.EnableRaisingEvents = false;&#xA;            process.StartInfo.WorkingDirectory = @"D:\"; // The output directory  &#xA;            process.StartInfo.Arguments = @"-y -f gdigrab -framerate " &#x2B; Framerate &#x2B;&#xA;                " -i desktop -preset ultrafast -pix_fmt yuv420p " &#x2B; FileName;&#xA;            process.StartInfo.UseShellExecute = false;&#xA;            process.StartInfo.CreateNoWindow = false;&#xA;            process.StartInfo.RedirectStandardInput = true; //Redirect stdin&#xA;            process.StartInfo.RedirectStandardError = true;&#xA;            process.Start();&#xA;            System.Threading.Thread.Sleep(3000);  //Wait 3 seconds (for testing).&#xA;            Stop();&#xA;        }&#xA;&#xA;        public void Stop()&#xA;        {&#xA;            byte[] qKey = Encoding.GetEncoding("gbk").GetBytes("q"); //Get encoding of &#x27;q&#x27; key&#xA;            process.StandardInput.BaseStream.Write(qKey, 0, 1); //Write &#x27;q&#x27; key to stdin of FFmpeg sub-processs&#xA;            process.StandardInput.BaseStream.Flush(); //Flush stdin (just in case).&#xA;            process.Close();&#xA;        }&#xA;&#xA;&#xA;        private void btnStartRecording_Click(object sender, EventArgs e)&#xA;        {&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;

    &#xA;

  • FFmpeg, animation types : How to move the video screen along the large images ? [duplicate]

    18 décembre 2019, par ArmKh

    This question already has an answer here :

    My output video sizes are 1280x720. And I have an images with these sizes

    1. 3000x1200
    2. 1200x2000

    So, I need to animate the large images inside the small video frames. The first image should be animated from right to left and the second one from top to bottom. In other words it will be something like moving screen along the pictures

    In this video example you can see the animations like that.
    So, how I can do it ?