Recherche avancée

Médias (91)

Autres articles (104)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (11148)

  • How to append dummy frames to FFmpeg pipe after EOF to prevent Shaka Packager from stopping (LL-HLS/LL-DASH) ? [closed]

    6 août, par Arjit

    I am working on a live streaming pipeline where I pipe FFmpeg into Shaka Packager to generate LL-HLS and LL-DASH output from an RTMP stream.

    


    Scenario :

    


      

    • FFmpeg receives the RTMP stream and pipes the output to Shaka Packager.
    • 


    • When the RTMP publisher stops streaming, FFmpeg naturally ends, sending an EOF (end-of-file) to the pipe.
    • 


    • This causes Shaka Packager to stop processing, as it closes its read stream on EOF.
    • 


    


    What I want :

    


    Before FFmpeg terminates, or even after, I want to append 5 seconds of black dummy frames (video + silent audio) to the pipe, so that :

    


      

    1. Shaka Packager can finalize the last segment properly.
    2. 


    3. Shaka Packager doesn't terminate prematurely on EOF but processes these dummy frames.
    4. 


    5. This is needed for clean stream finalization for LL-HLS/LL-DASH workflows.
    6. 


    


    The Problem :

    


      

    • When FFmpeg exits, the pipe reaches EOF.
    • 


    • Any attempt to write additional data (like dummy frames) into the same pipe after EOF results in a "broken pipe" error because Shaka Packager has already closed its read end.
    • 


    • I can't find a way to inject those black frames into the stream after the original FFmpeg exits, without Shaka shutting down.
    • 


    


    What I've Tried :

    


      

    • Tried spawning another FFmpeg process to write black frames to the same pipe after the main FFmpeg process exits. But by then, the pipe is already closed by Shaka Packager.
    • 


    • Attempted using mkfifo with multiple writers but it doesn't work since FIFO allows only one writer and one reader at a time.
    • 


    • Can't just "delay" killing FFmpeg as the input stream is dynamic, and I need to programmatically pad with dummy frames at the end.
    • 


    


    My Question :

    


    How can I keep the pipe "open" to allow appending dummy black frames after the main FFmpeg process ends, so that Shaka Packager continues processing and properly finalizes the segments instead of exiting on EOF ?

    


    Is there a way to chain multiple FFmpeg processes or a muxer that can act as a "keep-alive" buffer for Shaka Packager until I explicitly tell it to end ?
    
Or is there a recommended way to handle such "end of live stream padding" when using FFmpeg → Shaka Packager pipelines ?

    


  • What's the single ffmpeg command for converting a video file to mpeg-dash format with adaptive bitrate ?

    28 février 2021, par Tariq Hasan

    Resultant resolutions should be of 240p, 480p, 720p and 1080p. The resultant .mpd file must be a single file.

    


  • movenc : Add a new flag for writing global sidx indexes for dash

    9 août 2015, par Martin Storsjö
    movenc : Add a new flag for writing global sidx indexes for dash
    

    The double meaning of the faststart flag (moving a moov atom
    to the start of files, making them streamable, for non-fragmented
    files, vs inserting a global sidx index at the start of files
    for fragmented files) is confusing - see 40ed1cbf1 for
    explanation of its origins.

    Since the second meaning of the flag hasn’t been part of any
    libav release yet, just rename it to get rid of the confusion
    without any extra deprecation (which wouldn’t get rid of the
    potential confusion, of users adding -movflags faststart
    even for fragmented files, where it isn’t needed for making
    them "streamable").

    This gets back the old behaviour, where -movflags faststart
    doesn’t have any effect for fragmented files.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/movenc.c
    • [DBH] libavformat/movenc.h