Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (41)

  • ANNEXE : Les extensions, plugins SPIP des canaux

    11 février 2010, par

    Un plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
    Les extensions que MediaSPIP nécessite pour fonctionner
    Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
    Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (4914)

  • 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]

  • mxfdec : set audio timebase to 1/samplerate

    28 septembre 2013, par Anton Khirnov
    mxfdec : set audio timebase to 1/samplerate
    

    Fixes sync in some samples (e.g. bugs 7581 and 8374 in VLC).
    Based on a commit by Matthieu Bouron <matthieu.bouron@gmail.com>

    Reported-by : Jean-Baptiste Kempf <jb@videolan.org>
    CC : libav-stable@libav.org

    • [DBH] libavformat/mxfdec.c
    • [DBH] tests/ref/fate/mxf-demux
    • [DBH] tests/ref/seek/lavf-mxf
    • [DBH] tests/ref/seek/lavf-mxf_d10
  • Stream Live Video and relay audio only to icecast2 server

    28 avril 2019, par BadAddy

    I have a working nginx server which allows me to stream live video from our mobile production system. We also have a radio station on a separate server and would like to stream to both. But I cannot make it work, nor can I get any logs or error information to explain why. I have tried nginx config and FFMPEG to try and resolve this.

    I have tried various attempts using what I think I understand from other pages online :

    exec_push FFREPORT=file=ffreport.log:level=48 ffmpeg -i $basename.flv -vn -acodec mp3 rtmp://source:********!!@xxx.xxx.xxx.180:8000/live;

    Also tried using the simple restream in the nginx conf :

    application restream {
                       live on;
                       exec_push ffmpeg -i $basename.flv -vn -acodec mp3 rtmp://source:***********@xxx.xxx.xxx.180:8000/live;
                       # push server2:1935
               }

    I have used the same information on Mixxx Live Broadcast Connection to get the details, thinking I am asking the same thing on the icecast2 server. Just the source is the nginx server.

    This is the full conf on nginx

    rtmp {

       server {
               listen 1935;
               chunk_size 4000;

               application live {
                       live on;
                       allow publish 127.0.0.1;
                       allow publish all;
                       allow play all;
                       record all;
                       record_path /usr/local/nginx/flv-streams;
                       record_unique on;
                       exec_record_done ffmpeg -i $basename.flv /usr/local/nginx/html/streams/$basename.mp4;
                       hls on;
                       hls_nested on;
                       hls_path /mnt/hls;
                       hls_fragment 1s;
                       hls_sync 1ms;
                       #exec_push FFREPORT=file=ffreport.log:level=48 ffmpeg -i $basename.flv -vn -acodec mp3 rtmp://source:*************@xxx.xxx.xxx.xxx:8000/live;
               }
               # Video on Demand
               application streams {
                       play /usr/local/nginx/html/streams/;
               }

               # Restream
               application restream {
                       live on;
                       exec_push ffmpeg -i $basename.flv -vn -acodec mp3 rtmp://source***************@xxx.xxx.xxx:8000/live;
                       # push server2:1935
               }

       }

    I would like those that can watch any broadcast with video, but if they can only listen, like a radio, I want them to listen via our radio player. They are two different streams, on different servers.

    At the moment I am using software to stream to both and would like to prevent this.

    Not found, by my own wording perhaps, any idea on how to do this.

    UPDATE

    With the help from TBR I have managed to get the stream from the Nginx Server going to a new server hosting icecast2. However, not in the way expected. It does this 32x faster, so not a stream as such.

    ffmpeg -i fcpr-1554651146.flv -vn -c:a mp3 icecast://source:password@10.0.0.0:8000/fcprlive.mp3

    However, I wonder if I have been thinking of this the wrong way. In my liquidsoap file I have this code :

    #!/usr/bin/liquidsoap
    # Log dir set("log.file.path","/tmp/basic-radio.log")
    # Music
    myplaylist = mksafe(playlist("/home/offlineftp/playlist"))

    #Live Source
    set("harbor.bind_addr","0.0.0.0")
    live = input.http("http://localhost:8000/fcprlive")
    radio = fallback(track_sensitive=false, [live,plist])

    # Stream it out
    output.icecast(%mp3, host = "localhost", port = 8000,
    password = "pass", mount = "/fcpr")

    Should I look at using LiquidSoap to pull the stream from Nginx, when live, and if no signal than go to the fallback ?