
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (54)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (7628)
-
swscale : aarch64 : Optimize the final summation in the hscale routine
20 avril 2022, par Martin Storsjöswscale : aarch64 : Optimize the final summation in the hscale routine
Before : Cortex A53 A72 A73 Graviton 2 Graviton 3
hscale_8_to_15_width8_neon : 8273.0 4602.5 4289.5 2429.7 1629.1
hscale_8_to_15_width16_neon : 12405.7 6803.0 6359.0 3549.0 2378.4
hscale_8_to_15_width32_neon : 21258.7 11491.7 11469.2 5797.2 3919.6
hscale_8_to_15_width40_neon : 25652.0 14173.7 12488.2 6893.5 4810.4After :
hscale_8_to_15_width8_neon : 7633.0 3981.5 3350.2 1980.7 1261.1
hscale_8_to_15_width16_neon : 11666.7 5951.0 5512.0 3080.7 2131.4
hscale_8_to_15_width32_neon : 20900.7 10733.2 9481.7 5275.2 3862.1
hscale_8_to_15_width40_neon : 24826.0 13536.2 11502.0 6397.2 4731.9Thus, this gives overall a 8-29% speedup for the smaller filter
sizes, around 1-8% for the larger filter sizes.Inspired by a patch by Jonathan Swinney <jswinney@amazon.com>.
Signed-off-by : Martin Storsjö <martin@martin.st>
-
Anomalie #4189 : extraire_multi mélange un /li /ul final avec le de langue ajouté par code_...
28 mars 2021, par Jacques BouthierOui, j’ai bien compris que pour la 3.2.11 c’était trop tard, mais si c’est reporté maintenant ça permettra de corriger ce bug d’affichage pour la prochaine 3.2.12.
-
No audio in the final video when converting webm blobs to mp4 using ffmpeg
28 septembre 2024, par alpeccaI trying to record user camera and microphone and using MediaRecorder to convert the stream to blobs and sending the blobs every 2 second to the backend using websocket. Everything is working fine, but when I checked the final mp4 video in the backend, it doesn't have any audio to it, I try specifying the audio codec, but still no help.


My frontend code :-


const micStream = await navigator.mediaDevices.getUserMedia({ audio: true });

const recorder = new MediaRecorder(stream, {
 mimeType: 'video/webm;codecs=H264',
 videoBitsPerSecond: 8000000,
 audioBitsPerSecond : 8000000
});

recorder.ondataavailable = (e: BlobEvent) => {
 websocket.send(e.data) 
} 
recorder.start(2000);



And here is the backend code :-


@router.websocket("/streamaudio")
async def websocket_endpoint(websocket: WebSocket):
 await manager.connect(websocket)

 recordingFile = os.path.join(os.getcwd(), f"recording_.mp4")

 command = [
 'ffmpeg', 
 '-y',
 '-i', 
 '-', 
 '-codec:v', 
 'copy', 
 '-c:a', 'aac', 
 '-y',
 '-f', 'mp4',
 recordingFile,
 # "-"
 # f'output{queueNumber}.mp4',
 ] 

 
 try:
 while True:
 try:
 
 data = await websocket.receive_bytes()
 
 process.stdin.send(data)
 
 except RuntimeError:
 break 
 except WebSocketDisconnect:
 print(f"Client disconnected: {websocket.client.host}")
 finally:
 manager.disconnect(websocket)
 await process.stdin.aclose()
 await process.wait()