Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (47)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5988)

  • How do I execute an ffmpeg cmd to command line using C# ?

    24 juin 2019, par TonysAlwayslost

    I am having an issuing trying to get a form app on visual studio 19 to execute a cmd on command line for converting a video from mp4 to avi.
    I am using ffmpeg for this but everytime I compile it wont pick anything up.

    I have ran the argument through command line and it converts the video just fine. The path as far as I am aware is correct so I am not sure why the compiler wont pick up on any files.

    private void Button1_Click(object sender, EventArgs e)
       {
           string cmdString =  "c:\ffmpeg\bin";
           ProcessStartInfo startInfo = new ProcessStartInfo();
           startInfo.CreateNoWindow = false;
           startInfo.UseShellExecute = false;
           startInfo.FileName = "ffmpeg.exe";
           startInfo.WindowStyle = ProcessWindowStyle.Hidden;
           startInfo.Arguments =  cmdString + $"-i shatner.mp4 shatner.avi";


           using (Process exeProcess = Process.Start(startInfo))
           {
               exeProcess.WaitForExit();
           }
       }
    }

    }

    The error I am getting :
    "The system cannot find the specified file"

    Also I would have put a try catch block around the Process.Start but it doesnt matter since it is still throwing the exception.

  • Error with recording headless browser in ruby

    28 mai 2024, par KPEBETKA

    We want to create a headless browser and record and stream a page in it. To do this, we use Ferrum and ffmpeg. But there is only one image in the output video, although the video duration is correct.

    


    Code :

    


    require 'ferrum'

x = Ferrum::Browser::Xvfb.new(OpenStruct.new({ window_size: [1920, 1080] }))
x.start

b = Ferrum::Browser.new(xvfb: true, browser_options: { 'display': ":#{x.display_id}" })
b.goto 'https://google.com'

ffmpeg_command = "ffmpeg -y -video_size 1920x1080 -framerate 25 -f x11grab -i :#{x.display_id} ./output.mp4"
pid = spawn(ffmpeg_command)
Process.detach(pid)

sleep 3

Process.kill('SIGINT', pid)
Process.kill('SIGINT', x.pid)
b.quit



    


    Is it possible to fix this ? Or is it necessary to use something else to solve such a problem ?

    


  • Revision 86428 : Un autre type de jointure qui devrait fonctionner : cas simple : ...

    3 décembre 2014, par kent1@… — Log

    Un autre type de jointure qui devrait fonctionner :
    cas simple : $cle_depart dans la table_liee
    Ce cas pourrait exister par exemple si on activait une jointure de recherche sur les articles avec la table spip_evenements du plugin agenda.
    Il suffirait d’ajouter la ligne suivante dans le pipeline "declarer_tables_objets_sql" dans le fichier base/agenda_evenements :
    $tablesspip_articles ?rechercher_jointures ?evenement ? = array(’titre’ => 8, ’descriptif’ => 5, ’lieu’ => 5, ’adresse’ => 3) ;