Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (48)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (5400)

  • complex ffmpeg command line to Node fluent ffmpeg

    13 février 2017, par Faellor

    I have read the other question on command line input to Node Fluent ffmpeg but the command I am trying to execute is more complex and any ideas are appreciated.

    ffmpeg -i cut2.mp4 -c copy -an nosound2.mp4 && ffmpeg -i nosound2.mp4 -vf reverse reversednosound2.mp4 && ffmpeg -f concat -i inputs.txt -vcodec copy -acodec copy 2sec.mp4

    It is far from optimal because I am saving every video created with middle steps. I need to pipe the output of one command to the other command but I have no idea on how to do that with Node fluent-ffmpeg module.

    Any attempts to write this command with Node fluent-ffmpeg is greatly appreciated

  • Encode h264 automatically on nginx server

    18 février 2017, par Thinh Pham

    I have installed and configured my own streaming server using Nginx with rtmp module base on this tutorial https://www.vultr.com/docs/setup-nginx-on-ubuntu-to-stream-live-hls-video. I only use live application and record stream into flv file. And now I want to encode any new flv files in my VOD directory automatically to play it on my website. Is it possible to config it in my nginx.conf ? I have tried set record_suffix .mp4; in order to play it without encode but failed.
    Additional, exec ffmpeg -i is not work for me when I want to restream into mobile application.

  • Can you split a file using ffmpeg directly from a db ?

    31 mars 2014, par Jeff

    I am splitting a file using ffmpeg and python. I am able split a file if I input a file path, but if I send in the file itself from my mongodb, it errors out. Is there a way to get ffmpeg to run using the file instead of the path to the file ?

    python code :

    args = [ffmpeg_binary,
                            "-v", "quiet",
                            "-y", "-i", video_file, "-vcodec", "copy", "-acodec", "copy",
                    "-ss", "00:00:00", "-t", "00:00:10", "-sn",
                    output_file_name ]

    pipe = sp.Popen(args)

    if video_file is a gridfs.grid_file.GridOut object or a (gridfs.grid_file.GridOut object).read(), I get :

    Traceback (most recent call last):
     File "C:/dev/youniversity/test.py", line 21, in <module>
       split_vid_from_file(vid_file)
     File "C:\dev\youniversity\src\lib\ffmpeg_lib.py", line 107, in split_vid_from_file
       pipe = sp.Popen(args)
     File "C:\Python27\lib\subprocess.py", line 709, in __init__
       errread, errwrite)
     File "C:\Python27\lib\subprocess.py", line 957, in _execute_child
       startupinfo)
    TypeError: must be string without null bytes or None, not str
    </module>

    How do I split the video directly from the DB ?

    EDIT : I found that you can do this :

    ... "-y", "-", ...

    pipe = sp.Popen(args, stdin=sp.PIPE)

    but I don't want the user to type input, I want to pipe in the variable.