Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (50)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (3019)

  • How to initiate ffmpeg sendcmd at first frame of input

    22 janvier 2019, par WestonC

    I’m trying to scale an input overlayed on an alpha background image over time using sendcmd. Everything is working as expected except the first frame of the output file isn’t receiving the command marked with time 0.00, resulting in a single frame of the overlay in the top left corner before jumping to the first command-specified position at frame 2.

    Frame 1
    Frame 2

    I’ve tried specifying the initial position as part of the overlay filter in the main command :

    [0:v][a]overlay=x=main_w-overlay_w-28:y=main_h-overlay_h-25[b]

    which works until the scaling hits a certain threshold and then some sort of bug occurs :

    Resize Bug

    My code that works except for first frame :

    ffmpeg -i AlphaLayer.png -i Test.mp4 -c:v prores_ks -profile:v 4444 -filter_complex "[1:v]scale=1360:-1:eval=init:force_original_aspect_ratio=increase[a];[0:v][a]overlay[b],[b]sendcmd=f=scale4.txt" ScaleTest.mov

    The scale4.txt file looks like this :

    0.00 scale w 1360, h -1;
    0.00 overlay x main_w-overlay_w-28;
    0.00 overlay y main_h-overlay_h-25;
    30 scale w 1560, h -1;
    31 scale w 1660, h -1;
    32 scale w 1760, h -1;
    33 scale w 1860, h -1;
    34 overlay x (main_w-overlay_w)/2;
    34 overlay y (main_h-overlay_h)/2;
    34 scale w 1920, h -1;
    35 scale w 1360, h -1;

    I expect the overlay to be in the specified position at frame 1 of the video, but it is in the default position until frame 2.

    Output log :

    $ ffmpeg -i AlphaLayer.png -i Test.mp4 -c:v prores_ks -profile:v 4444 -filter_complex "[1:v]scale=1360:-1:eval=init:force_original_aspect_ratio=increase[a];[0:v][a]overlay[b],[b]sendcmd=f=scale4.txt" Output.mov
    ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, png_pipe, from 'AlphaLayer.png':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 2835:2835 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Test.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2019-01-17T20:28:30.000000Z
     Duration: 00:02:00.09, start: 0.000000, bitrate: 700 kb/s
       Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 377 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
       Metadata:
         creation_time   : 2019-01-17T20:28:31.000000Z
         handler_name    : ?Mainconcept Video Media Handler
         encoder         : AVC Coding
       Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
       Metadata:
         creation_time   : 2019-01-17T20:28:31.000000Z
         handler_name    : #Mainconcept MP4 Sound Media Handler
    Stream mapping:
     Stream #0:0 (png) -> overlay:main (graph 0)
     Stream #1:0 (h264) -> scale (graph 0)
     sendcmd (graph 0) -> Stream #0:0 (prores_ks)
     Stream #1:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    Output #0, mov, to 'Output.mov':
     Metadata:
       encoder         : Lavf58.20.100
       Stream #0:0: Video: prores (prores_ks) (ap4h / 0x68347061), yuva444p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         encoder         : Lavc58.35.100 prores_ks
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         creation_time   : 2019-01-17T20:28:31.000000Z
         handler_name    : #Mainconcept MP4 Sound Media Handler
         encoder         : Lavc58.35.100 aac
    frame=   15 fps=0.0 q=-0.0 size=       0kB time=00:00:00.76 bitrate=   0.4kbits/frame=   30 fps= 29 q=-0.0 size=    1024kB time=00:00:01.57 bitrate=5313.9kbits/frame=   45 fps= 29 q=-0.0 size=    2304kB time=00:00:01.96 bitrate=9616.8kbits/frame=   61 fps= 29 q=-0.0 size=    3328kB time=00:00:02.77 bitrate=9830.5kbits/frame=   74 fps= 27 q=-0.0 size=    4352kB time=00:00:03.17 bitrate=11216.0kbitsframe=   89 fps= 28 q=-0.0 size=    5376kB time=00:00:03.96 bitrate=11098.9kbitsframe=  103 fps= 27 q=-0.0 size=    6400kB time=00:00:04.37 bitrate=11988.4kbitsframe=  117 fps= 27 q=-0.0 size=    7168kB time=00:00:04.77 bitrate=12288.1kbitsframe=  131 fps= 27 q=-0.0 size=    8192kB time=00:00:05.56 bitrate=12052.6kbitsframe=  145 fps= 27 q=-0.0 size=    9216kB time=00:00:05.97 bitrate=12639.1kbitsframe=  157 fps= 26 q=-0.0 size=    9984kB time=00:00:06.40 bitrate=12779.6kbitsframe=  172 fps= 27 q=-0.0 size=   11264kB time=00:00:07.16 bitrate=12873.2kbitsframe=  185 fps= 26 q=-0.0 size=   12032kB time=00:00:07.57 bitrate=13014.9kbitsframe=  196 fps= 26 q=-0.0 size=   12800kB time=00:00:07.97 bitrate=13142.3kbitsframe=  206 fps= 26 q=-0.0 size=   13568kB time=00:00:08.36 bitrate=13291.1kbitsframe=  217 fps= 25 q=-0.0 size=   14336kB time=00:00:08.78 bitrate=13361.7kbitsframe=  230 fps= 25 q=-0.0 size=   15360kB time=00:00:09.57 bitrate=13136.4kbitsframe=  242 fps= 25 q=-0.0 size=   16128kB time=00:00:09.96 bitrate=13261.6kbitsframe=  255 fps= 25 q=-0.0 size=   16896kB time=00:00:10.36 bitrate=13350.0kbitsframe=  267 fps= 25 q=-0.0 size=   17920kB time=00:00:10.77 bitrate=13626.3kbitsframe=  279 fps= 25 q=-0.0 size=   18688kB time=00:00:11.56 bitrate=13240.2kbitsframe=  291 fps= 25 q=-0.0 size=   19456kB time=00:00:11.96 bitrate=13317.5kbitsframe=  303 fps= 25 q=-0.0 size=   20480kB time=00:00:12.37 bitrate=13559.2kbitsframe=  315 fps= 25 q=-0.0 size=   21248kB time=00:00:12.77 bitrate=13621.4kbitsframe=  327 fps= 25 q=-0.0 size=   22016kB time=00:00:13.16 bitrate=13702.0kbitsframe=  339 fps= 25 q=-0.0 size=   23040kB time=00:00:13.97 bitrate=13507.4kbitsframe=  351 fps= 25 q=-0.0 size=   23808kB time=00:00:14.35 bitrate=13584.4kbitsframe=  363 fps= 25 q=-0.0 size=   24576kB time=00:00:14.76 bitrate=13637.6kbitsframe=  375 fps= 25 q=-0.0 size=   25344kB time=00:00:15.16 bitrate=13687.9kbitsframe=  387 fps= 24 q=-0.0 size=   26368kB time=00:00:15.57 bitrate=13870.3kbitsframe=  399 fps= 24 q=-0.0 size=   27136kB time=00:00:16.36 bitrate=13585.7kbitsframe=  411 fps= 24 q=-0.0 size=   27904kB time=00:00:16.76 bitrate=13632.5kbitsframe=  423 fps= 24 q=-0.0 size=   28928kB time=00:00:17.17 bitrate=13799.2kbitsframe=  435 fps= 24 q=-0.0 size=   29696kB time=00:00:17.55 bitrate=13855.7kbitsframe=  447 fps= 24 q=-0.0 size=   30464kB time=00:00:17.96 bitrate=13893.3kbitsframe=  459 fps= 24 q=-0.0 size=   31488kB time=00:00:18.77 bitrate=13740.2kbitsframe=  471 fps= 24 q=-0.0 size=   32256kB time=00:00:19.15 bitrate=13793.2kbitsframe=  483 fps= 24 q=-0.0 size=   33024kB time=00:00:19.56 bitrate=13829.0kbitsframe=  495 fps= 24 q=-0.0 size=   34048kB time=00:00:19.96 bitrate=13968.4kbitsframe=  507 fps= 24 q=-0.0 size=   34816kB time=00:00:20.37 bitrate=13999.3kbitsframe=  519 fps= 24 q=-0.0 size=   35584kB time=00:00:21.16 bitrate=13774.5kbitsframe=  531 fps= 24 q=-0.0 size=   36352kB time=00:00:21.56 bitrate=13807.3kbitsframe=  543 fps= 24 q=-0.0 size=   37376kB time=00:00:21.97 bitrate=13934.4kbitsframe=  555 fps= 24 q=-0.0 size=   38144kB time=00:00:22.35 bitrate=13976.4kbitsframe=  567 fps= 24 q=-0.0 size=   38912kB time=00:00:22.76 bitrate=14004.0kbitsframe=  579 fps= 24 q=-0.0 size=   39936kB time=00:00:23.57 bitrate=13878.2kbitsframe=  590 fps= 24 q=-0.0 size=   40704kB time=00:00:23.97 bitrate=13906.0kbitsframe=  602 fps= 24 q=-0.0 size=   41472kB time=00:00:24.36 bitrate=13945.1kbitsframe=  614 fps= 24 q=-0.0 size=   42240kB time=00:00:24.76 bitrate=13970.9kbitsframe=  626 fps= 24 q=-0.0 size=   43264kB time=00:00:25.17 bitrate=14079.1kbitsframe=  637 fps= 24 q=-0.0 size=   44032kB time=00:00:25.60 bitrate=14090.3kbitsframe=  650 fps= 24 q=-0.0 size=   44800kB time=00:00:26.36 bitrate=13918.5kbitsframe=  662 fps= 24 q=-0.0 size=   45824kB time=00:00:26.77 bitrate=14021.1kbitsframe=  674 fps= 24 q=-0.0 size=   46592kB time=00:00:27.17 bitrate=14043.4kbitsframe=  685 fps= 24 q=-0.0 size=   47360kB time=00:00:27.56 bitrate=14076.0kbitsframe=  696 fps= 24 q=-0.0 size=   48128kB time=00:00:27.96 bitrate=14097.0kbitsframe=  707 fps= 23 q=-0.0 size=   48896kB time=00:00:28.39 bitrate=14106.7kbitsframe=  720 fps= 23 q=-0.0 size=   49920kB time=00:00:29.16 bitrate=14022.9kbitsframe=  732 fps= 23 q=-0.0 size=   50688kB time=00:00:29.56 bitrate=14043.4kbitsframe=  744 fps= 23 q=-0.0 size=   51456kB time=00:00:29.97 bitrate=14063.4kbitsframe=  756 fps= 23 q=-0.0 size=   52480kB time=00:00:30.37 bitrate=14151.9kbitsframe=  767 fps= 23 q=-0.0 size=   53248kB time=00:00:30.78 bitrate=14170.0kbitsframe=  780 fps= 23 q=-0.0 size=   54016kB time=00:00:31.57 bitrate=14015.0kbitsframe=  792 fps= 23 q=-0.0 size=   55040kB time=00:00:31.97 bitrate=14099.6kbitsframe=  804 fps= 23 q=-0.0 size=   56064kB time=00:00:32.36 bitrate=14191.6kbitsframe=  816 fps= 23 q=-0.0 size=   56832kB time=00:00:32.76 bitrate=14208.0kbitsframe=  827 fps= 23 q=-0.0 size=   57856kB time=00:00:33.19 bitrate=14278.1kbitsframe=  840 fps= 23 q=-0.0 size=   58880kB time=00:00:33.96 bitrate=14202.2kbitsframe=  852 fps= 23 q=-0.0 size=   59648kB time=00:00:34.36 bitrate=14217.8kbitsframe=  864 fps= 23 q=-0.0 size=   60672kB time=00:00:34.77 bitrate=14293.3kbitsframe=  876 fps= 23 q=-0.0 size=   61184kB time=00:00:35.17 bitrate=14247.8kbitsframe=  887 fps= 23 q=-0.0 size=   61440kB time=00:00:35.58 bitrate=14144.5kbitsframe=  900 fps= 23 q=-0.0 size=   62208kB time=00:00:36.37 bitrate=14010.5kbitsframe=  912 fps= 23 q=-0.0 size=   63232kB time=00:00:36.77 bitrate=14084.2kbitsframe=  924 fps= 23 q=-0.0 size=   64000kB time=00:00:37.16 bitrate=14107.9kbitsframe=  936 fps= 23 q=-0.0 size=   64768kB time=00:00:37.56 bitrate=14123.2kbitsframe=  947 fps= 23 q=-0.0 size=   65536kB time=00:00:37.99 bitrate=14130.2kbitsframe=  960 fps= 23 q=-0.0 size=   66304kB time=00:00:38.76 bitrate=14012.5kbitsframe=  972 fps= 23 q=-0.0 size=   67328kB time=00:00:39.16 bitrate=14081.7kbitsframe=  984 fps= 23 q=-0.0 size=   68096kB time=00:00:39.57 bitrate=14096.4kbitsframe=  996 fps= 23 q=-0.0 size=   68864kB time=00:00:39.95 bitrate=14118.4kbitsframe= 1007 fps= 23 q=-0.0 size=   69632kB time=00:00:40.38 bitrate=14125.0kbitsframe= 1020 fps= 23 q=-0.0 size=   70400kB time=00:00:41.17 bitrate=14007.1kbitsframe= 1032 fps= 23 q=-0.0 size=   71424kB time=00:00:41.55 bitrate=14079.5kbitsframe= 1044 fps= 23 q=-0.0 size=   72192kB time=00:00:41.96 bitrate=14093.4kbitsframe= 1056 fps= 23 q=-0.0 size=   72960kB time=00:00:42.36 bitrate=14107.1kbitsframe= 1067 fps= 23 q=-0.0 size=   73728kB time=00:00:42.79 bitrate=14113.4kbitsframe= 1080 fps= 23 q=-0.0 size=   74496kB time=00:00:43.56 bitrate=14009.0kbitsframe= 1092 fps= 23 q=-0.0 size=   75520kB time=00:00:43.96 bitrate=14070.7kbitsframe= 1104 fps= 23 q=-0.0 size=   76288kB time=00:00:44.37 bitrate=14083.9kbitsframe= 1116 fps= 23 q=-0.0 size=   77056kB time=00:00:44.75 bitrate=14103.7kbitsframe= 1127 fps= 23 q=-0.0 size=   77824kB time=00:00:45.18 bitrate=14109.7kbitsframe= 1140 fps= 23 q=-0.0 size=   78592kB time=00:00:45.97 bitrate=14004.3kbitsframe= 1152 fps= 23 q=-0.0 size=   79616kB time=00:00:46.35 bitrate=14069.3kbitsframe= 1164 fps= 23 q=-0.0 size=   80384kB time=00:00:46.76 bitrate=14081.9kbitsframe= 1176 fps= 23 q=-0.0 size=   81152kB time=00:00:47.16 bitrate=14094.2kbitsframe= 1187 fps= 23 q=-0.0 size=   81920kB time=00:00:47.59 bitrate=14100.1kbitsframe= 1200 fps= 23 q=-0.0 size=   82688kB time=00:00:48.36 bitrate=14006.3kbitsframe= 1212 fps= 23 q=-0.0 size=   83712kB time=00:00:48.76 bitrate=14061.9kbitsframe= 1224 fps= 23 q=-0.0 size=   84480kB time=00:00:49.17 bitrate=14073.9kbitsframe= 1236 fps= 23 q=-0.0 size=   85248kB time=00:00:49.57 bitrate=14085.7kbitsframe= 1247 fps= 22 q=-0.0 size=   86016kB time=00:00:49.98 bitrate=14097.4kbitsframe= 1260 fps= 22 q=-0.0 size=   86784kB time=00:00:50.77 bitrate=14002.1kbitsframe= 1272 fps= 22 q=-0.0 size=   87808kB time=00:00:51.17 bitrate=14055.1kbitsframe= 1284 fps= 22 q=-0.0 size=   88576kB time=00:00:51.56 bitrate=14072.5kbitsframe= 1296 fps= 22 q=-0.0 size=   89344kB time=00:00:51.96 bitrate=14083.8kbitsframe= 1307 fps= 22 q=-0.0 size=   90112kB time=00:00:52.39 bitrate=14089.2kbitsframe= 1320 fps= 22 q=-0.0 size=   90880kB time=00:00:53.16 bitrate=14004.0kbitsframe= 1332 fps= 22 q=-0.0 size=   91904kB time=00:00:53.56 bitrate=14054.6kbitsframe= 1344 fps= 22 q=-0.0 size=   92672kB time=00:00:53.97 bitrate=14065.6kbitsframe= 1356 fps= 22 q=-0.0 size=   93440kB time=00:00:54.37 bitrate=14076.5kbitsframe= 1367 fps= 22 q=-0.0 size=   94208kB time=00:00:54.78 bitrate=14087.2kbitsframe= 1379 fps= 22 q=-0.0 size=   94976kB time=00:00:55.57 bitrate=14000.3kbitsframe= 1387 fps= 22 q=-0.0 size=   95488kB time=00:00:55.59 bitrate=14070.4kbitsframe= 1399 fps= 22 q=-0.0 size=   96256kB time=00:00:56.36 bitrate=13990.3kbitsframe= 1411 fps= 22 q=-0.0 size=   97280kB time=00:00:56.76 bitrate=14038.2kbitsframe= 1423 fps= 22 q=-0.0 size=   98048kB time=00:00:57.17 bitrate=14048.7kbitsframe= 1434 fps= 22 q=-0.0 size=   98816kB time=00:00:57.57 bitrate=14059.0kbitsframe= 1446 fps= 22 q=-0.0 size=   99584kB time=00:00:57.96 bitrate=14074.4kbitsframe= 1457 fps= 22 q=-0.0 size=  100352kB time=00:00:58.38 bitrate=14079.4kbitsframe= 1470 fps= 22 q=-0.0 size=  101120kB time=00:00:59.17 bitrate=13997.9kbitsframe= 1482 fps= 22 q=-0.0 size=  102144kB time=00:00:59.56 bitrate=14048.5kbitsframe= 1494 fps= 22 q=-0.0 size=  102912kB time=00:00:59.96 bitrate=14058.4kbitsframe= 1506 fps= 22 q=-0.0 size=  103680kB time=00:01:00.37 bitrate=14068.2kbitsframe= 1517 fps= 22 q=-0.0 size=  104704kB time=00:01:00.77 bitrate=14112.4kbitsframe= 1527 fps= 22 q=-0.0 size=  108032kB time=00:01:01.16 bitrate=14469.6kbitsframe= 1537 fps= 22 q=-0.0 size=  111616kB time=00:01:01.56 bitrate=14851.2kbitsframe= 1549 fps= 22 q=-0.0 size=  114688kB time=00:01:02.35 bitrate=15066.8kbitsframe= 1561 fps= 22 q=-0.0 size=  117504kB time=00:01:02.76 bitrate=15337.0kbitsframe= 1573 fps= 22 q=-0.0 size=  120576kB time=00:01:03.16 bitrate=15637.0kbitsframe= 1585 fps= 22 q=-0.0 size=  123904kB time=00:01:03.57 bitrate=15966.2kbitsframe= 1597 fps= 22 q=-0.0 size=  127488kB time=00:01:03.95 bitrate=16329.4kbitsframe= 1609 fps= 22 q=-0.0 size=  131072kB time=00:01:04.76 bitrate=16578.3kbitsframe= 1621 fps= 22 q=-0.0 size=  134912kB time=00:01:05.17 bitrate=16957.8kbitsframe= 1633 fps= 22 q=-0.0 size=  139264kB time=00:01:05.55 bitrate=17402.3kbitsframe= 1645 fps= 22 q=-0.0 size=  141056kB time=00:01:05.96 bitrate=17518.0kbitsframe= 1657 fps= 22 q=-0.0 size=  141824kB time=00:01:06.36 bitrate=17505.8kbitsframe= 1669 fps= 22 q=-0.0 size=  142592kB time=00:01:07.15 bitrate=17393.7kbitsframe= 1681 fps= 22 q=-0.0 size=  143360kB time=00:01:07.56 bitrate=17382.5kbitsframe= 1693 fps= 22 q=-0.0 size=  144384kB time=00:01:07.96 bitrate=17402.2kbitsframe= 1705 fps= 22 q=-0.0 size=  145152kB time=00:01:08.37 bitrate=17391.1kbitsframe= 1717 fps= 22 q=-0.0 size=  145920kB time=00:01:08.75 bitrate=17385.4kbitsframe= 1729 fps= 22 q=-0.0 size=  146688kB time=00:01:09.56 bitrate=17273.3kbitsframe= 1741 fps= 22 q=-0.0 size=  147456kB time=00:01:09.97 bitrate=17263.1kbitsframe= 1753 fps= 22 q=-0.0 size=  148480kB time=00:01:10.35 bitrate=17288.2kbitsframe= 1765 fps= 22 q=-0.0 size=  149248kB time=00:01:10.76 bitrate=17278.0kbitsframe= 1777 fps= 22 q=-0.0 size=  150016kB time=00:01:11.16 bitrate=17268.0kbitsframe= 1789 fps= 22 q=-0.0 size=  150784kB time=00:01:11.97 bitrate=17161.0kbitsframe= 1801 fps= 22 q=-0.0 size=  151552kB time=00:01:12.36 bitrate=17156.8kbitsframe= 1813 fps= 22 q=-0.0 size=  152576kB time=00:01:12.76 bitrate=17176.5kbitsframe= 1825 fps= 22 q=-0.0 size=  153344kB time=00:01:13.17 bitrate=17167.4kbitsframe= 1837 fps= 22 q=-0.0 size=  154112kB time=00:01:13.57 bitrate=17158.3kbitsframe= 1849 fps= 22 q=-0.0 size=  154880kB time=00:01:14.36 bitrate=17060.8kbitsframe= 1861 fps= 22 q=-0.0 size=  155648kB time=00:01:14.77 bitrate=17052.5kbitsframe= 1873 fps= 22 q=-0.0 size=  156672kB time=00:01:15.17 bitrate=17072.1kbitsframe= 1885 fps= 22 q=-0.0 size=  157440kB time=00:01:15.56 bitrate=17068.6kbitsframe= 1897 fps= 22 q=-0.0 size=  158208kB time=00:01:15.96 bitrate=17060.3kbitsframe= 1909 fps= 22 q=-0.0 size=  158976kB time=00:01:16.77 bitrate=16962.2kbitsframe= 1921 fps= 22 q=-0.0 size=  159744kB time=00:01:17.16 bitrate=16959.3kbitsframe= 1933 fps= 22 q=-0.0 size=  160768kB time=00:01:17.56 bitrate=16978.8kbitsframe= 1945 fps= 22 q=-0.0 size=  161536kB time=00:01:17.97 bitrate=16971.2kbitsframe= 1953 fps= 22 q=-0.0 size=  162048kB time=00:01:18.37 bitrate=16937.0kbitsframe= 1966 fps= 22 q=-0.0 size=  163072kB time=00:01:18.76 bitrate=16960.9kbitsframe= 1977 fps= 22 q=-0.0 size=  163584kB time=00:01:19.18 bitrate=16922.5kbitsframe= 1989 fps= 22 q=-0.0 size=  164608kB time=00:01:19.97 bitrate=16860.4kbitsframe= 2000 fps= 22 q=-0.0 size=  165376kB time=00:01:20.36 bitrate=16858.1kbitsframe= 2009 fps= 22 q=-0.0 size=  165888kB time=00:01:20.76 bitrate=16825.4kbitsframe= 2021 fps= 22 q=-0.0 size=  166656kB time=00:01:21.17 bitrate=16818.9kbitsframe= 2033 fps= 22 q=-0.0 size=  167424kB time=00:01:21.57 bitrate=16812.5kbitsframe= 2044 fps= 22 q=-0.0 size=  168192kB time=00:01:21.96 bitrate=16810.4kbitsframe= 2056 fps= 22 q=-0.0 size=  169216kB time=00:01:22.36 bitrate=16829.6kbitsframe= 2067 fps= 22 q=-0.0 size=  169728kB time=00:01:22.79 bitrate=16793.5kbitsframe= 2080 fps= 22 q=-0.0 size=  170752kB time=00:01:23.56 bitrate=16739.5kbitsframe= 2092 fps= 22 q=-0.0 size=  171520kB time=00:01:23.96 bitrate=16733.7kbitsframe= 2104 fps= 22 q=-0.0 size=  172288kB time=00:01:24.37 bitrate=16727.8kbitsframe= 2116 fps= 22 q=-0.0 size=  173312kB time=00:01:24.77 bitrate=16746.8kbitsframe= 2127 fps= 22 q=-0.0 size=  173824kB time=00:01:25.16 bitrate=16720.5kbitsframe= 2137 fps= 22 q=-0.0 size=  174592kB time=00:01:25.58 bitrate=16710.7kbitsframe= 2147 fps= 22 q=-0.0 size=  175360kB time=00:01:25.97 bitrate=16709.2kbitsframe= 2157 fps= 22 q=-0.0 size=  175872kB time=00:01:26.37 bitrate=16679.4kbitsframe= 2170 fps= 22 q=-0.0 size=  176896kB time=00:01:27.16 bitrate=16624.6kbitsframe= 2182 fps= 22 q=-0.0 size=  177664kB time=00:01:27.57 bitrate=16619.5kbitsframe= 2194 fps= 22 q=-0.0 size=  178432kB time=00:01:27.95 bitrate=16618.5kbitsframe= 2206 fps= 22 q=-0.0 size=  179456kB time=00:01:28.36 bitrate=16637.2kbitsframe= 2217 fps= 22 q=-0.0 size=  179968kB time=00:01:28.78 bitrate=16604.5kbitsframe= 2230 fps= 22 q=-0.0 size=  180992kB time=00:01:29.55 bitrate=16555.7kbitsframe= 2242 fps= 22 q=-0.0 size=  181760kB time=00:01:29.96 bitrate=16551.1kbitsframe= 2254 fps= 22 q=-0.0 size=  182528kB time=00:01:30.36 bitrate=16546.5kbitsframe= 2266 fps= 22 q=-0.0 size=  183552kB time=00:01:30.77 bitrate=16565.0kbitsframe= 2277 fps= 22 q=-0.0 size=  184064kB time=00:01:31.17 bitrate=16537.3kbitsframe= 2290 fps= 22 q=-0.0 size=  185088kB time=00:01:31.96 bitrate=16486.6kbitsframe= 2302 fps= 22 q=-0.0 size=  185856kB time=00:01:32.37 bitrate=16482.4kbitsframe= 2314 fps= 22 q=-0.0 size=  186624kB time=00:01:32.75 bitrate=16482.0kbitsframe= 2326 fps= 22 q=-0.0 size=  187648kB time=00:01:33.16 bitrate=16500.3kbitsframe= 2337 fps= 22 q=-0.0 size=  188160kB time=00:01:33.56 bitrate=16473.7kbitsframe= 2347 fps= 22 q=-0.0 size=  188928kB time=00:01:33.97 bitrate=16469.5kbitsframe= 2357 fps= 22 q=-0.0 size=  189696kB time=00:01:34.35 bitrate=16469.2kbitsframe= 2367 fps= 22 q=-0.0 size=  190208kB time=00:01:34.78 bitrate=16439.3kbitsframe= 2377 fps= 22 q=-0.0 size=  190976kB time=00:01:35.18 bitrate=16435.4kbitsframe= 2390 fps= 22 q=-0.0 size=  192000kB time=00:01:35.97 bitrate=16387.6kbitsframe= 2401 fps= 22 q=-0.0 size=  192768kB time=00:01:36.36 bitrate=16387.6kbitsframe= 2410 fps= 22 q=-0.0 size=  193280kB time=00:01:36.76 bitrate=16362.3kbitsframe= 2422 fps= 22 q=-0.0 size=  194048kB time=00:01:37.17 bitrate=16358.8kbitsframe= 2434 fps= 22 q=-0.0 size=  194816kB time=00:01:37.57 bitrate=16355.3kbitsframe= 2446 fps= 22 q=-0.0 size=  195840kB time=00:01:37.96 bitrate=16376.9kbitsframe= 2457 fps= 22 q=-0.0 size=  196352kB time=00:01:38.38 bitrate=16348.5kbitsframe= 2470 fps= 22 q=-0.0 size=  197376kB time=00:01:39.17 bitrate=16302.9kbitsframe= 2482 fps= 22 q=-0.0 size=  198144kB time=00:01:39.56 bitrate=16303.3kbitsframe= 2494 fps= 21 q=-0.0 size=  198912kB time=00:01:39.96 bitrate=16300.1kbitsframe= 2506 fps= 21 q=-0.0 size=  199936kB time=00:01:40.37 bitrate=16317.8kbitsframe= 2517 fps= 21 q=-0.0 size=  200448kB time=00:01:40.80 bitrate=16290.4kbitsframe= 2530 fps= 21 q=-0.0 size=  201472kB time=00:01:41.56 bitrate=16249.8kbitsframe= 2542 fps= 21 q=-0.0 size=  202240kB time=00:01:41.97 bitrate=16246.9kbitsframe= 2554 fps= 21 q=-0.0 size=  203008kB time=00:01:42.37 bitrate=16244.0kbitsframe= 2566 fps= 21 q=-0.0 size=  204032kB time=00:01:42.76 bitrate=16265.0kbitsframe= 2577 fps= 21 q=-0.0 size=  204544kB time=00:01:43.18 bitrate=16238.4kbitsframe= 2590 fps= 21 q=-0.0 size=  205568kB time=00:01:43.97 bitrate=16195.8kbitsframe= 2602 fps= 21 q=-0.0 size=  206336kB time=00:01:44.36 bitrate=16196.5kbitsframe= 2614 fps= 21 q=-0.0 size=  207104kB time=00:01:44.76 bitrate=16193.8kbitsframe= 2626 fps= 21 q=-0.0 size=  208128kB time=00:01:45.17 bitrate=16211.2kbitsframe= 2636 fps= 21 q=-0.0 size=  208640kB time=00:01:45.57 bitrate=16188.7kbitsframe= 2645 fps= 21 q=-0.0 size=  209408kB time=00:01:45.96 bitrate=16189.4kbitsframe= 2657 fps= 21 q=-0.0 size=  210176kB time=00:01:46.36 bitrate=16186.8kbitsframe= 2667 fps= 21 q=-0.0 size=  210688kB time=00:01:46.79 bitrate=16161.4kbitsframe= 2677 fps= 21 q=-0.0 size=  211456kB time=00:01:47.20 bitrate=16159.0kbitsframe= 2689 fps= 21 q=-0.0 size=  212224kB time=00:01:47.96 bitrate=16102.4kbitsframe= 2701 fps= 21 q=-0.0 size=  213248kB time=00:01:48.37 bitrate=16119.5kbitsframe= 2713 fps= 21 q=-0.0 size=  214016kB time=00:01:48.77 bitrate=16117.3kbitsframe= 2725 fps= 21 q=-0.0 size=  214784kB time=00:01:49.16 bitrate=16118.2kbitsframe= 2737 fps= 21 q=-0.0 size=  215552kB time=00:01:49.56 bitrate=16116.0kbitsframe= 2749 fps= 21 q=-0.0 size=  216320kB time=00:01:50.35 bitrate=16057.8kbitsframe= 2760 fps= 21 q=-0.0 size=  217088kB time=00:01:50.76 bitrate=16055.8kbitsframe= 2770 fps= 21 q=-0.0 size=  217856kB time=00:01:51.16 bitrate=16053.9kbitsframe= 2780 fps= 21 q=-0.0 size=  218624kB time=00:01:51.57 bitrate=16051.9kbitsframe= 2790 fps= 21 q=-0.0 size=  219136kB time=00:01:51.95 bitrate=16034.3kbitsframe= 2801 fps= 21 q=-0.0 size=  219904kB time=00:01:52.36 bitrate=16032.5kbitsframe= 2813 fps= 21 q=-0.0 size=  220672kB time=00:01:52.76 bitrate=16030.7kbitsframe= 2825 fps= 21 q=-0.0 size=  221696kB time=00:01:53.17 bitrate=16047.4kbitsframe= 2837 fps= 21 q=-0.0 size=  222464kB time=00:01:53.55 bitrate=16048.5kbitsframe= 2849 fps= 21 q=-0.0 size=  223232kB time=00:01:54.36 bitrate=15989.8kbitsframe= 2861 fps= 21 q=-0.0 size=  224000kB time=00:01:54.77 bitrate=15988.1kbitsframe= 2873 fps= 21 q=-0.0 size=  224768kB time=00:01:55.15 bitrate=15989.4kbitsframe= 2885 fps= 21 q=-0.0 size=  225792kB time=00:01:55.56 bitrate=16005.9kbitsframe= 2897 fps= 21 q=-0.0 size=  226560kB time=00:01:55.96 bitrate=16004.2kbitsframe= 2909 fps= 21 q=-0.0 size=  227328kB time=00:01:56.75 bitrate=15949.9kbitsframe= 2921 fps= 21 q=-0.0 size=  228096kB time=00:01:57.16 bitrate=15948.4kbitsframe= 2933 fps= 21 q=-0.0 size=  228864kB time=00:01:57.56 bitrate=15947.0kbitsframe= 2943 fps= 21 q=-0.0 size=  229632kB time=00:01:57.97 bitrate=15945.5kbitsframe= 2954 fps= 21 q=-0.0 size=  230400kB time=00:01:58.35 bitrate=15946.9kbitsframe= 2965 fps= 21 q=-0.0 size=  231168kB time=00:01:58.76 bitrate=15945.5kbitsframe= 2976 fps= 21 q=-0.0 size=  231936kB time=00:01:59.16 bitrate=15944.0kbitsframe= 2987 fps= 21 q=-0.0 size=  232704kB time=00:01:59.57 bitrate=15942.6kbitsframe= 2997 fps= 21 q=-0.0 size=  233216kB time=00:02:00.00 bitrate=15920.9kbitsframe= 3001 fps= 21 q=-0.0 Lsize=  234612kB time=00:02:00.04 bitrate=16010.5kbits/s speed=0.849x    
    video:234441kB audio:104kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.028714%
    [aac @ 0x7fb1a4812a00] Qavg: 63503.863
  • ffmpeg Error while filtering : Cannot allocate memory

    7 juillet 2017, par Andres MERE

    My workstation seems to have plenty of memory (and everything). When I am trying to run ffmpeg as follows :

    /usr/local/bin/ffmpeg \
       -loglevel debug \
       -i "A066C002_170619NU_CANON.mov" \
       -filter_complex "[0:0] [0:2] amerge, aformat=sample_fmts=s16:channel_layouts=stereo [a]" \
       -map "[a]" \
       -map 0:5 \
       -c:a libfdk_aac \
       -vbr 3 \
       -vcodec libx264 \
       -profile:v baseline \
       -level 3.0 \
       -vf scale=1280:720 \
       -pix_fmt yuv420p \
       -crf 20 \
       -metadata title="Test movie" \
       -movflags +faststart \
       -y \
       "A066C002_170619NU_CANON.mp4"

    It fails with "Error while filtering : Cannot allocate memory".

    ffmpeg version N-86721-gf605b56-am Copyright (c) 2000-2017 the FFmpeg developers
         built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
         configuration: --extra-version=am --enable-gpl --enable-libfdk-aac --enable-libsoxr --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-shared
         libavutil      55. 67.100 / 55. 67.100
         libavcodec     57.100.103 / 57.100.103
         libavformat    57. 75.100 / 57. 75.100
         libavdevice    57.  7.100 / 57.  7.100
         libavfilter     6. 94.100 /  6. 94.100
         libswscale      4.  7.101 /  4.  7.101
         libswresample   2.  8.100 /  2.  8.100
         libpostproc    54.  6.100 / 54.  6.100
       Splitting the commandline.
       Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
       Reading option '-i' ... matched as input url with argument 'A066C002_170619NU_CANON.mov'.
       Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:0] [0:2] amerge, aformat=sample_fmts=s16:channel_layouts=stereo [a]'.
       Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[a]'.
       Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:5'.
       Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libfdk_aac'.
       Reading option '-vbr' ... matched as AVOption 'vbr' with argument '3'.
       Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
       Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'baseline'.
       Reading option '-level' ... matched as AVOption 'level' with argument '3.0'.
       Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1280:720'.
       Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
       Reading option '-crf' ... matched as AVOption 'crf' with argument '20'.
       Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title=Test movie'.
       Reading option '-movflags' ... matched as AVOption 'movflags' with argument '+faststart'.
       Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
       Reading option 'A066C002_170619NU_CANON.mp4' ... matched as output url.
       Finished splitting the commandline.
       Parsing a group of options: global .
       Applying option loglevel (set logging level) with argument debug.
       Applying option filter_complex (create a complex filtergraph) with argument [0:0] [0:2] amerge, aformat=sample_fmts=s16:channel_layouts=stereo [a].
       Applying option y (overwrite output files) with argument 1.
       Successfully parsed a group of options.
       Parsing a group of options: input url A066C002_170619NU_CANON.mov.
       Successfully parsed a group of options.
       Opening an input file: A066C002_170619NU_CANON.mov.
       [NULL @ 0x1c4f920] Opening 'A066C002_170619NU_CANON.mov' for reading
       [file @ 0x1c4ffc0] Setting default whitelist 'file,crypto'
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 0, edit list 0 - media time: 0, duration: 129254400
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 1, edit list 0 - media time: 0, duration: 129254400
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 2, edit list 0 - media time: 0, duration: 129254400
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 3, edit list 0 - media time: 0, duration: 129254400
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 4, edit list 0 - media time: 0, duration: 1
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 5, edit list 0 - media time: 0, duration: 67320
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Before avformat_find_stream_info() pos: 59339926200 bytes read:760258 seeks:3 nb_streams:6
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] All info found
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] After avformat_find_stream_info() pos: 1180516 bytes read:1945622 seeks:4 frames:144
       Guessed Channel Layout for Input Stream #0.0 : mono
       Guessed Channel Layout for Input Stream #0.1 : mono
       Guessed Channel Layout for Input Stream #0.2 : mono
       Guessed Channel Layout for Input Stream #0.3 : mono
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'A066C002_170619NU_CANON.mov':
         Metadata:
           creation_time   : 2017-06-19T10:12:13.000000Z
           com.apple.quicktime.creationdate: 2017-06-19T13:12:13+0300
           com.apple.proapps.manufacturer: CANON
           com.apple.quicktime.make: CANON
           com.apple.proapps.mio.cameraName: EOS C300 Mark II
           com.apple.proapps.cameraname: EOS C300 Mark II
           com.apple.quicktime.model: EOS C300 Mark II
           com.apple.quicktime.camera.identifier: 060e2b34-0401-010d-0e15-0056454f0200
           com.divergentmedia.editready.timecodeStart: 05:45:28:08
           com.divergentmedia.editready.sonyXDCamTC: 05:45:28:08
           com.divergentmedia.editReady.version: EditReady 1.4.9, 798
           com.apple.proapps.studio.metadataFieldDominanceOverride: 1
           date            : 2017-06-19T13:12:13+0300
           date-eng        : 2017-06-19T13:12:13+0300
           make            : CANON
           make-eng        : CANON
           model           : EOS C300 Mark II
           model-eng       : EOS C300 Mark II
           timecode        : 05:45:28:08
         Duration: 00:44:52.80, start: 0.000000, bitrate: 176292 kb/s
           Stream #0:0(eng), 47, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
           Metadata:
             creation_time   : 2017-06-19T10:12:13.000000Z
             handler_name    : Apple Alias Data Handler
           Stream #0:1(eng), 47, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
           Metadata:
             creation_time   : 2017-06-19T10:12:13.000000Z
             handler_name    : Apple Alias Data Handler
           Stream #0:2(eng), 47, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
           Metadata:
             creation_time   : 2017-06-19T10:12:13.000000Z
             handler_name    : Apple Alias Data Handler
           Stream #0:3(eng), 1, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
           Metadata:
             creation_time   : 2017-06-19T10:12:13.000000Z
             handler_name    : Apple Alias Data Handler
           Stream #0:4(eng), 1, 1/25: Data: none (tmcd / 0x64636D74), 0/1, 0 kb/s (default)
           Metadata:
             creation_time   : 2017-06-19T10:12:13.000000Z
             handler_name    : Apple Alias Data Handler
             timecode        : 05:45:28:08
           Stream #0:5(eng), 1, 1/25: Video: prores, 1 reference frame (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 0/1, 173217 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
           Metadata:
             creation_time   : 2017-06-21T11:52:58.000000Z
             handler_name    : Apple Alias Data Handler
             encoder         : Apple ProRes 422 (HQ)
       Successfully opened the file.
       detected 16 logical cores
       [Parsed_aformat_1 @ 0x1c71a60] Setting 'sample_fmts' to value 's16'
       [Parsed_aformat_1 @ 0x1c71a60] Setting 'channel_layouts' to value 'stereo'
       Parsing a group of options: output url A066C002_170619NU_CANON.mp4.
       Applying option map (set input stream mapping) with argument [a].
       Applying option map (set input stream mapping) with argument 0:5.
       Applying option c:a (codec name) with argument libfdk_aac.
       Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
       Applying option profile:v (set profile) with argument baseline.
       Applying option vf (set video filters) with argument scale=1280:720.
       Applying option pix_fmt (set pixel format) with argument yuv420p.
       Applying option metadata (add metadata) with argument title=Test movie.
       Successfully parsed a group of options.
       Opening an output file: A066C002_170619NU_CANON.mp4.
       [file @ 0x1d4fe40] Setting default whitelist 'file,crypto'
       Successfully opened the file.
       Stream mapping:
         Stream #0:0 (pcm_s16le) -> amerge:in0 (graph 0)
         Stream #0:2 (pcm_s16le) -> amerge:in1 (graph 0)
         aformat (graph 0) -> Stream #0:0 (libfdk_aac)
         Stream #0:5 -> #0:1 (prores (native) -> h264 (libx264))
       Press [q] to stop, [?] for help
       cur_dts is invalid (this is harmless if it occurs once at the start per stream)
           Last message repeated 1 times
       [Parsed_scale_0 @ 0x2397e60] Setting 'w' to value '1280'
       [Parsed_scale_0 @ 0x2397e60] Setting 'h' to value '720'
       [Parsed_scale_0 @ 0x2397e60] Setting 'flags' to value 'bicubic'
       [Parsed_scale_0 @ 0x2397e60] w:1280 h:720 flags:'bicubic' interl:0
       [graph 1 input from stream 0:5 @ 0x23984c0] Setting 'video_size' to value '1920x1080'
       [graph 1 input from stream 0:5 @ 0x23984c0] Setting 'pix_fmt' to value '74'
       [graph 1 input from stream 0:5 @ 0x23984c0] Setting 'time_base' to value '1/25'
       [graph 1 input from stream 0:5 @ 0x23984c0] Setting 'pixel_aspect' to value '1/1'
       [graph 1 input from stream 0:5 @ 0x23984c0] Setting 'sws_param' to value 'flags=2'
       [graph 1 input from stream 0:5 @ 0x23984c0] Setting 'frame_rate' to value '25/1'
       [graph 1 input from stream 0:5 @ 0x23984c0] w:1920 h:1080 pixfmt:yuv422p10le tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
       [format @ 0x2399240] compat: called with args=[yuv420p]
       [format @ 0x2399240] Setting 'pix_fmts' to value 'yuv420p'
       [AVFilterGraph @ 0x1d517e0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
       [Parsed_scale_0 @ 0x2397e60] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4
       [libx264 @ 0x1d4f1a0] using mv_range_thread = 24
       [libx264 @ 0x1d4f1a0] using SAR=1/1
       [libx264 @ 0x1d4f1a0] frame MB size (80x45) > level limit (1620)
       [libx264 @ 0x1d4f1a0] MB rate (90000) > level limit (40500)
       [libx264 @ 0x1d4f1a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
       [libx264 @ 0x1d4f1a0] profile Constrained Baseline, level 3.0
       [libx264 @ 0x1d4f1a0] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
       cur_dts is invalid (this is harmless if it occurs once at the start per stream)
           Last message repeated 94 times
       [Parsed_aformat_1 @ 0x2559500] Setting 'sample_fmts' to value 's16'
       [Parsed_aformat_1 @ 0x2559500] Setting 'channel_layouts' to value 'stereo'
       [graph_0_in_0_0 @ 0x257c7c0] Setting 'time_base' to value '1/48000'
       [graph_0_in_0_0 @ 0x257c7c0] Setting 'sample_rate' to value '48000'
       [graph_0_in_0_0 @ 0x257c7c0] Setting 'sample_fmt' to value 's16'
       [graph_0_in_0_0 @ 0x257c7c0] Setting 'channel_layout' to value '0x4'
       [graph_0_in_0_0 @ 0x257c7c0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x4
       [graph_0_in_0_2 @ 0x25820a0] Setting 'time_base' to value '1/48000'
       [graph_0_in_0_2 @ 0x25820a0] Setting 'sample_rate' to value '48000'
       [graph_0_in_0_2 @ 0x25820a0] Setting 'sample_fmt' to value 's16'
       [graph_0_in_0_2 @ 0x25820a0] Setting 'channel_layout' to value '0x4'
       [graph_0_in_0_2 @ 0x25820a0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x4
       [format_out_0_0 @ 0x2580ce0] Setting 'sample_fmts' to value 's16'
       [format_out_0_0 @ 0x2580ce0] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000'
       [format_out_0_0 @ 0x2580ce0] Setting 'channel_layouts' to value '0x4|0x3|0x7|0x107|0x37|0x3f|0xff|0x63f'
       [Parsed_amerge_0 @ 0x1c6edc0] No channel layout for input 1
       [AVFilterGraph @ 0x1c8abc0] query_formats: 5 queried, 6 merged, 0 already done, 9 delayed
       [AVFilterGraph @ 0x1c8abc0] query_formats not finished
       [Parsed_amerge_0 @ 0x1c6edc0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
       [AVFilterGraph @ 0x1c8abc0] query_formats: 1 queried, 9 merged, 6 already done, 0 delayed
       [Parsed_amerge_0 @ 0x1c6edc0] in0:mono + in1:mono -> out:stereo
       [libfdk_aac @ 0x1d4e300] Note, the VBR setting is unsupported and only works with some parameter combinations
       Output #0, mp4, to 'A066C002_170619NU_CANON.mp4':
         Metadata:
           timecode        : 05:45:28:08
           com.apple.quicktime.creationdate: 2017-06-19T13:12:13+0300
           com.apple.proapps.manufacturer: CANON
           com.apple.quicktime.make: CANON
           com.apple.proapps.mio.cameraName: EOS C300 Mark II
           com.apple.proapps.cameraname: EOS C300 Mark II
           com.apple.quicktime.model: EOS C300 Mark II
           com.apple.quicktime.camera.identifier: 060e2b34-0401-010d-0e15-0056454f0200
           com.divergentmedia.editready.timecodeStart: 05:45:28:08
           com.divergentmedia.editready.sonyXDCamTC: 05:45:28:08
           com.divergentmedia.editReady.version: EditReady 1.4.9, 798
           com.apple.proapps.studio.metadataFieldDominanceOverride: 1
           date            : 2017-06-19T13:12:13+0300
           date-eng        : 2017-06-19T13:12:13+0300
           make            : CANON
           make-eng        : CANON
           model           : EOS C300 Mark II
           model-eng       : EOS C300 Mark II
           title           : Test movie
           encoder         : Lavf57.75.100
           Stream #0:0, 0, 1/48000: Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, delay 2048 (default)
           Metadata:
             encoder         : Lavc57.100.103 libfdk_aac
           Stream #0:1(eng), 0, 1/12800: Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 0/1, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
           Metadata:
             creation_time   : 2017-06-21T11:52:58.000000Z
             handler_name    : Apple Alias Data Handler
             encoder         : Lavc57.100.103 libx264
           Side data:
             cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       cur_dts is invalid (this is harmless if it occurs once at the start per stream)
           Last message repeated 2 times
       Clipping frame in rate conversion by 0.000008
       cur_dts is invalid (this is harmless if it occurs once at the start per stream)
           Last message repeated 201 times
       cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
           Last message repeated 157 times
       cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
       [libx264 @ 0x1d4f1a0] frame=   0 QP=19.02 NAL=3 Slice:I Poc:0   I:3600 P:0    SKIP:0    size=49899 bytes
       Error while filtering: Cannot allocate memory
       [libx264 @ 0x1d4f1a0] frame=   1 QP=19.20 NAL=2 Slice:P Poc:2   I:14   P:2118 SKIP:1468 size=6808 bytes
       [libx264 @ 0x1d4f1a0] frame=   2 QP=18.86 NAL=2 Slice:P Poc:4   I:15   P:2339 SKIP:1246 size=7088 bytes
       [libx264 @ 0x1d4f1a0] frame=   3 QP=19.08 NAL=2 Slice:P Poc:6   I:9    P:2449 SKIP:1142 size=7341 bytes
       [libx264 @ 0x1d4f1a0] frame=   4 QP=18.92 NAL=2 Slice:P Poc:8   I:5    P:2482 SKIP:1113 size=7725 bytes
       [libx264 @ 0x1d4f1a0] frame=   5 QP=18.73 NAL=2 Slice:P Poc:10  I:6    P:2100 SKIP:1494 size=6831 bytes
       [libx264 @ 0x1d4f1a0] frame=   6 QP=18.73 NAL=2 Slice:P Poc:12  I:4    P:2492 SKIP:1104 size=8298 bytes
       [libx264 @ 0x1d4f1a0] frame=   7 QP=18.52 NAL=2 Slice:P Poc:14  I:1    P:2397 SKIP:1202 size=7250 bytes
       [libx264 @ 0x1d4f1a0] frame=   8 QP=18.51 NAL=2 Slice:P Poc:16  I:7    P:1523 SKIP:2070 size=5344 bytes
       [libx264 @ 0x1d4f1a0] frame=   9 QP=18.51 NAL=2 Slice:P Poc:18  I:6    P:2398 SKIP:1196 size=7865 bytes
       [libx264 @ 0x1d4f1a0] frame=  10 QP=18.58 NAL=2 Slice:P Poc:20  I:1    P:1840 SKIP:1759 size=6451 bytes
       [libx264 @ 0x1d4f1a0] frame=  11 QP=18.58 NAL=2 Slice:P Poc:22  I:5    P:1764 SKIP:1831 size=6159 bytes
       [libx264 @ 0x1d4f1a0] frame=  12 QP=18.52 NAL=2 Slice:P Poc:24  I:3    P:2421 SKIP:1176 size=8151 bytes
       [libx264 @ 0x1d4f1a0] frame=  13 QP=18.51 NAL=2 Slice:P Poc:26  I:1    P:1892 SKIP:1707 size=6476 bytes
       [libx264 @ 0x1d4f1a0] frame=  14 QP=18.41 NAL=2 Slice:P Poc:28  I:3    P:1919 SKIP:1678 size=6431 bytes
       [libx264 @ 0x1d4f1a0] frame=  15 QP=18.48 NAL=2 Slice:P Poc:30  I:1    P:1255 SKIP:2344 size=4060 bytes
       [libx264 @ 0x1d4f1a0] frame=  16 QP=18.79 NAL=2 Slice:P Poc:32  I:2    P:1373 SKIP:2225 size=4398 bytes
       [libx264 @ 0x1d4f1a0] frame=  17 QP=18.77 NAL=2 Slice:P Poc:34  I:2    P:1459 SKIP:2139 size=4480 bytes
       [libx264 @ 0x1d4f1a0] frame=  18 QP=19.01 NAL=2 Slice:P Poc:36  I:7    P:1658 SKIP:1935 size=5003 bytes
       [libx264 @ 0x1d4f1a0] scene cut at 48 Icost:227110 Pcost:199261 ratio:0.1226 bias:0.1307 gop:48 (imb:3134 pmb:220)
       [libx264 @ 0x1d4f1a0] frame=  19 QP=18.95 NAL=2 Slice:P Poc:38  I:0    P:2461 SKIP:1139 size=7169 bytes
       [libx264 @ 0x1d4f1a0] frame=  20 QP=19.01 NAL=2 Slice:P Poc:40  I:1    P:2118 SKIP:1481 size=6048 bytes
       [libx264 @ 0x1d4f1a0] frame=  21 QP=19.04 NAL=2 Slice:P Poc:42  I:0    P:2114 SKIP:1486 size=5838 bytes
       [libx264 @ 0x1d4f1a0] frame=  22 QP=18.97 NAL=2 Slice:P Poc:44  I:3    P:2277 SKIP:1320 size=5952 bytes
       [libx264 @ 0x1d4f1a0] frame=  23 QP=19.12 NAL=2 Slice:P Poc:46  I:0    P:1658 SKIP:1942 size=4813 bytes
       [libx264 @ 0x1d4f1a0] frame=  24 QP=19.33 NAL=2 Slice:P Poc:48  I:0    P:1926 SKIP:1674 size=5503 bytes
       [libx264 @ 0x1d4f1a0] frame=  25 QP=19.25 NAL=2 Slice:P Poc:50  I:0    P:2470 SKIP:1130 size=6478 bytes
       [libx264 @ 0x1d4f1a0] frame=  26 QP=19.21 NAL=2 Slice:P Poc:52  I:0    P:2589 SKIP:1011 size=6985 bytes
       [libx264 @ 0x1d4f1a0] frame=  27 QP=19.12 NAL=2 Slice:P Poc:54  I:0    P:2312 SKIP:1288 size=6381 bytes
       [libx264 @ 0x1d4f1a0] frame=  28 QP=19.20 NAL=2 Slice:P Poc:56  I:2    P:2532 SKIP:1066 size=7296 bytes
       [libx264 @ 0x1d4f1a0] frame=  29 QP=19.01 NAL=2 Slice:P Poc:58  I:0    P:2611 SKIP:989  size=8186 bytes
       [libx264 @ 0x1d4f1a0] frame=  30 QP=18.95 NAL=2 Slice:P Poc:60  I:0    P:2582 SKIP:1018 size=7610 bytes
       [libx264 @ 0x1d4f1a0] frame=  31 QP=19.02 NAL=2 Slice:P Poc:62  I:2    P:2620 SKIP:978  size=8077 bytes
       [libx264 @ 0x1d4f1a0] frame=  32 QP=19.09 NAL=2 Slice:P Poc:64  I:1    P:1989 SKIP:1610 size=6214 bytes
       [libx264 @ 0x1d4f1a0] frame=  33 QP=19.09 NAL=2 Slice:P Poc:66  I:0    P:2483 SKIP:1117 size=7027 bytes
       [libx264 @ 0x1d4f1a0] frame=  34 QP=19.17 NAL=2 Slice:P Poc:68  I:0    P:2477 SKIP:1123 size=6833 bytes
       [libx264 @ 0x1d4f1a0] frame=  35 QP=19.07 NAL=2 Slice:P Poc:70  I:1    P:2373 SKIP:1226 size=6915 bytes
       [libx264 @ 0x1d4f1a0] frame=  36 QP=19.28 NAL=2 Slice:P Poc:72  I:3    P:2400 SKIP:1197 size=6975 bytes
       [libx264 @ 0x1d4f1a0] frame=  37 QP=19.21 NAL=2 Slice:P Poc:74  I:1    P:2643 SKIP:956  size=7505 bytes
       [libx264 @ 0x1d4f1a0] frame=  38 QP=19.40 NAL=2 Slice:P Poc:76  I:0    P:2289 SKIP:1311 size=6682 bytes
       [libx264 @ 0x1d4f1a0] frame=  39 QP=19.52 NAL=2 Slice:P Poc:78  I:1    P:2074 SKIP:1525 size=5823 bytes
       [libx264 @ 0x1d4f1a0] frame=  40 QP=19.72 NAL=2 Slice:P Poc:80  I:2    P:2420 SKIP:1178 size=6552 bytes
       [libx264 @ 0x1d4f1a0] frame=  41 QP=19.99 NAL=2 Slice:P Poc:82  I:274  P:2019 SKIP:1307 size=7398 bytes
       [libx264 @ 0x1d4f1a0] frame=  42 QP=19.77 NAL=2 Slice:P Poc:84  I:545  P:1946 SKIP:1109 size=7933 bytes
       [libx264 @ 0x1d4f1a0] frame=  43 QP=19.52 NAL=2 Slice:P Poc:86  I:523  P:1969 SKIP:1108 size=7596 bytes
       [libx264 @ 0x1d4f1a0] frame=  44 QP=19.25 NAL=2 Slice:P Poc:88  I:649  P:1303 SKIP:1648 size=6070 bytes
       [libx264 @ 0x1d4f1a0] frame=  45 QP=18.80 NAL=2 Slice:P Poc:90  I:949  P:1115 SKIP:1536 size=6608 bytes
       [libx264 @ 0x1d4f1a0] frame=  46 QP=18.51 NAL=2 Slice:P Poc:92  I:915  P:1141 SKIP:1544 size=6499 bytes
       [libx264 @ 0x1d4f1a0] frame=  47 QP=18.38 NAL=2 Slice:P Poc:94  I:882  P:1071 SKIP:1647 size=6326 bytes
       [libx264 @ 0x1d4f1a0] frame=  48 QP=15.38 NAL=3 Slice:I Poc:0   I:3600 P:0    SKIP:0    size=15254 bytes
       [libx264 @ 0x1d4f1a0] frame=  49 QP=18.47 NAL=2 Slice:P Poc:2   I:870  P:1178 SKIP:1552 size=9327 bytes
       [libx264 @ 0x1d4f1a0] frame=  50 QP=18.35 NAL=2 Slice:P Poc:4   I:691  P:1606 SKIP:1303 size=9056 bytes
       [libx264 @ 0x1d4f1a0] frame=  51 QP=18.56 NAL=2 Slice:P Poc:6   I:567  P:1697 SKIP:1336 size=9923 bytes
       [libx264 @ 0x1d4f1a0] frame=  52 QP=18.72 NAL=2 Slice:P Poc:8   I:500  P:1725 SKIP:1375 size=10632 bytes
       [libx264 @ 0x1d4f1a0] frame=  53 QP=18.46 NAL=2 Slice:P Poc:10  I:537  P:1789 SKIP:1274 size=9973 bytes
       [libx264 @ 0x1d4f1a0] frame=  54 QP=18.55 NAL=2 Slice:P Poc:12  I:478  P:1916 SKIP:1206 size=10196 bytes
       [libx264 @ 0x1d4f1a0] frame=  55 QP=18.68 NAL=2 Slice:P Poc:14  I:446  P:2027 SKIP:1127 size=10172 bytes
       [libx264 @ 0x1d4f1a0] frame=  56 QP=19.00 NAL=2 Slice:P Poc:16  I:284  P:2138 SKIP:1178 size=9705 bytes
       [libx264 @ 0x1d4f1a0] frame=  57 QP=19.10 NAL=2 Slice:P Poc:18  I:244  P:2116 SKIP:1240 size=9518 bytes
       [libx264 @ 0x1d4f1a0] frame=  58 QP=19.39 NAL=2 Slice:P Poc:20  I:239  P:2231 SKIP:1130 size=8953 bytes
       [libx264 @ 0x1d4f1a0] frame=  59 QP=19.16 NAL=2 Slice:P Poc:22  I:178  P:2379 SKIP:1043 size=9059 bytes
       [libx264 @ 0x1d4f1a0] frame=  60 QP=19.28 NAL=2 Slice:P Poc:24  I:58   P:2329 SKIP:1213 size=8257 bytes
       [libx264 @ 0x1d4f1a0] frame=  61 QP=19.21 NAL=2 Slice:P Poc:26  I:34   P:2231 SKIP:1335 size=6689 bytes
       [libx264 @ 0x1d4f1a0] frame=  62 QP=19.55 NAL=2 Slice:P Poc:28  I:14   P:2219 SKIP:1367 size=6164 bytes
       [libx264 @ 0x1d4f1a0] frame=  63 QP=20.04 NAL=2 Slice:P Poc:30  I:8    P:1836 SKIP:1756 size=4318 bytes
       [mp4 @ 0x1d4c880] Starting second pass: moving the moov atom to the beginning of the file
       [mp4 @ 0x1d4c880] Opening 'A066C002_170619NU_CANON.mp4' for reading
       [file @ 0xa01a460] Setting default whitelist 'file,crypto'
       [AVIOContext @ 0x6b95260] Statistics: 509968 bytes read, 0 seeks
       frame=   64 fps= 48 q=-1.0 Lsize=     500kB time=00:00:02.52 bitrate=1625.5kbits/s speed=1.88x    
       video:497kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.417128%
       Input file #0 (A066C002_170619NU_CANON.mov):
         Input stream #0:0 (audio): 141 packets read (288000 bytes); 141 frames decoded (144000 samples);
         Input stream #0:1 (audio): 47 packets read (96000 bytes);
         Input stream #0:2 (audio): 141 packets read (288000 bytes); 141 frames decoded (144000 samples);
         Input stream #0:3 (audio): 1 packets read (2048 bytes);
         Input stream #0:4 (data): 1 packets read (4 bytes);
         Input stream #0:5 (video): 64 packets read (59520416 bytes); 64 frames decoded;
         Total: 395 packets (60194468 bytes) demuxed
       Output file #0 (A066C002_170619NU_CANON.mp4):
         Output stream #0:0 (audio): 1 frames encoded (1024 samples); 3 packets muxed (740 bytes);
         Output stream #0:1 (video): 64 frames encoded; 64 packets muxed (509175 bytes);
         Total: 67 packets (509915 bytes) muxed
       346 frames successfully decoded, 0 decoding errors
       [AVIOContext @ 0x1c71880] Statistics: 4 seeks, 7 writeouts
       [libx264 @ 0x1d4f1a0] frame I:2     Avg QP:17.20  size: 32576
       [libx264 @ 0x1d4f1a0] frame P:62    Avg QP:18.99  size:  7152
       [libx264 @ 0x1d4f1a0] mb I  I16..4: 49.2%  0.0% 50.8%
       [libx264 @ 0x1d4f1a0] mb P  I16..4:  3.5%  0.0%  1.0%  P16..4: 45.1%  8.4%  3.5%  0.0%  0.0%    skip:38.5%
       [libx264 @ 0x1d4f1a0] coded y,uvDC,uvAC intra: 30.7% 30.5% 4.8% inter: 7.0% 19.1% 0.3%
       [libx264 @ 0x1d4f1a0] i16 v,h,dc,p: 47% 21%  9% 23%
       [libx264 @ 0x1d4f1a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 18% 18%  5%  6%  4%  5%  4%  3%
       [libx264 @ 0x1d4f1a0] i8c dc,h,v,p: 72% 11% 15%  2%
       [libx264 @ 0x1d4f1a0] ref P L0: 63.8% 36.2%
       [libx264 @ 0x1d4f1a0] kb/s:1589.21
       [AVIOContext @ 0x1c583a0] Statistics: 61656934 bytes read, 59 seeks

    I happen to be absolute beginner (at least in ffmpeg). What went wrong ?

    Thanks ! Andres Mere

  • Anomalie #3180 : Url propre et rubrique numérique

    9 mars 2014, par jluc -

    b_b c’est pas très grave mais je ne comprend pas ta réponse #2.

    Il serait intéressant de pouvoir utiliser normalement les urls propres et normalement les urls raccourcies. Il suffirait pour cela que les urls_propres, dans le cas où le titre est uniquement numérique, produisent une url préfixée par _, par exemple. Ainsi, l’article de titre "1989" aurait une url propre "_1989". La regexp de la L88 ne se déclancherait pas et tout pourrait cohabiter.