Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (58)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9510)

  • Is there any free 360° Video Player ? [on hold]

    7 septembre 2019, par Mike

    I have recently searched but did not find a free web-player that makes it possible to play 360° videos and free-view (scroll) them. Is there any suggestion ?

  • Fixed translation pt_BR : ’translated number gender, we don’t say "numero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"’

    19 juillet 2011, par helder maximo botter ribas

    m localization/messages_ptbr.js Fixed translation pt_BR : ’translated number gender, we don’t say "numero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"’

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

    


    import urllib.request
import streamlink
import ffmpeg
stream_url = streamlink.streams("https://www.twitch.tv/videos/783301562")['best'].url
print(stream_url)

try:
    urllib.request.urlretrieve(stream_url, "vod.m3u8")
except Exception as e:
    print(e)

stream = (
    ffmpeg
    .input('vod.m3u8')
    .output('output.mp4')
    .run
)
print(stream)


    


    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 :

    


    stream_url = streamlink.streams("https://www.twitch.tv/videos/783301562")['best'].url
print(stream_url)


    


    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

    


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

    


    stream = (
    ffmpeg
    .input(stream_url)
    .output('output.mp4')
    .run
)
print(stream)


    


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

    


    


    >

    


    


    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 :

    


    try:
    urllib.request.urlretrieve(stream_url, "vod.m3u8")
except Exception as e:
    print(e)

stream = (
    ffmpeg
    .input('vod.m3u8')
    .output('output.mp4')
    .run
)
print(stream)


    


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