Recherche avancée

Médias (91)

Autres articles (63)

  • 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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9091)

  • Transcoding fMP4 to HLS while writing on iOS using FFmpeg

    12 juillet 2017, par bclymer

    TL ;DR

    I want to convert fMP4 fragments to TS segments (for HLS) as the fragments are being written using FFmpeg on an iOS device.

    Why ?

    I’m trying to achieve live uploading on iOS while maintaining a seamless, HD copy locally.

    What I’ve tried

    1. Rolling AVAssetWriters where each writes for 8 seconds, then concatenating the MP4s together via FFmpeg.

      What went wrong - There are blips in the audio and video at times. I’ve identified 3 reasons for this.

      1) Priming frames for audio written by the AAC encoder creating gaps.

      2) Since video frames are 33.33ms long, and audio frames 0.022ms long, it’s possible for them to not line up at the end of a file.

      3) The lack of frame accurate encoding present on Mac OS, but not available for iOS Details Here

    2. FFmpeg muxing a large video only MP4 file with raw audio into TS segments. The work was based on the Kickflip SDK

      What Went Wrong - Every once in a while an audio only file would get uploaded, with no video whatsoever. Never able to reproduce it in-house, but it was pretty upsetting to our users when they didn’t record what they thought they did. There were also issues with accurate seeking on the final segments, almost like the TS segments were incorrectly time stamped.

    What I’m thinking now

    Apple was pushing fMP4 at WWDC this year (2016) and I hadn’t looked into it much at all before that. Since an fMP4 file can be read, and played while it’s being written, I thought that it would be possible for FFmpeg to transcode the file as it’s being written as well, as long as we hold off sending the bytes to FFmpeg until each fragment within the file is finished.

    However, I’m not familiar enough with the FFmpeg C API, I only used it briefly within attempt #2.

    What I need from you

    1. Is this a feasible solution ? Is anybody familiar enough with fMP4 to know if I can actually accomplish this ?
    2. How will I know that AVFoundation has finished writing a fragment within the file so that I can pipe it into FFmpeg ?
    3. How can I take data from a file on disk, chunk at a time, pass it into FFmpeg and have it spit out TS segments ?
  • Transcoding fMP4 to HLS while writing on iOS using FFmpeg

    29 avril 2017, par bclymer

    TL ;DR

    I want to convert fMP4 fragments to TS segments (for HLS) as the fragments are being written using FFmpeg on an iOS device.

    Why ?

    I’m trying to achieve live uploading on iOS while maintaining a seamless, HD copy locally.

    What I’ve tried

    1. Rolling AVAssetWriters where each writes for 8 seconds, then concating the MP4s together via FFmpeg.

      What went wrong - There are blips in the audio and video at times. I’ve identified 3 reasons for this.

      1) Priming frames for audio written by the AAC encoder creating gaps.

      2) Since video frames are 33.33ms long, and audio frames 0.022ms long, it’s possible for them to not line up at the end of a file.

      3) The lack of frame accurate encoding present on Mac OS, but not available for iOS Details Here

    2. FFmpeg muxing a large video only MP4 file with raw audio into TS segments. The work was based off the Kickflip SDK

      What Went Wrong - Every once in a while an audio only file would get uploaded, with no video whatsoever. Never able to reproduce it in-house, but it was pretty upsetting to our users when they didn’t record what they thought they did. There were also issues with accurate seeking on the final segments, almost like the TS segments were incorrectly time stamped.

    What I’m thinking now

    Apple was pushing fMP4 at WWDC this year (2016) and I hadn’t looked into it much at all before that. Since an fMP4 file can be read, and played while it’s being written, I thought that it would be possible for FFmpeg to transcode the file as it’s being written as well, as long as we hold off sending the bytes to FFmpeg until each fragment within the file is finished.

    However, I’m not familiar enough with the FFmpeg C API, I only used it briefly within attempt #2.

    What I need from you

    1. Is this a feasible solution ? Is anybody familiar enough with fMP4 to know if I can actually accomplish this ?
    2. How will I know that AVFoundation has finished writing a fragment within the file so that I can pipe it into FFmpeg ?
    3. How can I take data from a file on disk, chunk at a time, pass it into FFmpeg and have it spit out TS segments ?
  • avformat/aviobuf : fix flushing write buffers after seeking backward or forward

    3 juin 2017, par Marton Balint
    avformat/aviobuf : fix flushing write buffers after seeking backward or forward
    

    This patch makes aviobuf work more like traditinal file IO, which is how people
    think about it.

    For example, in the past, aviobuf only flushed buffers until the current buffer
    position, even if more data was written to it previously, and a backward seek
    was used to reposition the IO context.

    From now, aviobuf will keep track of the written data, so no explicit seek will
    be required till the end of the buffer, or till the end of file before flushing.

    This fixes at least one regression, fate-vsynth3-flv was broken if
    flush_packets option was set to false, an explicit seek was removed in
    4e3cc4bdd8acedbcc703607ed0efbb64bb5c3cc4.

    Also from now on, if a forward seek in the write buffer were to cause a gap
    between the already written data and the new file position, a flush will
    happen.

    The must_flush varable is also removed, which might have caused needless
    flushes with multiple seeks whithin the write buffer. Since we know the amount
    of data written to it, we will know when to flush.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/avio.h
    • [DH] libavformat/aviobuf.c
    • [DH] libavformat/version.h