
Recherche avancée
Autres articles (106)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)
Sur d’autres sites (13416)
-
How to encode specific metadata version in FFMPEG ?
11 février 2021, par Charlie BrittonI am batch converting lots of songs into shorter "Advert" songs for SHOUTcast and to be recognised as adverts by the server. The song must have
":Advert"
for both the title and the artist metadata tags. When I use the following command :


ffmpeg -i "$i" -c copy -vn -map_metadata -1 -metadata title=":Advert" -metadata artist=":Advert" -t 120 "adverts/ADVERT_$i"




I would expect it to output the song with only
":Advert"
as title and artist metadata but when I import it into the radio playout software (using ID3 1.x tagging) the metadata has not copied across and is therefore lost. Output from ffmpeg :


ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
 built with Apple LLVM version 9.0.0 (clang-900.0.37)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libavresample 3. 0. 0 / 3. 0. 0
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
[mp3 @ 0x7feba6800000] Skipping 0 bytes of junk at 230934.
[mjpeg @ 0x7feba7000600] Changing bps to 8
Input #0, mp3, from 'Joakim Karud - Vibe With Me.mp3':
 Metadata:
 major_brand : dash
 minor_version : 0
 compatible_brands: iso6mp41
 encoder : Lavf56.40.101
 artist : Joakim Karud
 title : Vibe With Me
 Duration: 00:02:53.06, start: 0.025056, bitrate: 138 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
 Metadata:
 encoder : Lavc56.60
 Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 90k tbr, 90k tbn, 90k tbc
 Metadata:
 comment : Cover (front)
Output #0, mp3, to 'adverts/ADVERT_Joakim Karud - Vibe With Me.mp3':
 Metadata:
 TIT2 : :Advert
 TPE1 : :Advert
 TSSE : Lavf57.25.100
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 1876kB time=00:02:00.00 bitrate= 128.1kbits/s speed=1.44e+03x
video:0kB audio:1876kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.024837%




I believe this is happening because the tag names are different (e.g. title should be
title
, but isTIT2
when output. Please could someone specify how I could ensure that the metadata is encoded in the ID3 1.x format so that it is readable by the radio playout software. Many thanks.

-
can someone explain this difference between H.264 and H.265 ?
19 janvier 2017, par Muhammad Abu bakrI have studied this in a research paper :
"The off-the-shelf video codecs like H.264 handle all the movements equally. In our case there are some non moving region that lies in region of interest and need to be encode in high quality and there are some moving regions which don’t need such requirements. H.265 can help us in such circumstances."
How H.265 deals with movements differently ?
-
Anomalie #4084 (Fermé) : Date de publication en ligne : erreur et comportement bizarre
1er février 2018, par Eric CamusBonjour,
Quand on veux changer la date de publication en ligne, une fois l’affichage de cette dernière et si l’heure contient 23:XX ou XX:59 : impossible de refermer le formulaire : tout appuis sur "Annuler" affiche une erreur ?
Il faut obligatoirement une date / heure valide pour refermer le formulaire sans faire de changement !!!!! et 23hXX et XXh59 sont interdit !!!! :1) 23:XX et XX:59 interdit, modifier ligne 358 de /prive/formulaires/dater.php
<code>if ($regs[1] >= 23 or $regs[2] >= 59) {
=> supprimer les deux "=" !!!
<code>if ($regs[1] > 23 or $regs[2] > 59) {
2) Pourquoi faut-il une date / heure correcte pour fermer (cacher) le formulaire sans changement (annuler) ?
Fichier /prive/formulaires/dater.php, ligne 212 :<code>function formulaires_dater_verifier_dist($objet, $id_objet, $retour = '', $options = array()) {<br /> $erreurs = array();
après ces lignes, ajouter :
<code>if(_request('annuler')) { // annuler sans verif !!<br /> return $erreurs;<br /> }
Nota : numéro de ligne avant dernière MAJ.