Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10560)

  • Download a part of youtube video using a powershell script

    26 octobre 2024, par Nguyễn Đức Minh

    I'm writing this Powershell script :

    


    $URL = "https://www.youtube.com/watch?v=KbuwueqEJL0"
$from = 00:06:15
$to = 00:09:17

$cmdOutput = (youtube-dl --get-url $URL) 

ffmpeg -ss $from -to $to -i  -ss $from -to $to -i  output.mkv


    


    This script's purpose is to download a part of a Youtube video. I've set the variable $URL to specify the Youtube URL, while $from and $to is the start and end time of the part I want to download.

    


    $cmdOutput is used to output the stream URL. The output would have two lines : the first one is the URL for the video stream, while the second one is the audio stream URL.

    


    Currently, I don't know how to use the output as a variable and specify the line number of $cmdOutput to put it into the correct stream. I guess and would be replaced by something like $cmdOutput[line 1], and $cmdOutput[line 2], though I know that those are incorrect.

    


    I've consulted this answer, and it is handy for me to write this script. I've also read Boris Lipschitz's answer on how to do the same thing with Python, but his answer does not work.

    


    In that script, the -ss flag inputs the seeking point, and the -t <duration></duration> flag tells FFmpeg to stop encoding after the specified duration. For example, if the start time is 00:02:00 and the duration is 00:03:00, FFmpeg would download from 00:02:00 to 00:05:00, which is not the expected outcome. For some reason, his Python script skips the first 5 seconds of output, even if I replace the -t flag with -to . I've tried to edit his script, but it does not work unless you explicitly specify the time for both video and audio stream, as well as their respective stream URL.

    &#xA;

  • Download 5 second of a RTSP stream without FFMPEG

    26 juin 2018, par Jean Bon Cru

    I have a RTSP stream from my FreeBox
    rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&amp;service=372&amp;flavour=sd

    How to download 5 seconds of the RTSP stream without FFMPEG in mp4 file

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

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

    &#xA;