
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (91)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang 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. -
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
Sur d’autres sites (12126)
-
Offline tracking in Matomo JavaScript Tracker – We need your feedback
16 octobre 2020, par Matomo Core Team — Development, UncategorizedAs part of our Matomo 4 release we are working on adding support for offline tracking using service workers (SW) and IndexedDB. An early version of this new feature is now available as part of our latest Matomo 4 beta and we now need your feedback to fix any outstanding issues.
How does it work behind the scenes ?
- The service worker caches the Matomo JavaScript tracker so if a user becomes offline on subsequent requests the JS tracker will be still loaded.
- If a user is offline, any tracking request will be put into the local IndexedDB.
- Once the user becomes online, all requests from the IndexedDB will be retried.
How do I integrate offline tracking into my website or app ?
Follow the steps in our FAQ on how to set up offline tracking.
We need your feedback
We’d love to hear your feedback if this new feature is working for you or not. Simply leave a comment on the offline tracking issue and let us know if it worked for you, if something didn’t work, whether you miss any options or any other kind of feedback.
Are you a service worker or IndexedDB pro ? We’d love if you could help us review our implementation. You can check out the code in the offline tracking pull request. We appreciate any feedback to help us improve this feature !
Thank you for your help !
-
Embedding Audio File to Video
19 septembre 2022, par Hamza NaeemI had a special .wav file with some encodings in it and i want to insert this into video file. I tried this with moviepy using the following method but it doesn't helped me as the audio get distorted.


import moviepy
from moviepy.editor import VideoFileClip, AudioFileClip, CompositeAudioClip, concatenate_audioclips


if __name__ == "__main__":
audio_file = f'audios/a1.wav'
 video_file = f'videos/v1.mp4'
 audio_clip = AudioFileClip(audio_file)
 video_clip = VideoFileClip(video_file)

 final_audio = CompositeAudioClip([video_clip.audio, audio_clip])
 video_clip.write_videofile(f'results/out.mp4')
 video_clip.close()
 audio_clip.close()



nothing with ffmpeg as :


import ffmpeg

if __name__ == "__main__":
 video = ffmpeg.input(f'videos/v1.mp4').video # get only video channel
 audio = ffmpeg.input(f'audios/a1.wav').audio # get only audio channel
 output = ffmpeg.output(video, audio, f'results/output.mp4', vcodec='copy', acodec='aac', strict='experimental')
 ffmpeg.run(output)



although I can extract the perfect mp3 file using pydub, but again inserting this into video distort the audio. it may due to miss match of fps or something else. The pydub stuff is as follows :


import pydub
from pydub import AudioSegment

audio_file = f'audios/a1.wav'
sound = pydub.AudioSegment.from_mp3(audio_file)
sound.export("results/apple.mp3", format="wav")



can anyone here to guide me with the correct method.


Thanks in advance.


-
ffmpeg-kit android : how to use -f concat -i input.txt with multiple file uris ?
17 décembre 2023, par RobinI am trying to use ffmpeg-kit on Android.


It says it can convert Storage Access Framework (SAF) Uris into paths that can be read or written by FFmpegKit.


Reading a file :


Uri safUri = intent.getData();
String inputVideoPath = FFmpegKitConfig.getSafParameterForRead(requireContext(), safUri);
FFmpegKit.execute("-i " + inputVideoPath + " -c:v mpeg4 file2.mp4");



However, I am trying to use the concat mode with input.txt specifying the file list, like :


file 'frame01.png'
duration 40ms
file 'frame02.png'
duration 40ms
file 'frame03.png'
duration 40ms
file 'frame04.png'
duration 40ms



Then execute :


ffmpeg -f concat -safe 0 -i input.txt -c:v libx264 -pix_fmt yuv420p output.mp4



This worked fine if I copy/put all the files in app's local cache directory where all the files can be directly accessed by file path.


However, if I let user to pick multiple files, which Android system will return a URI for each content, after I tried to convert the URI to 'saf file path' by the FFmpegKitConfig.getSafParameterForRead() method and put the path in the input.txt, it will give me error :


[saf @ 0xb400007896b7e550] Protocol 'saf' not on whitelist 'file,crypto,data'!
[concat @ 0xb400007916b3c350] Impossible to open 'saf:1.png'



It seems the concat mode cannot recognize the file path converted from an SAF uri.


Is it a limitation of current ffmpeg-kit android impl or did I miss some parameters that should be specified ?


Thanks a lot.