Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (86)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • 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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (8894)

  • x86 : hevc_mc : save 1 gpr in epel filter loading

    7 février 2015, par Christophe Gisquet
    x86 : hevc_mc : save 1 gpr in epel filter loading
    

    The 3*stride value stored in r3src can be loaded much later,
    so use r3src instead of a dedicated gpr when possible.

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

    • [DH] libavcodec/x86/hevc_mc.asm
  • How to save AVPacket if I have input information from online camera

    31 mars 2020, par Orest

    I am new to libav.&#xA;I have a online video camera and want save video from archive to the video file with libav

    &#xA;&#xA;

    Camera provides such data

    &#xA;&#xA;

    uint32_t frameType, // I frame or P frame&#xA;&#xA;void *frame, //pointer to the frame&#xA;&#xA;size_t frameSize, //size of the frame in bytes&#xA;&#xA;uint64_t timeStamp, //time stamp in time_t units&#xA;&#xA;uint32_t width, //frame width&#xA;&#xA;uint32_t height, //frame heigh&#xA;&#xA;uint32_t genTime, //I do not now what is this. allways 0&#xA;&#xA;const char *encodingType //H264 or H265&#xA;

    &#xA;&#xA;

    I tried this

    &#xA;&#xA;

    void writeHeader(){&#xA;mOutputFilePath = outputFilePath;&#xA;    int ret = 0;&#xA;    avformat_alloc_output_context2(&amp;output_format_context, nullptr, nullptr, outputFilePath.c_str());&#xA;&#xA;AVStream *out_stream;&#xA;        out_stream = avformat_new_stream(output_format_context, nullptr);&#xA;&#xA;        out_stream->discard = AVDISCARD_DEFAULT;//не змінювати&#xA;        out_stream->codecpar->level = 42;//не змінювати&#xA;        out_stream->codecpar->profile = FF_PROFILE_H264_HIGH;//не змінювати&#xA;        out_stream->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;&#xA;&#xA;        if(codecID == "H264") out_stream->codecpar->codec_id = AV_CODEC_ID_H264;&#xA;        else if(codecID == "H265") out_stream->codecpar->codec_id = AV_CODEC_ID_H265;&#xA;&#xA;        out_stream->codecpar->format = AV_PIX_FMT_YUV420P;&#xA;        out_stream->codecpar->height = heightFrame;&#xA;        out_stream->codecpar->width = widthFrame;&#xA;        //        out_stream->codecpar->bit_rate = 2478235;&#xA;        //        out_stream->codecpar->bits_per_coded_sample = 24;&#xA;        //        out_stream->codecpar->bits_per_raw_sample = 8;&#xA;        out_stream->codecpar->sample_aspect_ratio.num = 0;&#xA;        out_stream->codecpar->sample_aspect_ratio.den = 1;&#xA;        out_stream->codecpar->color_primaries = AVCOL_PRI_UNSPECIFIED;//не змінювати&#xA;&#xA;avio_open(&amp;output_format_context->pb, mOutputFilePath.c_str(), AVIO_FLAG_WRITE);&#xA;avformat_write_header(output_format_context, &amp;opt);&#xA;}&#xA;&#xA;void writePacket(){&#xA; AVPacket inputPacket;&#xA;        av_init_packet(&amp;inputPacket);&#xA;        inputPacket.buf = NULL;&#xA;        inputPacket.pts = (int)timeStamp;&#xA;        inputPacket.dts = inputPacket.pts; &#xA;        inputPacket.data = (unsigned char*)frame;&#xA;        inputPacket.size = (int)frameSize;&#xA;&#xA;        if (frameType == KP2P_FRAME_TYPE_IFRAME)&#xA;        {&#xA;            inputPacket.flags = AV_PKT_FLAG_KEY;&#xA;        }&#xA;        inputPacket.duration = 0;&#xA;        inputPacket.pos = -1;&#xA;av_interleaved_write_frame(output_format_context, &amp;inputPacket);&#xA;    av_packet_unref(&amp;inputPacket);&#xA;}&#xA;&#xA;void closeFile()&#xA;{&#xA;av_write_trailer(output_format_context);&#xA;    if (output_format_context &amp;&amp; !(output_format_context->oformat->flags &amp; AVFMT_NOFILE))&#xA;        avio_closep(&amp;output_format_context->pb);&#xA;    avformat_free_context(output_format_context);&#xA;}&#xA;

    &#xA;&#xA;

    in output file I have black vindow and time is not correct (input 30 seconds in out 2 seconds)&#xA;What am I doing wrong ?

    &#xA;

  • avutil/mips : Use MMI_{L, S}QC1 macro in {SAVE, RECOVER}_REG

    23 juillet 2021, par Jiaxun Yang
    avutil/mips : Use MMI_L, SQC1 macro in SAVE, RECOVER_REG
    

    SAVE,RECOVER_REG will be available for Loongson2 again,
    also comment about the magic.

    Signed-off-by : Jiaxun Yang <jiaxun.yang@flygoat.com>
    Reviewed-by : Shiyou Yin <yinshiyou-hf@loongson.cn>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/mips/mmiutils.h