Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7452)

  • rtsp : rename certain options after a deprecation period

    25 janvier 2018, par wm4
    rtsp : rename certain options after a deprecation period
    

    The "timeout" option name inherently clashes with the meaning of the
    HTTP libavformat protocol option with the same name. Rename it after a
    deprecation period to make it compatible with the HTTP one.

    • [DH] doc/APIchanges
    • [DH] libavformat/rtsp.c
    • [DH] libavformat/version.h
  • 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 ?
  • hevc : deobfuscate slice/tile boundary handling for DBF

    27 juillet 2014, par Anton Khirnov
    hevc : deobfuscate slice/tile boundary handling for DBF
    

    Use named constants instead of magic numbers, avoid using variables with
    inverse meaning from what their name implies.

    • [DBH] libavcodec/hevc.c
    • [DBH] libavcodec/hevc.h
    • [DBH] libavcodec/hevc_filter.c