
Recherche avancée
Autres articles (40)
-
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 (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (5414)
-
Using ffmpeg to change video framerate without video quality loss and keep audio ?
31 mai 2020, par JohnnyI recorded some game videos with my Samsung Galaxy S7 device. When I now add these videos to blender 3d in video editing, I get different video and audio frames.



I think, that this is an fps problem, because on every recorded video I get different fps :
59.01, 59.80 etc.



Now I want to change frame rate on all videos to 60 fps without video quality loss and keeping audio.



So I would not have any problems in video editing.



Does somebody have any tips ?


-
avformat/matroskaenc : Write level 1 elements in one go
30 décembre 2019, par Andreas Rheinhardtavformat/matroskaenc : Write level 1 elements in one go
Up until now, writing level 1 elements proceeded as follows : First, the
element id was written to the ordinary output AVIOContext and a dynamic
buffer was opened for the content of the level 1 element in
start_ebml_master_crc32(). Then this buffer was actually used and after it
was closed (in end_ebml_master_crc32()), the size field corresponding to
the buffer's size was written, after which the actual data was written.This commit changes this : Nothing is written to the main AVIOContext any
more in start_ebml_master_crc32(). end_ebml_master_crc32() now writes
both the id, the length field as well as the data. This implies that
one can start a level 1 element in memory without outputting anything.
This is done to enable to test whether enough space has been reserved
for the Cues (if space has been reserved for them) before writing them.
A large duration between outputting the header and outputting the rest
could also break certain streaming usecases like the one from #8578
(which this commit fixes).Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
How to reduce the size of video file as a buffer or blob before writing it on Nodejs ?
7 novembre 2022, par HypothesisI send live feed from client to the server using websocket from the client side like this :


recorder = new MediaRecorder(canvasStream, {
 mimeType: 'video/webm;codecs=vp9',
 videoBitsPerSecond: 3 * 1024 * 1024
 });
 recorder.ondataavailable = async (e) => {
 const arbuf = await e.data.arrayBuffer()
 ws.send(pack({ type: 'REC', data: arbuf })) //sends to server
 }



and on the server side I get them like this :


let blob = new Blob(chunks, { type: 'video/mp4' })
 const buffer = Buffer.from(await blob.arrayBuffer());
 fs.writeFile("foo.mp4", buffer, () => console.log('video saved!'));



However
foo.mp4
is really large. Please help me find a way to reduce the size offoo.mp4
as it is being written down to the disc. ( I can reduce it after it is written, however that won't do the trick for me. It has to be encoded and compressed before it is written )