
Recherche avancée
Autres articles (70)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (11944)
-
C# - Capture RTP Stream and send to speech recognition
16 avril 2013, par dgreenheckWhat I am trying to accomplish :
- Capture RTP Stream in C#
- Forward that stream to the System.Speech.SpeechRecognitionEngine
I am creating a Linux-based robot which will take microphone input, send it Windows machine which will process the audio using Microsoft Speech Recognition and send the response back to the robot. The robot might be hundreds of miles from the server, so I would like to do this over the Internet.
What I have done so far :
- Have the robot generate an RTP stream encoded in MP3 format (other formats available) using FFmpeg (the robot is running on a Raspberry Pi running Arch Linux)
- Captured stream on the client computer using VLC ActiveX control
- Found that the SpeechRecognitionEngine has the available methods :
- recognizer.SetInputToWaveStream()
- recognizer.SetInputToAudioStream()
- recognizer.SetInputToDefaultAudioDevice()
- Looked at using JACK to send the output of the app to line-in, but was completely confused by it.
What I need help with :
I'm stuck on how to actually send the stream from VLC to the SpeechRecognitionEngine. VLC doesn't expose the stream at all. Is there a way I can just capture a stream and pass that stream object to the SpeechRecognitionEngine ? Or is RTP not the solution here ?
Thanks in advance for your help.
-
Record window from CMD or PowerShell [closed]
9 octobre 2023, par PinguiHow can one record a window e.g. from the Command Promt or PowerShell ?


I tried the following CMD-command which in principle works, but it cuts off the window (even with increased
video_size 1920x1080
, which seems to have no effect at all) :

"C:\[your_path_to]\ffmpeg.exe" -f gdigrab -i title="New Tab - Google Chrome" -framerate 30 -video_size 1920x1080 -c:v libx264 -preset ultrafast -t 5 output.mp4



The goal would be something like the above, but...


- 

- Ideally, the window should be found not by its window title, but by its process name (e.g. chrome.exe)
- The video should be automatically fitted to the window size (even if larger than 1920x1080)
- The video-name.mp4 and video duration (-t) should be handed dynamically as input variables
- If the video-name.mp4 already exists, it should be overwritten without asking
- The windw should be recorded even if not on top












Any solution in CMD, PowerShell or whatever can be called by Window's ShellExecuteW function and passed video-name.mp4 and video duration as inputs would be fine.


-
avcodec/vc1 : fix overlap and loop filtering for Simple and Main profile
8 juin 2018, par Jerome Borsboomavcodec/vc1 : fix overlap and loop filtering for Simple and Main profile
Overlap filtering I and BI frames for Simple and Main profile is only
dependent on PQUANT. Restrict testing for CONDOVER and OVERFLAGS to
advanced profile. Change from mb_width to end_mb_x in ff_vc1_i_loop_filter
to avoid breaking the Microsoft Screen 2 decoder.Signed-off-by : Jerome Borsboom <jerome.borsboom@carpalis.nl>