
Recherche avancée
Autres articles (61)
-
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 -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (6440)
-
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 :)


-
Unable to Record Video in Jenkins using ffmpeg in Windows System
12 novembre 2018, par Deepak Kumar SusarlaI am using ffmpeg to capture video while running protractor scripts. Below ffmpeg code is working fine, when I directly run in windows from command line and able to create the video.
C:\Jenkins\workspace\test\node_modules\ffmpeg-binaries\bin\ffmpeg.exe -f gdigrab -framerate 30 -s 1024x768 -i desktop -g 1000 -q:v 18 C:\Jenkins\workspace\test\AutomationVideo\Automation-11-7-2018-17.6.23.mpg
But when I run the same code through jenkins(installed in windows system), showing below error and video is not getting recorded. Please help me in resolving the issue.
error is :[gdigrab @ 000002395689b400] Capturing whole desktop as 1024x768x32 at (0,0)
error is :[gdigrab @ 000002395689b400] Failed to capture image (error 5)
[gdigrab @ 000002395689b400] Could not find codec parameters for stream 0 (Video : bmp, none, 754987 kb/s) : unspecified size
Consider increasing the value for the ’analyzeduration’ and ’probesize’ optionsInput #0, gdigrab, from ’desktop’ :
Duration : N/A, bitrate : 754987 kb/s
Stream #0:0 : Video : bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbcOutput #0, mpeg, to ’C :\Jenkins\workspace\test\AutomationVideo\Automation-11-7-2018-17.6.23.mpg’ :
Output file #0 does not contain any stream
============================================================
FFMPEG Binary Version used :4.0.0
Windows OS : Windows 10
Jenkins Version : 2.138.2 -
MoviePy Error : The system cannot find the file specified
4 juillet 2017, par JohnSmithy1266I’m getting the error in the title when trying to run the example code below on Windows 10/Python 3.6.1/Sublime Text Editor 3. I made sure to set my
MAGICK_HOME
environment variable to point to where I manually installed ImageMagick. I made sure to only have 1 version of ImageMagick installed. I made sure FFMPEG, Numpy, imageio, Decorator, and tqdm were all installed.Yes, the file "vidclip.mp4" exists. The desired behavior here is to simply clip the video and add text to the center as per the example on the github page, i.e. to simply run the code successfully.
Does anyone know what might be wrong ?
Example code from github :
from moviepy.editor import *
video = VideoFileClip("vidclip.mp4").subclip(7,64)
# Make the text. Many more options are available.
txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
.set_position('center')
.set_duration(10) )
result = CompositeVideoClip([video, txt_clip]) # Overlay text on video
result.write_videofile("vidclip_edited.webm",fps=25) # Many options...The full error trace :
Traceback (most recent call last):
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1220, in __init__
subprocess_call(cmd, verbose=False )
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\tools.py", line 42, in subprocess_call
proc = sp.Popen(cmd, **popen_params)
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\av\Desktop\Desktop\Projects\Youtube\blender\test\testMoviePy.py", line 6, in <module>
txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1229, in __init__
raise IOError(error)
OSError: MoviePy Error: creation of None failed because of the following error:
[WinError 2] The system cannot find the file specified.
.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or.that the path you specified is incorrect
</module>