
Recherche avancée
Autres articles (23)
-
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 -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5472)
-
Convert pcm_s16le audio to mp3 (in php with ffmpeg/sox/...) ?
4 juin 2024, par LoïcI have a bin and a cue file (CD image) and I am making a website to be able to listen to my music. I managed to split the tracks and make a (44 bytes) wav header so my browser can read the audio but the wav files are too big to be read on an unstable connection (it's 1411kbps where an mp3 would be 320kbps or lower !).


At first, is there a way to convert the audio to mp3 without making a temporary file in php ? Maybe ffmpeg or sox could help ?


Secondly, I would like to be able to satisfy partial content requests (so I can skip without loading the whole file). I have already succeeded it for the wav files and I would need to know a few things to do it with mp3 :


- 

- How to make a mp3 header ?
- How to determine the file length ?
- How to convert pcm_s16le audio to mp3 without headers at a constant bit rate ?








I tried searching online but I did not find what I was hoping for. I hope you can help me.


-
Process audio and video independently
27 février 2012, par Ericdue to the unpopularity of my last posts here and here , I'll try something else.
I have corresponding audio (.wav) and video files (.mpg). Let's consider that those two streams where recorded synchronously. I want to process both stream, with opencv for the images, and with "I don't know which audio lib" (you tell me ?) for audio, and I want to process those streams online and keep the synchronicity.
Note that the length of the video is less that 2 minutes.Thanks for any help !
-
FFMpeg - Concat Video Files + Crossfade ?
16 février 2020, par John DoeUsing BATCH-File, I am piping lots of videos to FFMpeg and would like to crossfade the transitions. Instead of going to black, I’d like them to overlap by 2 seconds during the transition. Audio is not necessary as the videos are all silent. I am adding looped audio separately.
(
for /F %%i in ('dir /b "Folder\*.mp4"') do @echo file 'Folder/%%i'
) | ffmpeg -y -protocol_whitelist file,pipe -f concat -safe 0 -stream_loop -1 -i pipe: -stream_loop -1 -i "audio.mp3" -c copy -movflags faststart -fflags genpts -preset veryfast -t 3600 -r 30 "output.mp4"I’ve found lots of similar examples online but none are suitable. A little help would be appreciated. Thank you.