
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (76)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (5869)
-
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()