Recherche avancée

Médias (91)

Autres articles (50)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5683)

  • ffmpeg does not copy custom metadata

    20 juin 2015, par e110c0

    I’m trying to fix some videos made with an iDevice. The videos have a rotation in the metadata which is only understood by Apple and its software but noone else. Fixing this is quite simple, but I also would like to keep the other metadata in the files like the geolocation.

    I tried a couple of versions, all with the same result, e.g. :

    ffmpeg -i input.mov -vf vflip,hflip -map_metadata 0 -metadata:s:v:0 rotate=0  -acodec copy output.mp4

    This should work, it already gives the correct preview of metadata :

    ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb  8 2013 23:55:22 with Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/1.1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
    libavutil      52. 13.100 / 52. 13.100
    libavcodec     54. 86.100 / 54. 86.100
    libavformat    54. 59.106 / 54. 59.106
    libavdevice    54.  3.102 / 54.  3.102
    libavfilter     3. 32.100 /  3. 32.100
    libswscale      2.  1.103 /  2.  1.103
    libswresample   0. 17.102 /  0. 17.102
    libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2013-02-17 00.39.36.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2013-02-16 23:39:25
       model           : iPhone 5
       model-deu       : iPhone 5
       encoder         : 6.1
       encoder-deu     : 6.1
       date            : 2013-02-17T00:39:25+0100
       date-deu        : 2013-02-17T00:39:25+0100
       location        : +48.2683+007.7205+172.710/
       location-deu    : +48.2683+007.7205+172.710/
       make            : Apple
       make-deu        : Apple
     Duration: 00:00:09.67, start: 0.000000, bitrate: 16764 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 16696 kb/s, 24 fps, 24 tbr, 600 tbn, 1200 tbc
       Metadata:
         rotate          : 180
         creation_time   : 2013-02-16 23:39:25
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 61 kb/s
       Metadata:
         creation_time   : 2013-02-16 23:39:25
         handler_name    : Core Media Data Handler
    w:1920 h:1080 pixfmt:yuv420p tb:1/600 fr:24/1 sar:0/1 sws_param:flags=2
    [libx264 @ 0x7fc248829a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x7fc248829a00] profile High, level 4.0
    [libx264 @ 0x7fc248829a00] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

    Output #0, mp4, to 'output.mp4':
    Metadata:
     major_brand     : qt  
     minor_version   : 0
     compatible_brands: qt  
     creation_time   : 2013-02-16 23:39:25
     model           : iPhone 5
     model-deu       : iPhone 5
     encoder-deu     : 6.1
     date            : 2013-02-17T00:39:25+0100
     date-deu        : 2013-02-17T00:39:25+0100
     location        : +48.2683+007.7205+172.710/
     location-deu    : +48.2683+007.7205+172.710/
     make            : Apple
     make-deu        : Apple
     encoder         : Lavf54.59.106
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080, q=-1--1, 12288 tbn, 24 tbc
    Metadata:
     handler_name    : Core Media Data Handler
     creation_time   : 2013-02-16 23:39:25
     rotate          : 0
    Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, 61 kb/s
    Metadata:
     creation_time   : 2013-02-16 23:39:25
     handler_name    : Core Media Data Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (copy)

    But the resulting file keeps only some of these metadata tags :

    ffmpeg -i output.mp4

    shows :

    fmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb  8 2013 23:55:22 with Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/1.1.2 --enable-shared --enable-pthreads -  -enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
    libavutil      52. 13.100 / 52. 13.100
    libavcodec     54. 86.100 / 54. 86.100
    libavformat    54. 59.106 / 54. 59.106
    libavdevice    54.  3.102 / 54.  3.102
    libavfilter     3. 32.100 /  3. 32.100
    libswscale      2.  1.103 /  2.  1.103
    libswresample   0. 17.102 /  0. 17.102
    libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
    Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     creation_time   : 2013-02-16 23:39:25
     date            : 2013-02-17T00:39:25+0100
     encoder         : Lavf54.59.106
    Duration: 00:00:09.67, start: 0.000000, bitrate: 3286 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3219 kb/s, 24 fps, 24 tbr, 12288 tbn, 24 tbc
     Metadata:
       creation_time   : 2013-02-16 23:39:25
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 61 kb/s
     Metadata:
       creation_time   : 2013-02-16 23:39:25
       handler_name    : SoundHandler

    I also tried to add the one tag I’m interested in by hand with

    -metadata:g location=+48.2683+007.7205+172.710/

    with no change in the result.

    Output as .mov doesn’t change anything, neither.

    Is there any trick to add non-standard metadata ? How do I get the location back in there ?

    Thanks in advance to anyone who can give some insight on this.

  • streaming FLV to RTMP with FFMpeg using H264 codec and C++ API to flv.js

    5 février 2018, par Jan Kuri

    I would like to stream live video from webcam using OpenCV using H264 codec and converting that to FLV then stream over RTMP server and catch the stream in browser with flv.js. Basically I have everything working except that I cannot read stream in flv.js. I can open stream with ffplay so I think at least most of the things are set correctly.

    My current implementation :

    #include <iostream>
    #include <vector>

    #include <opencv2></opencv2>highgui.hpp>
    #include <opencv2></opencv2>video.hpp>

    extern "C" {
    #include <libavformat></libavformat>avformat.h>
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavutil></libavutil>avutil.h>
    #include <libavutil></libavutil>pixdesc.h>
    #include <libavutil></libavutil>imgutils.h>
    #include <libswscale></libswscale>swscale.h>
    }

    void stream_video(double width, double height, int fps, int camID)
    {
     av_register_all();
     avformat_network_init();

     const char *output = "rtmp://localhost/live/stream";
     const AVRational dst_fps = {fps, 1};
     int ret;

     // initialize video capture device
     cv::VideoCapture cam(camID);
     if (!cam.isOpened())
     {
       std::cout &lt;&lt; "Failed to open video capture device!" &lt;&lt; std::endl;
       exit(1);
     }

     cam.set(cv::CAP_PROP_FRAME_WIDTH, width);
     cam.set(cv::CAP_PROP_FRAME_HEIGHT, height);

     // allocate cv::Mat with extra bytes (required by AVFrame::data)
     std::vector imgbuf(height * width * 3 + 16);
     cv::Mat image(height, width, CV_8UC3, imgbuf.data(), width * 3);

     // open output format context
     AVFormatContext *outctx = nullptr;
     ret = avformat_alloc_output_context2(&amp;outctx, nullptr, "flv", output);
     if (ret &lt; 0)
     {
       std::cout &lt;&lt; "Could not allocate output format context!" &lt;&lt; std::endl;
       exit(1);
     }

     // open output IO context
     if (!(outctx->oformat->flags &amp; AVFMT_NOFILE))
     {
       ret = avio_open2(&amp;outctx->pb, output, AVIO_FLAG_WRITE, nullptr, nullptr);
       if (ret &lt; 0)
       {
         std::cout &lt;&lt; "Could not open output IO context!" &lt;&lt; std::endl;
         exit(1);
       }
     }

     // create new video stream
     AVCodec *codec = avcodec_find_encoder(AV_CODEC_ID_H264);
     AVStream *strm = avformat_new_stream(outctx, codec);
     AVCodecContext *avctx = avcodec_alloc_context3(codec);

     avctx->codec_id = AV_CODEC_ID_H264;
     avctx->width = width;
     avctx->height = height;
     avctx->pix_fmt = AV_PIX_FMT_YUV420P;
     avctx->framerate = dst_fps;
     avctx->time_base = av_inv_q(dst_fps);

     ret = avcodec_parameters_from_context(strm->codecpar, avctx);
     if (ret &lt; 0)
     {
       std::cout &lt;&lt; "Could not initialize stream codec parameters!" &lt;&lt; std::endl;
       exit(1);
     }

     AVDictionary *opts = nullptr;
     av_dict_set(&amp;opts, "preset", "superfast", 0);
     av_dict_set(&amp;opts, "tune", "zerolatency", 0);

     // open video encoder
     ret = avcodec_open2(avctx, codec, &amp;opts);
     if (ret &lt; 0)
     {
       std::cout &lt;&lt; "Could not open video encoder!" &lt;&lt; std::endl;
       exit(1);
     }

     // initialize sample scaler
     SwsContext *swsctx = sws_getContext(width, height, AV_PIX_FMT_BGR24, width, height, avctx->pix_fmt, SWS_BICUBIC, nullptr, nullptr, nullptr);
     if (!swsctx)
     {
       std::cout &lt;&lt; "Could not initialize sample scaler!" &lt;&lt; std::endl;
       exit(1);
     }

     // allocate frame buffer for encoding
     AVFrame *frame = av_frame_alloc();

     std::vector framebuf(av_image_get_buffer_size(avctx->pix_fmt, width, height, 1));
     av_image_fill_arrays(frame->data, frame->linesize, framebuf.data(), avctx->pix_fmt, width, height, 1);
     frame->width = width;
     frame->height = height;
     frame->format = static_cast<int>(avctx->pix_fmt);

     // write header
     ret = avformat_write_header(outctx, nullptr);
     if (ret &lt; 0)
     {
       std::cout &lt;&lt; "Could not write header!" &lt;&lt; std::endl;
       exit(1);
     }

     // encoding loop
     int64_t frame_pts = 0;
     unsigned nb_frames = 0;
     bool end_of_stream = false;

     do
     {
       nb_frames++;

       if (!end_of_stream)
       {
         cam >> image;
         // convert cv::Mat to AVFrame.
         const int stride[] = {static_cast<int>(image.step[0])};
         sws_scale(swsctx, &amp;image.data, stride, 0, image.rows, frame->data, frame->linesize);
         frame->pts = frame_pts++;
       }
       // encode video frame.
       AVPacket pkt = {0};
       av_init_packet(&amp;pkt);

       ret = avcodec_send_frame(avctx, frame);
       if (ret &lt; 0)
       {
         std::cout &lt;&lt; "Error sending frame to codec context!" &lt;&lt; std::endl;
         exit(1);
       }

       ret = avcodec_receive_packet(avctx, &amp;pkt);
       if (ret &lt; 0)
       {
         std::cout &lt;&lt; "Error receiving packet from codec context!" &lt;&lt; std::endl;
         exit(1);
       }

       // rescale packet timestamp.
       av_packet_rescale_ts(&amp;pkt, avctx->time_base, strm->time_base);
       // write packet.
       pkt.pts = AV_NOPTS_VALUE;
       pkt.dts = AV_NOPTS_VALUE;
       av_interleaved_write_frame(outctx, &amp;pkt);

       std::cout &lt;&lt; " Frames: " &lt;&lt; nb_frames &lt;&lt; '\r' &lt;&lt; std::flush;

       av_packet_unref(&amp;pkt);
     } while (!end_of_stream);

     av_write_trailer(outctx);
     std::cout &lt;&lt; nb_frames &lt;&lt; " frames encoded" &lt;&lt; std::endl;

     av_frame_free(&amp;frame);
     avcodec_close(avctx);
     avio_close(outctx->pb);
     avformat_free_context(outctx);
    }

    int main()
    {
     double width = 1280, height = 720, fps = 30;
     int camID = 1;

     stream_video(width, height, fps, camID);

     return 0;
    }
    </int></int></vector></iostream>

    As I said before I can successfully open the stream with ffplay rtmp://localhost/live/stream or ffplay http://localhost:8000/live/stream.flv but I cannot open the stream with flv.js player inside browser with getting errors :

    flv: Invalid AVCDecoderConfigurationRecord, lack of data!
    [FLVDemuxer] > Malformed Nalus near timestamp 0, NaluSize > DataSize!
    [FLVDemuxer] > Malformed Nalus near timestamp 1, NaluSize > DataSize!
    [FLVDemuxer] > Malformed Nalus near timestamp 2, NaluSize > DataSize!
    ....

    I would really appreciate any help of fixing the stream to work properly with flv.js, if I stream video like ffmpeg -re -i input.mp4 -c copy -f flv rtmp://localhost/live/stream I can open stream in flv.js without any issues, so "this command" I would like to achieve inside code roughly.
    I also put my code on GitHub repository here if someone would like to compile the code and check on it.

  • (osx) ffmpeg combining mp3 and png to mp4 resulting in mp4 with no audio

    18 juin 2016, par Ian H

    I’m writing a python script that uses unix commands to do some file conversions/renderings. I’m trying to join some mp3 files with png files to get mp4s that are the picture with the mp3 playing over them. However, I’ve tried this with lots of different codecs and settings, and the output mp4 video never seems to have audio in it. I’ve looked at any answer to any question even related to ffmpeg and haven’t found a solution.

    Some commands I’m trying to get working currently :

    ffmpeg -loop 1 -i slide_shot%d.png -i %s -c:v libx264 -pix_fmt yuv420p
    -s 720x540 -t %.3f -c:a aac -b:a 192k -shortest out%d.mp4"
    % (i, aud, slideTime, i)

    ffmpeg -loop 1 -i slide_shot%d.png -i %s -shortest -t %.3f -write_xing
    0 -c:v libx264 -c:a libmp3lame -pix_fmt yuv420p -tune stillimage out%d.mp4"
    % (i, aud, slideTime, i)

    ffmpeg -loop 1 -i slide_shot%d.png -i %s -shortest -t %.3f -write_xing
    0 -c:v libx264 -c:a copy -pix_fmt yuv420p -tune stillimage out%d.mp4"
    % (i, aud, slideTime, i)

    I’m currently using the third one. However, none of them are giving me any audio. For reference, i is a loop iterator for naming consistency, aud is the audio filepath, and slideTime is the number of seconds the video should take.

    Using this command, I’m currently getting this output in the Terminal :

    ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
    built with Apple LLVM version 7.0.2 (clang-700.1.81)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.2 --enable-shared    
    --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-
    tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --
    enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --
    enable-vda
    libavutil      55. 17.103 / 55. 17.103
    libavcodec     57. 24.102 / 57. 24.102
    libavformat    57. 25.100 / 57. 25.100
    libavdevice    57.  0.101 / 57.  0.101
    libavfilter     6. 31.100 /  6. 31.100
    libavresample   3.  0.  0 /  3.  0.  0
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.101 /  2.  0.101
    libpostproc    54.  0.100 / 54.  0.100
    Input #0, png_pipe, from 'slide_shot16.png':
    Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 720x540, 25 fps, 25 tbr, 25 tbn, 25    
    tbc
    [mp3 @ 0x7fe4f1817e00] Skipping 0 bytes of junk at 0.
    [mp3 @ 0x7fe4f1817e00] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'pres_projects/Cytokine sepsis 13/data/a24x43.mp3':
    Duration: 00:02:04.11, start: 0.000000, bitrate: 23 kb/s
    Stream #1:0: Audio: mp3, 22050 Hz, mono, s16p, 24 kb/s
    [libx264 @ 0x7fe4f1808000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x7fe4f1808000] profile High, level 3.0
    [libx264 @ 0x7fe4f1808000] 264 - core 148 r2668 fd2c324 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:-3:-3 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=2.00:0.70 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.20
    Output #0, mp4, to 'out16.mp4':
    Metadata:
    encoder         : Lavf57.25.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x540, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
     encoder         : Lavc57.24.102 libx264
    Side data:
     unknown side data type 10 (24 bytes)
    Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 22050 Hz, mono, 24 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
    Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  132 fps=0.0 q=28.0 size=40kB time=00:00:02.96 bitrate=111.8kbits/
    frame=  272 fps=271 q=28.0 size=      61kB time=00:00:08.56 bitrate=  58.2kbits/
    frame=  404 fps=269 q=28.0 size=     113kB time=00:00:13.84 bitrate=  66.6kbits/
    frame=  537 fps=268 q=28.0 size=     132kB time=00:00:19.16 bitrate=  56.2kbits/
    frame=  672 fps=268 q=28.0 size=     184kB time=00:00:24.56 bitrate=  61.3kbits/
    frame=  808 fps=268 q=28.0 size=     236kB time=00:00:30.00 bitrate=  64.5kbits/
    frame=  943 fps=268 q=28.0 size=     255kB time=00:00:35.40 bitrate=  59.1kbits/
    frame= 1087 fps=271 q=28.0 size=     309kB time=00:00:41.16 bitrate=  61.5kbits/
    frame= 1219 fps=270 q=28.0 size=     328kB time=00:00:46.44 bitrate=  57.8kbits/
    frame= 1355 fps=270 q=28.0 size=     380kB time=00:00:51.88 bitrate=  60.0kbits/frame= 1494 fps=271 q=28.0 size=     400kB time=00:00:57.44 bitrate=  57.1kbits/
    frame= 1632 fps=271 q=28.0 size=     453kB time=00:01:02.96 bitrate=  58.9kbits/
    frame= 1767 fps=271 q=28.0 size=     472kB time=00:01:08.36 bitrate=  56.6kbits/
    frame= 1893 fps=269 q=28.0 size=     523kB time=00:01:13.40 bitrate=  58.4kbits/
    frame= 2020 fps=268 q=28.0 size=     541kB time=00:01:18.48 bitrate=  56.5kbits/
    frame= 2147 fps=267 q=28.0 size=     592kB time=00:01:23.56 bitrate=  58.1kbits/
    frame= 2275 fps=267 q=28.0 size=     611kB time=00:01:28.68 bitrate=  56.4kbits/
    frame= 2401 fps=266 q=28.0 size=     661kB time=00:01:33.72 bitrate=  57.8kbits/
    frame= 2528 fps=265 q=28.0 size=     680kB time=00:01:38.80 bitrate=  56.4kbits/
    frame= 2654 fps=264 q=28.0 size=     731kB time=00:01:43.84 bitrate=  57.6kbits/
    frame= 2781 fps=264 q=28.0 size=     749kB time=00:01:48.92 bitrate=  56.3kbits/
    frame= 2906 fps=263 q=28.0 size=     799kB time=00:01:53.92 bitrate=  57.5kbits/
    frame= 3033 fps=263 q=28.0 size=     818kB time=00:01:59.00 bitrate=  56.3kbits/
    frame= 3102 fps=261 q=-1.0 Lsize=     983kB time=00:02:04.08 bitrate=  64.9kbits/s speed=10.5x    
    video:505kB audio:364kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 13.169518%
    [libx264 @ 0x7fe4f1808000] frame I:13    Avg QP:14.07  size: 33159
    [libx264 @ 0x7fe4f1808000] frame P:782   Avg QP: 6.24  size:    36
    [libx264 @ 0x7fe4f1808000] frame B:2307  Avg QP: 9.67  size:    25
    [libx264 @ 0x7fe4f1808000] consecutive B-frames:  0.8%  0.0%  0.0% 9 9.2%
    [libx264 @ 0x7fe4f1808000] mb I  I16..4: 44.1% 26.2% 29.6%
    [libx264 @ 0x7fe4f1808000] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
    [libx264 @ 0x7fe4f1808000] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:40.4% L1:59.6% BI: 0.0%
    [libx264 @ 0x7fe4f1808000] 8x8 transform intra:26.1% inter:77.7%
    [libx264 @ 0x7fe4f1808000] coded y,uvDC,uvAC intra: 23.8% 9.6% 8.1% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0x7fe4f1808000] i16 v,h,dc,p: 60% 33%  7%  0%
    [libx264 @ 0x7fe4f1808000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 57% 12% 29%  0%  0%  0%  0%  0%  2%
    [libx264 @ 0x7fe4f1808000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 29% 14%  2%  3%  4%  4%  3%  4%
    [libx264 @ 0x7fe4f1808000] i8c dc,h,v,p: 74% 21%  5%  0%
    [libx264 @ 0x7fe4f1808000] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x7fe4f1808000] ref P L0: 95.4%  1.1%  3.5%
    [libx264 @ 0x7fe4f1808000] ref B L0:  8.5% 90.2%  1.3%
    [libx264 @ 0x7fe4f1808000] kb/s:33.31

    Has anyone ran into a similar problem, and if so, how did you go about fixing it ? Thanks in advance for looking at my question.