Recherche avancée

Médias (91)

Autres articles (80)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (10446)

  • How to add watermark to some videos using ffmpeg ? Random images for watermark. The images should resize resolution according to video quality [duplicate]

    27 mars 2021, par Abir Hasan

    I have many videos in different quality/resolution. I want to add random image to the videos using ffmpeg. The images should resize image resolution according to video resolution. The image should be at top left corner and it should be very small. It should be same as YouTube Videos Branding Watermark.

    


    Currently I am resizing image using Pillow module to 100x100. But in some videos which are in less quality, the 100x100 watermark getting bigger.

    


    What is the solution ?

    


  • Higher resolution (720p1080p) pytube video donot have sound. how to do with ffmpeg and with other sources exactly

    24 février 2021, par vishnu kumar

    i have taken url and res= 1080p from other function and with the help of template home.html.

    


    def download_complete(request, res) :

    


    global url


try:
    path = YouTube(url).streams.filter(res=res).first().download()

    response=FileResponse(open(out, 'rb'), as_attachment=True)

    return response

except Exception as ex:
    print('[complete] Exception:', ex)
    return render(request, 'error.html', {'url': url, 'error': ex})


    


  • Trying to scale a webm video to 50% of its resolution using FFMPEG but keep getting an error (video has transparency btw)

    6 février 2021, par DistantDigit

    I'm trying to scale down a webm video with transparency using this line of commands (based off of an answer in this stackoverflow question @ How to keep transparency when scale webm file with ffmpeg) :

    


    ffmpeg -c:v libvpx -i in.webm -c:v libvpx -vf scale=400:416 -auto-alt-ref 0 out.webm

    


    but I keep getting errors (for example) :

    


    [libvpx @ 00000128eb6123c0] Invalid sync code 310042.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
Cannot determine format of input stream 0:0 after EOF


    


    Full log (I've removed a ton of the same exact message with "..."'s) :

    


    ffmpeg version 2021-02-02-git-2367affc2c-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  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 --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 --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 --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 64.100 / 56. 64.100
  libavcodec     58.120.100 / 58.120.100
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7.101.100 /  7.101.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[libvpx @ 00000128eb6123c0] v1.9.0-146-gebb5ffc1d
[libvpx @ 00000128eb6123c0] Invalid sync code 310042.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 007a49.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
...
...
...
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[matroska,webm @ 00000128eb60f040] decoding for stream 0 failed
[matroska,webm @ 00000128eb60f040] Could not find codec parameters for stream 0 (Video: vp8 (libvpx), none(progressive), 800x832): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'in.webm':
  Metadata:
    encoder         : libwebm-0.2.1.0
    creation_time   : 2017-12-02T12:06:12.000000Z
  Duration: 00:00:10.00, start: 0.000000, bitrate: 2592 kb/s
    Stream #0:0(eng): Video: vp8, none(progressive), 800x832, SAR 1:1 DAR 25:26, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
[libvpx @ 00000128eb612a40] v1.9.0-146-gebb5ffc1d
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 (libvpx) -> vp8 (libvpx))
Press [q] to stop, [?] for help
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
...
...
...
Error while decoding stream #0:0: Invalid data found when processing input
[NULL @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[NULL @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[NULL @ 00000128eb6123c0] Invalid sync code 009c96.
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!


    


    Log of ffmpeg -i input.webm :

    


    ffmpeg version 2021-02-02-git-2367affc2c-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  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 --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 --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 --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 64.100 / 56. 64.100
  libavcodec     58.120.100 / 58.120.100
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7.101.100 /  7.101.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, matroska,webm, from 'input.webm':
  Metadata:
    encoder         : libwebm-0.2.1.0
    creation_time   : 2017-12-02T12:06:12.000000Z
  Duration: 00:00:10.00, start: 0.000000, bitrate: 2592 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 800x832, SAR 1:1 DAR 25:26, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
At least one output file must be specified