
Recherche avancée
Autres articles (73)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (8461)
-
FFMPEG segment audio stream based on silence
2 août 2024, par Christian SeyoumI have a websocket connection that gets a stream of audio. I am piping the stream to FFMPEG and using it to segemnt the audio in real time. Currenlty the audio does get segemented but all the segemented audio is 10 seconds long rather than being segmented when silence is detected. I am using node.js typescript :


var proc = cp.spawn(ffmpeg, [
 '-f', 's16le', // Input format: signed 16-bit little-endian PCM
 '-ar', '8000', // Sample rate: 8000 Hz
 '-ac', '1', // Audio channels: 1 (mono)
 '-i', '-', '-af',
 'silencedetect=noise=-18dB:d=0.1', '-f',
 'segment', 
 '-segment_time', '10',
 '-reset_timestamps', '1',
 `${fileNameSubStringPath}_%03d.wav`
 ]);



I have tried changing the silencedetect values and the segment time. But notthing seems to work.


Is there a better way to segment audio based on silence ?


-
Use FFmpeg to rotate the video based on it’s metadata ? Why Android put the wrong metadata ?
27 août 2014, par Mauro ValvanoHi have a website where the user upload a video.
For my website i have also the Android application.
The website create a thumbnail of each uploaded video (from browser or Android).The problem is that for normal videos its all OK, but for android my videos are rotated of 90°.
I think that android have a bug, because when i see with FFmpeg the video’s metadata, for a normal recorded video i got a rotate=90 value, and for a 90° rotated video i don’t have nothing in the metadata (and the thumbnail is correct).
Why ?
This is an image of a normal recorded video (with the phone in portrait mode).
Anyways, i have the metadata in the video, can i create it’s thumbnail based on it’s metadata’s rotate value without extracting the metadata and then use ffmpeg to rotate the video on this value ?
Thank you in advance.
-
avformat/omadec : only compute timestamps based on bitrate if its set
7 février 2015, par Michael Niedermayer