Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (87)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (15417)

  • FFprobe analysis of HLS chunks duration

    23 mars 2017, par Georgе Stoyanov

    I am writing a script for analysis of HLS streams. The problem is that when I run it on some specific streams the duration is missing from the format block. It shows

       "format": {
           "filename": "http://example.com/Content/HLS/Live/index.m3u8",
           "nb_streams": 7,
           "nb_programs": 5,
           "format_name": "hls,applehttp",
           "format_long_name": "Apple HTTP Live Streaming",
           "start_time": "71900.703522",
           "size": "1030",
           "probe_score": 100
       }

    I tried to run the same command on the main manifest file, on the profile manifest file and on the chunk itself but I am getting :

    Duration : N/A

    So now I was thinking is it possible to define that the ffprobe has to analyze only one chunk because I can get the duration from the number of the frames divided by the frame rate of the profile.

  • how to download m3u8 with ffmpeg ? [hls prompts : Unable to open key file skd:xxxxxxx] [closed]

    18 octobre 2024, par Mam Ghagh

    There is a m3u8 manifest like :

    


    #EXTM3U
#EXT-X-VERSION:5
#EXT-X-TARGETDURATION:7
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://xxxxxx",IV=0xXXXXXX,KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1"
#EXTINF:6,
https://someurl.com/index_1_0.ts
#EXTINF:6,
https://someurl.com/index_2_0.ts
...


    


    which is available on https://someurl.com/my.m3u8
    
So, When I executed ffmpeg command
    
ffmpeg -i "https://someurl.com/my.m3u8" -c copy out.mp4
    
the following message appeared
    
[hls @ 000002de75f89bc0] Unable to open key file skd://xxxxxx
    
Now the question is, What is the key and How should I address it ?

    


  • How to create a Master Playlist for HLS using a Java wrapper library for FFMPEG

    17 janvier 2019, par Abhishek Nandgaonkar

    I am trying to find/use a Java Library that wraps around FFMPEG to create HLS compatible segments and metadata files along with a master metadata file.

    Most existing libraries perform encoding just fine and allow extra functions for additional audio/video parameters. But I could not find a good way for using them to create a master metadata file and other resolution/bandwidth/bitrate based metadata + segments.

    One way that I am planning to go about it is running the piece of code that performs HLS for me multiple times to suit the different bitrates and then programmatically look at the metadata files to compose the master metadata file. But that adds room for errors.

    If you know of an existing library that can do it for me. Please share the details. It would really help out.

    Libraries :

    Documentation (see Section Master Playlist)
    https://developer.apple.com/library/content/referencelibrary/GettingStarted/AboutHTTPLiveStreaming/about/about.html

    FFMPEG command line code that works for me

    ffmpeg -loglevel debug -threads 4 -vsync 1 -i 'id.mp4' -vf yadif -g 29.97 -r 29.97 -b:v:0 5250k -c:v libx264 -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -rc-lookahead 32 -forced-idr 1 -b:v:1 4200k -c:v libx264 -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -rc-lookahead 32 -forced-idr 1 -b:v:1 3150k -c:v libx264 -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -rc-lookahead 32 -forced-idr 1 -b:a:0 256k -b:a:0 192k -b:a:0 128k -c:a aac -ar 48000  -map 0:v -map 0:a:0 -map 0:v -map 0:a:0 -map 0:v -map 0:a:0 -f hls -var_stream_map "v:0,a:0  v:1,a:1 v:2,a:2" -master_pl_name  master.m3u8 -t 300 -hls_time 10 -hls_init_time 4 -hls_list_size 0 -master_pl_publish_rate 10 -hls_flags delete_segments+discont_start+split_by_time "vs%v_manifest.m3u8"

    Any help would be appreciated. Thanks in advance.