Recherche avancée

Médias (91)

Autres articles (68)

  • 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

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

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (8033)

  • FFMPEG error code description

    16 juillet 2014, par Ram Krishna

    We are using FFmpeg libraries git-ee94362 libavformat v55.2.100. Our
    purpose is to mux two streams (video and audio) into M3U8 playlist using
    HLS.
    We are using AV_CODEC_ID_H264 output encoder, AV_PIX_FMT_YUV420P output
    video pixel format and CODEC_FLAG_GLOBAL_HEADER flag for the encoder.
    The last causes us to use "h264_mp4toannexb" bit stream filter.
    So, here is the code snippet :

    AVPacket outpkt = {0};
    int isGotVideoPacket = 0;

    av_init_packet(&outpkt);

    // convert time in stream time base units, so that the encoder will fill
    the packet appropriately
    out_video_frame->pts = (int64_t) (video_frame_count *
    in_video_frame_duration / av_q2d(out_video_stream->time_base));

    int ret = avcodec_encode_video2(enc_out_video_ctx, &outpkt,
    out_video_frame[i], &isGotVideoPacket);

    assert(0 <= ret);

    // if size is zero, it means the image was buffered
    if ((1 == isGotVideoPacket) && (0 < outpkt.size)) {

    AVPacket new_outpkt = outpkt;

    if ((AVBitStreamFilterContext*) 0 != vbsf_ctx) {
     AVPacket new_outpkt = outpkt;

     ret = av_bitstream_filter_filter(vbsf_ctx, enc_out_video_ctx, (const
    char*)0,
      &new_outpkt.data, &new_outpkt.size, outpkt.data, outpkt.size,
      outpkt.flags & AV_PKT_FLAG_KEY);

     if (ret > 0)
     {
      outpkt = new_outpkt;
     }
     else
     {
      // We get ret = -22
      char errbuf[128] = "";

                           // Both the functions get "Error number -22
    occurred" that don't explain anything
       av_strerror (ret, errbuf, 128);
      av_make_error_string (errbuf, 128, ret);

     }

     assert(0 <= ret);

    }

    outpkt->stream_index = output_video_stream->index;

    // If to comment av_bitstream_filter_filter() and "if-else", then
    // At frame #37 we get the following error from
    av_interleaved_write_frame():
    // [mpegts @ 09628140] H.264 bitstream malformed, no startcode found, use
    the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb).
    ret = av_interleaved_write_frame(ofmt_ctx, &outpkt);

    assert(0 <= ret);
    }

    Our questions :
    1. What is the meaning of the "-22" error from av_bitstream_filter_filter() ?

    1. Where can we get full FFMPEG error code description list ?
  • libav avformat_open_input error code -1094995529

    17 juin 2015, par mohamed

    I am using libav to decode njpeg stream, I read each frame as a byte array.
    using AVIOContext to read the array and make an AVFormatContext
    I got 2 frames decoded, the third one, the function
    avformat_open_input returns -1094995529

    What is that error code, so I can find out the problem ?

  • avformat/riffdec : Forward error code from avio_read() in ff_get_guid()

    28 juin 2015, par Michael Niedermayer
    avformat/riffdec : Forward error code from avio_read() in ff_get_guid()
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/riffdec.c