Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (9)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3968)

  • qsv : remove CONFIG_VAAPI for mutiple formats

    14 février 2023, par Tong Wu
    qsv : remove CONFIG_VAAPI for mutiple formats
    

    Remove CONFIG_VAAPI for VUYX, YUYV422, Y210, XV30, Y212, XV36.

    Make 8-bit, 10-bit, 12-bit YUV 4:2:2 video sources as well as YUV 4:4:4
    video sources supported by d3d11va and dxva2 just like what VAAPI does.

    Sign-off-by : Tong Wu <tong1.wu@intel.com>

    • [DH] libavcodec/qsv.c
    • [DH] libavutil/hwcontext_qsv.c
  • ffmpeg does not work with a large number of urls in the request

    2 avril 2023, par Hack team

    If i put one url in the array, everything works perfectly, but when i add more than one url to the array, it throws an error :

    &#xA;

    HTTP error 403 Forbidden https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/2c182489bc4e42dcbb70f37a283cf5f1~tplv-photomode-image.jpeg?from=photomode.AWEME_DETAIL&amp;x-expires=1681740000&amp;x-signature=BaB75chVtpoZg6sE%2B0oWmxtzky0%3D https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/34cae24dad35476d96d8db03b46076b9~tplv-photomode-image.jpeg?from=photomode.AWEME_DETAIL&amp;x-expires=1681740000&amp;x-signature=RTyGbq%2BfLz3hNahtLJyaWycQtPI%3D: Server returned 403 Forbidden (access denied)&#xA;

    &#xA;

    However, if i put each of the urls one by one, then access is available and everything works perfectly

    &#xA;

    It feels like ffmpeg makes one out of three urls and catches an error because of it. But I don't understand how to handle urls.

    &#xA;

    My code :

    &#xA;

    from PIL import Image&#xA;from io import BytesIO&#xA;&#xA;import requests&#xA;import ffmpeg&#xA;&#xA;def make_even(n):&#xA;    return n &#x2B; n % 2&#xA;&#xA;list_of_urls = [&#xA;    "https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/2c182489bc4e42dcbb70f37a283cf5f1~tplv-photomode-image.jpeg?from=photomode.AWEME_DETAIL&amp;x-expires=1681740000&amp;x-signature=BaB75chVtpoZg6sE%2B0oWmxtzky0%3D",&#xA;    "https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/34cae24dad35476d96d8db03b46076b9~tplv-photomode-image.jpeg?from=photomode.AWEME_DETAIL&amp;x-expires=1681740000&amp;x-signature=RTyGbq%2BfLz3hNahtLJyaWycQtPI%3D",&#xA;    "https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/c2cb000f9332498caf6bd837f42e92c6~tplv-photomode-image.jpeg?from=photomode.AWEME_DETAIL&amp;x-expires=1681740000&amp;x-signature=4Zh5PFWNUYQhxQHuKM7P8rk8geU%3D"&#xA;]&#xA;&#xA;response = requests.get(list_of_urls\[0\])&#xA;img = Image.open(BytesIO(response.content))&#xA;&#xA;width, height = img.size&#xA;width = make_even(width)&#xA;height = make_even(height)&#xA;&#xA;(&#xA;    ffmpeg&#xA;    .input(&#x27; &#x27;.join(list_of_urls), framerate=0.33)&#xA;    .filter(&#x27;scale&#x27;, width, height)&#xA;    .output(&#x27;output.mp4&#x27;)&#xA;    .run()&#xA;)&#xA;

    &#xA;

  • FFmpeg recorded video is dark with Xvfb and chrome headless on Centos 7

    15 juin 2023, par narsy4

    I am trying to do a video recording of headless chrome session on Centos 7 (Amazon EC2 instance) using ffmpeg. I have installed ffmpeg, Xvfb and google chrome on the machine. I started Xvfb on :99, verified the display using xdpyinfo and started chrome. However when I run the ffmpeg cmd to capture the video (no errors in ffmpeg debug logs), the output is dark with a X sign in the centre of video screen. What am I doing wrong here ? Any help is appreciated.

    &#xA;

    **Xvfb and chrome commands**&#xA;Xvfb :99 -screen 0 1920x1080x24 &amp;&#xA;export DISPLAY=:99&#xA;google-chrome --headless --disable-gpu --no-sandbox --start-maximized --window-size=1920x1080 https://www.google.com&#xA;&#xA;

    &#xA;

    **FFmpeg command**&#xA;ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :99 -loglevel debug -pix_fmt yuv420p /tmp/video.mp4&#xA;&#xA;

    &#xA;

    dark video

    &#xA;

    Searched for and read a few threads on this, but couldn't get it to work.

    &#xA;