
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (66)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...) -
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 (...)
Sur d’autres sites (7093)
-
How do I integrate the FFMPEG commands with Python Script ?
12 janvier 2021, par Sukhada DeshpandeI am trying to extract the frames when the scene changes in an .mp4 video.
The package that I am using is FFMPEG.
FFMPEG predominantly works on the CLI and I am trying to integrate it with Python3.x


The command I am using in the CLI is :


ffmpeg -i {0} -vf "select=gt(scene\,0.5), scale=640:360" -vsync vfr frame%d.png



The output comes out just fine with the CLI execution.


But I want to use same command in a Python script, how do I do that and what should be the code ?


Being an amateur in the field, currently grappling with this !


-
FFmpeg Matching decibel level between two audio tracks when mixing ?
9 août 2022, par JohnWickI have a collection of mp3 files for various frequencies (i.e. 528hz). I also have a collection of mp3's of ambient background music. So here is the scenario :


I am mixing the tone frequency mp3's with the music mp3's. This works great using the amix filter, no problem. However, some of the ambient music is quiet, which makes the tones sound overpowering. Conversely, some of the ambient music is also fairly loud, making the tones inaudible.


It seems to me, the solution would be to adjust the volume of the tone to match the decibel level of the associated music track. How can this be done programmatically ? Perhaps parsing the output of a ffprobe call, but at that point I wouldn't quite be sure how to proceed towards my goal. I figured reaching out on Super User might save me a ton of pain, by turning to more experienced ffmpeg users. Maybe my approach is also flawed, and would be happy if someone can suggest a better method to achieve what I am looking for.


Here is my python code so far.


import ffmpeg
import os

tones = os.listdir('tones')
songs = os.listdir('music')

for tone in tones:
 for song in songs:
 tone_in = ffmpeg.input(f'tones/{tone}', stream_loop=-1)
 music_in = ffmpeg.input(f'music/{song}')
 mixed = ffmpeg.filter([tone_in, music_in], 'amix', inputs=2, duration='shortest')
 out = ffmpeg.output(mixed, f'output/{tone} {song}.mp3')
 out.run()



-
How do I access the ipod-library for decoding ffmpeg in the xcode ?
16 janvier 2014, par M_OnThank you to look at my question.
There is a problem with too slow to access the music file using ffmpeg.
Get the URL of the music that is in the ipod-library by using the 'valueForProperty:MPMediaItemPropertyAssetURL' method.
Use the (AVAssetExportSession Class) TSLibraryImport.m, extract the music files from ipod-library.
However, I took the extraction time is too long. (4 seconds of the 3GS iPhone, iPhone 5 is 1 second)
It was not possible to be decoded using FFmpeg If you do not the Export.
In order to use FFmpeg, it's AVPlayer can not be used.
I will never forget the grace if you can answer if you folded to know how other maybe.