Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (71)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (4811)

  • Youtube DL Unable to get local issuer certificate - CERTIFICATE_VERIFY_FAILED

    24 novembre 2022, par Casper Kristiansson

    I'm trying to use youtube DL with FFmpeg to download an m3u8 stream. Just recently I started receiving this error :

    


    ERROR: Unable to download webpage: <urlopen error="error" verify="verify" unable="unable" to="to" get="get" local="local" issuer="issuer" certificate="certificate">&#xA;(caused by URLError(SSLCertVerificationError(1,&#xA;&#x27;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed:&#xA;unable to get local issuer certificate (_ssl.c:992)&#x27;)))&#xA;</urlopen>

    &#xA;

    I know Youtube DL supports an option for nocheckcertificate but by enabling this after a couple of minutes the target machine will refuse the connection. When trying to use the same m3u8 stream on another computer, I could download the stream without any issues.

    &#xA;

    I know that someone from Youtubedl CERTIFICATE_VERIFY_FAILED suggested fixing "your system's CA certificate list". What is the process of doing this ?

    &#xA;

    I tried upgrading/reinstalling python and reinstalling the latest Windows update

    &#xA;

    I also want to mention that there hasn't been any issue with downloading for the past year but recently stumbled upon this when switching proxy providers. But because the same setup works on another PC without any issue it's probably not the reason.

    &#xA;

    The system the program is running on is Windows

    &#xA;

    Edit : Another note is that downloading other public m3u8 streams works perfectly fine, so the problem is probably with the system CA SSL.

    &#xA;

  • Forward youtube-dl output to ffmpeg with hardware-accelerated encoding [closed]

    16 mars 2021, par Yehor

    I'm trying to download some videos from youtube and simultaneously forward those to ffmpeg for hardware decoding to h265 (just for purpose of seeing how it works).

    &#xA;

    My command, that works, but uses (as I understand) software encoding :

    &#xA;

    youtube-dl -o "./%(playlist)s/%(title)s.%(ext)s" --merge-output-format mkv --postprocessor-args "-c:v libx265 -c:a opus -strict experimental" "target_url"&#xA;

    &#xA;

    When I specify the hardware acceleration, I receive the error "Invalid argument". The command is :

    &#xA;

    youtube-dl -o "./%(playlist)s/%(title)s.%(ext)s" --merge-output-format mkv --postprocessor-args "-hwaccel cuda -c:v hevc_nvenc -c:a opus -strict experimental" "target_url"&#xA;

    &#xA;

    What I've done wrong ?

    &#xA;

    System info :

    &#xA;

      &#xA;
    • OS : Windows 10 x64
    • &#xA;

    • GPU : Nvidia GeForce 960M (installed the latest driver and CUDA) and should be supported by CUDA
    • &#xA;

    • latest youtube-dl and ffmpeg build
    • &#xA;

    &#xA;

    The ffmpeg -encoders output contains 265 codecs, so they also should be supported :

    &#xA;

    V..... libx265              libx265 H.265 / HEVC (codec hevc)&#xA;V..... nvenc_hevc           NVIDIA NVENC hevc encoder (codec hevc)&#xA;V..... hevc_amf             AMD AMF HEVC encoder (codec hevc)&#xA;V..... hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)&#xA;V..... hevc_qsv             HEVC (Intel Quick Sync Video acceleration) (codec hevc)&#xA;

    &#xA;

  • Youtube livestream stops receiving video from time to time (ffmpeg)

    15 décembre 2020, par wht_5005

    I have ip cam, raspberry pi (Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-1036-raspi2 armv7l)) with ffmpeg (3.4.8-0ubuntu0.2) on board and I am trying to do 24/7 youtube livestream.&#xA;I have set up a service that start ffmpeg on boot. It receives rtsp stream from camera and sends it to youtube. Here is the ffmpeg setup :

    &#xA;

    ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp://cam_address -c:v copy -af "aresample=async=1:first_pts=0" -c:a aac -ac 2 -ar 44100 -fflags &#x2B;genpts -f flv rtmp://youtube_address -nostdin -nostats&#xA;

    &#xA;

    I have noticed that ffmpeg may accidentally stop working from time to time (rather rarely but still) so the service should restart if ffmpeg crashes. Additionally just in case I have set up a cron job that restarts the service every hour, so if it stops working for some reason and that magic that should bring it up fails it should still get up within an hour.

    &#xA;

    What bothers me, sometimes it stops working but in an unusual way. The service on raspberry pi is running, ffmpeg is running as well, nethogs shows that ffmpeg is both receiving and sending proper amount of data. Stream status on youtube is all right as if everything was just fine but there is no video there (it looks as if it was still loading/buffering but it is not). Restarting the service does not make it work. However if I stop the service, wait a few seconds and start it again the youtube stream starts working as it is supposed to.

    &#xA;

    Why such things happen and how can I fix it ?

    &#xA;