
Recherche avancée
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.
Sur d’autres sites (13443)
-
FFmpeg save stream to mp3
17 avril 2015, par Sergey92zpI have an iOS project that play online radio streams, it is use FFmpeg to play. Also I added ability to record streams, decode streams via
avcodec_decode_audio4
function, and write output to.wav
file. But this files are too big, because it is uncompressed format, so I want to decode files to.mp3
.I have found couple ways to convert audio but only when audio it is ready file, but I want decode to some compressed format as soon as I get chunk of data from stream, not ready file.
Is it possible ?
Can you give me some advise how to achieve this ? -
WebSocket video MP4 stream, save video and make snapshot
6 janvier 2024, par Aleksandr RogonovThere is a WebSocket server, wss ://stoa-wsez-e01.ezvds.net/ezs/60/ezugi_5_hd/websocketstream2. If you connect to it, for example, here at https://piehost.com/websocket-tester and send
{"eventType":"PLAY","stream":"ezugi_5_hd","requestId":0}
, messages with the stream will be received.

Let's imagine Node.js connects, takes a screenshot, and disconnects.


I tried something like this :


const videoPath = path.join(outputDirectory, `video_${timestamp}.webm`);
const videoStream = fs.createWriteStream(videoPath);


ws.on('message', (data: Buffer) => {
 videoStream.write(data);
});

ws.on('close', () => {
 videoStream.end();
 ffmpeg(videoPath)
 .output(path.join(outputDirectory, `screenshot_${timestamp}_%d.png`))
 .on('end', () => {
 fs.unlinkSync(videoPath);
 })
 .run();
});



The saved video files cannot be opened, and ffmpeg gives an error :


video_1704549199939.webm: Invalid data found when processing input.



So clearly, I'm doing something wrong.


UPD
In general, I am confident that I can take a snapshot from the video. The problem is how to capture and save this video to the disk. That's where I need help.


-
Revision 05a79f2fbf : Move EOB to per-plane data Continue migrating data from BLOCKD/MACROBLOCKD to t
4 avril 2013, par John KoleszarChanged Paths : Modify /vp9/common/vp9_blockd.h Modify /vp9/common/vp9_invtrans.c Modify /vp9/decoder/vp9_decodframe.c Modify /vp9/decoder/vp9_detokenize.c Modify /vp9/decoder/vp9_idct_blk.c Modify /vp9/encoder/vp9_block.h Modify /vp9/encoder/vp9_encodeintra.c (...)