Recherche avancée

Médias (91)

Autres articles (28)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (5443)

  • FFMPEG S3 AWS Laravel Unable to check existence

    18 avril 2023, par Moomen Aldahdouh

    the error in logs laravel file
[2023-04-18 14:11:22] production.ERROR : Unable to check existence for : videos/643ea50862566/643ea50862566_0_300_%05d.ts "exception" :"[object] (League\Flysystem\UnableToCheckFileExistence(code : 0) : Unable to check existence for : videos/643ea50862566/643ea50862566_0_300_%05d.ts at C :\inetpub\mysite\vendor\league\flysystem\src\UnableToCheckExistence.php:19)
[stacktrace]

    


    I'm trying to upload a video on S3 service using Laravel FFMPEG and convert the video to multi-resolution after adding Frames, the error appears on the server, but on localhost not appear, and working very well locally.

    


    `FFMpeg::fromDisk('s3')//uploads
    ->open($this->data["storage_path_full"])
        ->exportForHLS()
        ->addFormat($lowBitrate, function ($media) {
            $media->addFilter('scale=256:144'); 
        })
        ->addFormat($superLowBitrate, function ($media) {
            $media->addFilter('scale=426:240'); 
        })
        ->addFormat($midBitrate, function ($media) {
            $media->addFilter('scale=480:360'); 
        })
        ->addFormat($superMidBitrate, function ($media) {
            $media->addFilter('scale=640:480'); 
        })
        ->addFormat($highBitrate, function ($media) {
            $media->addFilter('scale=1280:720'); 
        })
        ->addFormat($superHighBitrate, function ($media) {
            $media->addFilter('scale=1920:1080'); 
        })
        ->toDisk('s3')
        ->save($this->data["storage_path_video"]);`


    


  • PyDub can't locate FFmpeg, even after comfirming that FFmpeg is properly installed

    14 avril 2023, par TordG

    After trying many solutions, checking that FFmpeg is installed correctly through cmd and other modules, PyDub still cannot find it. I am running Windows 11, Python 3.10.6, PyDub 0.25.1 and FFmpeg version 2023-04-12-git-1179bb703e-full_build-www.gyan.dev

    


    I've tried to run the following code that should speed up an mp3 file within the directory by 100%

    


    import os
from pydub import AudioSegment

file = r'test.mp3'

# Load the MP3 file
audio = AudioSegment.from_file(file, format="mp3")

# Increase the speed
audio = audio.speedup(playback_speed=2, chunk_size=150)

# Export the modified file to the same file name
audio.export(file, format="mp3")

# Delete the original file
os.remove(file)


    


    From this I get the following error :

    


    C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work&#xA;  warn("Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)&#xA;C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\utils.py:198: RuntimeWarning: Couldn&#x27;t find ffprobe or avprobe - defaulting to ffprobe, but may not work&#xA;  warn("Couldn&#x27;t find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)&#xA;Traceback (most recent call last):&#xA;  File "c:\Users\xxx\xxx\xxx\xxx\xxx\speed_up.py", line 7, in <module>&#xA;    audio = AudioSegment.from_file(file, format="mp3")&#xA;  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\audio_segment.py", line 728, in from_file&#xA;    info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)&#xA;  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json&#xA;    res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)&#xA;  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;

    I've added FFmpeg to my path variable and checked that it worked by typing 'ffmpeg' in my command prompt. I also made sure that it was installed and pathed correctly by testing it with other modules that should use ffmpeg as well

    &#xA;

    The following code worked flawlessly (where moviepy uses ffmpeg as far as I know) :

    &#xA;

    from moviepy.editor import ColorClip&#xA;&#xA;# Create a black clip with a duration of 5 seconds&#xA;empty_clip = ColorClip(size=(640, 480), color=(0, 0, 0), duration=5)&#xA;&#xA;# Write the empty clip to a video file&#xA;empty_clip.write_videofile("empty.mp4", codec="libx264", fps=25)&#xA;&#xA;

    &#xA;

    I've specified the abs path in my code as :

    &#xA;

    AudioSegment.ffmpeg_path = r"C:\ffmpeg\bin\ffmpeg.exe"

    &#xA;

    Again this didn't work and I cannot find any more solutions anywhere

    &#xA;

  • FFMPEG Streaming Issue - "Connection Failed : I/O Error"

    25 avril 2023, par 1080Jake

    For a fun project I wanted to see if I could create an SRT stream from an active SDI input (1080i59.94) on a BMD Decklink Quad card. Whenever I try to execute my syntax, I get the following prompt "Connection to srt ://127.0.0.1:1234 failed : I/O error"&#xA;Is there anyway to use a debug mode and get more details about what is causing this ? I am very new to FFMPEG and obviously clueless. This is the syntax I am trying to execute -

    &#xA;

    C:\Users\01>ffmpeg -f decklink -i "DeckLink Quad (8)" -c:v libx265 -preset ultrafast -b:v 5000k -f mpegts srt://127.0.0.1:1234&#xA;

    &#xA;

    Full printout here -

    &#xA;

    C:\Users\01>ffmpeg -f decklink -i "DeckLink Quad (8)" -c:v libx265 -preset ultrafast -b:v 5000k -bufsize 3000k -f mpegts srt://127.0.0.1:1234&#xA;ffmpeg version n6.0-ffmpeg-windows-build-helpers Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 10.2.0 (GCC)&#xA;  configuration: --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=ffmpeg-windows-build-helpers --enable-version3 --disable-debug --disable-w32threads --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/runner/work/ffmpeg-stable-autobuild/ffmpeg-stable-autobuild/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --enable-libcaca --enable-gray --enable-libtesseract --enable-fontconfig --enable-gmp --enable-libass --enable-libbluray --enable-libbs2b --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libvorbis --enable-libwebp --enable-libzimg --enable-libzvbi --enable-libmysofa --enable-libopenjpeg --enable-libopenh264 --enable-libvmaf --enable-libsrt --enable-libxml2 --enable-opengl --enable-libdav1d --enable-cuda-llvm --enable-gnutls --enable-libsvtav1 --enable-libvpx --enable-libaom --enable-nvenc --enable-nvdec --extra-libs=-lharfbuzz --extra-libs=-lm --extra-libs=-lshlwapi --extra-libs=-lmpg123 --extra-libs=-lpthread --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCACA_STATIC --enable-amf --enable-libmfx --enable-gpl --enable-frei0r --enable-librubberband --enable-libvidstab --enable-libx264 --enable-libx265 --enable-avisynth --enable-libaribb24 --enable-libxvid --enable-libdavs2 --enable-libxavs2 --enable-libxavs --extra-cflags=&#x27;-mtune=generic&#x27; --extra-cflags=-O3 --enable-static --disable-shared --prefix=/home/runner/work/ffmpeg-stable-autobuild/ffmpeg-stable-autobuild/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-nonfree --enable-libfdk-aac --enable-decklink&#xA;  libavutil      58.  2.100 / 58.  2.100&#xA;  libavcodec     60.  3.100 / 60.  3.100&#xA;  libavformat    60.  3.100 / 60.  3.100&#xA;  libavdevice    60.  1.100 / 60.  1.100&#xA;  libavfilter     9.  3.100 /  9.  3.100&#xA;  libswscale      7.  1.100 /  7.  1.100&#xA;  libswresample   4. 10.100 /  4. 10.100&#xA;  libpostproc    57.  1.100 / 57.  1.100&#xA;[decklink @ 000002ad2785a6c0] Autodetected the input mode&#xA;[decklink @ 000002ad2785a6c0] Found Decklink mode 1920 x 1080 with rate 29.97(i)&#xA;Guessed Channel Layout for Input Stream #0.0 : stereo&#xA;Input #0, decklink, from &#x27;DeckLink Quad (8)&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: 995869 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s&#xA;  Stream #0:1: Video: rawvideo (UYVY / 0x59565955), uyvy422(top first), 1920x1080, 994333 kb/s, 29.97 tbr, 1000k tbn&#xA;[srt @ 000002ad2a870dc0] Connection to srt://127.0.0.1:1234 failed: I/O error&#xA;srt://127.0.0.1:1234: I/O error&#xA;

    &#xA;

    Instead of using an SDI input from my BMD card, I also tried to use a local mp4 file on my PC but I get the same prompt. Note - I am running FFMPEG on a Windows 10 PC.

    &#xA;