Recherche avancée

Médias (91)

Autres articles (69)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (15706)

  • avcodec/lpc : Avoid floating point division by 0

    28 mai 2021, par Michael Niedermayer
    avcodec/lpc : Avoid floating point division by 0
    

    Fixes : Ticket7996
    Fixes : CVE-2020-20445

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/lpc.c
    • [DH] libavcodec/lpc.h
  • Pydub The system can not find the file specified

    11 janvier 2021, par Madar

    So here is my code :

    &#xA;

    from pydub import AudioSegment&#xA;sound1 = AudioSegment.from_mp3("sound_0.mp3")&#xA;sound2 = AudioSegment.from_mp3("sound_1.mp3")&#xA;&#xA;sound = sound1 &#x2B; sound2&#xA;sound.export("test.mp3",format="mp3")&#xA;

    &#xA;

    Problem :&#xA;I got the error message : WindowsError : [Error 2] The system can not find the file specified

    &#xA;

    System configuration&#xA;Python version : 3.8&#xA;Pydub version : I just installed it&#xA;ffmpeg or avlib ? : ffmpeg&#xA;ffmpeg/avlib version : 2020-12-15-git-32586a42da-full_build-www.gyan.dev

    &#xA;

    What did I try ?&#xA;So, I found some things to do on a Stackoverflow subject,&#xA;I tried to add this

    &#xA;

    pydub.AudioSegment.ffmpeg = "way//to//ffmpeg.exe"&#xA;

    &#xA;

    But it doesn't worked, then this

    &#xA;

    AudioSegment.converter = "way//to//ffmpeg.exe"&#xA;

    &#xA;

    Still doesn't work, so, because I'm on spyder with anaconda, I tried this on the anaconda prompt

    &#xA;

    conda install -c conda-forge ffmpeg&#xA;

    &#xA;

    I even tried to put ffmpeg.exe,ffplay.exe in the current working directory but still doesn't worked..

    &#xA;

    So I'm desperately here for some help, thanks in advance

    &#xA;

  • using for loop in powershell with ffmpeg to create thumbnails

    29 septembre 2020, par blue

    I have this basic for loop combined with ffmpeg that creates thumbnails for each video.

    &#xA;

    Could anyone help me figure out why it doesn't work ? I don't really know much about powsershell.

    &#xA;

    If i were to use a regular array it works but when i use a pre-sized array it does not.&#xA;EDIT :&#xA;somehow figured it out, i should have included the extention'.png' in the array instead of adding at the end of the for loop.i also didn't define a size for the array.

    &#xA;

    $files = @(Get-ChildItem -Path &#x27;D:\other stuff\ffmpeg test\*.mp4&#x27;)&#xA;$filetext = @()&#xA;$test = &#x27;d.png&#x27;&#xA;&#xA;  &#xA; for ($i=0; $i -lt $files.length; $i&#x2B;&#x2B;){ &#xA; $filetext &#x2B;= (Get-Item $files[$i]).Basename &#x2B; &#x27;.png&#x27;&#xA; ffmpeg -i $files[$i] -ss 00:00:01  -vframes 1 $filetext[$i] &#xA;&#xA;}&#xA;

    &#xA;

    PS D:\other stuff\ffmpeg test> $files = @(Get-ChildItem -Path &#x27;D:\other stuff\ffmpeg test\*.mp4&#x27;)&#xA;$filetext = [Object[]]::new(100)&#xA;&#xA;&#xA;for ($i=0; $i -lt $files.length; $i&#x2B;&#x2B;) {&#xA;  $filetext[$i] = % {$files[$i].BaseName}&#xA;  ffmpeg -i $files[$i] -ss 00:00:01  -vframes 1 $filetext[$i]&#x27;.png&#x27;&#xA;    &#xA;}&#xA;&#xA;ffmpeg : ffmpeg version 2020-09-27-git-a3a6b56200-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers&#xA;At line:7 char:3&#xA;&#x2B;   ffmpeg -i $files[$i] -ss 00:00:01  -vframes 1 $filetext[$i]&#x27;.png&#x27;&#xA;&#x2B;   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    &#x2B; CategoryInfo          : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException&#xA;    &#x2B; FullyQualifiedErrorId : NativeCommandError&#xA; &#xA;  built with gcc 10.2.0 (Rev3, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib &#xA;--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 &#xA;--enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm &#xA;--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt &#xA;--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libwavpack --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus &#xA;--enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      56. 59.100 / 56. 59.100&#xA;  libavcodec     58.108.100 / 58.108.100&#xA;  libavformat    58. 59.100 / 58. 59.100&#xA;  libavdevice    58. 11.102 / 58. 11.102&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;D:\other stuff\ffmpeg test\sample1.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf56.25.101&#xA;  Duration: 00:00:30.87, start: 0.000000, bitrate: &#xA;411 kb/s&#xA;    Stream #0:&#xA;0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 460x258 [SAR 1:1 DAR 230:129], 276 kb/s, &#xA;29.97 fps, &#xA;29.97 tbr, &#xA;11988 tbn, &#xA;59.94 tbc&#xA; (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:&#xA;1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : &#xA;SoundHandler&#xA;[NULL @ 000001c582d03700] &#xA;Unable to find a suitable output format for &#x27;sample1&#x27;&#xA;sample1: Invalid argument&#xA;ffmpeg : ffmpeg version 2020-09-27-git-a3a6b56200-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers&#xA;At line:7 char:3&#xA;&#x2B;   ffmpeg -i $files[$i] -ss 00:00:01  -vframes 1 $filetext[$i]&#x27;.png&#x27;&#xA;&#x2B;   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    &#x2B; CategoryInfo          : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException&#xA;    &#x2B; FullyQualifiedErrorId : NativeCommandError&#xA; &#xA;  built with gcc 10.2.0 (Rev3, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib &#xA;--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 &#xA;--enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm &#xA;--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt &#xA;--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libwavpack --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus &#xA;--enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      56. 59.100 / 56. 59.100&#xA;  libavcodec     58.108.100 / 58.108.100&#xA;  libavformat    58. 59.100 / 58. 59.100&#xA;  libavdevice    58. 11.102 / 58. 11.102&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;D:\other stuff\ffmpeg test\sample2.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf56.25.101&#xA;  Duration: &#xA;00:00:24.9&#xA;3&#xA;, start:&#xA; &#xA;0.000000, bitrate: 789 kb/s&#xA;    Stream #0:&#xA;0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 460x460 [SAR 1:1 DAR 1:1], 658 kb/s, 30 fps, 30 tbr, 15360 tbn, &#xA;60 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : &#xA;VideoHandler&#xA;    Stream #0:&#xA;1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;[NULL @ 00000267c8bb0540] &#xA;Unable to find a suitable output format for &#x27;sample2&#x27;&#xA;sample2: Invalid argument&#xA;

    &#xA;