Recherche avancée

Médias (91)

Autres articles (79)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (6961)

  • How to speedup image processing (e.g. resizing, jpeg compress, encode) using ffmpeg command line utility from python on windows

    28 mars 2020, par MSD Paul

    I am running ffmpeg commands to downsizing and jpeg compression of a 4K image using command prompt on windows 10. But its taking a long time. To downsize, jpeg compress and finally encode to a video file it takes more than 500 ms.

    I can’t do the processing on images on batch but I have tried -hwaccel and -threads option (also -loglevel quiet for suppressing the logs being printed) in order to speedup the ffmpeg processing. Can someone please guide me towards how can I possibly speedup the ffmpeg command processing.

    Is it possible to pass the image files already read into memory using read() API to the ffmpeg command ?

    Please also let me know if there exists any other possible speedup techniques.

    Updated log :
    ffmpeg -i pic_1_org.png -vf scale=960 :-1 -q:v 80 -c:v libx264 -qp 25 -y temp_1.mp4

    *

    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (GCC)
     configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [png_pipe @ 00000000001e7920] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, png_pipe, from 'pic_1_org.png':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: png, rgb24(pc), 3840x2160 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 000000000260dcc0] -qscale is ignored, -crf is recommended.
    [libx264 @ 000000000260dcc0] using SAR=1/1
    [libx264 @ 000000000260dcc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 000000000260dcc0] profile High 4:4:4 Predictive, level 3.1, 4:4:4 8-bit
    [libx264 @ 000000000260dcc0] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=4 threads=17 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=cqp mbtree=0 qp=25 ip_ratio=1.40 pb_ratio=1.30 aq=0
    Output #0, mp4, to 'temp_1.mp4':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.64.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=22.0 Lsize=     135kB time=00:00:00.00 bitrate=14197538.5kbits/s speed=0.000451x
    video:134kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.594442%
    [libx264 @ 000000000260dcc0] frame I:1     Avg QP:22.00  size:136966
    [libx264 @ 000000000260dcc0] mb I  I16..4: 13.4% 32.1% 54.5%
    [libx264 @ 000000000260dcc0] 8x8 transform intra:32.1%
    [libx264 @ 000000000260dcc0] coded y,u,v intra: 80.3% 59.0% 55.2%
    [libx264 @ 000000000260dcc0] i16 v,h,dc,p:  5% 70%  5% 19%
    [libx264 @ 000000000260dcc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  5% 38% 14%  4%  5%  4% 14%  3% 14%
    [libx264 @ 000000000260dcc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 24% 10%  5%  6%  4% 26%  3% 14%
    [libx264 @ 000000000260dcc0] kb/s:27393.20
    time needed to execute : 478.073120 ms

    *

  • FFMPEG : custom sequence input images

    31 juillet 2018, par Dmitriy Puchkov

    I created a video from a set of images.

    The command look like :

    ffmpeg -i bg.jpeg -i img_%d.png -filter_complex overlay=5:H-h-5[b]-shortest testvid.mp4

    Problem :

    The input -i img_%d.png means img_0.png, img_1.png, img_2.png, ...

    But I have custom sequence like this : {img_0.png, img_1.png, img_1.png, img_2.png, img_1.png, img5.png, img_4.png}

    Question :

    Can I put my image sequence into input of ffmpeg ?

    Updated

    cmd :

    ffmpeg -i bg.jpeg -f concat -fflags +genpts -i test.txt -filter_complex overlay=5:H-h-5 -shortest testvid.mp4

    output :

    ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --enable-gpl --enable-libx264 --enable-libfreetype
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, image2, from 'bg.jpeg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 47329 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 600x800 [SAR 1:1 DAR 3:4], 25 tbr, 25 tbn, 25 tbc
    Input #1, concat, from 'test.txt':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: png, pal8(pc), 200x200, 25 tbr, 25 tbn, 25 tbc
    File 'testvid.mp4' already exists. Overwrite ? [y/N] y
    [swscaler @ 0x2a18360] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x2a05d80] using SAR=1/1
    [libx264 @ 0x2a05d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x2a05d80] profile High, level 3.1
    [libx264 @ 0x2a05d80] 264 - core 148 r2705 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=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.00
    [mp4 @ 0x2a04b20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Output #0, mp4, to 'testvid.mp4':
     Metadata:
       encoder         : Lavf57.41.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 600x800 [SAR 1:1 DAR 3:4], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         encoder         : Lavc57.48.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 (mjpeg) -> overlay:main
     Stream #1:0 (png) -> overlay:overlay
     overlay -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    [concat @ 0x29e2400] DTS -230575710986777 < 0 out of order
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    frame=    4 fps=0.0 q=-1.0 Lsize=      39kB time=00:00:00.04 bitrate=8050.9kbits/s dup=0 drop=65 speed=0.516x    
    video:39kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.222729%
    [libx264 @ 0x2a05d80] frame I:1     Avg QP:24.64  size: 37536
    [libx264 @ 0x2a05d80] frame P:1     Avg QP:27.18  size:  1085
    [libx264 @ 0x2a05d80] frame B:2     Avg QP:29.93  size:    73
    [libx264 @ 0x2a05d80] consecutive B-frames: 25.0%  0.0% 75.0%  0.0%
    [libx264 @ 0x2a05d80] mb I  I16..4:  1.7% 86.1% 12.2%
    [libx264 @ 0x2a05d80] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  1.7%  1.3%  1.5%  0.0%  0.0%    skip:95.5%
    [libx264 @ 0x2a05d80] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.4%  0.0%  0.0%  direct: 0.0%  skip:97.6%  L0:62.6% L1:37.4% BI: 0.0%
    [libx264 @ 0x2a05d80] 8x8 transform intra:86.1% inter:33.9%
    [libx264 @ 0x2a05d80] coded y,uvDC,uvAC intra: 91.5% 84.4% 38.5% inter: 0.6% 0.4% 0.1%
    [libx264 @ 0x2a05d80] i16 v,h,dc,p:  9% 12%  3% 76%
    [libx264 @ 0x2a05d80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 17%  8%  4%  5%  5%  7% 10%
    [libx264 @ 0x2a05d80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 18% 10% 10%  9%  7% 10%  8%  7%
    [libx264 @ 0x2a05d80] i8c dc,h,v,p: 45% 21% 26%  8%
    [libx264 @ 0x2a05d80] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x2a05d80] ref B L0: 84.2% 15.8%
    [libx264 @ 0x2a05d80] kb/s:1938.35
  • FFMPEG : custom sequence input images

    14 juillet 2016, par gabber

    I created a video from a set of images.

    The command look like :

    ffmpeg -i bg.jpeg -i img_%d.png -filter_complex overlay=5:H-h-5[b]-shortest testvid.mp4

    Problem :

    The input -i img_%d.png means img_0.png, img_1.png, img_2.png, ...

    But I have custom sequence like this : {img_0.png, img_1.png, img_1.png, img_2.png, img_1.png, img5.png, img_4.png}

    Question :

    Can I put my image sequence into input of ffmpeg ?

    Updated

    cmd :

    ffmpeg -i bg.jpeg -f concat -fflags +genpts -i test.txt -filter_complex overlay=5:H-h-5 -shortest testvid.mp4

    output :

    ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --enable-gpl --enable-libx264 --enable-libfreetype
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, image2, from 'bg.jpeg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 47329 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 600x800 [SAR 1:1 DAR 3:4], 25 tbr, 25 tbn, 25 tbc
    Input #1, concat, from 'test.txt':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: png, pal8(pc), 200x200, 25 tbr, 25 tbn, 25 tbc
    File 'testvid.mp4' already exists. Overwrite ? [y/N] y
    [swscaler @ 0x2a18360] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x2a05d80] using SAR=1/1
    [libx264 @ 0x2a05d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x2a05d80] profile High, level 3.1
    [libx264 @ 0x2a05d80] 264 - core 148 r2705 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=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.00
    [mp4 @ 0x2a04b20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Output #0, mp4, to 'testvid.mp4':
     Metadata:
       encoder         : Lavf57.41.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 600x800 [SAR 1:1 DAR 3:4], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         encoder         : Lavc57.48.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 (mjpeg) -> overlay:main
     Stream #1:0 (png) -> overlay:overlay
     overlay -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    [concat @ 0x29e2400] DTS -230575710986777 < 0 out of order
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    DTS -230575710986777, next:40000 st:0 invalid dropping
    PTS -230575710986777, next:40000 invalid dropping st:0
    frame=    4 fps=0.0 q=-1.0 Lsize=      39kB time=00:00:00.04 bitrate=8050.9kbits/s dup=0 drop=65 speed=0.516x    
    video:39kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.222729%
    [libx264 @ 0x2a05d80] frame I:1     Avg QP:24.64  size: 37536
    [libx264 @ 0x2a05d80] frame P:1     Avg QP:27.18  size:  1085
    [libx264 @ 0x2a05d80] frame B:2     Avg QP:29.93  size:    73
    [libx264 @ 0x2a05d80] consecutive B-frames: 25.0%  0.0% 75.0%  0.0%
    [libx264 @ 0x2a05d80] mb I  I16..4:  1.7% 86.1% 12.2%
    [libx264 @ 0x2a05d80] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  1.7%  1.3%  1.5%  0.0%  0.0%    skip:95.5%
    [libx264 @ 0x2a05d80] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.4%  0.0%  0.0%  direct: 0.0%  skip:97.6%  L0:62.6% L1:37.4% BI: 0.0%
    [libx264 @ 0x2a05d80] 8x8 transform intra:86.1% inter:33.9%
    [libx264 @ 0x2a05d80] coded y,uvDC,uvAC intra: 91.5% 84.4% 38.5% inter: 0.6% 0.4% 0.1%
    [libx264 @ 0x2a05d80] i16 v,h,dc,p:  9% 12%  3% 76%
    [libx264 @ 0x2a05d80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 17%  8%  4%  5%  5%  7% 10%
    [libx264 @ 0x2a05d80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 18% 10% 10%  9%  7% 10%  8%  7%
    [libx264 @ 0x2a05d80] i8c dc,h,v,p: 45% 21% 26%  8%
    [libx264 @ 0x2a05d80] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x2a05d80] ref B L0: 84.2% 15.8%
    [libx264 @ 0x2a05d80] kb/s:1938.35