Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (81)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

  • avformat/dashdec : Check whitelist

    15 janvier, par Michael Niedermayer
    avformat/dashdec : Check whitelist
    

    Fixes : CVE-2023-6602, V. DASH Playlist SSRF

    Found-by : Harvey Phillips of Amazon Element55 (element55)
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dashdec.c
  • How to resize dimensions of video through ffmpeg-python ?

    25 janvier, par kunambi

    I'm trying to resize a video file which a user has uploaded to Django, by using ffmpeg-python. The documentation isn't very easy to understand, so I've tried to cobble this together from various sources.

    &#xA;

    This method is run in a celery container, in order to not slow the experience for the user. The problem I'm facing is that I can't seem to resize the video file. I've tried two different approaches :

    &#xA;

    from django.db import models&#xA;from io import BytesIO&#xA;from myapp.models import MediaModel&#xA;&#xA;&#xA;def resize_video(mypk: str) -> None:&#xA;    instance = MediaModel.objects.get(pk=mypk)&#xA;    media_instance: models.FileField = instance.media&#xA;    media_output = "test.mp4"&#xA;    buffer = BytesIO()&#xA;&#xA;    for chunk in media_instance.chunks():&#xA;        buffer.write(chunk)&#xA;&#xA;    stream_video = ffmpeg.input("pipe:").video.filter("scale", 720, -1)  # resize to 720px width&#xA;    stream_audio = ffmpeg.input("pipe:").audio&#xA;    process = (&#xA;        ffmpeg.output(stream_video, stream_audio, media_output, acodec="aac")&#xA;        .overwrite_output()&#xA;        .run_async(pipe_stdin=True, quiet=True)&#xA;    )&#xA;    buffer.seek(0)&#xA;    process_out, process_err = process.communicate(input=buffer.getbuffer())&#xA;    # (pdb) process_out&#xA;    # b&#x27;&#x27;&#xA;&#xA;    # attempting to use `.concat` instead&#xA;    process2 = (&#xA;        ffmpeg.concat(stream_video, stream_audio, v=1, a=1)&#xA;        .output(media_output)&#xA;        .overwrite_output()&#xA;        .run_async(pipe_stdin=True, quiet=True)&#xA;    )&#xA;    buffer.seek(0)&#xA;    process2_out, process2_err = process2.communicate(input=buffer.getbuffer())&#xA;    # (pdb) process2_out&#xA;    # b&#x27;&#x27;&#xA;

    &#xA;

    As we can see, no matter which approach chosen, the output is an empty binary. The process_err and process2_err both generate the following message :

    &#xA;

    ffmpeg version N-111491-g31979127f8-20230717 Copyright (c) 2000-2023 the&#xA;FFmpeg developers&#xA;  built with gcc 13.1.0 (crosstool-NG 1.25.0.196_227d99d)&#xA;  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static&#xA;--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64&#xA;--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug&#xA;--disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2&#xA;--enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp&#xA;--enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl&#xA;--disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib&#xA;--enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth&#xA;--enable-chromaprint --enable-libdav1d --enable-libdavs2&#xA;--disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r&#xA;--enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray&#xA;--enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist&#xA;--enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp&#xA;--enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb&#xA;--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg&#xA;--enable-libopenmpt --enable-librav1e --enable-librubberband&#xA;--enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt&#xA;--enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm&#xA;--disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc&#xA;--enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2&#xA;--enable-libxvid --enable-libzimg --enable-libzvbi&#xA;--extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags=&#xA;--extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp&#xA;--extra-version=20230717&#xA;  libavutil      58. 14.100 / 58. 14.100&#xA;  libavcodec     60. 22.100 / 60. 22.100&#xA;  libavformat    60. 10.100 / 60. 10.100&#xA;  libavdevice    60.  2.101 / 60.  2.101&#xA;  libavfilter     9.  8.102 /  9.  8.102&#xA;  libswscale      7.  3.100 /  7.  3.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;  libpostproc    57.  2.100 / 57.  2.100&#xA; "Input #0, mov,mp4,m4a,3gp,3g2,mj2, frompipe:&#x27;:\r\n"&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42mp41&#xA;    creation_time   : 2020-11-10T15:01:09.000000Z&#xA;  Duration: 00:00:04.16, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661),&#xA;yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 2649 kb/s, 25 fps, 25&#xA;tbr, 25k tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-11-10T15:01:09.000000Z&#xA;      handler_name    : ?Mainconcept Video Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : AVC Coding&#xA;  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,&#xA;stereo, fltp, 317 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-11-10T15:01:09.000000Z&#xA;      handler_name    : #Mainconcept MP4 Sound Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> scale:default (graph 0)&#xA;  scale:default (graph 0) -> Stream #0:0 (libx264)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;[libx264 @ 00000243a23a1100] using SAR=1/1&#xA;[libx264 @ 00000243a23a1100] using cpu capabilities: MMX2 SSE2Fast SSSE3&#xA;SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 00000243a23a1100] profile High, level 3.0, 4:2:0, 8-bit&#xA;[libx264 @ 00000243a23a1100] 264 - core 164 - H.264/MPEG-4 AVC codec -&#xA;Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=1&#xA;ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00&#xA;mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11&#xA;fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1&#xA;sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0&#xA;constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1&#xA;weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40&#xA;intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0&#xA;qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA; "Output #0, mp4, toaa37f8d7685f4df9af85b1cdcd95997e.mp4&#x27;:\r\n"&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42mp41&#xA;    encoder         : Lavf60.10.100&#xA;  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive),&#xA;800x450 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn&#xA;    Metadata:&#xA;      encoder         : Lavc60.22.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,&#xA;fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-11-10T15:01:09.000000Z&#xA;      handler_name    : #Mainconcept MP4 Sound Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.22.100 aac&#xA;frame=    0 fps=0.0 q=0.0 size=       0kB time=N/A bitrate=N/A&#xA;speed=N/A    \r&#x27;&#xA;frame=   21 fps=0.0 q=28.0 size=       0kB time=00:00:02.75 bitrate=  &#xA;0.1kbits/s speed=4.75x    \r&#x27;&#xA;[out#0/mp4 @ 00000243a230bd80] video:91kB audio:67kB subtitle:0kB other&#xA;streams:0kB global headers:0kB muxing overhead: 2.838559%&#xA;frame=  104 fps=101 q=-1.0 Lsize=     162kB time=00:00:04.13 bitrate=&#xA;320.6kbits/s speed=4.02x    &#xA;[libx264 @ 00000243a23a1100] frame I:1     Avg QP:18.56  size:  2456&#xA;[libx264 @ 00000243a23a1100] frame P:33    Avg QP:16.86  size:  1552&#xA;[libx264 @ 00000243a23a1100] frame B:70    Avg QP:17.55  size:   553&#xA;[libx264 @ 00000243a23a1100] consecutive B-frames:  4.8% 11.5% 14.4%&#xA;69.2%&#xA;[libx264 @ 00000243a23a1100] mb I  I16..4: 17.3% 82.1%  0.6%&#xA;[libx264 @ 00000243a23a1100] mb P  I16..4:  5.9% 15.2%  0.4%  P16..4: 18.3% &#xA;0.9%  0.4%  0.0%  0.0%    skip:58.7%&#xA;[libx264 @ 00000243a23a1100] mb B  I16..4:  0.8%  0.3%  0.0%  B16..8: 15.4% &#xA;1.0%  0.0%  direct: 3.6%  skip:78.9%  L0:34.2% L1:64.0% BI: 1.7%&#xA;[libx264 @ 00000243a23a1100] 8x8 transform intra:68.2% inter:82.3%&#xA;[libx264 @ 00000243a23a1100] coded y,uvDC,uvAC intra: 4.2% 18.4% 1.2% inter:&#xA;1.0% 6.9% 0.0%&#xA;[libx264 @ 00000243a23a1100] i16 v,h,dc,p: 53% 25%  8% 14%&#xA;[libx264 @ 00000243a23a1100] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19%  6% 70%  1% &#xA;1%  1%  1%  0%  0%&#xA;[libx264 @ 00000243a23a1100] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 46% 21% 15%  2% &#xA;5%  4%  3%  3%  1%&#xA;[libx264 @ 00000243a23a1100] i8c dc,h,v,p: 71% 15% 13%  1%&#xA;[libx264 @ 00000243a23a1100] Weighted P-Frames: Y:30.3% UV:15.2%&#xA;[libx264 @ 00000243a23a1100] ref P L0: 46.7%  7.5% 34.6%  7.3%  3.9%&#xA;[libx264 @ 00000243a23a1100] ref B L0: 88.0% 10.5%  1.5%&#xA;[libx264 @ 00000243a23a1100] ref B L1: 98.1%  1.9%&#xA;[libx264 @ 00000243a23a1100] kb/s:177.73&#xA;[aac @ 00000243a23a2e00] Qavg: 1353.589&#xA;

    &#xA;

    I'm at a loss right now, would love any feedback/solution.

    &#xA;

  • ffmpeg piped output producing incorrect metadata frame count

    8 décembre 2024, par Xorgon

    The short version : Using piped output from ffmpeg produces a file with incorrect metadata.

    &#xA;

    ffmpeg -y -i .\test_mp4.mp4 -f avi -c:v libx264 - > output.avi to make an AVI file using the pipe output.

    &#xA;

    ffprobe -v error -count_frames -show_entries stream=duration,nb_read_frames,r_frame_rate .\output.avi

    &#xA;

    The output will show that the metadata does not match the actual frames contained in the video.

    &#xA;

    Details below.

    &#xA;


    &#xA;

    Using Python, I am attempting to use ffmpeg to compress videos and put them in a PowerPoint. This works great, however, the video files themselves have incorrect frame counts which can cause issues when I read from those videos in other code.

    &#xA;

    Edit for clarification : by "frame count" I mean the metadata frame count. The actual number of frames contained in the video is correct, but querying the metadata gives an incorrect frame count.

    &#xA;

    Having eliminated the PowerPoint aspect of the code, I've narrowed this down to the following minimal reproducing example of saving an output from an ffmpeg pipe :

    &#xA;

    from subprocess import Popen, PIPE&#xA;&#xA;video_path = &#x27;test_mp4.mp4&#x27;&#xA;&#xA;ffmpeg_pipe = Popen([&#x27;ffmpeg&#x27;,&#xA;                     &#x27;-y&#x27;,  # Overwrite files&#xA;                     &#x27;-i&#x27;, f&#x27;{video_path}&#x27;,  # Input from file&#xA;                     &#x27;-f&#x27;, &#x27;avi&#x27;,  # Output format&#xA;                     &#x27;-c:v&#x27;, &#x27;libx264&#x27;,  # Codec&#xA;                     &#x27;-&#x27;],  # Output to pipe&#xA;                    stdout=PIPE)&#xA;&#xA;new_path = "piped_video.avi"&#xA;vid_file = open(new_path, "wb")&#xA;vid_file.write(ffmpeg_pipe.stdout.read())&#xA;vid_file.close()&#xA;

    &#xA;

    I've tested several different videos. One small example video that I've tested can be found here.

    &#xA;

    I've tried a few different codecs with avi format and tried libvpx with webm format. For the avi outputs, the frame count usually reads as 1073741824 (2^30). Weirdly, for the webm format, the frame count read as -276701161105643264.

    &#xA;

    Edit : This issue can also be reproduced with just ffmpeg in command prompt using the following command :&#xA;ffmpeg -y -i .\test_mp4.mp4 -f avi -c:v libx264 - > output.avi

    &#xA;

    This is a snippet I used to read the frame count, but one could also see the error by opening the video details in Windows Explorer and seeing the total time as something like 9942 hours, 3 minutes, and 14 seconds.

    &#xA;

    import cv2&#xA;&#xA;video_path = &#x27;test_mp4.mp4&#x27;&#xA;new_path = "piped_video.webm"&#xA;&#xA;cap = cv2.VideoCapture(video_path)&#xA;print(f"Original video frame count: = {int(cap.get(cv2.CAP_PROP_FRAME_COUNT)):d}")&#xA;cap.release()&#xA;&#xA;cap = cv2.VideoCapture(new_path)&#xA;print(f"Piped video frame count: = {int(cap.get(cv2.CAP_PROP_FRAME_COUNT)):d}")&#xA;cap.release()&#xA;

    &#xA;

    The error can also be observed using ffprobe with the following command : ffprobe -v error -count_frames -show_entries stream=duration,nb_read_frames,r_frame_rate .\output.avi. Note that the frame rate and number of frames counted by ffprobe do not match with the duration from the metadata.

    &#xA;

    For completeness, here is the ffmpeg output :

    &#xA;

    ffmpeg version 2023-06-11-git-09621fd7d9-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      58. 13.100 / 58. 13.100&#xA;  libavcodec     60. 17.100 / 60. 17.100&#xA;  libavformat    60.  6.100 / 60.  6.100&#xA;  libavdevice    60.  2.100 / 60.  2.100&#xA;  libavfilter     9.  8.101 /  9.  8.101&#xA;  libswscale      7.  3.100 /  7.  3.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;  libpostproc    57.  2.100 / 57.  2.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;test_mp4.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    creation_time   : 2022-08-10T12:54:09.000000Z&#xA;  Duration: 00:00:06.67, start: 0.000000, bitrate: 567 kb/s&#xA;  Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 384x264 [SAR 1:1 DAR 16:11], 563 kb/s, 30 fps, 30 tbr, 30k tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-08-10T12:54:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : AVC Coding&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0000018c68c8b9c0] using SAR=1/1&#xA;[libx264 @ 0000018c68c8b9c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0000018c68c8b9c0] profile High, level 2.1, 4:2:0, 8-bit&#xA;Output #0, avi, to &#x27;pipe:&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    ISFT            : Lavf60.6.100&#xA;  Stream #0:0(eng): Video: h264 (H264 / 0x34363248), yuv420p(progressive), 384x264 [SAR 1:1 DAR 16:11], q=2-31, 30 fps, 30 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-08-10T12:54:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.17.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;[out#0/avi @ 0000018c687f47c0] video:82kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.631060%&#xA;frame=  200 fps=0.0 q=-1.0 Lsize=      85kB time=00:00:06.56 bitrate= 106.5kbits/s speed=76.2x    &#xA;[libx264 @ 0000018c68c8b9c0] frame I:1     Avg QP:16.12  size:  3659&#xA;[libx264 @ 0000018c68c8b9c0] frame P:80    Avg QP:21.31  size:   647&#xA;[libx264 @ 0000018c68c8b9c0] frame B:119   Avg QP:26.74  size:   243&#xA;[libx264 @ 0000018c68c8b9c0] consecutive B-frames:  3.0% 53.0%  0.0% 44.0%&#xA;[libx264 @ 0000018c68c8b9c0] mb I  I16..4: 17.6% 70.6% 11.8%&#xA;[libx264 @ 0000018c68c8b9c0] mb P  I16..4:  0.8%  1.7%  0.6%  P16..4: 17.6%  4.6%  3.3%  0.0%  0.0%    skip:71.4%&#xA;[libx264 @ 0000018c68c8b9c0] mb B  I16..4:  0.1%  0.3%  0.2%  B16..8: 11.7%  1.4%  0.4%  direct: 0.6%  skip:85.4%  L0:32.0% L1:59.7% BI: 8.3%&#xA;[libx264 @ 0000018c68c8b9c0] 8x8 transform intra:59.6% inter:62.4%&#xA;[libx264 @ 0000018c68c8b9c0] coded y,uvDC,uvAC intra: 48.5% 0.0% 0.0% inter: 3.5% 0.0% 0.0%&#xA;[libx264 @ 0000018c68c8b9c0] i16 v,h,dc,p: 19% 39% 25% 17%&#xA;[libx264 @ 0000018c68c8b9c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 25% 30%  3%  3%  4%  4%  4%  5%&#xA;[libx264 @ 0000018c68c8b9c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 20% 16%  6%  8%  8%  8%  5%  6%&#xA;[libx264 @ 0000018c68c8b9c0] i8c dc,h,v,p: 100%  0%  0%  0%&#xA;[libx264 @ 0000018c68c8b9c0] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0000018c68c8b9c0] ref P L0: 76.2%  7.9% 11.2%  4.7%&#xA;[libx264 @ 0000018c68c8b9c0] ref B L0: 85.6% 12.9%  1.5%&#xA;[libx264 @ 0000018c68c8b9c0] ref B L1: 97.7%  2.3%&#xA;[libx264 @ 0000018c68c8b9c0] kb/s:101.19&#xA;

    &#xA;

    So the question is : why does this happen, and how can one avoid it ?

    &#xA;