Recherche avancée

Médias (91)

Autres articles (111)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9586)

  • avutil : Fix linking x86 asm constants with Clang in MSVC mode

    12 juin, par Martin Storsjö
    avutil : Fix linking x86 asm constants with Clang in MSVC mode
    

    This fixes building with Clang in MSVC mode, for x86, which was
    broken in 6e49b8699657b808b7dc80033f2c3f2d0e029fa3 (in Nov 2024) ;
    previously it failed with undefined symbols for the constants
    defined with DECLARE_ASM_CONST, accessed via inline assembly.

    Before 57861911a34e1c33796be97f2b2f44e05fffd647, there was an
    #elif defined(__GNUC__) || defined(__clang__)
    case before the
    #elif defined(_MSC_VER)
    case for defining DECLARE_ASM_CONST, which included av_used.
    (This case included the explicit "defined(__clang__)" since
    f637046d3134a331e4b5a7243ac3dfb92735b8a5.)

    After 57861911a34e1c33796be97f2b2f44e05fffd647, it used the
    generic definition of DECLARE_ASM_CONST that also included
    av_used - which also worked for Clang in MSVC mode. But after
    6e49b8699657b808b7dc80033f2c3f2d0e029fa3, Clang in MSVC mode
    ended up using the MSVC specific variant which lacked the
    av_used declaration, causing linker errors due to undefined
    symbols.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavutil/mem_internal.h
  • libavcodec.so.58 not found when running software compiled with opencv

    22 avril, par Abinaya

    I am using ubuntu 22.04. Now every time I try to run software compiled with Opencv, I get the following error :

    &#xA;

    `libavcodec.so.58 => not found&#xA; libavformat.so.58 => not found&#xA; libavutil.so.56 => not found&#xA; libswscale.so.5 => not found&#xA;`&#xA;

    &#xA;

    Looking around /lib/x86_64-linux-gnu/, I can find libavcodec.so.59, but not libavcodec.so.58.

    &#xA;

    When trying to run sudo apt-get install libavcodec58, I get :

    &#xA;

    Package 'libavcodec58' has no installation candidate

    &#xA;

    I've scoured the internet in search of an answer, but could not find anything at this point. Any help with solving this problem will be very much appreciated.

    &#xA;

    I have tried to recreate symbolic link with&#xA;'ls -l libavcodec.so.59'&#xA;1 root root 23 Aug 10 2024 libavcodec.so.59 ->libavcodec.so.59.37.100`

    &#xA;

    'dconfig -vl libavcodec.so.59.37.100'&#xA;libavcodec.so.59 -> libavcodec.so.59.37.100`

    &#xA;

    But I am still struck

    &#xA;

  • I created a Python code to capture live video using FFmpeg, but the output screen only shows noise

    16 octobre 2024, par chun3 hyun

    The code below is Python code that made my computer screen video capture in real time via ffmpeg.

    &#xA;

    When I run the code below, it goes well until a new window named 'Captured Frame' is created. But this 'Captured Frame' window doesn't show the full screen of my computer, and the gray screen is generating a lot of noise.

    &#xA;

    import cv2&#xA;import numpy as np&#xA;import subprocess&#xA;&#xA;def frame_capture():&#xA;    # Set FFmpeg command (capture desired window or area)&#xA;    ffmpeg_command = [&#xA;        &#x27;ffmpeg&#x27;,&#xA;        &#x27;-f&#x27;, &#x27;gdigrab&#x27;,  # Windows screen capture (using gdigrab)&#xA;        &#x27;-framerate&#x27;, &#x27;30&#x27;,  # Setting the Frame Speed&#xA;        &#x27;-i&#x27;, &#x27;desktop&#x27;,  # What to capture (for example, full screen)&#xA;        &#x27;-pix_fmt&#x27;, &#x27;bgr0&#x27;,&#xA;        &#x27;-vcodec&#x27;, &#x27;rawvideo&#x27;,  # Video codec settings&#xA;        &#x27;-tune&#x27;, &#x27;zerolatency&#x27;,&#xA;        &#x27;-an&#x27;,  # Disable audio&#xA;        &#x27;-sn&#x27;,  # Disable Caption&#xA;        &#x27;-f&#x27;, &#x27;rawvideo&#x27;, &#x27;-&#x27;&#xA;    ]&#xA;&#xA;    # Running the FFmpeg process&#xA;    process = subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, bufsize=10**8)&#xA;&#xA;    while True:&#xA;        # Read Frame from FFmpeg (Resolution Example: 1920x1080)&#xA;        raw_frame = process.stdout.read(1920 * 1080 * 3)  # 1920x1080 resolution, BGR format&#xA;        if not raw_frame:&#xA;            break  # Shut down the loop when you can no longer receive frames&#xA;&#xA;        # Converting frame data to a numpy array&#xA;        frame = np.frombuffer(raw_frame, np.uint8).reshape((1080, 1920, 3))&#xA;&#xA;        # Add frame processing code here&#xA;        # Example: Showing a frame on the screen&#xA;        cv2.imshow(&#x27;Captured Frame&#x27;, frame)&#xA;&#xA;        # Press the &#x27;q&#x27; key to end&#xA;        if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;q&#x27;):&#xA;            break&#xA;&#xA;    # End of process and release of resources&#xA;    process.stdout.close()&#xA;    process.wait()&#xA;    cv2.destroyAllWindows()&#xA;frame_capture()&#xA;

    &#xA;

    What could I have done wrong ? When I directly input the FFmpeg command in the Windows command prompt(knows as 'cmd') as shown below to save the video (in .mp4 format), I can see that the screen is output normally in the saved file. It seems that FFmpeg itself is installed correctly, but I don't know what the cause is.

    &#xA;

    hwnd=132554 -pix_fmt yuv420p -vf "scale=iw-mod(iw\,2):ih-mod(ih\,2)" -draw_mouse 1 -t 10 output.mp4&#xA;

    &#xA;

    The handle number written above was the handle of the active Chrome window on my computer.

    &#xA;

    My ffmpeg version is 2024-10-10-git-0f5592cfc7-full_build-www.gyan.dev My Python version is 3.12.4&#xA;My Windows version and build are as specified below.&#xA;:Windows 11 Home, 10.0.22631

    &#xA;

    Capturing the computer screen with FFmpeg. I tried it, but the output screen shows only noise.

    &#xA;