
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (71)
-
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (13234)
-
Anomalie #3210 (Nouveau) : flux rss sur les forums
5 mai 2014, par jluc -SPIP 2.1.26
Dans les fichiers du répertoire prive/rss il y a dans le HTML des paramètres type= qui ne correspondent à rien
et devraient être remplacés par des statut=Il y a aussi des valeurs de paramètres #ENVpage qui ne correspondent à rien et devraient être remplacés par #ENVstatut
Dans forums_public, qui devrait renseigner sur les forums publics, il y a le critère en dur : statut IN publie,prop,off,spam
il faudrait plutôt statut=publie
et plus loin il y a #URL_ECRIREcontrole_forum,statut=prop... il faudrait plutôt statut=publieJ’ai aussi une interrogation pour prive/rss.html : on y trouve #INCLURE*fond=prive/rss/(#ENVop|match’^\w+$’
ce qui fait que pour surcharger il faut créer un sous répertoire privé dans le répertoire squelette.
Est ce bien là ce qu’il faut faire habituellement ? Ne devrait ce pas plutôt être #INCLURE*fond=rss/(#ENVop|match’^\w+$’ ? -
ffmpeg trimming audio WAV files and setting timecode
14 juillet 2022, par user19551045I am currently trying to cut an audio file to match the length of a video (without combining the two...just looking at timecodes) and produce a trimmed audio file that has a timecode that will match up with the video, the video is considered the absolute truth.


Currently, the issue is that the timecodes from the original audio file do not get carried over into the new cropped audio file. So, the starting timecode is now 00:00:00:00 instead of say 07:20:02:14. Even using the -timecode commands and trying to hardcode the timecode that way doesn't seem to do the trick. I am wondering if there is any way around this ? I just want to do as minimal to the raw audio as possible...just change the audio file's length while setting the timecodes so the new audio will line up with the video. Any thoughts/suggestions welcome !


Currently I have tried two options that don't seem to work :
using ffmpeg cmds :



 cmd2 = r'{} -ss "{}" -i "{}" -codec copy -timecode "{}" "{}"'.format(
 FFMPEG_PATH,
 abs(tc_diff_in_seconds),
 audio_path,
 "17074647",
 out_path
 )



and also using pydub :


current_audio = AudioSegment.from_wav("{}".format(audio_path))
 start_time_in_milli = abs(tc_diff_in_seconds*1000)
 end_time_in_milli = start_time_in_milli + video_dur_in_seconds * 1000
 trimmed_audio = current_audio[start_time_in_milli:end_time_in_milli]
 trimmed_audio.export('{}'.format(out_path), format='WAV', parameters=["-timecode", "17:07:46:47"])



Any thoughts/suggestions welcome ! Thanks


-
Anomalie #2302 : Problème d’affichage des tableaux longs
9 mai 2012, par cedric -Avec le tableau c’est la règle tableaux-middle : match : "/([^|])(\n[|].*[|]\n)([^|])/UmsS" replace : replace_tableaux is_callback : Y qui renvoie un null et vide tout le texte. Sans doute un problème de mémoire à investiguer.