
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (79)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 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
Sur d’autres sites (6961)
-
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>
-
Concat video/audio files downloaded from mpd dash manifest
15 mai 2022, par Bloworlf MathurinI have this manifest I fetched from an url :


<?xml version="1.0"?>
<mpd type="dynamic" xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" availabilitystarttime="2022-05-14T21:18:50-07:00" availabilityendtime="2022-05-14T22:35:36-07:00" timeshiftbufferdepth="PT20S" suggestedpresentationdelay="PT2S" minbuffertime="PT1S" publishtime="2022-05-14T21:18:50-07:00" minimumupdateperiod="PT1S" validationerrors="" currentservertimems="0" firstavtimems="1652588331877" lastvideoframets="0" loapstreamid="17944405669984029" publishframetime="939">
 <period start="PT0S">
 <adaptationset segmentalignment="true" maxwidth="432" maxheight="766" maxframerate="30">
 <representation mimetype="video/mp4" codecs="avc1.4d401e" width="432" height="766" framerate="30" startwithsap="1" bandwidth="38894" maxbandwidth="46772" playbackresolutionmos="432:82.84,720:65.43,216:70.39" qualityclass="sd" qualitylabel="432p">
 <segmenttemplate presentationtimeoffset="0" timescale="1000" initialization="some/url/some_id-init.m4v?ms=m_C&amp;ccb=2-4" media="some/url/some_id-$Time$.m4v?ms=m_C&amp;ccb=2-4">
 <segmenttimeline>
 <s t="4092613" d="2000"></s>
 <s t="4094613" d="2000"></s>
 <s t="4096613" d="2000"></s>
 <s t="4098613" d="2000"></s>
 <s t="4100613" d="2000"></s>
 <s t="4102613" d="2000"></s>
 <s t="4104613" d="2000"></s>
 <s t="4106613" d="2000"></s>
 <s t="4108613" d="2000"></s>
 <s t="4110613" d="2000"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset segmentalignment="true">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" audiosamplingrate="44100" startwithsap="1" bandwidth="48979" maxbandwidth="57732">
 <segmenttemplate presentationtimeoffset="0" timescale="1000" initialization="some/url/some_id-init.m4a?ms=m_C&amp;ccb=2-4" media="some/url/some_id-$Time$.m4a?ms=m_C&amp;ccb=2-4">
 <segmenttimeline>
 <s t="4092613" d="2000"></s>
 <s t="4094613" d="2000"></s>
 <s t="4096613" d="2000"></s>
 <s t="4098613" d="2000"></s>
 <s t="4100613" d="2000"></s>
 <s t="4102613" d="2000"></s>
 <s t="4104613" d="2000"></s>
 <s t="4106613" d="2000"></s>
 <s t="4108613" d="2000"></s>
 <s t="4110613" d="2000"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 </period>
</mpd>



I manage to download all the files (init file + 10 segment files) and put them in an array


File[] files = downloadSegments();


So I have :
[0] -> file-0.m4v (which is the init file)
[1] -> file-1.m4v (1st segment)
... and so on.


My question is how can I concat/append all these files into another file (final_segment.m4v) ?


I looked around a lot and am now using 'com.arthenica:ffmpeg-kit-video:4.5.1-1'
I've last tried :


FFmpegSession session = FFmpegKit.execute("-i file-0.m4v -i file-1.m4v ... -c copy final_segment.m4v");



Is there something I'm missing ?


Also I assume that I'll have to do the same for the audio segments. So I will have 2 files (final_segment.m4v and final_segment.m4a) that I will have to merge/mix together.


If you could help me with some piece of code, that would be great.


-
extracting video and data streams from MPEG2 TS over RTP in real-time
10 janvier 2024, par Tejal BarnwalI have H264 video stream and KLV meta data encapsulated inside MPEG2 TS container which are sent over an RTP over UDP from a camera.
I intend to do the following :


- 

- Extract both video and data streams from RTP
- Process video feed using opencv in a seperate thread
- process klv metadata in a seperate thread








My problem what exact arguments should I provide to ffmpeg so as to read h264 video stream and show the images frame by frame using opencv ?


With the help of some previous posts like Simultaneously map video and data streams to one subprocess pipeline in real-time, I was able to get some idea about how could I proceed to procees the stream over RTP.


I started out by using the following script :


#!/usr/bin/env python3
from asyncio import streams
from logging.handlers import QueueListener
import klvdata
import subprocess as sp
import shlex
import threading
import numpy as np
import cv2
import time
from io import BytesIO

# Video reader thread.
def video_reader(pipe):
 cols, rows = 1280, 720 # Assume we know frame size is 1280x720

 counter = 0
 while True:
 print("read image")
 raw_image = pipe.read(cols*rows*3) # Read raw video frame

 # Break the loop when length is too small
 if len(raw_image) < cols*rows*3:
 break

 if (counter % 10) == 0:
 # Show video frame evey 60 frames
 image = np.frombuffer(raw_image, np.uint8).reshape([rows, cols, 3])
 cv2.imshow('Video', image) # Show video image for testing
 cv2.waitKey(1)
 counter += 1
 print("image showed on window")
 time.sleep(0.25)



# https://github.com/paretech/klvdata/tree/master/klvdata
def bytes_to_int(value, signed=False):
 """Return integer given bytes."""
 return int.from_bytes(bytes(value), byteorder='big', signed=signed)


# Data reader thread (read KLV data).
def data_reader(pipe):
 key_length = 16 # Assume key length is 16 bytes.

 f = open('data.bin', 'wb') # For testing - store the KLV data to data.bin (binary file)

 while True:
 # https://en.wikipedia.org/wiki/KLV
 # The first few bytes are the Key, much like a key in a standard hash table data structure.
 # Keys can be 1, 2, 4, or 16 bytes in length.
 # Presumably in a separate specification document you would agree on a key length for a given application.
 key = pipe.read(key_length) # Read the key
 
 if len(key) < key_length:
 break # Break the loop when length is too small
 f.write(key) # Write data to binary file for testing

 # https://github.com/paretech/klvdata/tree/master/klvdata
 # Length field
 len_byte = pipe.read(1)

 if len(len_byte) < 1:
 break # Break the loop when length is too small
 f.write(len_byte) # Write data to binary file for testing

 byte_length = bytes_to_int(len_byte)

 # https://github.com/paretech/klvdata/tree/master/klvdata 
 if byte_length < 128:
 # BER Short Form
 length = byte_length
 ber_len_bytes = b''
 else:
 # BER Long Form
 ber_len = byte_length - 128
 ber_len_bytes = pipe.read(ber_len)

 if len(ber_len_bytes) < ber_len:
 break # Break the loop when length is too small
 f.write(ber_len_bytes) # Write ber_len_bytes to binary file for testing

 length = bytes_to_int(ber_len_bytes)

 # Read the value (length bytes)
 value = pipe.read(length)
 if len(value) < length:
 break # Break the loop when length is too small
 f.write(value) # Write data to binary file for testing

 klv_data = key + len_byte + ber_len_bytes + value # Concatenate key length and data
 klv_data_as_bytes_io = BytesIO(klv_data) # Wrap klv_data with BytesIO (before parsing)

 # Parse the KLV data
 for packet in klvdata.StreamParser(klv_data_as_bytes_io): 
 metadata = packet.MetadataList()
 for key, value in metadata.items():
 print(key, value)
 
 print("\n") # New line

# Execute FFmpeg as sub-process
# Map the video to stderr and map the data to stdout
process = sp.Popen(shlex.split('ffmpeg -hide_banner -loglevel quiet ' # Set loglevel to quiet for disabling the prints ot stderr
 '-i "rtp://192.168.0.141:11024" ' # Input video "Day Flight.mpg"
 '-map 0:v -c:v rawvideo -pix_fmt bgr24 -f:v rawvideo pipe:2 ' # rawvideo format is mapped to stderr pipe (raw video codec with bgr24 pixel format)
 '-map 0:d -c copy -copy_unknown -f:d data pipe:1 ' # Copy the data without ddecoding.
 '-report'), # Create a log file (because we can't the statuses that are usually printed to stderr).
 stdout=sp.PIPE, stderr=sp.PIPE)


# Start video reader thread (pass stderr pipe as argument).
video_thread = threading.Thread(target=video_reader, args=(process.stderr,))
video_thread.start()

# Start data reader thread (pass stdout pipe as argument).
data_thread = threading.Thread(target=data_reader, args=(process.stdout,))
data_thread.start()


# Wait for threads (and process) to finish.
video_thread.join()
data_thread.join()
process.wait()




With the above script, I was facing two issues :


- 

- The second thread resulted in an attribute error




Exception in thread Thread-2:
Traceback (most recent call last):
 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
 self.run()
 File "/usr/lib/python3.8/threading.py", line 870, in run
 self._target(*self._args, **self._kwargs)
 File "video_data_extraction.py", line 97, in data_reader
 print(packet.MetadataList())
AttributeError: 'UnknownElement' object has no attribute 'MetadataList'




- 

- With this though I continuously able to see following output on the terminal regarding reading the images




read image
image showed on window
read image
image showed on window
read image
image showed on window
read image
image showed on window
read image
image showed on window
read image
image showed on window



The imshow windows wasnt updating properly ! It seemed stuck after a few frames.


Further diving into the lane with the help of following command, I concluded that the video stream that I am reading has H264 encoding


ffprobe -i rtp://192.168.0.141:11024 -show_streams -show_formats



Output of the above command :


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/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --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-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
[rtp @ 0xaaaac81ecce0] PES packet size mismatch
 Last message repeated 62 times
[NULL @ 0xaaaac81f09b0] non-existing PPS 0 referenced
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[rtp @ 0xaaaac81ecce0] PES packet size mismatch
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[rtp @ 0xaaaac81ecce0] PES packet size mismatch
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0xaaaac81f09b0] decode_slice_header error
[h264 @ 0xaaaac81f09b0] no frame!
[rtp @ 0xaaaac81ecce0] PES packet size mismatch
 Last message repeated 187 times
Input #0, rtp, from 'rtp://192.168.0.141:11024':
 Duration: N/A, start: 1317.040656, bitrate: N/A
 Program 1 
 Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 90k tbn
 Stream #0:0: Data: klv (KLVA / 0x41564C4B)
Unsupported codec with id 100356 for input stream 0
[STREAM]
index=0
codec_name=klv
codec_long_name=SMPTE 336M Key-Length-Value (KLV) metadata
profile=unknown
codec_type=data
codec_tag_string=KLVA
codec_tag=0x41564c4b
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=118533659
start_time=1317.040656
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
[/STREAM]
[STREAM]
index=1
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=Constrained Baseline
codec_type=video
codec_time_base=1/50
codec_tag_string=[27][0][0][0]
codec_tag=0x001b
width=1280
height=720
coded_width=1280
coded_height=720
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuv420p
level=31
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=false
nal_length_size=0
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/90000
start_pts=118533659
start_time=1317.040656
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
[/STREAM]
[FORMAT]
filename=rtp://192.168.0.141:11024
nb_streams=2
nb_programs=1
format_name=rtp
format_long_name=RTP input
start_time=1317.040656
duration=N/A
size=N/A
bit_rate=N/A
probe_score=100
[/FORMAT]



Further, in the log output, I see a lot of statements in regard to missed packets and PES packet mismatch


[rtp @ 0xaaaaf31896c0] max delay reached. need to consume packet
[rtp @ 0xaaaaf31896c0] RTP: missed 98 packets
[rtp @ 0xaaaaf31896c0] Continuity check failed for pid 40 expected 14 got 10
[rtp @ 0xaaaaf31896c0] PES packet size mismatch
rtp://192.168.0.141:11024: corrupt input packet in stream 0
frame= 124 fps=2.6 q=-0.0 size= 334800kB time=00:00:05.32 bitrate=515406.0kbits/s dup=97 drop=0 speed=0.111x 



What arguments do I provide to ffmpeg and in what order because my stream 0 is metadata and stream 1 is video so as to display image frame by frame with opencv ?
I would be grateful for any help that you could provide.


Further, I also have a query regarding how does ffmpeg know to that it has to first convert the rtp packets into mpeg2 TS packets before segregating video stream and data stream ?