Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (35)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5157)

  • avformat/hls : Split allowed_segment_extensions off allowed_extensions

    29 avril, par Michael Niedermayer
    avformat/hls : Split allowed_segment_extensions off allowed_extensions
    

    This allows the user to set only the one that is needed to ALL or a
    specific "wrong" extension like html

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/hls.c
  • 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