Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (74)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (9044)

  • ffmpeg error while using opencv rppg program

    2 janvier 2018, par Archer

    How to fix this error while compiling using FFmpeg ?

           FFmpegDecoder.cpp: In member function 'virtual AVFrame* FFmpegDecoder::GetNextFrame()':
       FFmpegDecoder.cpp:89:17: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
                        avcodec_decode_video2(pVideoCodecCtx, pVideoYuv, &frameFinished, &packet);
                        ^~~~~~~~~~~~~~~~~~~~~
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:4664:5: note: declared here
        int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
            ^~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:89:89: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
                        avcodec_decode_video2(pVideoCodecCtx, pVideoYuv, &frameFinished, &packet);
                                                                                                ^
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:4664:5: note: declared here
        int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
            ^~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:92:27: warning: 'int64_t av_frame_get_best_effort_timestamp(const AVFrame*)' is deprecated [-Wdeprecated-declarations]
                            pts = av_frame_get_best_effort_timestamp(pVideoYuv);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       In file included from C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:38:0,
                        from FFmpegDecoder.hpp:16,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavutil/frame.h:587:9: note: declared here
        int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:92:71: warning: 'int64_t av_frame_get_best_effort_timestamp(const AVFrame*)' is deprecated [-Wdeprecated-declarations]
                            pts = av_frame_get_best_effort_timestamp(pVideoYuv);
                                                                              ^
       In file included from C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:38:0,
                        from FFmpegDecoder.hpp:16,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavutil/frame.h:587:9: note: declared here
        int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:100:21: warning: 'void av_frame_set_best_effort_timestamp(AVFrame*, int64_t)' is deprecated [-Wdeprecated-declarations]
                            av_frame_set_best_effort_timestamp(res, pts);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       In file included from C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:38:0,
                        from FFmpegDecoder.hpp:16,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavutil/frame.h:589:9: note: declared here
        void    av_frame_set_best_effort_timestamp(AVFrame *frame, int64_t val);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:100:64: warning: 'void av_frame_set_best_effort_timestamp(AVFrame*, int64_t)' is deprecated [-Wdeprecated-declarations]
                            av_frame_set_best_effort_timestamp(res, pts);
                                                                       ^
       In file included from C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:38:0,
                        from FFmpegDecoder.hpp:16,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavutil/frame.h:589:9: note: declared here
        void    av_frame_set_best_effort_timestamp(AVFrame *frame, int64_t val);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:104:17: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
                        av_free_packet(&packet);
                        ^~~~~~~~~~~~~~
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:4336:6: note: declared here
        void av_free_packet(AVPacket *pkt);
             ^~~~~~~~~~~~~~
       FFmpegDecoder.cpp:104:39: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
      ^~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:124:9: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
                avpicture_fill((AVPicture*)frame, buffer, AV_PIX_FMT_BGR24, width, height);
                ^~~~~~~~~~~~~~
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:5315:5: note: declared here
        int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
            ^~~~~~~~~~~~~~
       FFmpegDecoder.cpp:124:82: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
                avpicture_fill((AVPicture*)frame, buffer, AV_PIX_FMT_BGR24, width, height);
                                                                                         ^
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:5315:5: note: declared here
        int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
            ^~~~~~~~~~~~~~
       FFmpegDecoder.cpp: In member function 'bool FFmpegDecoder::OpenVideo()':
       FFmpegDecoder.cpp:147:41: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                    if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
                                                ^~~~~
       In file included from FFmpegDecoder.hpp:17:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegDecoder.cpp:147:41: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                    if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
                                                ^~~~~
       In file included from FFmpegDecoder.hpp:17:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegDecoder.cpp:147:41: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                    if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
                                                ^~~~~
       In file included from FFmpegDecoder.hpp:17:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegDecoder.cpp:152:58: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                        pVideoCodecCtx = pFormatCtx->streams[i]->codec;
                                                                 ^~~~~
       In file included from FFmpegDecoder.hpp:17:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegDecoder.cpp:152:58: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                        pVideoCodecCtx = pFormatCtx->streams[i]->codec;
                                                                 ^~~~~
       In file included from FFmpegDecoder.hpp:17:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegDecoder.cpp:152:58: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                        pVideoCodecCtx = pFormatCtx->streams[i]->codec;
                                                                 ^~~~~
       In file included from FFmpegDecoder.hpp:17:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegDecoder.cpp: In member function 'bool FFmpegDecoder::DecodeVideo(const AVPacket*, AVFrame*)':
       FFmpegDecoder.cpp:190:35: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
                    int videoFrameBytes = avcodec_decode_video2(pVideoCodecCtx, pOutFrame, &got_picture_ptr, avpkt);
                                          ^~~~~~~~~~~~~~~~~~~~~
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:4664:5: note: declared here
        int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
            ^~~~~~~~~~~~~~~~~~~~~
       FFmpegDecoder.cpp:190:107: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
                    int videoFrameBytes = avcodec_decode_video2(pVideoCodecCtx, pOutFrame, &got_picture_ptr, avpkt);
                                                                                                                  ^
       In file included from FFmpegDecoder.hpp:16:0,
                        from FFmpegDecoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:4664:5: note: declared here
        int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
            ^~~~~~~~~~~~~~~~~~~~~
       FFmpegEncoder.cpp: In member function 'bool FFmpegEncoder::OpenFile(const char*, int, int, int, int)':
       FFmpegEncoder.cpp:57:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                c = st->codec;
                        ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:57:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                c = st->codec;
                        ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:57:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                c = st->codec;
                        ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:76:33: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *c = st->codec;
                                        ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:76:33: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *c = st->codec;
                                        ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:76:33: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *c = st->codec;
                                        ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp: In member function 'void FFmpegEncoder::CloseFile()':
       FFmpegEncoder.cpp:123:23: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            avcodec_close(st->codec);
                              ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:123:23: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            avcodec_close(st->codec);
                              ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:123:23: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            avcodec_close(st->codec);
                              ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:124:31: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            avcodec_free_context(&st->codec);
                                      ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:124:31: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            avcodec_free_context(&st->codec);
                                      ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:124:31: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            avcodec_free_context(&st->codec);
                                      ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:128:35: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                av_freep(&oc->streams[i]->codec);
                                          ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:128:35: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                av_freep(&oc->streams[i]->codec);
                                          ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:128:35: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
                av_freep(&oc->streams[i]->codec);
                                          ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp: In member function 'void FFmpegEncoder::WriteFrame(AVFrame*, int64_t)':
       FFmpegEncoder.cpp:146:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            AVCodecContext *c = st->codec;
                                    ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:146:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            AVCodecContext *c = st->codec;
                                    ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:146:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            AVCodecContext *c = st->codec;
                                    ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:157:25: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
            int bufferImgSize = avpicture_get_size(c->pix_fmt, c->width, c->height);
                                ^~~~~~~~~~~~~~~~~~
       In file included from FFmpegEncoder.hpp:17:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:5330:5: note: declared here
        int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
            ^~~~~~~~~~~~~~~~~~
       FFmpegEncoder.cpp:157:75: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
            int bufferImgSize = avpicture_get_size(c->pix_fmt, c->width, c->height);
                                                                                  ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:210:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            AVCodecContext *c = st->codec;
                                    ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:210:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
            AVCodecContext *c = st->codec;
                                    ^~~~~
       In file included from FFmpegEncoder.hpp:18:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavformat/avformat.h:876:21: note: declared here
            AVCodecContext *codec;
                            ^~~~~
       FFmpegEncoder.cpp:217:15: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
                ret = avcodec_encode_video2(c, &pkt, NULL, &got_output);
                      ^~~~~~~~~~~~~~~~~~~~~
       In file included from FFmpegEncoder.hpp:17:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:5282:5: note: declared here
        int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
            ^~~~~~~~~~~~~~~~~~~~~
       FFmpegEncoder.cpp:217:63: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
                ret = avcodec_encode_video2(c, &pkt, NULL, &got_output);
                                                                      ^
       In file included from FFmpegEncoder.hpp:17:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:5282:5: note: declared here
        int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
            ^~~~~~~~~~~~~~~~~~~~~
       FFmpegEncoder.cpp:227:20: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
                    if (c->coded_frame->key_frame)
                           ^~~~~~~~~~~
       In file included from FFmpegEncoder.hpp:17:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:2744:35: note: declared here
            attribute_deprecated AVFrame *coded_frame;
                                          ^~~~~~~~~~~
       FFmpegEncoder.cpp:227:20: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
                    if (c->coded_frame->key_frame)
                           ^~~~~~~~~~~
       In file included from FFmpegEncoder.hpp:17:0,
                        from FFmpegEncoder.cpp:9:
       C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:2744:35: note: declared here
            attribute_deprecated AVFrame *coded_frame;
                                          ^~~~~~~~~~~
       FFmpegEncoder.cpp:227:20: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
                    if (c->coded_frame->key_frame)
                           **^~~~~~~~~~~
       In file included from FFmpegEncoder.hpp:17:0,
                        from FFmpegEncoder.cpp:9:
           C:\Users\Anon\Desktop\ffmpeg-20171225-613f789-win32-shared\include/libavcodec/avcodec.h:2744:35: note: declared here
                attribute_deprecated AVFrame *coded_frame;
                                              ^~~~~~~~~~~
           /usr/lib/gcc/i686-pc-cygwin/6.4.0/../../../../i686-pc-cygwin/bin/ld: cannot find -lmingw32-libarchive
           /usr/lib/gcc/i686-pc-cygwin/6.4.0/../../../../i686-pc-cygwin/bin/ld: cannot find -lSDLMain
           collect2: error: ld returned 1 exit status**

    I have the developers version of ffmpeg lib and include files in with my shared ffmpeg file. How do I get it to work ?

    I have included -lmingw32-libarchive and -lsdlmain to avoid winmain16 error, should I do something else ? How to avoid deprecated error ?

  • Revision 0d8723f8d5 : Make "good" quality 2-pass vpxenc encoding default Currently, the best quality

    19 août 2013, par Deb Mukherjee

    Changed Paths :
     Modify /test/encode_test_driver.cc


     Modify /test/error_resilience_test.cc


     Modify /vp9/vp9_cx_iface.c


     Modify /vpxenc.c



    Make "good" quality 2-pass vpxenc encoding default

    Currently, the best quality mode in VP9 is not very well developed,
    and unnecessarily makes the encode too slow. Hence the command line
    default is changed to "good" quality. Also, the number of passes
    default is changed to 2 passes as well, since 1-pass encoding is
    not very efficient in VP9.

    Besides, a number of VP9 defaults are set to the currently
    recommended settings. With these changes, vpxenc
    run with —codec=vp9 —kf-max-dist=9999 —cpu-used=0 should
    work about the same as our borg results.
    Note when the —cpu-used=0 option is dropped there will be a slight
    difference in the output, because of a difference in the cpu-used
    value for the first pass. Specifically, the default when unspecified
    is to use cpu_used=1 for the first pass and cpu_used=0 for the
    second pass. But when specified, both passes will use the cpu-used
    value specified.

    Note that this also changes the default for VP8 as being "good"
    but other options stay unchanged.

    Change-Id : Ib23c1a05ae2f36ee076c0e34403efbda518c5066

  • How to read video frame by frame in C# .NET Framework 4.8 ?

    27 septembre 2022, par Brendan Hill

    I need to read a video file (.mkv format, h264, 1280x720) frame by frame for video processing.

    


    I am stuck with .NET Framework 4.8 due to dependencies.

    


    Having tried Accord.net VideoFileReader I am unable to read them due to :

    


    [matroska,webm @ 0000024eb36e5c00] Could not find codec parameters for stream 0 (Video: h264, none(progressive), 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Assertion desc failed at src/libswscale/swscale_internal.h:674


    


    Unfortunately Accord.NET does not give me much control over the ffmpeg request and the project seems to have died (and .NET Framework has died (and C# has died)).

    


    What are some alternatives which would allow me to read a .mkv file in h264 format frame by frame ?

    


    NOTE - FFmpeg.NET does not seem to support getting frame bitmaps ; neither does MediaToolkit :(

    


    NOTE - this page has the same problem (last comment 2020) but no resolution :( https://github.com/accord-net/framework/issues/713