Recherche avancée

Médias (91)

Autres articles (61)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (10946)

  • Download m3u8 segments with ffmpeg without writing the .ts files to disk

    22 avril 2021, par O R

    I am trying to download m3u8 segments from an HLS live stream with ffmpeg without writing the .ts files to disk. I intend to run opencv on the image data in real time. Here is what I have tried, but I am only able to get one segment at a time and don't know how to just keep it in memory without writing to disk. When inspecting the network requests using developer tools on the Twitch site, I see the m3u8's arriving in real time, although, these don't work in the script. I have to refresh the page and get the URL of the first request that arrives, which is a URL not ending in .m3u8 (the one i'm using in the script)

    


    import requests
import m3u8

url = 'https://usher.ttvnw.net/api/channel/hls/gernaderjake.m3u8?allow_source=true&fast_bread=true&p=4466372&play_session_id=d66db58de3bf6be70a5f5824bbb72763&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&sig=2b97079328898fdae56b041616be6fc7b01bd13c&supported_codecs=avc1&token=%7B%22adblock%22%3Afalse%2C%22authorization%22%3A%7B%22forbidden%22%3Afalse%2C%22reason%22%3A%22%22%7D%2C%22blackout_enabled%22%3Afalse%2C%22channel%22%3A%22gernaderjake%22%2C%22channel_id%22%3A1423946%2C%22chansub%22%3A%7B%22restricted_bitrates%22%3A%5B%5D%2C%22view_until%22%3A1924905600%7D%2C%22ci_gb%22%3Afalse%2C%22geoblock_reason%22%3A%22%22%2C%22device_id%22%3A%22ec6cb1f95615ed0b%22%2C%22expires%22%3A1618772589%2C%22extended_history_allowed%22%3Afalse%2C%22game%22%3A%22%22%2C%22hide_ads%22%3Afalse%2C%22https_required%22%3Atrue%2C%22mature%22%3Afalse%2C%22partner%22%3Afalse%2C%22platform%22%3A%22web%22%2C%22player_type%22%3A%22site%22%2C%22private%22%3A%7B%22allowed_to_view%22%3Atrue%7D%2C%22privileged%22%3Afalse%2C%22role%22%3A%22%22%2C%22server_ads%22%3Afalse%2C%22show_ads%22%3Atrue%2C%22subscriber%22%3Afalse%2C%22turbo%22%3Afalse%2C%22user_id%22%3Anull%2C%22user_ip%22%3A%22173.22.40.125%22%2C%22version%22%3A2%7D&cdm=wv&player_version=1.3.0'

r = requests.get(url)

m3u8_master = m3u8.loads(r.text)

playlist_url = m3u8_master.data['playlists'][0]['uri']

r = requests.get(playlist_url)

playlist = m3u8.loads(r.text)

playlist.data['segments'][0]['uri']

r = requests.get(playlist.data['segments'][0]['uri'])

with open('video.ts', 'wb') as f:
    for segment in playlist.data['segments']:
        url = segment['uri']
        r = requests.get(url)
        f.write(r.content)


    


  • How to download a video from m3u8 with aes-128, IV with FFMPEG ? [closed]

    13 avril 2021, par AWrr

    I've tried with a tutorial that prompted me to download the m3u8 file and then stream it with vlc but that didn't work. It just created a 160 bytes .mp4 file that couldn't be played.

    


    When I opened it, it contains a line in the form of :

    


    #EXT-X-KEY:METHOD=AES-128,URI="license://G",IV=0x08

    


    I've read some threads talking aboout a .key file, but this one doesn't have a .key in the "URI=" section and I don't really knoe how to get one, if I needed it.

    


    Will ffmpeg -i playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mkv work just fine ?

    


    Edit : I've tried it and it showed this :

    


    At the start
 Unable to open key file

    


    At the end

    


      Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=     494kB time=00:00:00.00 bitrate=N/A speed=   0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)```



    


  • How to download videos from .mpd playlist file

    7 septembre 2023, par Aaditya Kumar

    I have a .mpd video file :-

    


    https://zee5vod.akamaized.net/drm1/elemental/dash/TV_SHOWS/ZEE_TV/March2021/15032021/Seamless/BQC_Kumkum_Bhagya_CS_Ep1787_Seamless_15032021_hi_a2808b31106f106303f084b9943d5986/manifest.mpd?c3.ri=6896423658019679225

    


    I want to download videos from this link but unsuccessful

    


    


    I have tried to download using youtube-dl but also get unsuccessfull

    


    


    youtube-dl https://zee5vod.akamaized.net/drm1/elemental/dash/TV_SHOWS/ZEE_TV/March2021/15032021/Seamless/BQC_Kumkum_Bhagya_CS_Ep1787_Seamless_15032021_hi_a2808b31106f106303f084b9943d5986/manifest.mpd


    


    


    Also tried this

    


    


    youtube-dl -f greatvideo+greataudio https://zee5vod.akamaized.net/drm1/elemental/dash/TV_SHOWS/ZEE_TV/March2021/15032021/Seamless/BQC_Kumkum_Bhagya_CS_Ep1787_Seamless_15032021_hi_a2808b31106f106303f084b9943d5986/manifest.mpd


    


    But unsuccesfull

    


    Please help someone..