Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (53)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Converting HLS video with fmp4 segments to image thumbnails via ffmpeg with start offset using fast seek

    19 octobre 2022, par hellerahum

    I'm having trouble with what I think should be a basic use case for ffmpeg. What I'd like to do is take an hls video in fmp4 and output 30s of images at 10fps, using "fast seek" to start at an offset well into the video. This works with an Apple sample using ts segments, but not with fmp4 segments.

    


    working sample (ts)

    


    ffmpeg -ss 00:00:05 -i https://devimages.apple.com.edgekey.net/iphone/samples/bipbop/bipbopall.m3u8 -t 30 -vf fps=10 hls_samples/img%03d.jpg


    


    broken sample (fmp4)

    


    ffmpeg -ss 00:00:05 -i https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8 -t 30 -vf fps=10 hls_samples/img%03d.jpg


    


    The broken sample spits out errors like :

    


    [NULL @ 0x123e30d20] Invalid NAL unit size (-2003396084 > 1673).
[NULL @ 0x123e30d20] missing picture in access unit with size 1677


    


    and then finally :

    


    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Conversion failed!


    


    When I re-encode the fmp4 video adding keyframes via -g 1 (still hls with fmp4) I'm then able to use the fast seek -ss flag before the -i , but i'd rather not do this in a 2-step process, and ideally would take the original hls/fmp4 manifest and output the thumbnails directly. Both samples work with the -ss flag after the input (slow seek) but I have some long (10+ hour) videos so that's not tenable. Anyone able to point me to what I'm doing wrong, or is it possible this is an issue with ffmpeg and its support for fmp4 ? I'm using ffmpeg v5.1.2 and have checked on both an M1 mac and Ubuntu system.

    


  • Why does Apple support H.265 playback, but not when using HLS ? [closed]

    13 mars, par clark wu

    Apple devices (iPhone, iPad, macOS Safari) can natively play H.265 (HEVC) videos in .mp4 or .mov format. However, when I try to convert the same video to HLS, it fails to play. Here’s what I tested :

    


    Test Cases

    


    ✅ Directly playing H.265 .mp4 → Works fine

    


    ❌ H.265 + Opus → HLS (fMP4) → Fails

    


    ❌ H.265 + AAC → HLS (TS) → Fails

    


    ✅ H.264 + Opus → HLS fMP4 → Works fine (video + audio)

    


    ✅ H.264 + Opus → HLS TS → Video plays, but no audio

    


    ❌ H.265 + AAC → HLS fMP4 → Doesn’t play at all

    


    FFmpeg Commands Used

    


    1️⃣ H.265 + Opus (fMP4 segments)

    


    ffmpeg -i input.mp4 -c:v copy -c:a copy -hls_segment_type fmp4 -hls_time 10 -hls_list_size 0 -hls_flags independent_segments output.m3u8


    


    2️⃣ H.265 + AAC (TS segments)

    


    ffmpeg -i input.mp4 -c:v copy -c:a copy -hls_time 10 -hls_list_size 0 -hls_flags independent_segments output.m3u8


    


    Playback Attempts

    


    Vidstack.js player (Fails)

    


    Several online M3U8 players (All fail)

    


    Key Questions

    


    Why does Apple support H.265 in MP4 but not in HLS ?

    


    Is this an HLS specification limitation ?

    


    Does the audio codec (Opus / AAC) affect playback ?

    


    Does HLS require a specific HEVC profile/level ?

    


    Is HLS only compatible with AVC, not HEVC ?

    


    Looking for Answers

    


    Has anyone successfully played H.265 + HLS on Apple devices ?

    


    Are there any official Apple HLS specifications regarding HEVC support ?

    


    Possible workarounds or alternative solutions ?

    


    Would appreciate any insights or help from the community ! Thanks !

    


  • ffmpeg transcoding move to mp4

    16 août 2022, par Paul

    I currently use windows free software called : AnyVideoConverter to convert my iPhone huge MOV files to MP4s that can be played on other devices via my plex server.
I want to automate that process so it runs in the background on one of my linux machines.
However I am struggling to get it working. Here is what I have so far.

    


    Original file details :
Duration : 00:00:13.53
Original Video : 40MB
Video details : Stream #0:0(und) : Video : hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 3840x2160, 23453 kb/s, 30 fps, 30 tbr, 600 tbn, 600 tbc (default)

    


    AnyVideoConverted file :
File Size : 5MB
Video Details : Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 3840x2160, 2870 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)

    


    This format works great on all my devices

    


    So far the closes I managed to get to that is this ffmpeg command :

    


    ffmpeg -i original.mov -c:v libx264 -profile:v baseline -maxrate 3M -bufsize 3M -c:a aac -b:a 128k x264.mp4


File size:5MB
Video details :     Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 2160x3840, 3063 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)

    


    problem is that when I try to play it via plex I get :

    


    Playback Error : This server is not powerful enough to convert video

    


    What am I doing wrong here ?

    


    My knowledge of ffmpeg or video encoding/transcoding is zero. Can someone advise me how to get my mov files converted to mp4 so they can be played via plex without additional transcoding by plex and without reducing the resolution size of the converted video.

    


    Any pointers ?
Thanks