Recherche avancée

Médias (91)

Autres articles (40)

  • 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.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6757)

  • RTSP to RTMP Youtube Live only displays online for few seconds

    2 juin 2016, par Poison

    I’m trying to get the feed from an IP camera to Youtube Live. Simple enough uh.

    The command I’m using is the usual :

    ffmpeg -i rtsp://user:pass@ip:port/videoMain -f flv -r -s -an rtmp://a.rtmp.youtube.com/live2/per-sonal-code

    What happens

    Live Youtube receives the signal and says its healthy, after two or less seconds a red box appears saying they’re not receiving my signal. After that it displays "No signal". Webcam image is never shown.

    What I’ve tried

    Different parameters (-re, -rtsp_transport tcp, -s 640x480, -g 30, -r 30 ..) and different combinations of them, plus different resolutions, different buffer sizes and stream sizes, and different Ingestion settings on Youtube.

    Followed different very basic stuff tutorials.

    I’ve done it with ffmpeg in Windows 7 and Ubuntu 16.04, different networks (home and work), checked for possible port problems,...

    What confuses me

    Using streaming software like XSplit, or Manycam it actually works on the same computers !
    Also using the different command combinations, Youtube always receives the signal and its healthy before changing and displaying "No signal", its not complaining about low bitrate, or wrong format like I’ve seen in the different tutorials.

    I need to create two different streams for two cams, so ideally I’d prefer to use ffmpeg. However if anyone knows a software that can do this, please tell me. I’ve been stuck with this long enough !

    Thanks.

  • Youtube-DL file download live progress

    7 février 2015, par roshkattu

    I am using the YoutubeDL library in a project. My environment is based on WINDOWS with XAMPP as the webserver boundle (apache,php,mysql,etc). I am using the youtube-dl.exe file to download the video and then use ffmpeg.exe to convert the video to an MP3 audio file.

    At the moment, I have an issue related to programming : I want to show live a progressbar while the video is downloaded with the youtube-dl.exe file. This exe creates a log file, that is updated while the video is downloaded. So my approach on this was to create a PHP file, that opens, parses the log file and get’s the progress percent, and sends it as a json encoded value to an AJAX function that is called every 100MS. Indeed, if the video is too large, there will be a very high ammount of data while polling the PHP file to get the progress state. And sometimes, the browser either crashes or freezes because of this ajax polling.

    My question is : is there any better approach to do this with PHP/AJAX ? Rathar than poll the file every 100MS, or 50MS ?

  • Youtube live stream with dynamic content

    6 octobre 2019, par Arturek

    I’m trying to create a live stream with changing data in real-time on youtube.

    Let’s say I want to show the current Bitcoin price in real-time. For instance, using python and sending requests to some public APIs, I can very easily get current prices of Bitcoin. But I have no idea how to create such a live stream, which will be automatically updated with fresh data.

    I know that I can use ffmpeg to stream on youtube, but how would I change the content of my stream ?

    # To make sure you know what I mean, I created a basic sample.

    import requests
    import json
    import time

    createYtLiveStream()

    while(True):
     response = requests.get('https://api.coindesk.com/v1/bpi/currentprice.json').json()
     price = response['bpi']['USD']['rate']

     updateYtLiveStream(price)

     time.sleep(20)

    I want to do it on Ubuntu. Can you tell me how can I do it, please ?
    Thanks.