Recherche avancée

Médias (91)

Autres articles (16)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (7770)

  • Anomalie #4295 (Nouveau) : Bug sur Boucle DATA et fusion sur un #ARRAY

    21 février 2019

    Bonjour,

    J’ai fait une boucle complexe pour lister par année, et mois les articles et les brèves d’un site : https://zone.spip.org/trac/spip-zone/changeset/113991

    Dans mon jeu de test, elle génère ce tableau :

    1. <span class="CodeRay"><span class="predefined">Array</span>
    2. (
    3. [<span class="integer">0</span>] => <span class="predefined">Array</span>
    4. (
    5. [year] => <span class="integer">2016</span>
    6. [month] => <span class="integer">12</span>
    7. [lemois] => décembre
    8. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">12</span>-<span class="integer">18</span> <span class="integer">23</span>:<span class="integer">05</span>:<span class="integer">51</span>
    9. [url] => <span class="constant">Test</span>-modele-exergue.html
    10. [descriptif] =>
    11. [titre] => <span class="constant">Test</span> modèle exergue
    12. [<span class="keyword">class</span>] =>
    13. )
    14. [<span class="integer">1</span>] => <span class="predefined">Array</span>
    15. (
    16. [year] => <span class="integer">2016</span>
    17. [month] => <span class="integer">10</span>
    18. [lemois] => octobre
    19. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">10</span>-<span class="integer">27</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">00</span>
    20. [url] => <span class="constant">Derniers</span>-articles.html
    21. [descriptif] =>
    22. [titre] => <span class="constant">Derniers</span> articles
    23. [<span class="keyword">class</span>] =>
    24. )
    25. [<span class="integer">2</span>] => <span class="predefined">Array</span>
    26. (
    27. [year] => <span class="integer">2016</span>
    28. [month] => <span class="integer">09</span>
    29. [lemois] => septembre
    30. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">09</span>-<span class="integer">06</span> <span class="integer">20</span>:<span class="integer">20</span>:<span class="integer">42</span>
    31. [url] => <span class="constant">Test</span>-<span class="constant">Form</span>-<span class="constant">IP</span>.html
    32. [descriptif] =>
    33. <span class="constant">Tentez</span> de gagner par tirage au <span class="predefined">sort</span> le remboursement de votre achat [<span class="integer">1</span>]
    34.  
    35. [titre] => <span class="constant">Test</span> <span class="constant">Form</span> <span class="constant">IP</span>
    36. [<span class="keyword">class</span>] =>
    37. )
    38. [<span class="integer">3</span>] => <span class="predefined">Array</span>
    39. (
    40. [year] => <span class="integer">2016</span>
    41. [month] => <span class="integer">07</span>
    42. [lemois] => juillet
    43. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">07</span>-<span class="integer">29</span> <span class="integer">14</span>:<span class="integer">45</span>:<span class="integer">00</span>
    44. [url] => <span class="constant">Article</span>-avec-logo.html
    45. [descriptif] =>
    46. [titre] => <span class="constant">Article</span> avec logo
    47. [<span class="keyword">class</span>] =>
    48. )
    49. [<span class="integer">4</span>] => <span class="predefined">Array</span>
    50. (
    51. [year] => <span class="integer">2016</span>
    52. [month] => <span class="integer">05</span>
    53. [lemois] => mai
    54. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">05</span>-<span class="integer">22</span> <span class="integer">17</span>:<span class="integer">29</span>:<span class="integer">43</span>
    55. [url] => <span class="constant">Long</span>.html
    56. [descriptif] =>
    57. [titre] => <span class="constant">Long</span>
    58. [<span class="keyword">class</span>] =>
    59. )
    60. [<span class="integer">5</span>] => <span class="predefined">Array</span>
    61. (
    62. [year] => <span class="integer">2016</span>
    63. [month] => <span class="integer">05</span>
    64. [lemois] => mai
    65. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">05</span>-<span class="integer">22</span> <span class="integer">17</span>:<span class="integer">03</span>:<span class="integer">50</span>
    66. [url] => <span class="constant">Repetition</span>-avec-debut-dans-le-passe.html
    67. [descriptif] =>
    68. [titre] => <span class="constant">Répétition</span> avec début dans le passé
    69. [<span class="keyword">class</span>] =>
    70. )
    71. [<span class="integer">6</span>] => <span class="predefined">Array</span>
    72. (
    73. [year] => <span class="integer">2016</span>
    74. [month] => <span class="integer">05</span>
    75. [lemois] => mai
    76. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">05</span>-<span class="integer">02</span> <span class="integer">07</span>:<span class="integer">42</span>:<span class="integer">45</span>
    77. [url] => <span class="constant">Test</span>-previsualisation-etendue.html
    78. [descriptif] =>
    79. <span class="constant">Je</span> suis un testeur
    80.  
    81. [titre] => <span class="constant">Test</span> prévisualisation étendue
    82. [<span class="keyword">class</span>] =>
    83. )
    84. [<span class="integer">7</span>] => <span class="predefined">Array</span>
    85. (
    86. [year] => <span class="integer">2016</span>
    87. [month] => <span class="integer">04</span>
    88. [lemois] => avril
    89. [<span class="predefined">date</span>] => <span class="integer">2016</span>-<span class="integer">04</span>-<span class="integer">01</span> <span class="integer">04</span>:<span class="integer">10</span>:<span class="integer">12</span>
    90. [url] => <span class="constant">Test</span>-forme-colorees.html
    91. [descriptif] =>
    92. <span class="constant">Test</span> qui va bien
    93.  
    94. [titre] => <span class="constant">Test</span> forme colorées
    95. [<span class="keyword">class</span>] =>
    96. )
    97. [<span class="integer">8</span>] => <span class="predefined">Array</span>
    98. (
    99. [year] => <span class="integer">2015</span>
    100. [month] => <span class="integer">12</span>
    101. [lemois] => décembre
    102. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">12</span>-<span class="integer">06</span> <span class="integer">15</span>:<span class="integer">00</span>:<span class="integer">00</span>
    103. [url] => <span class="constant">Test</span>-article-sur-embargo.html
    104. [descriptif] =>
    105. [titre] => <span class="constant">Test</span> article sur embargo
    106. [<span class="keyword">class</span>] =>
    107. )
    108. [<span class="integer">9</span>] => <span class="predefined">Array</span>
    109. (
    110. [year] => <span class="integer">2015</span>
    111. [month] => <span class="integer">11</span>
    112. [lemois] => novembre
    113. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">11</span>-<span class="integer">24</span> <span class="integer">09</span>:<span class="integer">48</span>:<span class="integer">01</span>
    114. [url] => <span class="constant">Intentions</span>-de-prieres.html
    115. [descriptif] =>
    116. <span class="constant">Test</span> des <span class="constant">IP</span>
    117.  
    118. [titre] => <span class="constant">Intentions</span> de prières
    119. [<span class="keyword">class</span>] =>
    120. )
    121. [<span class="integer">10</span>] => <span class="predefined">Array</span>
    122. (
    123. [year] => <span class="integer">2015</span>
    124. [month] => <span class="integer">10</span>
    125. [lemois] => octobre
    126. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">26</span> <span class="integer">23</span>:<span class="integer">06</span>:<span class="integer">31</span>
    127. [url] => <span class="constant">Test</span>-<span class="constant">Newsletter</span>.html
    128. [descriptif] =>
    129. <span class="constant">Un</span> autre descriptif
    130.  
    131. [titre] => <span class="constant">Test</span> <span class="constant">Newsletter</span>
    132. [<span class="keyword">class</span>] =>
    133. )
    134. [<span class="integer">11</span>] => <span class="predefined">Array</span>
    135. (
    136. [year] => <span class="integer">2015</span>
    137. [month] => <span class="integer">10</span>
    138. [lemois] => octobre
    139. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">03</span>
    140. [url] => <span class="constant">Historique</span>-des-versions-de-<span class="constant">SPIP</span>.html
    141. [descriptif] =>
    142. [titre] => <span class="constant">Historique</span> des versions de <span class="constant">SPIP</span>
    143. [<span class="keyword">class</span>] =>
    144. )
    145. [<span class="integer">12</span>] => <span class="predefined">Array</span>
    146. (
    147. [year] => <span class="integer">2015</span>
    148. [month] => <span class="integer">10</span>
    149. [lemois] => octobre
    150. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">03</span>
    151. [url] => <span class="constant">Evenement</span>-exceptionnel.html
    152. [descriptif] =>
    153. [titre] => Événement exceptionnel
    154. [<span class="keyword">class</span>] =>
    155. )
    156. [<span class="integer">13</span>] => <span class="predefined">Array</span>
    157. (
    158. [year] => <span class="integer">2015</span>
    159. [month] => <span class="integer">10</span>
    160. [lemois] => octobre
    161. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">03</span>
    162. [url] => <span class="constant">Installation</span>-du-site.html
    163. [descriptif] =>
    164. [titre] => <span class="constant">Installation</span> du site
    165. [<span class="keyword">class</span>] =>
    166. )
    167. [<span class="integer">14</span>] => <span class="predefined">Array</span>
    168. (
    169. [year] => <span class="integer">2015</span>
    170. [month] => <span class="integer">10</span>
    171. [lemois] => octobre
    172. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">03</span>
    173. [url] => <span class="constant">Demonstration</span>-<span class="constant">Agenda</span>.html
    174. [descriptif] =>
    175. [titre] => <span class="constant">Démonstration</span> <span class="constant">Agenda</span>
    176. [<span class="keyword">class</span>] =>
    177. )
    178. [<span class="integer">15</span>] => <span class="predefined">Array</span>
    179. (
    180. [year] => <span class="integer">2015</span>
    181. [month] => <span class="integer">10</span>
    182. [lemois] => octobre
    183. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">03</span>
    184. [url] => <span class="constant">Titre</span>-de-la-rubrique.html
    185. [descriptif] =>
    186. [titre] => <span class="constant">Titre</span> de la rubrique
    187. [<span class="keyword">class</span>] =>
    188. )
    189. [<span class="integer">16</span>] => <span class="predefined">Array</span>
    190. (
    191. [year] => <span class="integer">2015</span>
    192. [month] => <span class="integer">10</span>
    193. [lemois] => octobre
    194. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">03</span>
    195. [url] => <span class="constant">Logo</span>-de-survol.html
    196. [descriptif] =>
    197. [titre] => <span class="constant">Logo</span> de survol
    198. <span class="constant">Nouveauté</span>
    199. [<span class="keyword">class</span>] =>
    200. )
    201. [<span class="integer">17</span>] => <span class="predefined">Array</span>
    202. (
    203. [year] => <span class="integer">2015</span>
    204. [month] => <span class="integer">10</span>
    205. [lemois] => octobre
    206. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    207. [url] => <span class="constant">Altera</span>-sententia-est.html
    208. [descriptif] =>
    209. [titre] => <span class="constant">Altera</span> sententia est
    210. [<span class="keyword">class</span>] =>
    211. )
    212. [<span class="integer">18</span>] => <span class="predefined">Array</span>
    213. (
    214. [year] => <span class="integer">2015</span>
    215. [month] => <span class="integer">10</span>
    216. [lemois] => octobre
    217. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    218. [url] => <span class="constant">Quis</span>-enim.html
    219. [descriptif] =>
    220. [titre] => <span class="constant">Quis</span> enim
    221. [<span class="keyword">class</span>] =>
    222. )
    223. [<span class="integer">19</span>] => <span class="predefined">Array</span>
    224. (
    225. [year] => <span class="integer">2015</span>
    226. [month] => <span class="integer">10</span>
    227. [lemois] => octobre
    228. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    229. [url] => <span class="constant">Oportunum</span>-est.html
    230. [descriptif] =>
    231. [titre] => <span class="constant">Oportunum</span> est
    232. [<span class="keyword">class</span>] =>
    233. )
    234. [<span class="integer">20</span>] => <span class="predefined">Array</span>
    235. (
    236. [year] => <span class="integer">2015</span>
    237. [month] => <span class="integer">10</span>
    238. [lemois] => octobre
    239. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    240. [url] => <span class="constant">Rogatus</span>-ad-ultimum.html
    241. [descriptif] =>
    242. [titre] => <span class="constant">Rogatus</span> ad ultimum
    243. [<span class="keyword">class</span>] =>
    244. )
    245. [<span class="integer">21</span>] => <span class="predefined">Array</span>
    246. (
    247. [year] => <span class="integer">2015</span>
    248. [month] => <span class="integer">10</span>
    249. [lemois] => octobre
    250. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    251. [url] => <span class="constant">Urbibus</span>-decorata.html
    252. [descriptif] =>
    253. [titre] => <span class="constant">Urbibus</span> decorata
    254. [<span class="keyword">class</span>] =>
    255. )
    256. [<span class="integer">22</span>] => <span class="predefined">Array</span>
    257. (
    258. [year] => <span class="integer">2015</span>
    259. [month] => <span class="integer">10</span>
    260. [lemois] => octobre
    261. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    262. [url] => <span class="constant">Les</span>-derniers-articles-modifies.html
    263. [descriptif] =>
    264. [titre] => <span class="constant">Les</span> derniers articles modifiés
    265. [<span class="keyword">class</span>] =>
    266. )
    267. [<span class="integer">23</span>] => <span class="predefined">Array</span>
    268. (
    269. [year] => <span class="integer">2015</span>
    270. [month] => <span class="integer">10</span>
    271. [lemois] => octobre
    272. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    273. [url] => <span class="constant">Image</span>-logo.html
    274. [descriptif] =>
    275. [titre] => <span class="constant">Image</span> = logo
    276. [<span class="keyword">class</span>] =>
    277. )
    278. [<span class="integer">24</span>] => <span class="predefined">Array</span>
    279. (
    280. [year] => <span class="integer">2015</span>
    281. [month] => <span class="integer">10</span>
    282. [lemois] => octobre
    283. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    284. [url] => <span class="constant">Articles</span>-avec-le-<span class="constant">Mot</span>-clef-<span class="constant">ALaUne</span>.html
    285. [descriptif] =>
    286. <span class="constant">Ceci</span> est une bulle d’aide !
    287.  
    288. [titre] => <span class="constant">Articles</span> avec le <span class="constant">Mot</span> clef : « <span class="constant">ALaUne</span> »
    289. [<span class="keyword">class</span>] =>
    290. )
    291. [<span class="integer">25</span>] => <span class="predefined">Array</span>
    292. (
    293. [year] => <span class="integer">2015</span>
    294. [month] => <span class="integer">10</span>
    295. [lemois] => octobre
    296. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    297. [url] => <span class="constant">Un</span>-sourire-peut-changer-une-vie.html
    298. [descriptif] =>
    299. [titre] => <span class="constant">Un</span> sourire peut changer une vie
    300. [<span class="keyword">class</span>] =>
    301. )
    302. [<span class="integer">26</span>] => <span class="predefined">Array</span>
    303. (
    304. [year] => <span class="integer">2015</span>
    305. [month] => <span class="integer">10</span>
    306. [lemois] => octobre
    307. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    308. [url] => <span class="constant">Le</span>-nombre-d-article-affiche-est-administrable.html
    309. [descriptif] =>
    310. [titre] => <span class="constant">Le</span> nombre d’article affiché est administrable
    311. [<span class="keyword">class</span>] =>
    312. )
    313. [<span class="integer">27</span>] => <span class="predefined">Array</span>
    314. (
    315. [year] => <span class="integer">2015</span>
    316. [month] => <span class="integer">10</span>
    317. [lemois] => octobre
    318. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">02</span>
    319. [url] => <span class="constant">Iamque</span>-non-umbratis.html
    320. [descriptif] =>
    321. [titre] => <span class="constant">Iamque</span> non umbratis (pdq2n)
    322. [<span class="keyword">class</span>] =>
    323. )
    324. [<span class="integer">28</span>] => <span class="predefined">Array</span>
    325. (
    326. [year] => <span class="integer">2015</span>
    327. [month] => <span class="integer">10</span>
    328. [lemois] => octobre
    329. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">01</span>
    330. [url] => <span class="constant">Mensarum</span>-enim.html
    331. [descriptif] =>
    332. [titre] => <span class="constant">Mensarum</span> enim
    333. [<span class="keyword">class</span>] =>
    334. )
    335. [<span class="integer">29</span>] => <span class="predefined">Array</span>
    336. (
    337. [year] => <span class="integer">2015</span>
    338. [month] => <span class="integer">10</span>
    339. [lemois] => octobre
    340. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">01</span>
    341. [url] => <span class="constant">Ideo</span>-urbs-venerabilis.html
    342. [descriptif] =>
    343. [titre] => <span class="constant">Ideo</span> urbs venerabilis
    344. [<span class="keyword">class</span>] =>
    345. )
    346. [<span class="integer">30</span>] => <span class="predefined">Array</span>
    347. (
    348. [year] => <span class="integer">2015</span>
    349. [month] => <span class="integer">10</span>
    350. [lemois] => octobre
    351. [<span class="predefined">date</span>] => <span class="integer">2015</span>-<span class="integer">10</span>-<span class="integer">22</span> <span class="integer">11</span>:<span class="integer">33</span>:<span class="integer">01</span>
    352. [url] => <span class="constant">Et</span>-prima-post-<span class="constant">Osdroenam</span>-quam.html
    353. [descriptif] =>
    354. [titre] => <span class="constant">Et</span> prima post <span class="constant">Osdroenam</span> quam
    355. [<span class="keyword">class</span>] =>
    356. )
    357. [<span class="integer">31</span>] => <span class="predefined">Array</span>
    358. (
    359. [year] => <span class="integer">2019</span>
    360. [month] => <span class="integer">02</span>
    361. [lemois] => février
    362. [<span class="predefined">date</span>] => <span class="integer">2019</span>-<span class="integer">02</span>-<span class="integer">21</span> <span class="integer">12</span>:<span class="integer">46</span>:<span class="integer">24</span>
    363. [url] => +<span class="constant">Test</span>-d-une-breve+.html
    364. [descriptif] =>
    365. [titre] => <span class="constant">Test</span> d’une brève
    366. [<span class="keyword">class</span>] => iconbreves
    367. )
    368. )
    369. </span>

    Télécharger

    Mais le résultat n’affiche rien à partir de l’année 2015.

    Si je modifie les boucles pour ne générer dans l’array que l’année 2015, celle-ci est affichée correctement.
    Si j’enlève des critères fusion lemois, l’année 2015 est parcourue.

    Testé en SPIP 3.2.3 SVN [24229]

  • ffmpeg massive error spamming from FritzBox rtsp stream

    19 février 2019, par itzaiiro

    Im trying to offer a rtsp live TV stream via rtmp to my family, since the Fritz Box (which is offering the stream) has only 4 tuners -> at most 4 streams can be watched simultaneously.
    Im using ffmpeg to prepare the stream as dash stream and send it to my rtmp nginx. When i run ffmpeg im experiencing heavy image and audio artifacts in the final stream and error spams of doom in the console. I couldn’t find anything specific to my case on google. I read on the internet that AVM barely implemented the rtsp protocoll enough to get it to work with vlc mediaplayer.

    launch param :

    ffmpeg -i "rtsp://192.168.178.1:554/?avm=1&amp;freq=114&amp;bw=8&amp;msys=dvbc&amp;mtype=256qam&amp;sr=6900&amp;specinv=1&amp;pids=0,16,17,18,20,260,543,544,546,548,1621" -sn -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -b:v 500k -minrate 500k -maxrate 500k -bufsize 1000k -g 60 -s 640x360 -f flv rtmp://192.168.178.15/dash/pro_sieben_low -sn -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -b:v 1500k -minrate 1500k -maxrate 1500k -bufsize 3000k -g 60 -s 1280x720 -f flv rtmp://192.168.178.15/dash/pro_sieben_med -sn -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -b:v 5000k -minrate 5000k -maxrate 5000k -bufsize 10000k -g 60 -s 1920x1080 -f flv rtmp://192.168.178.15/dash/pro_sieben_high

    ffmpeg output (windows) :
    stored in pastebin
    https://pastebin.com/p4HAyBi5

    Is there anyway to get this under control ? The original stream is running good with vlc, but its unwatchable after its out of ffmpeg.

    Edit :
    I was running/testing this on my windows machine, but my target for this task is a ubuntu 16.04 so here ffmpeg on target with pthread support :

    ffmpeg -i "rtsp://192.168.178.1:554/?avm=1&amp;freq=114&amp;bw=8&amp;msys=dvbc&amp;mtype=256qam&amp;sr=6900&amp;specinv=1&amp;pids=0,16,17,18,20,260,543,544,546,548,1621" -sn -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -b:v 500k -minrate 500k -maxrate 500k -bufsize 1000k -g 60 -s 640x360 -f flv rtmp://192.168.178.15/dash/pro_sieben_low -sn -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -b:v 1500k -minrate 1500k -maxrate 1500k -bufsize 3000k -g 60 -s 1280x720 -f flv rtmp://192.168.178.15/dash/pro_sieben_med -sn -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -b:v 5000k -minrate 5000k -maxrate 5000k -bufsize 10000k -g 60 -s 1920x1080 -f flv rtmp://192.168.178.15/dash/pro_sieben_high
    ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mpeg2video @ 0x167cde0] Invalid frame dimensions 0x0.
       Last message repeated 10 times
    [rtsp @ 0x1627c20] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, rtsp, from 'rtsp://192.168.178.1:554/?avm=1&amp;freq=114&amp;bw=8&amp;msys=dvbc&amp;mtype=256qam&amp;sr=6900&amp;specinv=1&amp;pids=0,16,17,18,20,260,543,544,546,548,1621':
     Metadata:
       title           : SatIPServer:1 0,0,4
     Duration: N/A, start: 33786.528778, bitrate: N/A
     Program 12101
       Metadata:
         service_name    : ?▒RTL▒ Television
         service_provider: ?Unitymedia
     Program 12102
       Metadata:
         service_name    : ?SAT.1
         service_provider: ?Unitymedia
     Program 12103
       Metadata:
         service_name    : ?ProSieben
         service_provider: ?Unitymedia
       Stream #0:3: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:2(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
       Stream #0:0(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s (clean effects)
       Stream #0:1(deu,deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
       Stream #0:4: Unknown: none ([5][0][0][0] / 0x0005)
     Program 12104
       Metadata:
         service_name    : ?VOX
         service_provider: ?Unitymedia
     Program 12105
       Metadata:
         service_name    : ?RTL2
         service_provider: ?Unitymedia
     Program 12106
       Metadata:
         service_name    : ?kabel eins
         service_provider: ?Unitymedia
     Program 12107
       Metadata:
         service_name    : ?▒S▒uper▒ RTL▒
         service_provider: ?Unitymedia
     Program 12109
       Metadata:
         service_name    : ?ntv
         service_provider: ?Unitymedia
     Program 12113
       Metadata:
         service_name    : ?ProSieben MAXX
         service_provider: ?Unitymedia
     Program 20116
       Metadata:
         service_name    : ?SIXX
         service_provider: ?Unitymedia
    [libx264 @ 0x182b140] using SAR=1/1
    [libx264 @ 0x182b140] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x182b140] profile Constrained Baseline, level 3.0
    [libx264 @ 0x182b140] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 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=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=500 vbv_bufsize=1000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
    [libx264 @ 0x16e03c0] using SAR=1/1
    [libx264 @ 0x16e03c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x16e03c0] profile Constrained Baseline, level 3.1
    [libx264 @ 0x16e03c0] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 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=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=1500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1500 vbv_bufsize=3000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
    [libx264 @ 0x16cc880] using SAR=1/1
    [libx264 @ 0x16cc880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x16cc880] profile Constrained Baseline, level 4.0
    [libx264 @ 0x16cc880] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 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=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=5000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=5000 vbv_bufsize=10000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
    Output #0, flv, to 'rtmp://192.168.178.15/dash/pro_sieben_low':
     Metadata:
       title           : SatIPServer:1 0,0,4
       encoder         : Lavf56.40.101
       Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 500 kb/s, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.60.100 libx264
       Stream #0:1(deu): Audio: aac ([10][0][0][0] / 0x000A), 48000 Hz, 5.1(side), fltp, 128 kb/s (clean effects)
       Metadata:
         encoder         : Lavc56.60.100 aac
    Output #1, flv, to 'rtmp://192.168.178.15/dash/pro_sieben_med':
     Metadata:
       title           : SatIPServer:1 0,0,4
       encoder         : Lavf56.40.101
       Stream #1:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1500 kb/s, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.60.100 libx264
       Stream #1:1(deu): Audio: aac ([10][0][0][0] / 0x000A), 48000 Hz, 5.1(side), fltp, 128 kb/s (clean effects)
       Metadata:
         encoder         : Lavc56.60.100 aac
    Output #2, flv, to 'rtmp://192.168.178.15/dash/pro_sieben_high':
     Metadata:
       title           : SatIPServer:1 0,0,4
       encoder         : Lavf56.40.101
       Stream #2:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 5000 kb/s, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.60.100 libx264
       Stream #2:1(deu): Audio: aac ([10][0][0][0] / 0x000A), 48000 Hz, 5.1(side), fltp, 128 kb/s (clean effects)
       Metadata:
         encoder         : Lavc56.60.100 aac
    Stream mapping:
     Stream #0:3 -> #0:0 (mpeg2video (native) -> h264 (libx264))
     Stream #0:0 -> #0:1 (ac3 (native) -> aac (native))
     Stream #0:3 -> #1:0 (mpeg2video (native) -> h264 (libx264))
     Stream #0:0 -> #1:1 (ac3 (native) -> aac (native))
     Stream #0:3 -> #2:0 (mpeg2video (native) -> h264 (libx264))
     Stream #0:0 -> #2:1 (ac3 (native) -> aac (native))
    Press [q] to stop, [?] for help
    RTP: missed 2137 packets.0 q=26.0 q=23.0 size=     238kB time=00:00:04.91 bitrate= 397.3kbits/s
    [rtsp @ 0x1627c20] PES packet size mismatch
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 16
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 17
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 18
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 19
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 20
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 21
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 22
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 23
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 17 11
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 24
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 25
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 26
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 27
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 31
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 32
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 33
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 34
    [mpeg2video @ 0x16d72c0] invalid mb type in I Frame at 0 35
    [mpeg2video @ 0x16d72c0] Warning MVs not available
    [mpeg2video @ 0x16d72c0] concealing 1125 DC, 1125 AC, 1125 MV errors in I frame
    RTP: missed 11 packets
    RTP: missed 37 packets
    [ac3 @ 0x1676bc0] exponent out-of-range
    [ac3 @ 0x1676bc0] error decoding the audio block
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    [ac3 @ 0x1676bc0] exponent out-of-range
    [ac3 @ 0x1676bc0] error decoding the audio block
    RTP: missed 21 packets
    RTP: missed 32 packets
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 1 4
    [mpeg2video @ 0x16d72c0] Warning MVs not available
    [mpeg2video @ 0x16d72c0] concealing 1080 DC, 1080 AC, 1080 MV errors in B frame
    [mpeg2video @ 0x16d72c0] 00 motion_type at 21 27
    [mpeg2video @ 0x16d72c0] 00 motion_type at 2 26
    [mpeg2video @ 0x16d72c0] 00 motion_type at 0 27
    [mpeg2video @ 0x16d72c0] invalid cbp -1 at 2 1
    [mpeg2video @ 0x16d72c0] 00 motion_type at 5 2
    [mpeg2video @ 0x16d72c0] skip with previntra
    [mpeg2video @ 0x16d72c0] 00 motion_type at 2 4
    [mpeg2video @ 0x16d72c0] slice mismatch
    [mpeg2video @ 0x16d72c0] 00 motion_type at 1 6
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 3 7
    [mpeg2video @ 0x16d72c0] slice mismatch
    [mpeg2video @ 0x16d72c0] 00 motion_type at 37 9
    [mpeg2video @ 0x16d72c0] 00 motion_type at 1 10
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] 00 motion_type at 1 31
    [mpeg2video @ 0x16d72c0] 00 motion_type at 5 32
    [mpeg2video @ 0x16d72c0] 00 motion_type at 1 33
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 26 35
    [mpeg2video @ 0x16d72c0] Warning MVs not available
    [mpeg2video @ 0x16d72c0] concealing 945 DC, 945 AC, 945 MV errors in B frame
    [rtsp @ 0x1627c20] PES packet size mismatchze=     294kB time=00:00:05.27 bitrate= 457.1kbits/s
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    [ac3 @ 0x1676bc0] exponent out-of-range
    [ac3 @ 0x1676bc0] error decoding the audio block
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    RTP: missed 38 packets25.0 q=26.0 q=22.0 size=     320kB time=00:00:11.18 bitrate= 234.3kbits/s
    RTP: missed 18 packets
    RTP: missed 9 packets
    RTP: missed 21 packets
    RTP: missed 9 packets
    [rtsp @ 0x1627c20] PES packet size mismatch
    [ac3 @ 0x1676bc0] exponent out-of-range
    [ac3 @ 0x1676bc0] error decoding the audio block
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    [ac3 @ 0x1676bc0] bandwidth code = 63 > 60
    [ac3 @ 0x1676bc0] error decoding the audio block
    RTP: missed 13 packets
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 3 6
    [mpeg2video @ 0x16d72c0] 00 motion_type at 1 16
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 0 17
    [mpeg2video @ 0x16d72c0] 00 motion_type at 5 21
    [mpeg2video @ 0x16d72c0] 00 motion_type at 3 27
    [mpeg2video @ 0x16d72c0] invalid cbp -1 at 7 32
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 8 32
    [mpeg2video @ 0x16d72c0] slice mismatch
       Last message repeated 2 times
    [mpeg2video @ 0x16d72c0] Warning MVs not available
    [mpeg2video @ 0x16d72c0] concealing 810 DC, 810 AC, 810 MV errors in P frame
    RTP: missed 44 packets
    [rtsp @ 0x1627c20] PES packet size mismatch
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    [ac3 @ 0x1676bc0] exponent out-of-range0 size=     338kB time=00:00:11.43 bitrate= 242.2kbits/s
    [ac3 @ 0x1676bc0] error decoding the audio block
    RTP: missed 35 packets
       Last message repeated 1 times
    RTP: missed 31 packets
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    [ac3 @ 0x1676bc0] exponent out-of-range
    [ac3 @ 0x1676bc0] error decoding the audio block
    [ac3 @ 0x1676bc0] frame sync error
    Error while decoding stream #0:0: Invalid data found when processing input
    RTP: missed 48 packets
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 5 23
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] 00 motion_type at 17 24
    [mpeg2video @ 0x16d72c0] slice mismatch
       Last message repeated 1 times
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 5 27
    [mpeg2video @ 0x16d72c0] skip with previntra
    [mpeg2video @ 0x16d72c0] 00 motion_type at 15 29
    [mpeg2video @ 0x16d72c0] 00 motion_type at 8 31
    [mpeg2video @ 0x16d72c0] 00 motion_type at 13 32
    [mpeg2video @ 0x16d72c0] 00 motion_type at 22 33
    [mpeg2video @ 0x16d72c0] 00 motion_type at 20 34
    [mpeg2video @ 0x16d72c0] 00 motion_type at 17 35
    [mpeg2video @ 0x16d72c0] Warning MVs not available
    [mpeg2video @ 0x16d72c0] concealing 543 DC, 543 AC, 543 MV errors in B frame
    [mpeg2video @ 0x16d72c0] 00 motion_type at 16 1
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 11 13
    [mpeg2video @ 0x16d72c0] invalid mb type in P Frame at 4 7
    [mpeg2video @ 0x16d72c0] 00 motion_type at 2 8
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 0 19
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 0 20
    [mpeg2video @ 0x16d72c0] 00 motion_type at 9 21
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 2 22
    [mpeg2video @ 0x16d72c0] 00 motion_type at 10 23
    [mpeg2video @ 0x16d72c0] slice mismatch
    [mpeg2video @ 0x16d72c0] invalid mb type in P Frame at 1 25
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 38 26
    [mpeg2video @ 0x16d72c0] invalid mb type in P Frame at 3 27
    [mpeg2video @ 0x16d72c0] invalid mb type in P Frame at 22 28
    [mpeg2video @ 0x16d72c0] 00 motion_type at 16 29
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 5 30
    [mpeg2video @ 0x16d72c0] 00 motion_type at 14 31
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 2 32
    [mpeg2video @ 0x16d72c0] invalid mb type in P Frame at 19 9
    [mpeg2video @ 0x16d72c0] invalid mb type in P Frame at 11 10
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 13 11
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 8 12
    [mpeg2video @ 0x16d72c0] 00 motion_type at 33 13
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 8 14
    [mpeg2video @ 0x16d72c0] invalid cbp -1 at 6 15
    [mpeg2video @ 0x16d72c0] invalid cbp -1 at 15 19
    [mpeg2video @ 0x16d72c0] 00 motion_type at 9 18
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] invalid cbp -1 at 15 21
    [mpeg2video @ 0x16d72c0] 00 motion_type at 13 21
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 16 22
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 5 23
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 4 24
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] 00 motion_type at 7 26
    [mpeg2video @ 0x16d72c0] slice mismatch
    [mpeg2video @ 0x16d72c0] 00 motion_type at 9 13
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 44 14
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 2 15
    [mpeg2video @ 0x16d72c0] mb incr damaged
       Last message repeated 1 times
    [mpeg2video @ 0x16d72c0] 00 motion_type at 34 18
    [mpeg2video @ 0x16d72c0] 00 motion_type at 15 19
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] 00 motion_type at 8 21
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 14 22
    [mpeg2video @ 0x16d72c0] invalid cbp -1 at 9 23
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 4 24
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] slice mismatch
       Last message repeated 1 times
    [mpeg2video @ 0x16d72c0] mb incr damaged
    [mpeg2video @ 0x16d72c0] ac-tex damaged at 25 29
    [mpeg2video @ 0x16d72c0] invalid cbp 0 at 14 30
    [mpeg2video @ 0x16d72c0] mb incr damaged
       Last message repeated 1 times
    [mpeg2video @ 0x16d72c0] 00 motion_type at 35 33
    [mpeg2video @ 0x16d72c0] slice mismatch
    [mpeg2video @ 0x16d72c0] Warning MVs not available
    [mpeg2video @ 0x16d72c0] concealing 1350 DC, 1350 AC, 1350 MV errors in P frame
    [flv @ 0x16d7c40] Failed to update header with correct duration.:00:12.12 bitrate= 241.4kbits/s
    [flv @ 0x16d7c40] Failed to update header with correct filesize.
    [flv @ 0x16df5a0] Failed to update header with correct duration.
    [flv @ 0x16df5a0] Failed to update header with correct filesize.
    [flv @ 0x16cbe00] Failed to update header with correct duration.
    [flv @ 0x16cbe00] Failed to update header with correct filesize.
    frame=  136 fps= 12 q=-1.0 Lq=-1.0 q=-1.0 size=     633kB time=00:00:13.24 bitrate= 391.8kbits/s
    video:7049kB audio:272kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [libx264 @ 0x182b140] frame I:4     Avg QP:19.84  size: 33269
    [libx264 @ 0x182b140] frame P:132   Avg QP:21.93  size:  3136
    [libx264 @ 0x182b140] mb I  I16..4:  6.9%  0.0% 93.1%
    [libx264 @ 0x182b140] mb P  I16..4:  0.1%  0.0%  0.7%  P16..4: 32.0% 11.6%  4.4%  0.0%  0.0%    skip:51.1%
    [libx264 @ 0x182b140] coded y,uvDC,uvAC intra: 91.1% 88.6% 67.5% inter: 14.8% 20.2% 1.5%
    [libx264 @ 0x182b140] i16 v,h,dc,p: 35% 15%  3% 47%
    [libx264 @ 0x182b140] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 19%  9%  6%  7%  8%  7%  7%  7%
    [libx264 @ 0x182b140] i8c dc,h,v,p: 45% 20% 28%  7%
    [libx264 @ 0x182b140] ref P L0: 80.5% 11.2%  8.4%
    [libx264 @ 0x182b140] kb/s:369.61
    [libx264 @ 0x16e03c0] frame I:4     Avg QP:19.81  size: 77367
    [libx264 @ 0x16e03c0] frame P:132   Avg QP:21.64  size:  9825
    [libx264 @ 0x16e03c0] mb I  I16..4: 16.2%  0.0% 83.8%
    [libx264 @ 0x16e03c0] mb P  I16..4:  0.6%  0.0%  1.2%  P16..4: 34.1%  9.5%  2.9%  0.0%  0.0%    skip:51.8%
    [libx264 @ 0x16e03c0] coded y,uvDC,uvAC intra: 76.8% 77.3% 41.8% inter: 11.9% 20.4% 0.7%
    [libx264 @ 0x16e03c0] i16 v,h,dc,p: 38% 18%  7% 37%
    [libx264 @ 0x16e03c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 10%  5%  7%  7%  7%  6%  6%
    [libx264 @ 0x16e03c0] i8c dc,h,v,p: 47% 21% 26%  6%
    [libx264 @ 0x16e03c0] ref P L0: 80.8% 12.1%  7.1%
    [libx264 @ 0x16e03c0] kb/s:1085.42
    [libx264 @ 0x16cc880] frame I:4     Avg QP:15.79  size:181630
    [libx264 @ 0x16cc880] frame P:132   Avg QP:18.21  size: 32848
    [libx264 @ 0x16cc880] mb I  I16..4: 13.7%  0.0% 86.3%
    [libx264 @ 0x16cc880] mb P  I16..4:  1.3%  0.0%  2.7%  P16..4: 36.0% 14.2%  4.4%  0.0%  0.0%    skip:41.4%
    [libx264 @ 0x16cc880] coded y,uvDC,uvAC intra: 72.4% 70.6% 41.8% inter: 17.3% 24.9% 1.5%
    [libx264 @ 0x16cc880] i16 v,h,dc,p: 33% 21%  6% 39%
    [libx264 @ 0x16cc880] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 23%  9%  5%  8%  7%  7%  6%  5%
    [libx264 @ 0x16cc880] i8c dc,h,v,p: 44% 21% 27%  8%
    [libx264 @ 0x16cc880] ref P L0: 80.3% 12.7%  7.0%
    [libx264 @ 0x16cc880] kb/s:3420.59
  • OpenCV 3.4.3 - GStream not called when VideoWriting

    14 décembre 2018, par taubhi

    I’d like to succeed writing a file with OpenCV encoding with GStreamer.

    Thus I’m using the code :

    VideoWriter.open("appsrc ! autovideoconvert ! omxh264enc ! matroskamux ! filesink location=test2.mkv sync=false",
    //cv::CAP_GSTREAMER, //set or not, I get the same problem
    0, (double)25, //fourcc, fps
    cv::Size(1024, 1024),
    true);

    And my problem :

    A video file called appsrc ! autovideoconvert ! omxh264enc ! matroskamux ! filesink location=test2.mkv sync=false is created (rather than test2.mkv), and it is empty. The same problem is corrected and seems to work in the following thread, without any effect for me : Opening a GStreamer pipeline from OpenCV with VideoWriter

    I tried, without success :

    • Add quotes to the file name test2 :
      "appsrc ! autovideoconvert ! omxh264enc ! matroskamux ! filesink location=\"test2.mkv\" sync=false" neither
    • Encode with different format : .flv rather than .mkv
    • Encode with different codec : omxh265enc rather than omxh264en

    I checked :

    • That GStreamer is well compiled with OpenCV ; the CMake of the OpenCV project outputs :

      Video I/O:Video for Windows : YES
      DC1394 : NO
      FFMPEG : YES (prebuilt binaries)
      avcodec : YES (ver 57.107.100)
      avformat : YES (ver 57.83.100)
      avutil : YES (ver 55.78.100)
      swscale : YES (ver 4.8.100)
      avresample : YES (ver 3.7.0)
      GStreamer :

      base : YES (ver 1.0)

      video : YES (ver 1.0)

      app : YES (ver 1.0)

      riff : YES (ver 1.0)

      pbutils : YES (ver 1.0)

      DirectShow : YES

      Media Foundation : YES

    • That FFMpeg is installed on my computer ; for this I used VLC :

      File -> Stream -> Add a file then stream
      New destination : RTP/MPEG Transport Stream
      Profile : Video - H.264 + MP3 (MP4)
      Then no error happens ; Note : an error occured with Video - H.265 + MP3
      (MP4), but I’m using omxh264enc in my code, not 265

    I’m struggled :/ Do you have any idea ?
    Thanks a lot :)

    Have a good day,

    Thibaut

    PS - Complete OpenCV CMake output :

    Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.17763.
    AVX_512F is not supported by C++ compiler

    AVX512_SKX is not supported by C++ compiler

    Dispatch optimization AVX512_SKX is not available, skipped

    libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-3.4.3-libjpeg-turbo

    Looking for Mfapi.h

    Looking for Mfapi.h - found

    found Intel IPP (ICV version): 2017.0.3 [2017.0.3]

    at: E:/OpenCV/3.4.3/build-cuda92-gstreamer/3rdparty/ippicv/ippicv_win

    found Intel IPP IW sources: 2017.0.3

    at: E:/OpenCV/3.4.3/build-cuda92-gstreamer/3rdparty/ippicv/ippiw_win

    CUDA detected: 9.2

    CUDA NVCC target flags: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-D_FORCE_INLINES

    Found apache ant: C:/NVPACK/apache-ant-1.8.2/bin/ant.bat (1.8.2)

    Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)

    VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file

    Caffe: NO

    Protobuf: NO

    Glog: YES

    freetype2: NO

    harfbuzz: NO

    Module opencv_ovis disabled because OGRE3D was not found

    No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.

    Found installed version of gflags: E:/Git/gflags/BUILD-VS2015

    Detected gflags version: 2.2.1

    Checking SFM deps... FALSE

    Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags

    Excluding from source files list: <build>/modules/dnn/layers/layers_common.avx512_skx.cpp

    Tesseract: NO


    General configuration for OpenCV 3.4.3 =====================================

    Version control: unknown


    Extra modules:

    Location (extra): E:/OpenCV/3.4.3/opencv_contrib-3.4.3/modules

    Version control (extra): unknown


    Platform:

    Timestamp: 2018-11-07T16:57:18Z

    Host: Windows 10.0.17763 AMD64

    CMake: 3.12.0-rc2

    CMake generator: Visual Studio 14 2015 Win64

    CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

    MSVC: 1900


    CPU/HW features:

    Baseline: SSE SSE2 SSE3

    requested: SSE3

    Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2

    requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX

    SSE4_1 (5 files): + SSSE3 SSE4_1

    SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2

    FP16 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX

    AVX (6 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX

    AVX2 (11 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2


    C/C++:

    Built as dynamic libs?: YES

    C++11: YES

    C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe (ver 19.0.24215.1)

    C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP16 /MD /O2 /Ob2 /DNDEBUG

    C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP16 /MDd /Zi /Ob0 /Od /RTC1

    C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe

    C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MP16 /MD /O2 /Ob2 /DNDEBUG

    C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MP16 /MDd /Zi /Ob0 /Od /RTC1

    Linker flags (Release): /machine:x64 /INCREMENTAL:NO

    Linker flags (Debug): /machine:x64 /debug /INCREMENTAL

    ccache: NO

    Precompiled headers: YES

    Extra dependencies: cudart.lib nppc.lib nppial.lib nppicc.lib nppicom.lib nppidei.lib nppif.lib nppig.lib nppim.lib nppist.lib nppisu.lib nppitc.lib npps.lib cublas.lib cufft.lib -LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/lib/x64

    3rdparty dependencies:


    OpenCV modules:

    To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto

    Disabled: js world

    Disabled by dependency: -

    Unavailable: cnn_3dobj cvv freetype hdf matlab ovis python2 python3 sfm viz

    Applications: tests perf_tests apps

    Documentation: NO

    Non-free algorithms: NO


    Windows RT support: NO


    GUI:

    Win32 UI: YES

    VTK support: NO


    Media I/O:

    ZLib: build (ver 1.2.11)

    JPEG: build-libjpeg-turbo (ver 1.5.3-62)

    WEBP: build (ver encoder: 0x020e)

    PNG: build (ver 1.6.34)

    TIFF: build (ver 42 - 4.0.9)

    JPEG 2000: build (ver 1.900.1)

    OpenEXR: build (ver 1.7.1)

    HDR: YES

    SUNRASTER: YES

    PXM: YES


    Video I/O:

    Video for Windows: YES

    DC1394: NO

    FFMPEG: YES (prebuilt binaries)

    avcodec: YES (ver 57.107.100)

    avformat: YES (ver 57.83.100)

    avutil: YES (ver 55.78.100)

    swscale: YES (ver 4.8.100)

    avresample: YES (ver 3.7.0)

    GStreamer:

    base: YES (ver 1.0)

    video: YES (ver 1.0)

    app: YES (ver 1.0)

    riff: YES (ver 1.0)

    pbutils: YES (ver 1.0)

    DirectShow: YES

    Media Foundation: YES


    Parallel framework: Concurrency


    Trace: YES (with Intel ITT)


    Other third-party libraries:

    Intel IPP: 2017.0.3 [2017.0.3]

    at: E:/OpenCV/3.4.3/build-cuda92-gstreamer/3rdparty/ippicv/ippicv_win

    Intel IPP IW: sources (2017.0.3)

    at: E:/OpenCV/3.4.3/build-cuda92-gstreamer/3rdparty/ippicv/ippiw_win

    Custom HAL: NO

    Protobuf: build (3.5.1)


    NVIDIA CUDA: YES (ver 9.2, CUFFT CUBLAS NVCUVID)

    NVIDIA GPU arch: 30 35 37 50 52 60 61 70

    NVIDIA PTX archs:


    OpenCL: YES (no extra features)

    Include path: E:/OpenCV/3.4.3/opencv-3.4.3/3rdparty/include/opencl/1.2

    Link libraries: Dynamic load


    Python (for build): C:/ProgramData/Miniconda3/python.exe


    Java:

    ant: C:/NVPACK/apache-ant-1.8.2/bin/ant.bat (ver 1.8.2)

    JNI: C:/NVPACK/jdk1.8.0_77/include C:/NVPACK/jdk1.8.0_77/include/win32 C:/NVPACK/jdk1.8.0_77/include

    Java wrappers: YES

    Java tests: YES


    Matlab: NO


    Install to: E:/OpenCV/3.4.3/build/install

    -----------------------------------------------------------------


    Configuring done
    </build>