Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (93)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (11297)

  • Is it possible to adjust position of gdigrab recording region during recording ?

    30 novembre 2020, par adelima

    I'm using ffmpeg for recording video from defined desktop region by starting ffmpeg.exe as process with arguments like so :

    &#xA;

        public static void StartRecording(Video v) {&#xA;        string outPath = Path.Combine(Application.StartupPath, "rec", $"{v.FileName}.mkv");&#xA;        v.FFMPEG = new Process {&#xA;            StartInfo = new ProcessStartInfo() {&#xA;                Arguments = $"-hide_banner -y -thread_queue_size 512 -f gdigrab -offset_x {v.Bounds.X} -offset_y {v.Bounds.Y} -video_size {v.Bounds.Width}x{v.Bounds.Height} -show_region 0 -i desktop -vf \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p \"{outPath}\"",&#xA;                WindowStyle = ProcessWindowStyle.Hidden,&#xA;                CreateNoWindow = true,&#xA;                UseShellExecute = false,&#xA;                FileName = Path.Combine(Application.StartupPath, "bin", "ffmpeg.exe"),&#xA;                RedirectStandardOutput = true,&#xA;                RedirectStandardInput = true,&#xA;                RedirectStandardError = true,&#xA;            }&#xA;        };&#xA;        v.FFMPEG.Start();&#xA;&#xA;        new Thread(() => {&#xA;            using(StreamReader sr = v.FFMPEG.StandardError) {&#xA;                while(!sr.EndOfStream) {&#xA;                    Debug.WriteLine(sr.ReadLine());&#xA;                }&#xA;            }&#xA;        }).Start();&#xA;    }&#xA;&#xA;    public static void StopRecording(Video v) {&#xA;        using(StreamWriter sw = v.FFMPEG.StandardInput) {&#xA;            sw.WriteLine("q\n");&#xA;        }&#xA;        v.FFMPEG.WaitForExit();&#xA;        v.FFMPEG.Dispose();&#xA;    }&#xA;

    &#xA;

    Is it possible to make changes to the -offset_x and -offset_y arguments during recording ? I'm drawing the recording region bounds with directx and want to add a titlebar to it which can be dragged to move the recording region, but I'm not sure how I would let ffmpeg know that I want these offsets changed or whether it's even possible.

    &#xA;

  • How to use PHP FFMPEG to alter audio binary header bytes offset

    27 mai 2019, par SomniusX

    I use the following method to create a WNB file that is flashable to my Electric Unicycle Ninebot Z10

    First audacity to make the file raw pcm 16khz 16bit mono littleendian
    Then wnb-slicer golang app to convert that raw file into wnb.

    Today i did the same with ffmpeg

    ffmpeg -i $1 -acodec pcm_s16le -f s16le -ac 1 -ar 16000 -acodec pcm_s16le $1.raw
    ../wnb-slicer-master/wnb-slicer -file-name $1.raw

    where $1 is the original file

    About an hour ago i did the ffmpeg part with php-ffmpeg but i can’t have golang run on a webserver.

    So i thought if ffmpeg does bytes manipulation like the golang app does here

    Thank you in advance !

    p.s. this project will help all electric unicycle owners of the Z series wheels to change audio voices/sounds on their wheels !!

  • video streaming using recent frames only

    30 juillet 2019, par Max Paython

    I am trying to create a live video chat application, I am dealing with latency problems but these problems are not produced by encoding or overhead, rather from the definition of streaming itself.

    For example if I start the client program 15 seconds after the server program (start listening the port 15 seconds late), the client tries the play the 15 second old stream. (and fails because of the lack of I-frames introduced by x264 zero-latency, but this is not important)

    But I am trying to make it live. Old frames should be discarded and and the most recent frame should be showing (to a 1 second buffer maybe). I failed at doing this so I wanted to wait streaming until the peer is connected, but my goal is actually the first one.

    I am using ffmpeg for streaming. Can ffmpeg wait streaming until a single client starts listening (or connects) the port.

    How does applications like Skype or Hangouts handle this ? In these applications, if a user suddenly stops listening to the port (internet error for example) for 5 seconds, the chat will continue regularly after the connections is restored, and that user will not see the 5 second old frame but the new one. However I was not able to achieve this.