Recherche avancée

Médias (91)

Autres articles (73)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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" (...)

Sur d’autres sites (11250)

  • ffserver : Throw ffm.h out its not used except for a constant that is part of the...

    28 octobre 2016, par Michael Niedermayer
    ffserver : Throw ffm.h out its not used except for a constant that is part of the format
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] ffserver.c
    • [DH] ffserver_config.c
    • [DH] ffserver_config.h
  • How to calculate the "Range" header for mp4 file to play/download a part of it ? [youtube-dl]

    5 décembre 2016, par supersan

    I’m using youtube-dl to download videos from YouTube. Unfortunately, sometimes I just need to download a part of the video like 10 seconds of a 3 hour video and here is how I see I can do it.

    Step 1 : Get the URL of the mp4 file from youtube-dl.

    youtube-dl -g -f "[ext=mp4]" https://www.youtube.com/watch?v=qOZ1u9VpoMk

    This returns $url : the full URL of mp4 file on server.

    Step 2 : Download part of the video using curl

    curl -r $startBytes-$endBytes $url

    But how to calculate $startBytes and $endBytes. What is the formula for that ?

    P.S I was thinking could be something as simple but this isn’t it..

    $startBytes = (total_size_of_video / total_length_of_video_secs) * start_seconds

    P.P.S. When I play the mp4 video in Chrome and use the scrub bar to jump around in the video, Chrome too send the Range header to the same URL (as I can see in fiddler)

  • cut a part from an mp4 video with no wreckage using ffmpeg and php

    19 janvier 2017, par NegroNero

    I use this cmd below to cut a part from an MP4 video :

    ffmpeg -ss 00:00:10.500 -i {$ffmpeg_mp4_vinput} -t 00:00:17.430 {$ffmpeg_mp4_voutput} 2>&amp;1

    and

    ffmpeg -ss 00:00:10.500 -i {$ffmpeg_mp4_vinput} -to 00:00:17.430 {$ffmpeg_mp4_voutput} 2>&amp;1

    and

    ffmpeg -ss 00:00:10.500 -i {$ffmpeg_mp4_vinput} -t 7 {$ffmpeg_mp4_voutput} 2>&amp;1

    All those cmds are called by exec() php function, they all work fine with SAME result.

    Problem is when I cut a video with one of those commands, I get a video with long video from what I set in from-to in the commands. For example I get 1 second before and more than 2+ seconds after.

    Is there something missed out from the commands ?