
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (37)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (4563)
-
How to cut out first 5 seconds with youtube_dl and ffmpeg in python
23 février 2021, par SvenXPi have a python script to download and save a MP3 and i would like to add code to cut out 5 seconds from the beginning of the MP3.


def download():
 ydl_opts = {
 'format': 'bestaudio/best',
 'outtmpl': 'c:/MP3/%(title)s.%(ext)s',
 'cookiefile': 'cookies.txt',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],
 }
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([inpYTLinkSong.get()])



I found some code for command line to cut x seconds :


ffmpeg -ss 00:00:15.00 -i "OUTPUT-OF-FIRST URL" -t 00:00:10.00 -c copy out.mp4


So i think i have to get the -ss part into the postprocessor part in my script, something like :


'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 'ss':'00:00:05.00'
 }],



But of course its not working with 'ss' or 'duration' (found in ffmpeg docu).


So any ideas what i have to put there instead of 'ss' ?


-
Trying to read data from continous vlc audio stream in python
24 juillet 2020, par NiniiI want to stream some audio continously on my network and be able to read it from another computer on the same network


I use this command to stream the audio continously :
vlc "/home/user/audio/14113-4-0-0.wav" --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=ipaddress:8080}" --sout-keep --loop.


I have no issue to read and play the audio from another computer using vlc interface.


But I'd like to read those data with a python script. I have tried to do it with the
socket
library. I have look up on google and I didn't find anything that really could help me achieve it

I'd like to know how it can be done either with python or using ffmpeg for instance.


Here are some links that I read :


- 

- https://www.reddit.com/r/learnpython/comments/ak7dih/how_to_play_audio_as_its_being_received_over_a/
- https://gist.github.com/fopina/3cefaed1b2d2d79984ad7894aef39a68






-
Python Docker SDK long command to container [duplicate]
2 avril 2021, par Neil BernardI need to send a fairly long command using python docker SDK


ffmpeg -f lavfi -re -i smptebars=duration=60:size=1280x720:rate=30 -f lavfi -re -i sine=frequency=1000:duration=60:sample_rate=44100 -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -keyint_min 120 -profile:v baseline -preset veryfast -f mpegts "srt://127.0.0.1:4200?pkt_size=1316"



I have an example where you ned to wrap each element in double quotes.


container1 = client.containers.run("alpine", ["echo", "hello", "world"],name='autotest', detach=True)



2 Questions


Is there an elegant way to do this ?
If not how do I handle the bits that already have quotes ?