Recherche avancée

Médias (91)

Autres articles (81)

  • 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

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

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

  • CoreAudio : how to retrieve actual sampling rate of raw data ?

    13 août 2014, par jyavenard

    When attempting to play AAC-HE content in an mp4 container, the reported sampling rate found in the mp4 container appears to be half of the actual sampling rate.

    E.g it appears as 24kHz instead of 48kHz.

    Using the FFmpeg AAC decoder, retrieving the actual sampling rate can be done by simply decoding an audio packet using

    avcodec_decode_audio4

    And looking at AVCodecContext::sample_rate which will be updated appropriately. From that it’s easy to adapt the output.

    With CoreAudio decoder, I would use a AudioConverterRef set the input and output AudioStreamBasicDescription
    and call AudioConverterFillComplexBuffer

    As the converter performs all the required internal conversion including resampling it’s fine. But it plays the content after resampling it to 24kHz (as that’s what the input AudioStreamBasicDescription contains.

    Would there be a way to retrieve the actual sampling rate as found be the decoder (rather than the demuxer) in a similar fashion as one can with FFmpeg ?

    Would prefer to avoid losing audio quality if at all possible, and not downmix data

    Thanks

  • libx264 : Define X264_API_IMPORTS on MSVC/ICL

    19 juillet 2013, par Derek Buitenhuis
    libx264 : Define X264_API_IMPORTS on MSVC/ICL
    

    libx264 has a few data exports which require X264_API_IMPORTS
    to be defined if we link to libx264 dynamically on Windows.

    In a similar fashion to how we handle our compat snprintf
    implementation, if we define it all the time, the compiler
    will first try and link to __imp_x264_symbol_name, and failing
    that, as in the case of a static libx264, will attempt to link
    to the non-prefixed symbol, which has already been pulled in by
    other x264 functions’ object files.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavcodec/libx264.c
  • libx264 : Define X264_API_IMPORTS on MSVC/ICL

    19 juillet 2013, par Derek Buitenhuis
    libx264 : Define X264_API_IMPORTS on MSVC/ICL
    

    libx264 has a few data exports which require X264_API_IMPORTS
    to be defined if we link to libx264 dynamically on Windows.

    In a similar fashion to how we handle our compat snprintf
    implementation, if we define it all the time, the compiler
    will first try and link to __imp_x264_symbol_name, and failing
    that, as in the case of a static libx264, will attempt to link
    to the non-prefixed symbol, which has already been pulled in by
    other x264 functions’ object files.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DBH] libavcodec/libx264.c