Recherche avancée

Médias (91)

Autres articles (40)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (6130)

  • 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

  • ffmpeg 4 channel assignment with amerge

    29 mai 2014, par kava

    I combine two stereo files to one 4 channel file with :

    ffmpeg -i 1.wav -i 2.wav -filter_complex "amerge=inputs=2" -c:a pcm_s24le out.wav

    This works fine, but when I open the file in Quicktime or want to edit it in other applications the quicktime channel assignment is L/C/R/SURR. But I want it to be QUAD - L/R/LS/RS. How can I tell ffmpeg to set these assignments ?