Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (38)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

Sur d’autres sites (3177)

  • doc/general : move Cineform HD and Canopus codecs to correct section

    14 août 2020, par Paul B Mahol
    doc/general : move Cineform HD and Canopus codecs to correct section
    
    • [DH] doc/general.texi
  • Save updated Exif Orientation data in image file.

    10 avril 2020, par blueimp
    Save updated Exif Orientation data in image file.
  • ffmpeg how to save decoded audio data to pcm

    21 avril 2015, par Jason

    I have succeed decode audio data from a mp4 using avcodec_decode_audio4, I want to save the decoded frames,so I tried below

    if (got_frame) {
     int size;
     uint8_t *data;
     int ref = 0;
     ret = swr_convert(swr, &data, frame->nb_samples, (const uint8_t **)frame->extended_data, frame->nb_samples);
     //fwrite(data, 1, frame->nb_samples, fp_audio);
     ref++;
     int szie = av_samples_get_buffer_size(NULL, 2, 1024, AV_SAMPLE_FMT_FLTP, 1);

     for (int i = 0; i < frame->linesize[0]/4; i++)
     {
       fwrite(frame->data[0] + 4*i, 1, 4, fp_audio);
       fwrite(frame->data[1] + 4*i, 1, 4, fp_audio);
       ref++;
     }



     av_frame_unref(frame);
    }

    but the pcm sounds strange, I also tried directed write as follows

    fwrite(frame->data[0], 1, frame->linesize[0], fp_audio);

    or :

    fwrite(frame->data[0], 1, frame->linesize[0], fp_audio);
    fwrite(frame->data[1], 1, frame->linesize[0], fp_audio);

    I know that the decoded pcm is AV_SAMPLE_FMT_FLTP
    any help would be appreciated