Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (51)

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

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

  • trying to use fluent-ffpmeg on raspberry pi

    3 septembre 2018, par cdoern

    I am trying to use fluent ffmpeg to make a h264 file into an mp4 file. However, installing regular ffmpeg did not work since ti downloaded a very old version onto my pi. through some research i stumbled upon an ffmpeg installer on npm that installers a newer version and allows you to use it : https://www.npmjs.com/package/@ffmpeg-installer/ffmpeg however, when incorporating this into my project, PM2, the process manager I am using to run my files, throws a very stranger error :

    err._length = err.length;
    TypeError: Cannot create property '_length' on string 'Unsupported platform/architecture: linux-arm

    below is my code for converting the file

    const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
    var ffmpeg = require('fluent-ffmpeg');
    ffmpeg.setFfmpegPath(ffmpegPath);
    ffmpeg('/home/pi/Videos/video.h264').format('mp4');
    ffmpeg.on('error', function(err) {
     console.log('an error happened: ' + err.message);
    })
    // save to file
    ffmpeg.save('/home/pi/Videos/testmovie.mp4');
  • ffmpeg : memory not freed on multi-threaded decoding

    31 mai 2020, par toby_e

    I am developing a video player based on the ffmpeg libraries and have run into a rather strange memory increase or failure to decrease memory when unloading a video file. My code is based on various examples of demuxing, decoding and scaling video and audio frames - but with the excecption that i have put each of these steps into seperate threads to avoid waiting for time-consuming calls. Everything works perfectly, but Visual Studio shows that Process Memory does not decrease when i call the various avclose and avfree calls. My Windows task manager confirms these memory increases that continue into the gigabyes !

    



    My player is roughly made up by two clases with the following calls to the ffmpeg libraries :

    



    



    READER :

    



    Open (on main thread) : avformat_open_input(), avformat_find_stream_info()

    



    Read (on seperate thread) : av_read_frame()

    



    Close (on main thrad) : avformat_close_input()

    



    DECODER :

    



    Open (on main thread) : avcodec_find_decoder(), avcodec_alloc_context3(), avcodec_parameters_to_context(), avcodec_open2()

    



    Decode (on seperate thread) : avcodec_send_packet(), avcodec_receive_frame()

    



    Close (on main thread) : avcodec_free_context()

    



    



    Is threre any issues with opening/closing on the main thread and reading/deconding on other threads ?

    


  • stream_encoder : Improve selection of residual accumulator width

    19 juin 2014, par Miroslav Lichvar
    stream_encoder : Improve selection of residual accumulator width
    

    In the precompute_partition_info_sums_ function, instead of selecting
    64-bit accumulator when the signal bps is larger than 16, revert to the
    original approach based on partition size, but make room for few extra
    bits to not overflow with unusual signals where the average residual
    magnitude may be larger than bps.

    It slightly improves the performance with standard encoding levels and
    16-bit files as the 17-bit side channel can still be processed with the
    32-bit accumulator and correctly selects the 64-bit accumulator with
    very large 16-bit partitions.

    This is related to commits 6f7ec60c and 187e596e.

    Signed-off-by : Erik de Castro Lopo <erikd@mega-nerd.com>

    • [DH] src/libFLAC/include/private/stream_encoder.h
    • [DH] src/libFLAC/stream_encoder.c
    • [DH] src/libFLAC/stream_encoder_intrin_sse2.c
    • [DH] src/libFLAC/stream_encoder_intrin_ssse3.c