Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (60)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6752)

  • Grab sound from a youtube stream and restream on Twitch

    22 mai 2021, par Mangaku

    https://chillhop.com/ is sharing "stream-safe" musics (as far you share in your twitch bio taht the sound come from them).

    


    They have a Youtube channel : https://www.youtube.com/channel/UCOxqgCwgOqC2lMqC5PYz_Dg
where they have a non stop stream live music.

    


    I'd like to grab this sound and reshare it with my twitch channel.
for now my script look like
ffmpeg -nostdin -re -stream_loop -1 -i /home/ffmpeg/TFCv2.mp4 -stream_loop -1 -i /home/ffmpeg/upbeat.m4a -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k -bufsize:v:0 4500k -f flv rtmp://cdg.contribute.live-video.net/app

    


    Guess i have to use youtube-dl to get the sound from youtube live and grab it on ffmpeg. But... i dont understand how that works.
Any help ?

    


  • Youtube-dl : Download video with maximum FPS and change FPS using OpenCV

    8 mai 2021, par MmBaguette

    I'm trying to download a YouTube video using YouTube-dl and specifying a maximum FPS. I don't want the lowest FPS, but I also don't want an FPS higher than 30. The code below does not work, but it was my best attempt.

    


    ydl_opts = {
    'format': '(bestvideo[fps<30]/bestvideo)+bestaudio/best', # CHANGE FOR VIDEO
    'outtmpl': "youtube_video.%(ext)s",
}
print("Downloading YouTube video.")
                
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
     ydl.download([text])


    


    If not, can I change the FPS of a video using OpenCV ? I tried using cap.set(cv2.CAP_PROP_FPS) but this doesn't work either.

    


    cap = cv2.VideoCapture(file)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # prints 60.0
cap.set(cv2.CAP_PROP_FPS)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # 60.0 again


    


  • How to stream RPI a RPI Cam with ffmpeg for 24/7 to youtube stable and reliable

    6 mai 2021, par John Paden

    As a part of a project to bird-watch, I use RPICam
(https://github.com/silvanmelchior/RPi_Cam_Web_Interface)
on an Pi4. Resolution is 854x480, 25 fps. Works fine, stable 24/7.

    


    To share the videos not only in the intranet but on youtube, I use ffmpeg.
Other infrastructure : 1GBLAN, high speed extenal network connection, pi has stable power supply (no yellow flashes).

    


    After a lot of reading and testing, this command line produces a bitrate of about 2500 kbits and a speed of 1.

    


    ffmpeg -hide_banner -i http://xx.xx.xx.xx/cam_pic_new.php -deinterlace -re -acodec pcm_s16le -ac 2 -f s16le -i /dev/zero -f h264_omx -c:a aac -ar 48000 -ac 2 -b:a 384k -c:v h264_omx -b:v 2.5M -profile:v high -force_key_frames "expr:gte(t,n_forced/2)" -s 854x480 -pix_fmt yuv420p -strict experimental -use_editlist 0 -movflags +faststart -f flv rtmp ://a.rtmp.youtube.com/live2/xxx-xxx-xxx-xxx-xxx

    


    IF it starts correctly. As Youtube rules suggest to limit streams to under 24h to keep them, a regular reset of the tream - or the pi - is required.
On the youtube side this is controlled by
Often a restart (no matter of a "sudo restart" or just a restart of the ffmpeg command) results in youtube studio showing a green button (Stream status very good) and a second green button (Very good connection). But instead, the circle turns around ongoingly and it states 'Streaming Software can be connected now, viewers can find the stream once it has started'.
In short - how does youtube understand to start the transmission, or to reset if it still some sort of busy ?