
Recherche avancée
Autres articles (45)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6449)
-
FFMPEG how to record aac codec audio same time with wideo ?
12 décembre 2017, par Gomi OdabaşıoğluI am trying to use FFMPEG console tools effectively. Now I can record video and audio same time but my issue is audio is delaying. I use following code :
C:\Users\gomid_000\Desktop\ffmpeg.exe -y -f dshow -i audio="Stereo Mix (Realtek High Definition Audio)" -f gdigrab -show_region 1 -framerate 60 -i desktop -map 0 -map 1 -c:v libx264 -preset ultrafast -pix_fmt yuv420p C:\Users\gomid_000\Desktop\out.mp4 -threads:1 4
I do not know if I can automatically sync them together and prevent delay. Is it better to use AAC codec ? If it is how can I do that ?
-
Record UDP stream with ffmpeg video+klv-data
26 septembre 2017, par mfreiholzI’d like to record an MPEGTS UDP stream with ffmpeg binary to disk.
This works in a stable network :
ffmpeg.exe -i "udp://224.10.10.10:15006?multicast=1&timeout=360000000&reuse=1" -f mpegts -map 0:0? -map 0:1? -map 0:2? -c copy "C:/test.ts"
The entire stream is saved to test.ts.
Live Environment
In my live environment it is possible that the connection is very bad or is not available at all (cable disconnect, device reboot, ...) for a few minutes. I want ffmpeg to simply continue writing upcoming frames to *.ts file. I don’t need the lost frames.
Currently the following errors appears, if there was a too long brake between UDP frames :
[mpegts @ 00000000003cf920] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 11606399 >= 2084534
av_interleaved_write_frame(): Invalid argumentIt looks like to be a problem with the timestamp. My idea would be to tell FFMPEG to ignore those errors and simply continue.
Is it even possible with the ffmpeg binary or do I have to solve the problem with a custom C/C++ implementation using the library ?
Thank you
Update 1
If I only record the video stream
-map 0:0?
and not the others it seems to work. Looks like the problem is associated with the second stream (No.1) which is KLV encoded data. -
Best way to record a HTML Canvas/WebGL animation server-side into a video ?
19 novembre 2022, par AbhinavI have a set of animations which I can make in Canvas (fabric.js) or WebGL (three.js). I need to record them automatically, server-side, through a script and output a video file.



The animations include :



- 

- Pictures
- Videos (with audio)
- Other animations/effects









I have researched a lot during last few months on this.



Results

1. Use PhantomJS + FFMPEG

Run HTML Canvas animations on headless browser(PhantomJS) and record with FFMPEG. Here the issue is PhantomJS supports neither WebGL nor Video element. http://phantomjs.org/supported-web-standards.html
2. Use Websockets to send data back to server using DataURL

Here again, we will need to run the animations on browser (which we can't because we have to do everything on server).
3. Use node-canvas

This is a library by TJ Holowaychuk which allows rendering HTML Canvas on Node.js. But it has its own limitations plus I haven't really explored this field much. 
(If someone could shed more light on this library)


If anyone has done it before or can guide me somewhere useful.

All we need to do is use some data to create animations and record it into a video, everything on server side.

- Pictures