Recherche avancée

Médias (91)

Autres articles (71)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7112)

  • Saving video to SD card while live streaming to YouTube using FFmpeg

    15 mai 2020, par Zohair Ul Hasan

    I'm trying to set up a Raspberry Pi so that it live streams video to YouTube using the Raspberry Pi camera and also saves the video to the SD Card for backup, in case the internet gets disconnected. I used Alex Ellis's guide to set it up, which is basically a docker image that anyone can download and set it up. He sets up the live stream to YouTube but doesn't save the video offline.

    



    So, I tinkered with his code and found that he used FFmpeg to stream to YouTube. The following line is basically the heart of his method to stream :

    



    raspivid -o - -t 0 -w 1920 -h 1080 -fps 40 -b 8000000 -g 40 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i pipe:0 -c:v copy -c:a aac -ab 128k -g 40 -strict experimental -f flv -r 30 rtmp://a.rtmp.youtube.com/live2/$1


    



    I read up about FFmpeg and apparently, to save this stream to my SD card all I need to do is add the directory where I want to save my video to the end of this code. I modified it like so at the end of the line :

    



    raspivid -o - -t 0 -w 1920 -h 1080 -fps 40 -b 8000000 -g 40 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i pipe:0 -c:v copy -c:a aac -ab 128k -g 40 -strict experimental -f flv -r 30 rtmp://a.rtmp.youtube.com/live2/$1 /home/pi/Desktop/my_video.mp4


    



    However, when I ran this, the terminal threw this error :

    



    /home/pi/Desktop/my_video.mp4: No such file or directory


    



    This path, however, definitely exists by default in all Raspberry Pi's. I'm not sure what's wrong here, can someone please help me out ?

    



    P.S : as an additional side question, I read up the documentation on FFmpeg and it specifically says not to use the -re argument when using a live input source, but Alex uses it anyways. Should I substitute it with something different ? It works fine right now though.

    


  • using ffmpeg to live stream to Youtube

    6 septembre 2018, par Bruno Picardi

    I created an app in Windows to live stream the content of all the screen or only a portion of it (a Windows) to Youtube.
    I used this app but I still have a problem I’m not able to understand.
    I use different internet connections : ADSL at home 30Mbit, or ADSL router outside ad 2.5Mbit.
    In any case, after starting ffmpeg to live stream the fps strats growing from 300 to 2000 the transmission is perfect for some minutes, then the fps slowdown until a very low value for the bitrate of the Youtube streaming. The image is no more clear and disappears, the audio is still working. The CPU is still under the 35-40% of usage.
    ffmpeg must be restarted to get another 5-7 minutes of good transmission.
    I tryed changing the ffmpeg command line but nothing seams to influence this behaviour.
    This is because I still don’t undestand Where the problem is. Any suggestions ?
    A log of a single session (aprox. 20 minutes) is available here http://www.mbinet.it/public/ffmpeg-20180106-094446.txt
    Another (aprox. 5 min.) is available here http://www.mbinet.it/public/ffmpeg-20180106-105529.txt
    Thanks

  • How to livestream on Youtube from a video in Google Drive without download ? [closed]

    6 septembre 2023, par Ngọc Hoa Dương

    I have a bunch of video in Google Drive with large size of each video. Instead of download it to local and livesream, Have any solutions that I can livestream from Google Drive on Youtube ?

    


    I try to use ffmpeg but seems no support for google drive