Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (61)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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, par

    Pré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, par

    MediaSPIP 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 alpecca

    I 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) => {&#xA;    chrome.tabCapture.capture({&#xA;        video: true,&#xA;        audio: true,&#xA;        videoConstraints: {&#xA;            &#xA;            mandatory: {&#xA;                minFrameRate: 60,&#xA;                maxFrameRate: 60,&#xA;                minWidth: 1920, &#xA;                minHeight: 1080, &#xA;                maxWidth: 1920,&#xA;                maxHeight: 1080,&#xA;            }&#xA;        }&#xA;    }, (stream: MediaStream | null) => {&#xA;        if (chrome.runtime.lastError) {&#xA;            return reject(new Error(chrome.runtime.lastError.message));&#xA;        }&#xA;        resolve(stream);&#xA;    });&#xA;});&#xA;</mediastream>

    &#xA;

    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.

    &#xA;

    Here is the Media Recorder values :-

    &#xA;

    const recorder = new MediaRecorder(stream, {&#xA;            mimeType: &#x27;video/webm;codecs=H264&#x27;,&#xA;            videoBitsPerSecond: 8000000&#xA;        });&#xA;&#xA;        recorder.ondataavailable = (e: BlobEvent) => {&#xA;            socketRef.send(e.data)&#xA;           &#xA;        }&#xA;  &#xA;        recorder.start(2000);&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

    Any help would be greatly appreciated :)

    &#xA;

  • Unable to Record Video in Jenkins using ffmpeg in Windows System

    12 novembre 2018, par Deepak Kumar Susarla

    I 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’ options

    Input #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 tbc

    Output #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 JohnSmithy1266

    I’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>