Recherche avancée

Médias (91)

Autres articles (50)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (6972)

  • How to stream cv2.VideoWriter frames to and RTSP server

    10 juin 2022, par chasez0r

    Environment : Docker, Ubuntu 20.04, OpenCV 3.5.4, FFmpeg 4.2.4

    


    Im currently reading the output of a cv2.VideoCapture session using the CV_FFMPEG backend and successfully writing that back out in real time to a file using cv2.VideoWriter. The reason I am doing this is to drawing bounding boxes on the input and saving it to a new output.

    


    The problem is I am doing this in a headless environment (Docker container). And I’d like to view what's being written to cv2.VideoWriter in realtime.

    


    I know there are ways to pass my display through using XQuartz for example so I could use cv2.imshow. But what I really want to do is write those frames to an RTSP Server. So not only my host can "watch" but also other hosts could watch too.

    


    After the video is released I can easily stream the video to my RTSP Server using this command.

    


    ffmpeg -re -stream_loop -1 -i output.mp4 -c copy -f rtsp rtsp://rtsp_server_host:8554/stream

    


    Is there anyway to pipe the frames as they come in to the above command ? Can cv2.VideoWriter itself write frames to an RTSP Server ?

    


    Any ideas would be much appreciated ! Thank you.

    


  • ffmpeg Grab Single Frame From Youtube Stream

    11 septembre 2021, par Rich_F

    I'm trying to grab a single frame of a streaming video on Youtube.

    


    This is an example

    


    This is the code structure I'm trying to use :

    


    ffmpeg --verbose -i $(youtube-dl -f 96 --no-playlist 'https://www.youtube.com/watch?v=XMs6LnT5mfk') -frames:1 -pred 1 clip1.jpg


    


    Trying to use youtube-dl to grab part of a stream, doesn't seem to work, and is actually throwing an ffmpeg error at me :

    


    [youtube] Q-44KECp-xQ: Downloading webpage
[youtube] Downloading just video Q-44KECp-xQ because of --no-playlist
[youtube] Q-44KECp-xQ: Downloading m3u8 information
[youtube] Q-44KECp-xQ: Downloading MPD manifest
[download] Destination: Ryde Esplanade & Pier, Isle of Wight UK _ Railcam LIVE 2021-09-11 03_25-Q-44KECp-xQ.mp4

ERROR: ffmpeg exited with code -9


    


    How can I achieve this ? I'm open to reworking this approach, or moving to something completely different. Cheers

    


  • Installing a PHP Extension in WAMP - Idiot's Walkthrough ?

    16 mars 2015, par PeregrineStudios

    I’ve been coding with PHP for a while now, but haven’t needed to look at extensions - until now. These are brand-spanking new to me and while I’ve looked for, and found, other tutorials, many of them are using language that I don’t understand, or telling me to do things I don’t know how - I guess they assume most readers are a little more intelligent than I am !

    So : I need to install the extension FFmpeg (here : http://ffmpeg-php.sourceforge.net/). I’m currently developing on a local wamp server. PHP version 5.5.12, Apache version 2.4.9. At some point I’d like to put whatever I’ve done up on a live server, but that can wait.

    I have exactly, precisely, zero understanding of how to do this. I don’t even know what exactly I’d need to download, or where to put it.

    Is there anyone willing to take the time to tell me how to do this ? A real ’idiot’s guide’, breaking down each and every step for someone who’s never done this or really even anything similar before now.

    Thanks so much in advance for any assistance anyone can offer !

    EDIT : Firstly, thanks for down-voting someone for trying to learn. Appreciate it. Secondly, there was an answer here before, and now it’s gone. What gives ? Was it deleted ? Why ?

    EDIT AGAIN : I managed to find a cached version of the page with the answers still on it. For anyone else who wants the YouTube video one of the comments directed me to, here it is : https://www.youtube.com/watch?v=KIq85Eq28PM - still not sure why it was outright removed without anything else being answered in its place.