Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (52)

  • 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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8382)

  • ffmpeg droping session when there is no input , need to wait for an input

    25 mars 2019, par Hovo

    I am trying to live stream to facebook from an application, which is writing frames into image sequence of XXX_Frame.jpg inside a folder.

    I am using a ffmpeg with these commands

    ffmpeg -y -r 15 -f image2 -start_number 0 -i "%0d_Frame.jpg" -i "test.mp3" -muxdelay 1 -preset slow -flush_packets 1 -ar 44100 -b:a 128k -profile:v baseline -acodec aac -vf scale=1280x720 -vcodec libx264 -crf 15 -r 50 -pix_fmt yuvj420p -minrate 50k -maxrate 150k -bufsize 8192k -g 1 -b:v 1200 -f flv "rtmp ://live-api-s.facebook.com:80/rtmp/xxxxxx"

    It is starting to stream faster than 15 frames per second and whenever it finishes up streaming of the available frames it is killing the process and returning error.
    It would be perfect if it was possible to slow down the mux’s read from the input to frame rate speed.

    [flv @ 000001f34347cf00] Failed to update header with correct duration.
    [flv @ 000001f34347cf00] Failed to update header with correct filesize.
    Error writing trailer of rtmp ://live-api-s.facebook.com:80/rtmp/xxxxxx : Error number -10053 occurred

    Any help would be appreciated.

    Expected result is to stream continuously without losing the connection , even sending the last available image continuously.

  • Why SIGSEGV appears when trying to decode audio using libavcodec.57 and libopus-1.2 alpha2-1 ?

    10 août 2021, par Greg Joy

    I'm decoding audio using FFMPEG libavcodec's function avcodec_decode_audio4(). Everything works perfect on Windows and Ubuntu 18.04, but I receive segmentation fault when trying to run the same app on Debian 9. I've debugged my code with gdb, and it showed this result :

    


    Thread 24 "SDLAudioDev2" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fea700 (LWP 1657)]
0x00007fffecdd6eff in ?? () from /usr/lib/x86_64-linux-gnu/libopus.so.0
(gdb) bt
#0  0x00007fffecdd6eff in ?? ()
   from /usr/lib/x86_64-linux-gnu/libopus.so.0
#1  0x00007fffecde0b18 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libopus.so.0
#2  0x00007fffece04ac1 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libopus.so.0
#3  0x00007fffece05b5b in ?? ()
   from /usr/lib/x86_64-linux-gnu/libopus.so.0
#4  0x00007fffece0e87e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libopus.so.0
#5  0x00007fffece0eba7 in opus_multistream_decode ()
   from /usr/lib/x86_64-linux-gnu/libopus.so.0
#6  0x00007ffff4f8a235 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libavcodec.so.57
#7  0x00007ffff51893fd in avcodec_decode_audio4 ()
   from /usr/lib/x86_64-linux-gnu/libavcodec.so.57
#8  0x00007ffff5189e78 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libavcodec.so.57
#9  0x00007ffff518f098 in avcodec_send_packet ()


    


    Seems that data race appears somewhere. I've tried to remove avcodec_decode_audio4() and use avcodec_send_packet() and avcodec_receive_frame() functions, however in libavcodec.57 of FFMPEG ver.3.2.10 function avcodec_send_packet() invokes avcodec_decode_audio4() and the problem occurs again.

    


    Could someone help me with what do I need to change to make it all be compatible with Debian 9 packages' versions, please ?

    


    On Windows I have libavcodec.58, on Ubuntu 18.04 libavcodec.57 ver.3.4.8

    


    On Debian 9 I have libavcodec.57 ver.3.2.15

    


  • ffmpeg livestream FPS gradually decreases to a minimum

    23 avril 2020, par user1088259

    I restream m3u8 playlist to my own hls server. Firstly several hours all works perfect, but over time, FPS gradually decreases to a minimum. I try different combinations : ffmpeg + nginx-rtmp-module, ffmpeg+node-media-server, try different ffmpeg versions - all same situation.

    



    ffmpeg -i "http://xxx/index.m3u8" -c:v copy -c:a aac -b:a 128k -ac 2 -strict -2 -f flv rtmp://http://ip:8080/hls/1.m3u8

frame=30157 fps=9.7 q=-1.0 size=  532864kB time=06:59:46.80 bitrate= 173.3kbits/s speed=8.14x
frame=30157 fps=9.7 q=-1.0 size=  532864kB time=06:59:46.80 bitrate= 173.3kbits/s speed=8.14x
frame=30157 fps=9.7 q=-1.0 size=  532864kB time=06:59:46.80 bitrate= 173.3kbits/s speed=8.13x
frame=30157 fps=9.7 q=-1.0 size=  532864kB time=06:59:46.80 bitrate= 173.3kbits/s speed=8.13x
frame=30157 fps=9.4 q=-1.0 size=  532864kB time=06:59:46.80 bitrate= 173.3kbits/s speed=7.82x