Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (49)

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

Sur d’autres sites (6530)

  • avcodec/cfhdenc : use pts instead of frame number

    19 février 2021, par Paul B Mahol
    avcodec/cfhdenc : use pts instead of frame number
    

    Makes encodes bitexact with different number of threads.

    • [DH] libavcodec/cfhdenc.c
  • how to fill AvFrame pixel by pixel

    18 mai 2017, par masoud khanlo

    i try to encode opengl output to a mp4 file using ffmpeg but when i want to simply fill AvFrame with pixel colors with this code snippet :

    for (y = 0; y < c->height; y++) {
    for (x = 0; x < c->width; x++) {
       int offset = 3 * (x + y * c->width);

       if (x > 2* c->width / 3 && x width )
       {
           frame->data[0][offset + 0] = 0; // B
           frame->data[0][offset + 1] = 0; // G
           frame->data[0][offset + 2] = 255; // R
       }
       else if(x < 2 * c->width / 3 && x > c->width / 3) {
           frame->data[0][offset + 0] = 0; // B
           frame->data[0][offset + 1] = 255; // G
           frame->data[0][offset + 2] = 0; // R
       }
       else {
           frame->data[0][offset + 0] = 255; // B
           frame->data[0][offset + 1] = 0; // G
           frame->data[0][offset + 2] = 0; // R
       }
    }

    then i have this video output :

    enter image description here

    and i had this options for ffmpeg :

    codec : libx264rgb
    & pix_fmt : AV_PIX_FMT_BGR24

    in fact i expect something like this video output :

    enter image description here

    i’m also new in ffmpeg and i realy dont know advanced stuffs about video encoding ,so anybody knows what is problem ?

  • How to segment audio and video to the same segments number ?

    24 décembre 2019, par julian zapata

    I’ve extracted audio and video from the same mp4 file and created different variants for different resolutions. When I segment the videos and the audio file with MP4Box, the video segments are the same segments number but the audio segments have one more. I need the video and audio segments to be the same number to use with dash.

    I’m using the next commands to produce the video and audio files :

    Command to extract the audio from mp4 file :

    ffmpeg -y -i "transformers.mp4" -c:a aac -b:a 192k -vn "transformers_audio.m4a"

    Produce each variant of the video with the next command modifying the resolution and bitrate parameters :

    ffmpeg -i transformers.mp4 -c:v libx264 -r 24 -x264opts "keyint=48:min-keyint=48:no-scenecut" -an -vf scale=640:360 -b:v 750k -dash 1 transformers_640x360_750k.mp4

    Generate the mpd file and segment the videos and audio each 4 seconds with :

    mp4box -dash 4000 -profile "dashavc264:live" -bs-switching no -sample-groups-traf \
    -out output4\
    transformers.mpd \
    transformers_480x270_400k.mp4 \
    transformers_640x360_800k.mp4 \
    transformers_960x540_1200k.mp4 \
    transformers_1280x720_1500k.mp4 \
    transformers_1920x1080_4000k.mp4 \
    transformers_audio.m4a

    This produces 36 segments for each variant of the video and 37 for the audio. How to solve this little variation ? How to make the audio segments number exactly the number of video segments ?