Recherche avancée

Médias (91)

Autres articles (81)

  • 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" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (7938)

  • avcodec/nellymoserdec : Make decoder init-threadsafe

    22 novembre 2020, par Andreas Rheinhardt
    avcodec/nellymoserdec : Make decoder init-threadsafe
    

    Easy now that initializing the ff_sine_* tables is thread-safe.

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

    • [DH] libavcodec/nellymoserdec.c
  • m3u8 playback issue with VLC player and ffmpeg [closed]

    2 avril, par YUZ

    I’m creating a timelapse video from a folder of images using FFmpeg, generating two HLS (m3u8) playlists : one at 1080p and another at 2K resolution. The playlists and .ts segments appear to be generated correctly, but when I play the m3u8 files in media players like VLC or PotPlayer, the video does not play seamlessly. Instead, it plays in a segment-by-segment manner (e.g., it stops after each segment and doesn’t automatically continue to the next one). I expect the entire video to play continuously without interruptions. What could be the issue ?

    &#xA;

    I ran these commands on cmd :

    &#xA;

    for %i in (*.jpeg) do echo file &#x27;%cd%\%i&#x27; >> C:\Users\stitch_img\test\input_list.txt&#xA;&#xA;ffmpeg -y -f concat -safe 0 -i "C:\Users\stitch_img\test\input_list.txt" -vf "scale=1920x1080" -c:v libx264 -r 16 -hls_time 4 -hls_playlist_type vod -hls_segment_filename "C:\Users\stitch_img\test\1080_video_%03d.ts" "C:\Users\stitch_img\test\1080_playlist.m3u8"&#xA;&#xA;ffmpeg -y -f concat -safe 0 -i "C:\Users\stitch_img\test\input_list.txt" -vf &#xA;"scale=2560x1440" -c:v libx264 -r 16 -hls_time 4 -hls_playlist_type vod -hls_segment_filename "C:\Users\stitch_img\test\2k_video_%03d.ts" "C:\Users\stitch_img\test\2k_playlist.m3u8"&#xA;&#xA;echo #EXTM3U > "C:\Users\stitch_img\test\master_playlist.m3u8"&#xA;echo #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080 >> "C:\Users\stitch_img\test\master_playlist.m3u8"&#xA;echo 1080_playlist.m3u8 >> "C:\Users\stitch_img\test\master_playlist.m3u8"&#xA;echo #EXT-X-STREAM-INF:BANDWIDTH=8000000,RESOLUTION=2560x1440 >> "C:\Users\stitch_img\test\master_playlist.m3u8"&#xA;echo 2k_playlist.m3u8 >> "C:\Users\stitch_img\test\master_playlist.m3u8"&#xA;

    &#xA;

    What I’ve Tried :

    &#xA;

      &#xA;
    • Verified that the .ts files are playable individually (e.g., opening 1080p_000.ts in VLC works fine).

      &#xA;

    • &#xA;

    • Ensured the m3u8 files are structured correctly with #EXT-X-ENDLIST (indicating a VOD playlist).

      &#xA;

    • &#xA;

    • Used HTTP playback to rule out local path resolution issues, but the issue persists

      &#xA;

    • &#xA;

    &#xA;

    m3u8 masters :

    &#xA;

    #EXTM3U&#xA;#EXT-X-STREAM-INF: BANDWIDTH=5000000, RESOLUTION=1920x1080 1080_playlist.m3u8&#xA;#EXT-X-STREAM-INF: BANDWIDTH=8000000, RESOLUTION=2560x1440 2k_playlist.m3u8&#xA;

    &#xA;

    m3u8_2k :

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION: 3&#xA;#EXT-X-TARGETDURATION: 4 &#xA;#EXT-X-MEDIA-SEQUENCE:0 &#xA;#EXT-X-PLAYLIST-TYPE: VOD&#xA;#EXTINF: 4.125000, &#xA;2k_video_000.ts &#xA;#EXTINF:3.312500,&#xA;2k_video_001.ts&#xA;#EXT-X-ENDLIST&#xA;

    &#xA;

    m3u8_1080p :

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION: 3&#xA;#EXT-X-TARGETDURATION: 4 &#xA;#EXT-X-MEDIA-SEQUENCE:0 &#xA;#EXT-X-PLAYLIST-TYPE: VOD&#xA;#EXTINF: 4.125000, &#xA;1080_video_000.ts &#xA;#EXTINF:3.312500,&#xA;1080_video_001.ts&#xA;#EXT-X-ENDLIST&#xA;

    &#xA;

  • How to FFmpeg decode and extract metadata from last frame ?

    15 août 2016, par Girls.Gone.Wired

    I am decoding using FFMpeg. The videos I am decoding are H.264 or MPEG4 videos using C code. I am using the 32bit libs. I have successfully decoded and extracted the metadata for the first frame. I would now like to decode the last frame. I have a defined duration of the video, and felt it was a safe assumption to say that isLastFrame = duration. Here’s what I have, any suggestions ?

    AVFormatContext* pFormatCtx = avformat_alloc_context();
    avformat_open_input(&amp;pFormatCtx, filename, NULL, NULL);
    int64_t duration = pFormatCtx->duration;
    i=0;
    while(av_read_frame(pFormatCtx, &amp;packet)>=0) {
      /* Is this a packet from the video stream? */
      if(packet.stream_index==videoStream) {
      /* Decode video frame*/
         avcodec_decode_video2(pCodecCtx, pFrame, &amp;duration, &amp;packet);
       }

    Any help is much appreciated ! :)