Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (71)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

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

Sur d’autres sites (10830)

  • FFMPEG Webvtt m3u8 download into single vtt file, ignore the "X-TIMESTAMP-MAP=MPEGTS=" (timestamp sync problem)

    5 janvier 2021, par Panda Xia

    I want to download the subtitle of a video, it has separated m3u8 file for subtitle :

    


    webvtt source in m3u8 format : https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8

    


    looks like :

    


    #EXTM3U
#EXT-X-VERSION:4
## Created with Unified Streaming Platform(version=1.9.5)
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:989
#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z
#EXTINF:24.72, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-1.webvtt
#EXTINF:2.56, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-13.webvtt
#EXTINF:50.88, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-14.webvtt
#EXTINF:3.079, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-40.webvtt
#EXTINF:60.401, no desc
....


    


    Then use the command to download the multiple webvtts into one vtt file "EN.vtt" :

    


    ffmpeg -i  "https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8"  "DE.vtt"


    


    In output "DE.vtt" the X-TIMESTAMP-MAP=MPEGTS:xxxxxx,LOCAL:00:00:00.000 from each webvtt file (webvtt in m3u8) are ignored.

    


    so that the time Synchronisation is broken, the start time of each Segment always begins from 00:00:00, looks like :

    


    WEBVTT

00:00.000 --> 00:02.560
So viel Macht.

00:00.000 --> 00:03.079
Was er sagte.

00:00.000 --> 00:04.680
oder
die Schönheit

00:00.000 --> 00:01.440
Er sagte immer:

00:00.000 --> 00:03.840
Auf seinen Klang 

00:00.000 --> 00:07.519
Seine Paranoia.


    


    Could ffmpeg support the relative time stamp to convert into absolute time stamp ?
Or use other method to download perfect webvvt file ?

    


  • FFmpeg does not download hls stream

    26 juillet 2020, par mrlucasrib

    I am trying to download a video from an m3u8 file. I used the chrome dev tools network analyzer and copied the address from the m3u8 file.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=AES-128,URI="key://pi1CcgormCfrBeHFonx1SjYyNREActOy9x5fdSmTcQ74q9gDltGOMVTb2KT7jebRYJNU9skhE1wPp3VBgsIQhutzL9nlU7CwifAHVRX63E8abzo+8daPodXlUvN8qlXDKE8I2w37kc+UqyTG86U3Kg==",IV=0x157c77a2bc4ce357dfb893e2c01f8561
#EXTINF:6.0000,
https://contentplayer.website.com/video/4vqnGjj0L3/hls/360/segment-0.ts
....
#EXTINF:1.0667,
https://contentplayer.website.com/video/4vqnGjj0L3/hls/360/segment-219.ts
#EXT-X-ENDLIST 


    


    So I put in ffmpeg and got a 403 forbidden error

    


    [https @ 0x55c2fae84d80] HTTP error 403 Forbidden
[crypto @ 0x55c2fb11ebc0] Unable to open resource: https://contentplayer.website.com/video/4vqnGjj0L3/hls/540/segment-1.ts
[hls @ 0x55c2fae807c0] Failed to open segment 1 of playlist 0
...


    


    I thought it could be because of some missing http header, so I copied the cURL command from devtools. (I copied from the request of a segment, in which I had the cloudfront authorization key)

    


    I took all the headers from cURL and added them to ffmpeg.

    


    ffmpeg -allowed_extensions ALL -headers 'User-Agent: ...'
-headers 'Accept: */*' 
-headers 'Accept-Language: ...' 
-headers 'Referer: https://player....com/' 
-headers 'Origin: https://player....com' 
-headers 'Connection: keep-alive'
-headers 'Cookie: CloudFront-Policy=..; CloudFront-Signature=...; CloudFront-Key-Pair-Id=..; hotid=..; hmVlcIntegration=..' -headers 'Pragma: no-cache' -headers 'Cache-Control: no-cache' -headers 'TE: Trailers' 
-protocol_whitelist file,crypto,https,tcp,tls -i esse.m3u8  -map 0 -c copy output.mkv  -i link.m3u8  -map 0 -c copy output.mkv


    


    However, I still receive the 403 forbidden error. When I execute the cURL command it downloads the contents of the fragment. My hypothesis was that because it is about HTTP2 the headers were not sent after the first connection, but all the important headers were added.
other ways of doing this process are also welcome

    


  • youtube-dll won't download live stream

    26 juillet 2020, par NFC

    I'm trying to download a livestream in ubuntu 14 using youtube-dl but it will not download. I'm using the latest version of youtube-dl. Using Nasa channel as an example, here are the steps that I'm following

    


    1) youtube-dl —list-formats https://www.youtube.com/watch?v=21X5lGlDOfg

    


    2) youtube-dl -f https://www.youtube.com/watch?v=21X5lGlDOfg (also tried youtube-dl )

    


    The download hangs at roughly 512kb for hours. Is anyone able to successfully download the content ? Am I doing anything wrong ?