Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • 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 (14556)

  • avformat/crypto : Avoid cast, use proper printf specifier

    15 mars 2024, par Andreas Rheinhardt
    avformat/crypto : Avoid cast, use proper printf specifier
    

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/crypto.c
  • fftools/ffprobe : Don't cast const away needlessly

    21 février 2024, par Andreas Rheinhardt
    fftools/ffprobe : Don't cast const away needlessly
    

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] fftools/ffprobe.c
  • How to use ffmpeg-python library to download a Twitch VOD with a link retrieved using the streamlink library

    28 octobre 2020, par Daniel Norfolk

    This is the whole code, for easy reference :

    &#xA;

    import urllib.request&#xA;import streamlink&#xA;import ffmpeg&#xA;stream_url = streamlink.streams("https://www.twitch.tv/videos/783301562")[&#x27;best&#x27;].url&#xA;print(stream_url)&#xA;&#xA;try:&#xA;    urllib.request.urlretrieve(stream_url, "vod.m3u8")&#xA;except Exception as e:&#xA;    print(e)&#xA;&#xA;stream = (&#xA;    ffmpeg&#xA;    .input(&#x27;vod.m3u8&#x27;)&#xA;    .output(&#x27;output.mp4&#x27;)&#xA;    .run&#xA;)&#xA;print(stream)&#xA;

    &#xA;

    I am looking at a way of downloading Twitch VODs. I started with the link to a VOD : https://www.twitch.tv/videos/783301562 . I then used the code :

    &#xA;

    stream_url = streamlink.streams("https://www.twitch.tv/videos/783301562")[&#x27;best&#x27;].url&#xA;print(stream_url)&#xA;

    &#xA;

    This gave me a new link which, when I go to this link it downloaded a file with a '.m3u8' extension. This link is : https://dqrpb9wgowsf5.cloudfront.net/ab3654a5992fbfa52ccb_briziana_40240109614_1603789265/chunked/index-dvr.m3u8

    &#xA;

    From here, I first tried to put the link directly into the following code :

    &#xA;

    stream = (&#xA;    ffmpeg&#xA;    .input(stream_url)&#xA;    .output(&#x27;output.mp4&#x27;)&#xA;    .run&#xA;)&#xA;print(stream)&#xA;

    &#xA;

    This didn't output any mp4 file but did give the output :

    &#xA;

    &#xA;

    >

    &#xA;

    &#xA;

    I then added the following code to download the file, I also change the ffmpeg code to use the downloaded file rather then the url :

    &#xA;

    try:&#xA;    urllib.request.urlretrieve(stream_url, "vod.m3u8")&#xA;except Exception as e:&#xA;    print(e)&#xA;&#xA;stream = (&#xA;    ffmpeg&#xA;    .input(&#x27;vod.m3u8&#x27;)&#xA;    .output(&#x27;output.mp4&#x27;)&#xA;    .run&#xA;)&#xA;print(stream)&#xA;

    &#xA;

    This gave the same result, no mp4 file with the same output as above. Any help would be greatly appreciated !

    &#xA;