
Recherche avancée
Autres articles (38)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (7757)
-
Stream copy given start and end time in ffmpeg
10 mai 2013, par praks411I'm trying a small program which cuts clip from video file given start and end time. For this I'm doing a simple stream copy of both audio and video stream. I just copied the pts and dts from input packet to output with proper re-scaling. However the output which I'm getting is blank for some duration and then only for last few seconds it is displayed. I thought this could to problem of incorrent pts and dts. So I just manually set pts and dts using counter for each stream. Though I'm able to get the clip but video is very fast and audio goes fine. Please someone explain me how to set current pts and dts for both audio and video stream, when doing stream copy.
Thanks
Pradeep -
Real time livestreaming - RPI
24 avril 2022, par VictorI work at a telehealth company and we are using connected medical devices in order to provide the doctor with real time information from these equipements, the equipements are used by a trained health Professional.


Those devices work with video and audio. Right now, we are using them with peerjs (so peer to peer connection) but we are trying to move away from that and have a RPI with his only job to stream data (so streaming audio and video).


Because the equipements are supposed to be used with instructions from a doctor we need the doctor to receive the data in real time.


But we also need the trained health professional to see what he is doing (so we need a local feed from the equipement)


How do we capture audio and video


We are using ffmpeg with a go client that is in charge of managing the ffmpeg clients and stream them to a SRS server.
This works but we are having a 2-3 sec delay when streaming the data. (rtmp from ffmpeg and flv on the front end)


ffmpeg settings :


("ffmpeg", "-f", "v4l2", `-i`, "*/video0", "-f", "flv", "-vcodec", "libx264", "-x264opts", "keyint=15", "-preset", "ultrafast", "-tune", "zerolatency", "-fflags", "nobuffer", "-b:a", "160k", "-threads", "0", "-g", "0", "rtmp://srs-url")



My questions


- 

- Is there a way for this set up to achieve low latency (<1 sec) (for the nurse and for the doctor) ?
- Is the way I want to achieve this good ? Is there a batter way ?






Flow schema


Data exchange and use case flow


-
Display formatted date and time over frames using ffmpeg
28 août 2020, par marcmanI've gone through a handful of questions on here (this, this, this, etc) concerning overlaying the date and time on videos using ffmpeg, but I haven't been able to figure out the solution.


I personally have found the ffmpeg documentation difficult to parse as well regarding drawing text that updates every (N) frame(s).


I have the exif data from a movie specifying when it was created. I'd like to be able to emblazen that over the movie (as though it were a home video from some old VHS tape). For example, let's say I have a video from January 2, 2012 at 10:33:53. I'd like to be able to show "Jan 2, 2012 10:33:53am" on the lower right in white text. The spatial positioning and color are clear to me, but just how to go from the timestamp information I have to the formatted expansion is proving to be quite difficult for me. I have succeeded in getting a clock starting from 00:00:00.00 and counting up (using
timecode
andtimecode_rate
), but unfortunately I can't get much more than that.

My question is : what is the proper
datetext
command that will allow me to both (a) provide the start time, and (b) format it with the proper expansion.


As a bonus, if you can also point me to how to do this using the wonderful ffmpeg-python library, it would be even better. That library is quite good, but it does not appear to be actively maintained anymore.