
Recherche avancée
Autres articles (62)
-
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
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 (8470)
-
Revision 86955 : Le plug est dit pour spip 3.0 et 3.1, donc la version mini de saisies doit ...
2 janvier 2015, par spip.franck@… — LogLe plug est dit pour spip 3.0 et 3.1, donc la version mini de saisies doit être une version qui supporte 3.1 et moins.
Ajout également d’une borne mini absente à l’utilise de crayons (1.13.0) première version pour spip 3.0.0 -
Is it possible to adjust position of gdigrab recording region during recording ?
30 novembre 2020, par adelimaI'm using ffmpeg for recording video from defined desktop region by starting ffmpeg.exe as process with arguments like so :


public static void StartRecording(Video v) {
 string outPath = Path.Combine(Application.StartupPath, "rec", $"{v.FileName}.mkv");
 v.FFMPEG = new Process {
 StartInfo = new ProcessStartInfo() {
 Arguments = $"-hide_banner -y -thread_queue_size 512 -f gdigrab -offset_x {v.Bounds.X} -offset_y {v.Bounds.Y} -video_size {v.Bounds.Width}x{v.Bounds.Height} -show_region 0 -i desktop -vf \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p \"{outPath}\"",
 WindowStyle = ProcessWindowStyle.Hidden,
 CreateNoWindow = true,
 UseShellExecute = false,
 FileName = Path.Combine(Application.StartupPath, "bin", "ffmpeg.exe"),
 RedirectStandardOutput = true,
 RedirectStandardInput = true,
 RedirectStandardError = true,
 }
 };
 v.FFMPEG.Start();

 new Thread(() => {
 using(StreamReader sr = v.FFMPEG.StandardError) {
 while(!sr.EndOfStream) {
 Debug.WriteLine(sr.ReadLine());
 }
 }
 }).Start();
 }

 public static void StopRecording(Video v) {
 using(StreamWriter sw = v.FFMPEG.StandardInput) {
 sw.WriteLine("q\n");
 }
 v.FFMPEG.WaitForExit();
 v.FFMPEG.Dispose();
 }



Is it possible to make changes to the
-offset_x
and-offset_y
arguments during recording ? I'm drawing the recording region bounds with directx and want to add a titlebar to it which can be dragged to move the recording region, but I'm not sure how I would let ffmpeg know that I want these offsets changed or whether it's even possible.

-
How do I fix this error in Python : RuntimeWarning : Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
11 mars 2023, par Mason GriffithI have been trying to mess around with some of Eleven Labs API and make a simple program that takes in a string and can use the API to retrun a voice provided by Eleven Labs speaking the string. I've seen people using similar code to this but I always get the same error telling me it couldnt find ffmpeg or avconv. Any help would be grealty appreciated. Here is the code below.


from elevenlabslib import *
import pydub
import pydub.playback
import io


def play(bytesData):
 sound = pydub.AudioSegment.from_file_using_temporary_files(io.BytesIO(bytesData))
 pydub.playback.play(sound)
 return


user = ElevenLabsUser("API_KEY") # fill in your api key as a string
voice = user.get_voices_by_name("Rachel")[0] # fill in the name of the voice you want to use. ex: "Rachel"
play(voice.generate_audio_bytes("Test")) # fill in what you want the ai to say as a string



Ive downloaded all the suggested packages and downloaded ffmpeg for windows but nothing has worked yet. I can see that the request is going through to the Eleven Labs website as my requested string pops up in my history on Eleven Labs but because of the error no audio is returned.