Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (108)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (12062)

  • lavc : use buf[0] instead of data[0] as the indicator of an allocated frame

    29 novembre 2013, par Anton Khirnov
    lavc : use buf[0] instead of data[0] as the indicator of an allocated frame
    

    data[0] may be NULL for valid frames with hwaccel pixel formats.

    • [DH] libavcodec/utils.c
  • Revision 17fd972aea : consolidate update_mb_segmentation_map data The update_mb_segmentation_map flag

    12 octobre 2012, par John Koleszar

    Changed Paths : Modify /vp8/decoder/decodframe.c Modify /vp8/encoder/bitstream.c consolidate update_mb_segmentation_map data The update_mb_segmentation_map flag was being signalled earlier than other data dependent on that flag. Consolidate this data so it's parsed within the same if-scope as (...)

  • FFMPEG encode klv data with video

    23 janvier 2021, par Reza Shahriari

    I am trying to encode KLV metadata (MISB 0601) with a regular video stream. I am using the ffmpeg examples and hove come up with this

    


    to start a klv stream :

    


    int Streamer::add_klv_stream(){
    this->klv_stream = avformat_new_stream(this->output_context, NULL);
    this->klv_stream->codec->codec_type = AVMEDIA_TYPE_DATA;
    this->klv_stream->codec->codec_id = AV_CODEC_ID_SMPTE_KLV;
    this->klv_stream->codec->codec_tag = 1096174667; //some magic number?
    this->klv_stream->time_base = AVRational{ 1, 30 };
    this->klv_stream->id = this->output_context->nb_streams - 1;
}


    


    to add a klv data packet

    


    int Streamer::addKlv(uint8_t * some_array) {
    AVPacket pkt;
    av_init_packet(&pkt);
    pkt.size = 10;
    pkt.data = some_array;//(uint8_t*)GetKlv(pkt.size);
    auto res = write_frame(this->output_context, &this->video_stream.st->time_base, this->klv_stream, &pkt);
    //ret = write_frame(this->output_context, &c->time_base, this->video_stream.st, &pkt);
    free(pkt.data);

    return res;
}


    


    However, I get a BAD ACCESSS error in write_frame (specifically the av_interleaved_write_frame call)

    


    int Streamer::write_frame(AVFormatContext *fmt_ctx, const AVRational *time_base, AVStream *st, AVPacket *pkt)
{
    /* rescale output packet timestamp values from codec to stream timebase */
    av_packet_rescale_ts(pkt, *time_base, st->time_base);
    pkt->stream_index = st->index;
    /* Write the compressed frame to the media file. */
    //log_packet(fmt_ctx, pkt);
    return av_interleaved_write_frame(fmt_ctx, pkt); //error is here
}


    


    If anyone knows how to mux klv data and video it would be much appreciated.

    


    Thanks in advance.