Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (9983)

  • Video size streaming to YouTube with FFMPEG on Raspberry Pi 4

    14 juillet 2023, par mysterons

    I'm using FFMPEG to stream video to YouTube with my Raspberry Pi 4. It used to work well, but just recently YouTube has started displaying the video smaller than it should be with a black surround as pictured.
preview in YouTube studio

    


    The command I am using is :

    


    ffmpeg -re -i $path -r 24 -g 48 -pix_fmt yuv420p -x264-params kiyint=48:min-keyint=48:scenecut=-1 -video_size 1280x720 -b:v 2000k -b:a 128k -ar 44100 -acodec aac -vcodec h264_v4l2m2m -preset superfast -bufsize 960k -crf 28 -threads 4 -f flv rtmp://a.rtmp.youtube.com/live2/$key

    


    I thought -video_size 1280x720 should set the resolution that FFMPEG is outputting, but it's still displaying as in the picture. The videos themselves are 720p.

    


    I can't work out how to get YouTube and FFMPEG to understand the resolution of the video from one another and have it fill the frame.

    


  • Streaming from google cloud run to youtube

    29 mars 2021, par Robin to Roxel

    When I stream to YouTube with ffmpeg from within a container on google cloud run, I get a connection timeout. But the same container successfully streams from google cloud build to YouTube during the container build process (which I accidentally found out). Also, the same container successfully streams to YouTube when I run it locally.

    


    The ffmpeg command is ffmpeg -hide_banner -loglevel error -re -i test.flv -c copy -f flv rtmp://a.rtmp.youtube.com/live2/key. The dockerfile is

    


    FROM python:3.8-slim-buster

RUN apt update; apt install ffmpeg -y
RUN apt-get update; apt-get install git -y

RUN git clone "url/to/github/repository"
RUN pip install flask

EXPOSE 8080

CMD cd test_dir; python3 test_script.py


    


  • Creating thumbnail using ffmpeg for video downloaded from youtube

    24 septembre 2015, par akhila

    Thanks in advance. I have trouble creating thumbnail for videos downloaded from youtube . I have downloaded videos using the youtube downloader extension and saved to mp4 format , When I upload a video to my site I use ffmpeg to create the thumbnail of the videos , For other mp4 videos it works perfectly fine but for youtube videos. Youtube videos are uploaded to the site and thumbnail creation not working. Here goes my code.

        system('ffmpeg -i '.$saveimgpath1.' -ss 00:00:00.010 -vframes 1 '.$thumbpath);

    The path given is correct as it works for other videos.Any help will be greatly appreciated .