Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (48)

  • 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

  • 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

  • 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 (7902)

  • Reload scrolling drawtext filter in ffmpeg only while off screen

    3 janvier 2021, par J45p3r

    I have a drawtext filter in ffmpeg that scrolls right to left on the bottom of the screen showing current weather data. The problem I have is the text file containing the weather data updates every 2 seconds and when the weather readings change the length of the text also changes. This causes the looping text to jump around. I tried using a conditional statement to set reload to 1 only if x was greater than the screen width but it seems reload doesn't evaluate conditional statements. Can anyone think of a way around this problem so that the text will only update once per loop, while off screen ?

    


    My command :

    


    ffmpeg -thread_queue_size 512 -re -rtsp_transport tcp -i "rtsp://192.168.x.x:7447" -i /YouTubeStream/CupolaCam/logo.png -f lavfi -i anullsrc -filter_complex "[0:v][1:v]overlay=20:925","drawbox=x=0:y=ih-35:w=iw:h=35:color=black@0.75:t=fill","drawtext=fontsize=30:fontcolor=white@.8:line_spacing=10:fontfile=/usr/share/fonts/truetype/Courier_Prime/CourierPrime-Regular.ttf:textfile=/YouTubeStream/CupolaCam/weatherdata/curtempformatted:y=h-line_h-5:x='if(gt(x\,-tw),w-mod(4*n\,w+tw)\,w)':reload=1" -c:v libx264 -profile:v high -bf 2 -g 15 -crf 18 -pix_fmt yuv420p -c:a aac -profile:a aac_low -b:a 128k -movflags faststart -f flv "rtmp://a.rtmp.youtube.com/live2/stream_key"


    


    The video on youtube : https://www.youtube.com/watch?v=Av6k8bf_2Zc

    


  • capture video conference between 1:1 user and broadcast to an rtmp url

    20 octobre 2020, par Asif Alamgir

    I am currently working on nodejs and socket app that is currently doing 1:1 video conference that is using webrtc. Videos are two separate element in the html and i would like to merge them together so that i can broadcast to rtmp url for public view (2:many). Is this possible

    


    For webrtc, i followed this tutorial https://www.youtube.com/watch?v=DvlyzDZDEq4, and for broadcasting i am using ffmpeg which current does 1 video stream.

    


    Please confirm if this is doable

    


    Update

    


    I was able to merge the video using
https://www.npmjs.com/package/video-stream-merger

    


    And now the final issue

    


    i am receiving merger.result which is merged stream and I tried to create a mediaRecorder object. Callback method for MediaRecorder ondataavailable is called only once but not every 250ms which i need to broadcast to youtube. How can i do this ?

    


    var merger = new VideoStreamMerger(v_opts);
...
...
merger.start()
myMediaRecorder = new MediaRecorder(merger.result);
myMediaRecorder.start(250);
myMediaRecorder.ondataavailable = function (e) {
    console.log("DataAvailable")
    //socket.emit("binarystream", e.data);
    state = "start";
    //chunks.push(e.data);
}


    


  • FFMPEG stream RTSP to RTMP (Youtube) add logo

    16 juin 2017, par Māris Purviņš

    To stream video from IP cam to Youtube I’m using code (through Ubunu) :
    ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp ://user:psw@192.168.0.100:554 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp ://a.rtmp.youtube.com/live2/ -nostdin -nostats /dev/null 2>&1 &

    It is a bee project for school
    I have two cameras and two streams :
    https://www.youtube.com/watch?v=ws-VcLXo-hI

    Everything is ok, but... I would like to know :
    1. How to add png logo to this strem. I have tried -i /home/user/rvvg_logo_round.png -codec:v libx264 -preset ultrafast -filter_complex overlay and another methods but without a result.
    2. Sometimes there is some problem during night and video streaming stops. How to automatically check process status and restart stream.
    I have tried to create sh file as described in http://videos.cctvcamerapros.com/raspberry-pi/ip-camera-raspberry-pi-youtube-live-video-streaming-server.html and put in cron job, bet that is only to check one cam process. Is there some better idea ?