
Recherche avancée
Autres articles (23)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (6891)
-
avcodec/x86/vvc : add avg and avg_w AVX2 optimizations
23 janvier 2024, par Wu Jianhuaavcodec/x86/vvc : add avg and avg_w AVX2 optimizations
The avg/avg_w is based on dav1d.
See https://code.videolan.org/videolan/dav1d/-/blob/master/src/x86/mc_avx2.asmvvc_avg_8_2x2_c : 71.6
vvc_avg_8_2x2_avx2 : 26.8
vvc_avg_8_2x4_c : 140.8
vvc_avg_8_2x4_avx2 : 34.6
vvc_avg_8_2x8_c : 410.3
vvc_avg_8_2x8_avx2 : 41.3
vvc_avg_8_2x16_c : 769.3
vvc_avg_8_2x16_avx2 : 60.3
vvc_avg_8_2x32_c : 1669.6
vvc_avg_8_2x32_avx2 : 105.1
vvc_avg_8_2x64_c : 1978.3
vvc_avg_8_2x64_avx2 : 425.8
vvc_avg_8_2x128_c : 6536.8
vvc_avg_8_2x128_avx2 : 1315.1
vvc_avg_8_4x2_c : 155.6
vvc_avg_8_4x2_avx2 : 26.1
vvc_avg_8_4x4_c : 250.3
vvc_avg_8_4x4_avx2 : 31.3
vvc_avg_8_4x8_c : 831.8
vvc_avg_8_4x8_avx2 : 41.3
vvc_avg_8_4x16_c : 1461.1
vvc_avg_8_4x16_avx2 : 57.1
vvc_avg_8_4x32_c : 2821.6
vvc_avg_8_4x32_avx2 : 105.1
vvc_avg_8_4x64_c : 3615.8
vvc_avg_8_4x64_avx2 : 412.6
vvc_avg_8_4x128_c : 11962.6
vvc_avg_8_4x128_avx2 : 1274.3
vvc_avg_8_8x2_c : 215.8
vvc_avg_8_8x2_avx2 : 29.1
vvc_avg_8_8x4_c : 430.6
vvc_avg_8_8x4_avx2 : 37.6
vvc_avg_8_8x8_c : 1463.3
vvc_avg_8_8x8_avx2 : 51.8
vvc_avg_8_8x16_c : 2630.1
vvc_avg_8_8x16_avx2 : 97.6
vvc_avg_8_8x32_c : 5813.8
vvc_avg_8_8x32_avx2 : 196.6
vvc_avg_8_8x64_c : 6687.3
vvc_avg_8_8x64_avx2 : 487.8
vvc_avg_8_8x128_c : 13178.6
vvc_avg_8_8x128_avx2 : 1290.6
vvc_avg_8_16x2_c : 443.8
vvc_avg_8_16x2_avx2 : 28.3
vvc_avg_8_16x4_c : 1253.3
vvc_avg_8_16x4_avx2 : 32.1
vvc_avg_8_16x8_c : 2236.3
vvc_avg_8_16x8_avx2 : 44.3
vvc_avg_8_16x16_c : 5127.8
vvc_avg_8_16x16_avx2 : 63.3
vvc_avg_8_16x32_c : 6573.3
vvc_avg_8_16x32_avx2 : 223.6
vvc_avg_8_16x64_c : 30311.8
vvc_avg_8_16x64_avx2 : 437.8
vvc_avg_8_16x128_c : 25693.3
vvc_avg_8_16x128_avx2 : 1266.8
vvc_avg_8_32x2_c : 954.6
vvc_avg_8_32x2_avx2 : 32.1
vvc_avg_8_32x4_c : 2359.6
vvc_avg_8_32x4_avx2 : 39.6
vvc_avg_8_32x8_c : 5703.6
vvc_avg_8_32x8_avx2 : 57.1
vvc_avg_8_32x16_c : 9967.6
vvc_avg_8_32x16_avx2 : 107.1
vvc_avg_8_32x32_c : 21327.6
vvc_avg_8_32x32_avx2 : 272.6
vvc_avg_8_32x64_c : 39240.8
vvc_avg_8_32x64_avx2 : 529.6
vvc_avg_8_32x128_c : 52580.8
vvc_avg_8_32x128_avx2 : 1338.8
vvc_avg_8_64x2_c : 1647.3
vvc_avg_8_64x2_avx2 : 38.8
vvc_avg_8_64x4_c : 5130.1
vvc_avg_8_64x4_avx2 : 58.8
vvc_avg_8_64x8_c : 6529.3
vvc_avg_8_64x8_avx2 : 88.3
vvc_avg_8_64x16_c : 19913.6
vvc_avg_8_64x16_avx2 : 162.3
vvc_avg_8_64x32_c : 39360.8
vvc_avg_8_64x32_avx2 : 295.8
vvc_avg_8_64x64_c : 49658.3
vvc_avg_8_64x64_avx2 : 784.1
vvc_avg_8_64x128_c : 108513.1
vvc_avg_8_64x128_avx2 : 1977.1
vvc_avg_8_128x2_c : 3226.1
vvc_avg_8_128x2_avx2 : 61.1
vvc_avg_8_128x4_c : 10280.3
vvc_avg_8_128x4_avx2 : 94.6
vvc_avg_8_128x8_c : 18079.3
vvc_avg_8_128x8_avx2 : 155.3
vvc_avg_8_128x16_c : 45121.8
vvc_avg_8_128x16_avx2 : 285.3
vvc_avg_8_128x32_c : 48651.8
vvc_avg_8_128x32_avx2 : 581.6
vvc_avg_8_128x64_c : 165078.6
vvc_avg_8_128x64_avx2 : 1942.8
vvc_avg_8_128x128_c : 339103.1
vvc_avg_8_128x128_avx2 : 4332.6
vvc_avg_10_2x2_c : 144.3
vvc_avg_10_2x2_avx2 : 26.8
vvc_avg_10_2x4_c : 142.6
vvc_avg_10_2x4_avx2 : 45.3
vvc_avg_10_2x8_c : 478.1
vvc_avg_10_2x8_avx2 : 38.1
vvc_avg_10_2x16_c : 518.3
vvc_avg_10_2x16_avx2 : 58.1
vvc_avg_10_2x32_c : 2059.8
vvc_avg_10_2x32_avx2 : 93.1
vvc_avg_10_2x64_c : 2383.8
vvc_avg_10_2x64_avx2 : 714.8
vvc_avg_10_2x128_c : 4498.3
vvc_avg_10_2x128_avx2 : 1466.3
vvc_avg_10_4x2_c : 228.6
vvc_avg_10_4x2_avx2 : 26.8
vvc_avg_10_4x4_c : 378.3
vvc_avg_10_4x4_avx2 : 30.6
vvc_avg_10_4x8_c : 866.8
vvc_avg_10_4x8_avx2 : 44.6
vvc_avg_10_4x16_c : 1018.1
vvc_avg_10_4x16_avx2 : 58.1
vvc_avg_10_4x32_c : 3590.8
vvc_avg_10_4x32_avx2 : 128.8
vvc_avg_10_4x64_c : 4200.8
vvc_avg_10_4x64_avx2 : 663.6
vvc_avg_10_4x128_c : 8450.8
vvc_avg_10_4x128_avx2 : 1531.8
vvc_avg_10_8x2_c : 369.3
vvc_avg_10_8x2_avx2 : 28.3
vvc_avg_10_8x4_c : 513.8
vvc_avg_10_8x4_avx2 : 32.1
vvc_avg_10_8x8_c : 1720.3
vvc_avg_10_8x8_avx2 : 49.1
vvc_avg_10_8x16_c : 1894.8
vvc_avg_10_8x16_avx2 : 71.6
vvc_avg_10_8x32_c : 3931.3
vvc_avg_10_8x32_avx2 : 148.1
vvc_avg_10_8x64_c : 7964.3
vvc_avg_10_8x64_avx2 : 613.1
vvc_avg_10_8x128_c : 15540.1
vvc_avg_10_8x128_avx2 : 1585.1
vvc_avg_10_16x2_c : 877.3
vvc_avg_10_16x2_avx2 : 27.6
vvc_avg_10_16x4_c : 955.8
vvc_avg_10_16x4_avx2 : 29.8
vvc_avg_10_16x8_c : 3419.6
vvc_avg_10_16x8_avx2 : 62.6
vvc_avg_10_16x16_c : 3826.8
vvc_avg_10_16x16_avx2 : 54.3
vvc_avg_10_16x32_c : 7655.3
vvc_avg_10_16x32_avx2 : 86.3
vvc_avg_10_16x64_c : 30011.1
vvc_avg_10_16x64_avx2 : 692.6
vvc_avg_10_16x128_c : 47894.8
vvc_avg_10_16x128_avx2 : 1580.3
vvc_avg_10_32x2_c : 944.3
vvc_avg_10_32x2_avx2 : 29.8
vvc_avg_10_32x4_c : 2022.6
vvc_avg_10_32x4_avx2 : 35.1
vvc_avg_10_32x8_c : 6148.8
vvc_avg_10_32x8_avx2 : 51.3
vvc_avg_10_32x16_c : 12601.6
vvc_avg_10_32x16_avx2 : 70.8
vvc_avg_10_32x32_c : 15958.6
vvc_avg_10_32x32_avx2 : 124.3
vvc_avg_10_32x64_c : 31784.6
vvc_avg_10_32x64_avx2 : 757.3
vvc_avg_10_32x128_c : 63892.8
vvc_avg_10_32x128_avx2 : 1711.3
vvc_avg_10_64x2_c : 1890.8
vvc_avg_10_64x2_avx2 : 34.3
vvc_avg_10_64x4_c : 6267.3
vvc_avg_10_64x4_avx2 : 42.6
vvc_avg_10_64x8_c : 12778.1
vvc_avg_10_64x8_avx2 : 67.8
vvc_avg_10_64x16_c : 22304.3
vvc_avg_10_64x16_avx2 : 116.8
vvc_avg_10_64x32_c : 30777.1
vvc_avg_10_64x32_avx2 : 201.1
vvc_avg_10_64x64_c : 60169.1
vvc_avg_10_64x64_avx2 : 1454.3
vvc_avg_10_64x128_c : 124392.8
vvc_avg_10_64x128_avx2 : 3648.6
vvc_avg_10_128x2_c : 3650.1
vvc_avg_10_128x2_avx2 : 41.1
vvc_avg_10_128x4_c : 22887.8
vvc_avg_10_128x4_avx2 : 64.1
vvc_avg_10_128x8_c : 14622.6
vvc_avg_10_128x8_avx2 : 111.6
vvc_avg_10_128x16_c : 62207.6
vvc_avg_10_128x16_avx2 : 186.3
vvc_avg_10_128x32_c : 59761.3
vvc_avg_10_128x32_avx2 : 374.6
vvc_avg_10_128x64_c : 117504.3
vvc_avg_10_128x64_avx2 : 2684.6
vvc_avg_10_128x128_c : 236767.6
vvc_avg_10_128x128_avx2 : 15278.1
vvc_avg_12_2x2_c : 78.6
vvc_avg_12_2x2_avx2 : 26.1
vvc_avg_12_2x4_c : 254.1
vvc_avg_12_2x4_avx2 : 30.6
vvc_avg_12_2x8_c : 261.8
vvc_avg_12_2x8_avx2 : 39.1
vvc_avg_12_2x16_c : 527.6
vvc_avg_12_2x16_avx2 : 57.3
vvc_avg_12_2x32_c : 1089.1
vvc_avg_12_2x32_avx2 : 93.8
vvc_avg_12_2x64_c : 2337.6
vvc_avg_12_2x64_avx2 : 707.1
vvc_avg_12_2x128_c : 4582.1
vvc_avg_12_2x128_avx2 : 1414.6
vvc_avg_12_4x2_c : 129.6
vvc_avg_12_4x2_avx2 : 26.8
vvc_avg_12_4x4_c : 427.3
vvc_avg_12_4x4_avx2 : 30.6
vvc_avg_12_4x8_c : 529.6
vvc_avg_12_4x8_avx2 : 36.6
vvc_avg_12_4x16_c : 1022.1
vvc_avg_12_4x16_avx2 : 57.3
vvc_avg_12_4x32_c : 1987.6
vvc_avg_12_4x32_avx2 : 84.3
vvc_avg_12_4x64_c : 4147.6
vvc_avg_12_4x64_avx2 : 706.3
vvc_avg_12_4x128_c : 8469.3
vvc_avg_12_4x128_avx2 : 1448.3
vvc_avg_12_8x2_c : 253.6
vvc_avg_12_8x2_avx2 : 27.6
vvc_avg_12_8x4_c : 836.3
vvc_avg_12_8x4_avx2 : 32.1
vvc_avg_12_8x8_c : 1074.6
vvc_avg_12_8x8_avx2 : 45.1
vvc_avg_12_8x16_c : 3616.8
vvc_avg_12_8x16_avx2 : 71.6
vvc_avg_12_8x32_c : 3823.6
vvc_avg_12_8x32_avx2 : 140.1
vvc_avg_12_8x64_c : 7764.8
vvc_avg_12_8x64_avx2 : 656.1
vvc_avg_12_8x128_c : 15896.1
vvc_avg_12_8x128_avx2 : 1232.8
vvc_avg_12_16x2_c : 462.1
vvc_avg_12_16x2_avx2 : 26.8
vvc_avg_12_16x4_c : 1732.1
vvc_avg_12_16x4_avx2 : 29.1
vvc_avg_12_16x8_c : 2097.6
vvc_avg_12_16x8_avx2 : 62.6
vvc_avg_12_16x16_c : 6753.1
vvc_avg_12_16x16_avx2 : 47.8
vvc_avg_12_16x32_c : 7373.1
vvc_avg_12_16x32_avx2 : 80.8
vvc_avg_12_16x64_c : 15046.3
vvc_avg_12_16x64_avx2 : 621.1
vvc_avg_12_16x128_c : 52574.6
vvc_avg_12_16x128_avx2 : 1417.1
vvc_avg_12_32x2_c : 1712.1
vvc_avg_12_32x2_avx2 : 29.8
vvc_avg_12_32x4_c : 2036.8
vvc_avg_12_32x4_avx2 : 37.6
vvc_avg_12_32x8_c : 4017.6
vvc_avg_12_32x8_avx2 : 44.1
vvc_avg_12_32x16_c : 8018.6
vvc_avg_12_32x16_avx2 : 70.8
vvc_avg_12_32x32_c : 15637.6
vvc_avg_12_32x32_avx2 : 124.3
vvc_avg_12_32x64_c : 31143.3
vvc_avg_12_32x64_avx2 : 830.3
vvc_avg_12_32x128_c : 75706.8
vvc_avg_12_32x128_avx2 : 1604.8
vvc_avg_12_64x2_c : 3230.3
vvc_avg_12_64x2_avx2 : 33.6
vvc_avg_12_64x4_c : 4139.6
vvc_avg_12_64x4_avx2 : 45.1
vvc_avg_12_64x8_c : 8201.6
vvc_avg_12_64x8_avx2 : 67.1
vvc_avg_12_64x16_c : 25632.3
vvc_avg_12_64x16_avx2 : 110.3
vvc_avg_12_64x32_c : 30744.3
vvc_avg_12_64x32_avx2 : 200.3
vvc_avg_12_64x64_c : 105554.8
vvc_avg_12_64x64_avx2 : 1325.6
vvc_avg_12_64x128_c : 235254.3
vvc_avg_12_64x128_avx2 : 3132.6
vvc_avg_12_128x2_c : 6194.3
vvc_avg_12_128x2_avx2 : 55.1
vvc_avg_12_128x4_c : 7583.8
vvc_avg_12_128x4_avx2 : 79.3
vvc_avg_12_128x8_c : 14635.6
vvc_avg_12_128x8_avx2 : 104.3
vvc_avg_12_128x16_c : 29270.8
vvc_avg_12_128x16_avx2 : 194.3
vvc_avg_12_128x32_c : 60113.6
vvc_avg_12_128x32_avx2 : 346.3
vvc_avg_12_128x64_c : 197030.3
vvc_avg_12_128x64_avx2 : 2779.6
vvc_avg_12_128x128_c : 432809.6
vvc_avg_12_128x128_avx2 : 5513.3
vvc_w_avg_8_2x2_c : 84.3
vvc_w_avg_8_2x2_avx2 : 42.6
vvc_w_avg_8_2x4_c : 156.3
vvc_w_avg_8_2x4_avx2 : 58.8
vvc_w_avg_8_2x8_c : 310.6
vvc_w_avg_8_2x8_avx2 : 73.1
vvc_w_avg_8_2x16_c : 942.1
vvc_w_avg_8_2x16_avx2 : 113.3
vvc_w_avg_8_2x32_c : 1098.8
vvc_w_avg_8_2x32_avx2 : 202.6
vvc_w_avg_8_2x64_c : 2414.3
vvc_w_avg_8_2x64_avx2 : 467.6
vvc_w_avg_8_2x128_c : 4763.8
vvc_w_avg_8_2x128_avx2 : 1333.1
vvc_w_avg_8_4x2_c : 140.1
vvc_w_avg_8_4x2_avx2 : 49.8
vvc_w_avg_8_4x4_c : 276.3
vvc_w_avg_8_4x4_avx2 : 58.1
vvc_w_avg_8_4x8_c : 524.3
vvc_w_avg_8_4x8_avx2 : 72.3
vvc_w_avg_8_4x16_c : 1108.1
vvc_w_avg_8_4x16_avx2 : 111.8
vvc_w_avg_8_4x32_c : 2149.8
vvc_w_avg_8_4x32_avx2 : 199.6
vvc_w_avg_8_4x64_c : 12288.1
vvc_w_avg_8_4x64_avx2 : 509.3
vvc_w_avg_8_4x128_c : 8398.6
vvc_w_avg_8_4x128_avx2 : 1319.6
vvc_w_avg_8_8x2_c : 271.1
vvc_w_avg_8_8x2_avx2 : 44.1
vvc_w_avg_8_8x4_c : 503.3
vvc_w_avg_8_8x4_avx2 : 61.8
vvc_w_avg_8_8x8_c : 1031.1
vvc_w_avg_8_8x8_avx2 : 93.8
vvc_w_avg_8_8x16_c : 2009.8
vvc_w_avg_8_8x16_avx2 : 163.1
vvc_w_avg_8_8x32_c : 4161.3
vvc_w_avg_8_8x32_avx2 : 292.1
vvc_w_avg_8_8x64_c : 7940.6
vvc_w_avg_8_8x64_avx2 : 592.1
vvc_w_avg_8_8x128_c : 16802.3
vvc_w_avg_8_8x128_avx2 : 1287.6
vvc_w_avg_8_16x2_c : 762.6
vvc_w_avg_8_16x2_avx2 : 53.6
vvc_w_avg_8_16x4_c : 1486.3
vvc_w_avg_8_16x4_avx2 : 67.1
vvc_w_avg_8_16x8_c : 1907.8
vvc_w_avg_8_16x8_avx2 : 96.8
vvc_w_avg_8_16x16_c : 3883.6
vvc_w_avg_8_16x16_avx2 : 151.3
vvc_w_avg_8_16x32_c : 7974.8
vvc_w_avg_8_16x32_avx2 : 285.8
vvc_w_avg_8_16x64_c : 25160.6
vvc_w_avg_8_16x64_avx2 : 589.8
vvc_w_avg_8_16x128_c : 58328.1
vvc_w_avg_8_16x128_avx2 : 1169.8
vvc_w_avg_8_32x2_c : 1009.1
vvc_w_avg_8_32x2_avx2 : 65.6
vvc_w_avg_8_32x4_c : 2091.1
vvc_w_avg_8_32x4_avx2 : 96.8
vvc_w_avg_8_32x8_c : 3997.8
vvc_w_avg_8_32x8_avx2 : 156.3
vvc_w_avg_8_32x16_c : 8216.8
vvc_w_avg_8_32x16_avx2 : 269.6
vvc_w_avg_8_32x32_c : 21746.1
vvc_w_avg_8_32x32_avx2 : 635.3
vvc_w_avg_8_32x64_c : 31564.8
vvc_w_avg_8_32x64_avx2 : 1010.6
vvc_w_avg_8_32x128_c : 114373.3
vvc_w_avg_8_32x128_avx2 : 2013.6
vvc_w_avg_8_64x2_c : 2067.3
vvc_w_avg_8_64x2_avx2 : 97.6
vvc_w_avg_8_64x4_c : 3901.1
vvc_w_avg_8_64x4_avx2 : 154.8
vvc_w_avg_8_64x8_c : 7911.6
vvc_w_avg_8_64x8_avx2 : 268.8
vvc_w_avg_8_64x16_c : 16508.8
vvc_w_avg_8_64x16_avx2 : 501.8
vvc_w_avg_8_64x32_c : 38770.3
vvc_w_avg_8_64x32_avx2 : 1287.6
vvc_w_avg_8_64x64_c : 110350.6
vvc_w_avg_8_64x64_avx2 : 1890.8
vvc_w_avg_8_64x128_c : 141354.6
vvc_w_avg_8_64x128_avx2 : 3839.6
vvc_w_avg_8_128x2_c : 7012.1
vvc_w_avg_8_128x2_avx2 : 159.3
vvc_w_avg_8_128x4_c : 8146.8
vvc_w_avg_8_128x4_avx2 : 272.6
vvc_w_avg_8_128x8_c : 24596.8
vvc_w_avg_8_128x8_avx2 : 501.1
vvc_w_avg_8_128x16_c : 35918.1
vvc_w_avg_8_128x16_avx2 : 948.8
vvc_w_avg_8_128x32_c : 68799.6
vvc_w_avg_8_128x32_avx2 : 1963.1
vvc_w_avg_8_128x64_c : 133862.1
vvc_w_avg_8_128x64_avx2 : 3833.6
vvc_w_avg_8_128x128_c : 348427.8
vvc_w_avg_8_128x128_avx2 : 7682.8
vvc_w_avg_10_2x2_c : 118.6
vvc_w_avg_10_2x2_avx2 : 73.1
vvc_w_avg_10_2x4_c : 189.1
vvc_w_avg_10_2x4_avx2 : 89.3
vvc_w_avg_10_2x8_c : 382.8
vvc_w_avg_10_2x8_avx2 : 179.8
vvc_w_avg_10_2x16_c : 658.3
vvc_w_avg_10_2x16_avx2 : 185.1
vvc_w_avg_10_2x32_c : 1409.3
vvc_w_avg_10_2x32_avx2 : 290.8
vvc_w_avg_10_2x64_c : 2906.8
vvc_w_avg_10_2x64_avx2 : 793.1
vvc_w_avg_10_2x128_c : 6292.6
vvc_w_avg_10_2x128_avx2 : 1696.8
vvc_w_avg_10_4x2_c : 178.8
vvc_w_avg_10_4x2_avx2 : 80.1
vvc_w_avg_10_4x4_c : 581.6
vvc_w_avg_10_4x4_avx2 : 97.6
vvc_w_avg_10_4x8_c : 693.3
vvc_w_avg_10_4x8_avx2 : 128.1
vvc_w_avg_10_4x16_c : 1436.6
vvc_w_avg_10_4x16_avx2 : 179.8
vvc_w_avg_10_4x32_c : 2409.1
vvc_w_avg_10_4x32_avx2 : 292.3
vvc_w_avg_10_4x64_c : 4925.3
vvc_w_avg_10_4x64_avx2 : 746.1
vvc_w_avg_10_4x128_c : 10664.6
vvc_w_avg_10_4x128_avx2 : 1647.6
vvc_w_avg_10_8x2_c : 359.3
vvc_w_avg_10_8x2_avx2 : 80.1
vvc_w_avg_10_8x4_c : 925.6
vvc_w_avg_10_8x4_avx2 : 97.6
vvc_w_avg_10_8x8_c : 1360.6
vvc_w_avg_10_8x8_avx2 : 121.8
vvc_w_avg_10_8x16_c : 3490.3
vvc_w_avg_10_8x16_avx2 : 203.3
vvc_w_avg_10_8x32_c : 5266.1
vvc_w_avg_10_8x32_avx2 : 325.8
vvc_w_avg_10_8x64_c : 11127.1
vvc_w_avg_10_8x64_avx2 : 747.8
vvc_w_avg_10_8x128_c : 31058.3
vvc_w_avg_10_8x128_avx2 : 1424.6
vvc_w_avg_10_16x2_c : 624.8
vvc_w_avg_10_16x2_avx2 : 84.6
vvc_w_avg_10_16x4_c : 1389.6
vvc_w_avg_10_16x4_avx2 : 109.1
vvc_w_avg_10_16x8_c : 2688.3
vvc_w_avg_10_16x8_avx2 : 137.1
vvc_w_avg_10_16x16_c : 5387.1
vvc_w_avg_10_16x16_avx2 : 224.6
vvc_w_avg_10_16x32_c : 10776.3
vvc_w_avg_10_16x32_avx2 : 312.1
vvc_w_avg_10_16x64_c : 18069.1
vvc_w_avg_10_16x64_avx2 : 858.6
vvc_w_avg_10_16x128_c : 43460.3
vvc_w_avg_10_16x128_avx2 : 1411.6
vvc_w_avg_10_32x2_c : 1232.8
vvc_w_avg_10_32x2_avx2 : 99.1
vvc_w_avg_10_32x4_c : 4017.6
vvc_w_avg_10_32x4_avx2 : 134.1
vvc_w_avg_10_32x8_c : 9306.3
vvc_w_avg_10_32x8_avx2 : 208.1
vvc_w_avg_10_32x16_c : 8424.6
vvc_w_avg_10_32x16_avx2 : 349.3
vvc_w_avg_10_32x32_c : 20787.8
vvc_w_avg_10_32x32_avx2 : 655.3
vvc_w_avg_10_32x64_c : 40972.1
vvc_w_avg_10_32x64_avx2 : 904.8
vvc_w_avg_10_32x128_c : 85670.3
vvc_w_avg_10_32x128_avx2 : 1751.6
vvc_w_avg_10_64x2_c : 2454.1
vvc_w_avg_10_64x2_avx2 : 132.6
vvc_w_avg_10_64x4_c : 5012.6
vvc_w_avg_10_64x4_avx2 : 215.6
vvc_w_avg_10_64x8_c : 10811.3
vvc_w_avg_10_64x8_avx2 : 361.1
vvc_w_avg_10_64x16_c : 33349.1
vvc_w_avg_10_64x16_avx2 : 904.1
vvc_w_avg_10_64x32_c : 41892.3
vvc_w_avg_10_64x32_avx2 : 1220.6
vvc_w_avg_10_64x64_c : 66983.3
vvc_w_avg_10_64x64_avx2 : 2622.1
vvc_w_avg_10_64x128_c : 246508.8
vvc_w_avg_10_64x128_avx2 : 3316.8
vvc_w_avg_10_128x2_c : 7791.6
vvc_w_avg_10_128x2_avx2 : 198.8
vvc_w_avg_10_128x4_c : 10534.3
vvc_w_avg_10_128x4_avx2 : 337.3
vvc_w_avg_10_128x8_c : 21142.3
vvc_w_avg_10_128x8_avx2 : 614.8
vvc_w_avg_10_128x16_c : 40968.6
vvc_w_avg_10_128x16_avx2 : 1160.6
vvc_w_avg_10_128x32_c : 113043.3
vvc_w_avg_10_128x32_avx2 : 1644.6
vvc_w_avg_10_128x64_c : 230658.3
vvc_w_avg_10_128x64_avx2 : 5065.3
vvc_w_avg_10_128x128_c : 335236.3
vvc_w_avg_10_128x128_avx2 : 6450.3
vvc_w_avg_12_2x2_c : 185.3
vvc_w_avg_12_2x2_avx2 : 43.6
vvc_w_avg_12_2x4_c : 340.3
vvc_w_avg_12_2x4_avx2 : 55.8
vvc_w_avg_12_2x8_c : 632.3
vvc_w_avg_12_2x8_avx2 : 70.1
vvc_w_avg_12_2x16_c : 728.3
vvc_w_avg_12_2x16_avx2 : 108.1
vvc_w_avg_12_2x32_c : 1392.6
vvc_w_avg_12_2x32_avx2 : 176.8
vvc_w_avg_12_2x64_c : 2618.3
vvc_w_avg_12_2x64_avx2 : 757.3
vvc_w_avg_12_2x128_c : 6408.8
vvc_w_avg_12_2x128_avx2 : 1435.1
vvc_w_avg_12_4x2_c : 349.3
vvc_w_avg_12_4x2_avx2 : 44.3
vvc_w_avg_12_4x4_c : 607.1
vvc_w_avg_12_4x4_avx2 : 52.6
vvc_w_avg_12_4x8_c : 1134.8
vvc_w_avg_12_4x8_avx2 : 70.1
vvc_w_avg_12_4x16_c : 1378.1
vvc_w_avg_12_4x16_avx2 : 115.3
vvc_w_avg_12_4x32_c : 2599.3
vvc_w_avg_12_4x32_avx2 : 174.3
vvc_w_avg_12_4x64_c : 4474.8
vvc_w_avg_12_4x64_avx2 : 656.1
vvc_w_avg_12_4x128_c : 11319.6
vvc_w_avg_12_4x128_avx2 : 1373.1
vvc_w_avg_12_8x2_c : 595.8
vvc_w_avg_12_8x2_avx2 : 44.3
vvc_w_avg_12_8x4_c : 1164.3
vvc_w_avg_12_8x4_avx2 : 56.6
vvc_w_avg_12_8x8_c : 2019.6
vvc_w_avg_12_8x8_avx2 : 80.1
vvc_w_avg_12_8x16_c : 4071.6
vvc_w_avg_12_8x16_avx2 : 139.3
vvc_w_avg_12_8x32_c : 4485.1
vvc_w_avg_12_8x32_avx2 : 250.6
vvc_w_avg_12_8x64_c : 8404.8
vvc_w_avg_12_8x64_avx2 : 735.8
vvc_w_avg_12_8x128_c : 35679.8
vvc_w_avg_12_8x128_avx2 : 1252.6
vvc_w_avg_12_16x2_c : 1114.8
vvc_w_avg_12_16x2_avx2 : 46.6
vvc_w_avg_12_16x4_c : 2240.1
vvc_w_avg_12_16x4_avx2 : 62.6
vvc_w_avg_12_16x8_c : 13174.6
vvc_w_avg_12_16x8_avx2 : 88.6
vvc_w_avg_12_16x16_c : 5334.6
vvc_w_avg_12_16x16_avx2 : 144.3
vvc_w_avg_12_16x32_c : 8378.1
vvc_w_avg_12_16x32_avx2 : 234.6
vvc_w_avg_12_16x64_c : 21300.8
vvc_w_avg_12_16x64_avx2 : 761.8
vvc_w_avg_12_16x128_c : 32786.8
vvc_w_avg_12_16x128_avx2 : 1432.8
vvc_w_avg_12_32x2_c : 2154.3
vvc_w_avg_12_32x2_avx2 : 61.1
vvc_w_avg_12_32x4_c : 4299.8
vvc_w_avg_12_32x4_avx2 : 83.1
vvc_w_avg_12_32x8_c : 7964.8
vvc_w_avg_12_32x8_avx2 : 132.6
vvc_w_avg_12_32x16_c : 13321.6
vvc_w_avg_12_32x16_avx2 : 234.6
vvc_w_avg_12_32x32_c : 21149.3
vvc_w_avg_12_32x32_avx2 : 433.3
vvc_w_avg_12_32x64_c : 43666.6
vvc_w_avg_12_32x64_avx2 : 876.6
vvc_w_avg_12_32x128_c : 83189.8
vvc_w_avg_12_32x128_avx2 : 1756.6
vvc_w_avg_12_64x2_c : 3829.8
vvc_w_avg_12_64x2_avx2 : 83.1
vvc_w_avg_12_64x4_c : 8588.1
vvc_w_avg_12_64x4_avx2 : 127.1
vvc_w_avg_12_64x8_c : 17027.6
vvc_w_avg_12_64x8_avx2 : 310.6
vvc_w_avg_12_64x16_c : 29797.8
vvc_w_avg_12_64x16_avx2 : 415.6
vvc_w_avg_12_64x32_c : 43854.3
vvc_w_avg_12_64x32_avx2 : 773.3
vvc_w_avg_12_64x64_c : 137767.3
vvc_w_avg_12_64x64_avx2 : 1608.6
vvc_w_avg_12_64x128_c : 316428.3
vvc_w_avg_12_64x128_avx2 : 3249.8
vvc_w_avg_12_128x2_c : 8824.6
vvc_w_avg_12_128x2_avx2 : 130.3
vvc_w_avg_12_128x4_c : 17173.6
vvc_w_avg_12_128x4_avx2 : 219.3
vvc_w_avg_12_128x8_c : 21997.8
vvc_w_avg_12_128x8_avx2 : 397.3
vvc_w_avg_12_128x16_c : 43553.8
vvc_w_avg_12_128x16_avx2 : 790.1
vvc_w_avg_12_128x32_c : 89792.1
vvc_w_avg_12_128x32_avx2 : 1497.6
vvc_w_avg_12_128x64_c : 226573.3
vvc_w_avg_12_128x64_avx2 : 3153.1
vvc_w_avg_12_128x128_c : 332090.1
vvc_w_avg_12_128x128_avx2 : 6499.6Signed-off-by : Wu Jianhua <toqsxw@outlook.com>
-
Processing h264 video/audio stream
1er mars 2024, par DinamoI have separate audio and video streams from a camera that I'm trying to merge to a single file.


Video processing


I have
JVT NAL sequence, H.264 video, main @ L 31
data, I had the frames separated and I appended (concat) the frames to one file.

here is the
ffprobe
output of the data :

ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
 configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Input #0, h264, from 'frame_data.h264':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc



the file is being played on vlc, however the video is played like it is on fast forward (every 2 seconds of the video should be about 1 second)


The video should run at 15fps (not sure about that because of the mentioned avi file)


here is
ffprobe
output of working avi file that contain the video stream :

Input #0, avi, from 't.avi':
 Duration: 00:03:29.00, start: 0.000000, bitrate: 1116 kb/s
 Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuvj420p(pc, bt709, progressive), 1280x720, 849 kb/s, 30 fps, 15 tbr, 30 tbn, 60 tbc



I tried this command
ffmpeg -i frame_data.h264 -filter:v fps=15 test.h264
but the video is still playing like its on fast forward

vlc data before changing fps to 15




vlc data after changing fps to 15




frames info (raw)


[FRAME]
media_type=video
stream_index=0
key_frame=1
pkt_pts=N/A
pkt_pts_time=N/A
-> pkt_dts=N/A
-> pkt_dts_time=N/A
best_effort_timestamp=N/A
best_effort_timestamp_time=N/A
-> pkt_duration=48000
-> pkt_duration_time=0.040000
pkt_pos=1476573
pkt_size=57677
width=1280
height=720
pix_fmt=yuvj420p
sample_aspect_ratio=N/A
pict_type=I
coded_picture_number=189
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
color_range=pc
color_space=bt709
color_primaries=bt709
color_transfer=bt709
chroma_location=left
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=N/A
pkt_pts_time=N/A
-> pkt_dts=N/A
-> pkt_dts_time=N/A
best_effort_timestamp=N/A
best_effort_timestamp_time=N/A
-> pkt_duration=48000
-> pkt_duration_time=0.040000
pkt_pos=1534250
pkt_size=3928
width=1280
height=720
pix_fmt=yuvj420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=190
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
color_range=pc
color_space=bt709
color_primaries=bt709
color_transfer=bt709
chroma_location=left
[/FRAME]



frame info from working (processed) avi


[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=N/A
pkt_pts_time=N/A
-> pkt_dts=500
-> pkt_dts_time=16.666667
best_effort_timestamp=500
best_effort_timestamp_time=16.666667
-> pkt_duration=1
-> pkt_duration_time=0.033333
pkt_pos=1772182
pkt_size=3070
width=1280
height=720
pix_fmt=yuvj420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=191
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
color_range=pc
color_space=bt709
color_primaries=bt709
color_transfer=bt709
chroma_location=left
[/FRAME]



pkt_pts
andpkt_dts
are missing in the raw data, maybe that is the reason the video plays on fast forward ? in the working (processed) avipkt_dts
,pkt_dts_time
,pkt_duration_time
are not missing.
pkt_duration_time
is always 0.033333
pkt_dts
always jumps by 2 (there is no oddpkt_dts
)

Audio processing


I have raw pcm audio of the video :


here is an output of
ffplay -f s16le -ar 16k -ac 1 frame_data2.h264
on the raw data



The raw audio does not playing well using this command.


I guessed the parameters (incorrectly ?) from working avi file that contains the pcm data :


Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channels, s16, 256 kb/s



here is frame info from working (processed) avi file


[FRAME]
media_type=audio
stream_index=1
key_frame=1
pkt_pts=4320
pkt_pts_time=0.270000
pkt_dts=4320
pkt_dts_time=0.270000
best_effort_timestamp=4320
best_effort_timestamp_time=0.270000
pkt_duration=480
pkt_duration_time=0.030000
pkt_pos=11670
pkt_size=960
sample_fmt=s16
nb_samples=480
channels=1
channel_layout=unknown
[/FRAME]



I'm trying to understand how should I process the video and the audio so that they will play well (merge them myself with the right av processing to avi/mp4 file)


I also find this extra data that was included for each frame :
I suspect the first column is a sequence number maybe related to dts somehow, second column is a timestamp (milliseconds ?) (maybe you can help me parse it)


600 0xd96533 (audio)
601 0xd9e1dd (audio)
602 0xda4f52 (audio)
603 0xda5a63 (video)
604 0xdacc4b (audio)
605 0xdb39a3 (audio)
606 0xdb5ee9 (video)
607 0xdbb6d8 (audio)
608 0xdc23fe (audio)
609 0xdcb255 (audio)
610 0xdd0e69 (audio)
611 0xdd8b96 (audio)
612 0xdd67d0 (video)
613 0xddf8bd (audio)
614 0xde75fe (audio)
615 0xde6c28 (video)
616 0xdee328 (audio)
617 0xdf6012 (audio)
618 0xdfcd9d (audio)
619 0xe04a7d (audio)
620 0xe07523 (video)
621 0xe0b80c (audio)
622 0xe134db (audio)
623 0xe1798b (video)
624 0xe1a251 (audio)
625 0xe21f5c (audio)
626 0xe28ce1 (audio)
627 0xe27df7 (video)
628 0xe309a7 (audio)
629 0xe376fe (audio)
630 0xe3826e (video)
631 0xe3f3fd (audio)
632 0xe46154 (audio)
633 0xe486e9 (video)
634 0xe4de79 (audio)
635 0xe54bbe (audio)
636 0xe58b79 (video)
637 0xe5c8cb (audio)
638 0xe6361e (audio)
639 0xe6b35b (audio)
640 0xe68fb7 (video)
641 0xe72093 (audio)
642 0xe79db1 (audio)
643 0xe7942f (video)
644 0xe80b09 (audio)
645 0xe887ed (audio)
646 0xe8f546 (audio)
647 0xe97256 (audio)
648 0xe99d2c (video)
649 0xe9dfbd (audio)
650 0xea5ca8 (audio)



Thanks.


-
ffmpeg runs in terminal but returns error in subprocess.run from flatpak-installed pycharm
19 juin 2024, par nameI want to run this command in python :


ffmpeg -ss 00:00:30 -i "/home/exl/—1—ARCHIVE—1—/video/music videos/author --- a2 - name (text).webm" -vf scale=150:-2 -vframes 1 -c:v libwebp -compression_level 6 -quality 100 /home/exl/—1—ARCHIVE—1—/—3—previews—3—/734a8a0bac3a83e0f6c69416a26ec5cd211a6d742f3df63bb72bdbe6431b57c30677bc11551ba4aaaecac15ed2c48de51340a09020b7e9d9479e1e81ff766191.webp



In terminal it works fine, but in subprocess returns error. Python code :


finished_process = subprocess.run(
 [
 '/usr/bin/ffmpeg',
 '-ss', f'00:00:{seconds_shift}',
 '-i', original_path,
 '-vf', 'scale=150:-2',
 '-vframes', '1',
 '-c:v', 'libwebp',
 '-compression_level', '6',
 '-quality', '100',
 preview_path
 ],
 #stdout=subprocess.DEVNULL,
 #stderr=subprocess.DEVNULL,
 check=False,
 capture_output=True
 )



finished_process.stderr.decode()
:

ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.1.0 (GCC)
 configuration: --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-debug --disable-doc --disable-static --enable-optimizations --enable-shared --disable-everything --enable-ffplay --enable-ffprobe --enable-gnutls --enable-libaom --enable-libdav1d --enable-libfdk-aac --enable-libmp3lame --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-vulkan --enable-zlib --enable-libv4l2 --enable-libxcb --enable-vdpau --enable-vaapi --enable-encoder='ac3,alac,flac,libfdk_aac,g723_1,mp2,libmp3lame,libopus,libspeex,pcm_alaw,pcm_mulaw,pcm_f32le,pcm_s16be,pcm_s24be,pcm_s16le,pcm_s24le,pcm_s32le,pcm_u8,tta,libvorbis,wavpack,' --enable-encoder='ass,ffv1,libaom_av1,libvpx_vp8,libvpx_vp9,mjpeg_vaapi,rawvideo,theora,vp8_vaapi,libopenh264' --enable-decoder='adpcm_g722,alac,flac,g723_1,g729,libfdk_aac,libopus,libspeex,mp2,mp3,m4a,pcm_alaw,pcm_mulaw,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_s16be,pcm_s16be_planar,pcm_s24be,pcm_s16le,pcm_s16le_planar,pcm_s24le,pcm_s24le_planar,pcm_s32le,pcm_s32le_planar,pcm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_u8,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,tta,vorbis,wavpack,' --enable-decoder='ass,ffv1,mjpeg,mjpegb,libaom_av1,libdav1d,libvpx_vp8,libvpx_vp9,rawvideo,theora,vp8,vp9,libopenh264' --enable-encoder='bmp,gif,jpegls,png,tiff,webp,' --enable-decoder='bmp,gif,jpegls,png,tiff,webp,' --enable-hwaccel='vp8_vaapi,mjpeg_vaapi,' --enable-parser='aac,ac3,flac,mjpeg,mpegaudio,mpeg4video,opus,vp3,vp8,vp9,vorbis,' --enable-muxer='ac3,ass,flac,g722,gif,matroska,mp3,mpegvideo,rtp,ogg,opus,pcm_s16be,pcm_s16le,wav,webm,' --enable-demuxer='aac,ac3,ass,flac,g722,gif,image_jpeg_pipe,image_png_pipe,image_webp_pipe,matroska,mjpeg,mov,mp3,mpegvideo,ogg,pcm_mulaw,pcm_alaw,pcm_s16be,pcm_s16le,rtp,wav,' --enable-filter='crop,scale,overlay,amix,amerge,aresample,format,aformat,fps,transpose,pad,' --enable-indev='v4l2,xcbgrab,' --enable-protocol='crypto,file,pipe,rtp,srtp,rtsp,tcp,udp,unix,' --arch=x86_64 --enable-libopenh264
 libavutil 57. 17.100 / 57. 17.100
 libavcodec 59. 18.100 / 59. 18.100
 libavformat 59. 16.100 / 59. 16.100
 libavdevice 59. 4.100 / 59. 4.100
 libavfilter 8. 24.100 / 8. 24.100
 libswscale 6. 4.100 / 6. 4.100
 libswresample 4. 3.100 / 4. 3.100
Input #0, matroska,webm, from '/home/exl/—1—ARCHIVE—1—/video/music videos/author --- a2 - name (text).webm':
 Metadata:
 ENCODER : Lavf59.16.100
 Duration: 00:03:24.98, start: -0.007000, bitrate: 915 kb/s
 Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1920x1036, SAR 1:1 DAR 480:259, 25 fps, 25 tbr, 1k tbn (default)
 Metadata:
 DURATION : 00:03:24.960000000
 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, s16 (default)
 Metadata:
 DURATION : 00:03:24.981000000
[NULL @ 0x55dd82de7d00] Unable to find a suitable output format for '/home/exl/—1—ARCHIVE—1—/—3—previews—3—/734a8a0bac3a83e0f6c69416a26ec5cd211a6d742f3df63bb72bdbe6431b57c30677bc11551ba4aaaecac15ed2c48de51340a09020b7e9d9479e1e81ff766191.webp'
/home/exl/—1—ARCHIVE—1—/—3—previews—3—/734a8a0bac3a83e0f6c69416a26ec5cd211a6d742f3df63bb72bdbe6431b57c30677bc11551ba4aaaecac15ed2c48de51340a09020b7e9d9479e1e81ff766191.webp: Invalid argument




As suggested here (FFMPEG command runs in terminal but not by subprocess) i tried using
which
determine path to correct version, but this command returns/usr/bin/ffmpeg
both in python and in terminal.

which ffmpeg
(bothsubprocess.run(['which', 'ffmpeg'], capture_output=True).stdout
and terminal) :/usr/bin/ffmpeg


ffmpeg -version
: 5.1.1-1ubuntu1

ffmpeg version 5.1.1-1ubuntu1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12 (Ubuntu 12.2.0-1ubuntu1)
configuration: --prefix=/usr --extra-version=1ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared



subprocess.run(['ffmpeg', '-version'], capture_output=True).stdout.decode()
: 5.0.1

ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-debug --disable-doc --disable-static --enable-optimizations --enable-shared --disable-everything --enable-ffplay --enable-ffprobe --enable-gnutls --enable-libaom --enable-libdav1d --enable-libfdk-aac --enable-libmp3lame --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-vulkan --enable-zlib --enable-libv4l2 --enable-libxcb --enable-vdpau --enable-vaapi --enable-encoder='ac3,alac,flac,libfdk_aac,g723_1,mp2,libmp3lame,libopus,libspeex,pcm_alaw,pcm_mulaw,pcm_f32le,pcm_s16be,pcm_s24be,pcm_s16le,pcm_s24le,pcm_s32le,pcm_u8,tta,libvorbis,wavpack,' --enable-encoder='ass,ffv1,libaom_av1,libvpx_vp8,libvpx_vp9,mjpeg_vaapi,rawvideo,theora,vp8_vaapi,libopenh264' --enable-decoder='adpcm_g722,alac,flac,g723_1,g729,libfdk_aac,libopus,libspeex,mp2,mp3,m4a,pcm_alaw,pcm_mulaw,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_s16be,pcm_s16be_planar,pcm_s24be,pcm_s16le,pcm_s16le_planar,pcm_s24le,pcm_s24le_planar,pcm_s32le,pcm_s32le_planar,pcm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_u8,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,tta,vorbis,wavpack,' --enable-decoder='ass,ffv1,mjpeg,mjpegb,libaom_av1,libdav1d,libvpx_vp8,libvpx_vp9,rawvideo,theora,vp8,vp9,libopenh264' --enable-encoder='bmp,gif,jpegls,png,tiff,webp,' --enable-decoder='bmp,gif,jpegls,png,tiff,webp,' --enable-hwaccel='vp8_vaapi,mjpeg_vaapi,' --enable-parser='aac,ac3,flac,mjpeg,mpegaudio,mpeg4video,opus,vp3,vp8,vp9,vorbis,' --enable-muxer='ac3,ass,flac,g722,gif,matroska,mp3,mpegvideo,rtp,ogg,opus,pcm_s16be,pcm_s16le,wav,webm,' --enable-demuxer='aac,ac3,ass,flac,g722,gif,image_jpeg_pipe,image_png_pipe,image_webp_pipe,matroska,mjpeg,mov,mp3,mpegvideo,ogg,pcm_mulaw,pcm_alaw,pcm_s16be,pcm_s16le,rtp,wav,' --enable-filter='crop,scale,overlay,amix,amerge,aresample,format,aformat,fps,transpose,pad,' --enable-indev='v4l2,xcbgrab,' --enable-protocol='crypto,file,pipe,rtp,srtp,rtsp,tcp,udp,unix,' --arch=x86_64 --enable-libopenh264



Thank you in advance.