Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (66)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9407)

  • h264 : split reading the ref list modifications and actually building the ref list

    15 avril 2016, par Anton Khirnov
    h264 : split reading the ref list modifications and actually building the ref list
    

    This will allow postponing the reference list construction (and by
    consequence some other functions, like frame_start) until the whole
    slice header has been parsed.

    • [DBH] libavcodec/h264.h
    • [DBH] libavcodec/h264_refs.c
    • [DBH] libavcodec/h264_slice.c
  • configure : When disabling a library disable all the related components

    5 octobre 2015, par Luca Barbato
    configure : When disabling a library disable all the related components
    

    This way is sufficient to use the component specific configure variable
    and not guard against the global library configure variable in code
    that is outside it (e.g. checkasm).

    • [DBH] configure
  • 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.