Recherche avancée

Médias (91)

Autres articles (15)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5411)

  • ffmpeg : how to save h264 raw data as mp4 file

    15 avril 2016, par monkid

    I encode h264 data by libavcodec.
    ex.

    while (1) {
     ...
     avcodec_encode_video(pEnc->pCtx, OutBuf, ENC_OUTSIZE, pEnc->pYUVFrame);
     ...
    }

    If I directly save OutBuf data as a .264 file, it can`t be play by player. Now I want to save OutBuf

    as a mp4 file. Anyone know how to do this by ffmpeg lib ? thanks.

  • Injecting KLV data in video stream using ffmpeg

    29 octobre 2022, par lsilk

    Does anyone here have any experience with streaming video on one stream, for example 0:0, and then taking a .bin file in klv format and putting it in 0:1, and then outputting that to a mpegts udp stream ? I have it working, the only problem is that I have written a python program to update the klv data file while it is streaming, but it doesn't seem to be updated in the stream.

    


    My command : ffmpeg -I "filepath.mpg" -f data -i "filepath.bin" -filter:v fps=60 -map 0:v:0 -map 1:d:0 -f mpegts udp ://IP:PORT

    


    Ive tried -I from a local file, I've also tried streaming the .bin file from an other stream after updating it, but then the fps drops to about 0.5.

    


  • How OpenGL directly manipulates data on GPU that a video hardware decoded by FFmpeg CUDA

    24 janvier 2019, par gn cavalry

    Ubuntu 18.04
    FFmpeg 4.1
    CUDA 10.0

    What I want to do is using FFmpeg CUDA decode a video, directly peocess data on GPU by GLSL , then encode data using FFmpeg CUDA. Like this :

    Raw Video —> FFmpeg CUDA decoder —> GLSL —> FFmpeg CUDA encoder —> New Video

    Here is the short code :

    ret = avcodec_send_packet(decoder_ctx, pkt);
    while (ret >= 0) {
       ret = avcodec_receive_frame(decoder_ctx, frame);

       /**
        * Now CUDA decoded data is stored on GPU and referenced by frame
        * How can GLSL manipulate decoded data on GPU directly,
        * without transfer it to CPU and load to GPU again by glTexImage2D()
        */


       // I don't if the following code is right, if GLSL processed data is still referenced by frame
       while (avcodec_send_frame(encoder_ctx, frame)) {
           avcodec_receive_packet(encoder_ctx, &enc_pkt);
       }
    }

    Can anyone help me ? Thanks very much !