
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (35)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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
Sur d’autres sites (5695)
-
Process not completing ?
6 mai 2014, par Abe MiesslerI am using FFMPEG to convert some audio files. To do this I am using the code below :
using (Process process = new Process())
{
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.FileName = Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName) +
@"\bin\ffmpeg.exe";
process.StartInfo.Arguments = String.Format(@"-i {0} -f mp3 {1}", OrigFilePath, OrigFileFolder + "\\" + NewFileName);
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.Start();
System.Diagnostics.EventLog.WriteEntry("ASP.NET 2.0.50727.0", "test... ");
string output = process.StandardOutput.ReadToEnd() + System.Environment.NewLine + process.StandardError.ReadToEnd();
System.Diagnostics.EventLog.WriteEntry("ASP.NET 2.0.50727.0", "Output from process: " + output);
process.WaitForExit();
System.Diagnostics.EventLog.WriteEntry("ASP.NET 2.0.50727.0", "After end... ");
return true;
}In my event log I see the
test...
log, but I never get to theOutput from process:
in the logs. It appears that the process is not completing. Has anyone else run into this problem ? Any idea of what is going on and how I can fix it ? -
Error using pipe ffmpeg
10 décembre 2016, par user3381786i am using ffmpeg to record video, but it doesn’t work..
byte[] texBytes = tex.EncodeToPNG();//get byte[]
proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "ffmpeg.exe";
proc.StartInfo.Arguments = " -y -r 30 -f rawvideo -codec rawvideo -s 512x512 -pixel_format rgba -i pipe:0 -vf \"transpose = 1\" -r 30 -threads 8 -c:v libx264 -preset slow -crf 18 -pix_fmt yuv420p test2.mp4";
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardInput = true;
proc.Start();
MemoryStream ms = new MemoryStream(texBytes);
ms.WriteTo(proc.StandardInput.BaseStream);
ms.Flush();
ms.Close();the output file "test2.mp4" is only 1KB. Any problems in my codes ?
thank you in advance. -
The System Audio not included when recording screen using tab capture api
21 septembre 2024, par alpeccaI am working on a chrome extension that let user record their current tab video + the current system audio for example playing a music on the tab. I read the docs on the web about preserve audio on tab capture api and the audio constraint to set to be true


chrome.tabCapture.capture({
 video: true,
 audio: true,



const stream = await new Promise<mediastream null="null">((resolve, reject) => {
 chrome.tabCapture.capture({
 video: true,
 audio: true,
 videoConstraints: {
 
 mandatory: {
 minFrameRate: 60,
 maxFrameRate: 60,
 minWidth: 1920, 
 minHeight: 1080, 
 maxWidth: 1920,
 maxHeight: 1080,
 }
 }
 }, (stream: MediaStream | null) => {
 if (chrome.runtime.lastError) {
 return reject(new Error(chrome.runtime.lastError.message));
 }
 resolve(stream);
 });
});
</mediastream>


In the above code, when I set the audio to be true and try to record the screen, the final output doesn't contain any audio.


Here is the Media Recorder values :-


const recorder = new MediaRecorder(stream, {
 mimeType: 'video/webm;codecs=H264',
 videoBitsPerSecond: 8000000
 });

 recorder.ondataavailable = (e: BlobEvent) => {
 socketRef.send(e.data)
 
 }
 
 recorder.start(2000);



And also my ffmpeg in the backend to handle the incoming stream :-


command = [
 'ffmpeg', 
 '-y',
 '-i', 
 '-', 
 '-codec:v', 
 'copy', 
 '-codec:a', 
 'copy', 
 '-y',
 '-f', 'mp4',
 recordingFile,
 # "-"
 # f'output{queueNumber}.mp4',
 ]



Any help would be greatly appreciated :)