Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (57)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

Sur d’autres sites (8321)

  • Extract specific frames of youtube video without downloading video

    22 janvier 2023, par Kashish Arora

    I need to extract specific frames of an online video to work on an algorithm but I don't want to download the whole video because that would make it highly inefficient.

    


    For starters, I tried working with youtube videos. I can download whole of the video using youtube-dl in this way :

    


    ydl_opts = {'outtmpl': r'OUTPUT_DIRECTORY_HERE',}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    ydl.download([url])


    


    And then I can capture individual frames.

    


    I need to avoid downloading the whole video. After some research, I have found that ffmpeg might help me do this. I found no way to download just the frames so if this is not possible, the second option is that I can download specific portions of the video. One such example in linux is here but I couldn't find any solution for python.

    


    What is a good way to download just the frames, or portions of videos (in python) without downloading the entire thing ?

    


  • ffmpeg multiple rtsp cameras into sigle stream to youtube

    17 mars 2020, par user3157121

    I have two rtsp ip cameras (dlink) and I want combine (merge) 2 stream in one video output and put it to yutube (live streaming).

    My first step is ok and my command is :

    ffmpeg
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -filter_complex "
    nullsrc=size=1600x448 [base];
    [0:v] setpts=PTS-STARTPTS, scale=800x448 [upperleft];
    [1:v] setpts=PTS-STARTPTS, scale=800x448 [upperright];
    [base][upperleft] overlay=shortest=1 [base];
    [base][upperright] overlay=shortest=1:x=800 [base]"
    -map [base] test.mp4

    My test.mp4 video output is ok.

    After that, I try to send this video to youtube live with this command :

    ffmpeg
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -filter_complex "
    nullsrc=size=1600x448 [base];
    [0:v] setpts=PTS-STARTPTS, scale=800x448 [upperleft];
    [1:v] setpts=PTS-STARTPTS, scale=800x448 [upperright];
    [base][upperleft] overlay=shortest=1 [base];
    [base][upperright] overlay=shortest=1:x=800 [base]"
    -map [base] -f flv "rtmp://a.rtmp.youtube.com/live2/xxx-xxxx-xxxx-xxxx"

    But the youtube stream does not receive data. (It seems to start but do not see the image). I think is a audio problem. But I don’t know how to insert a fake audio (I don’t want audio).

    Is there a solution ?

    Thanks,
    Mattia

  • ffmpeg multiple rtsp cameras into sigle stream to youtube

    26 janvier 2017, par user3157121

    I have two rtsp ip cameras (dlink) and I want combine (merge) 2 stream in one video output and put it to yutube (live streaming).

    My first step is ok and my command is :

    ffmpeg
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -filter_complex "
    nullsrc=size=1600x448 [base];
    [0:v] setpts=PTS-STARTPTS, scale=800x448 [upperleft];
    [1:v] setpts=PTS-STARTPTS, scale=800x448 [upperright];
    [base][upperleft] overlay=shortest=1 [base];
    [base][upperright] overlay=shortest=1:x=800 [base]"
    -map [base] test.mp4

    My test.mp4 video output is ok.

    After that, I try to send this video to youtube live with this command :

    ffmpeg
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
    -filter_complex "
    nullsrc=size=1600x448 [base];
    [0:v] setpts=PTS-STARTPTS, scale=800x448 [upperleft];
    [1:v] setpts=PTS-STARTPTS, scale=800x448 [upperright];
    [base][upperleft] overlay=shortest=1 [base];
    [base][upperright] overlay=shortest=1:x=800 [base]"
    -map [base] -f flv "rtmp://a.rtmp.youtube.com/live2/xxx-xxxx-xxxx-xxxx"

    But the youtube stream does not receive data. (It seems to start but do not see the image). I think is a audio problem. But I don’t know how to insert a fake audio (I don’t want audio).

    Is there a solution ?

    Thanks,
    Mattia