Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (27)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (4278)

  • 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.

  • lavfi/split : use AVFILTER_DEFINE_CLASS to define class

    15 avril 2013, par Stefano Sabatini

    lavfi/split : use AVFILTER_DEFINE_CLASS to define class

  • lavfi/split : fix minor documentation issues

    14 avril 2013, par Stefano Sabatini

    lavfi/split : fix minor documentation issues