
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (44)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour 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 (...)
Sur d’autres sites (5191)
-
Converting HLS video with fmp4 segments to image thumbnails via ffmpeg with start offset using fast seek
19 octobre 2022, par hellerahumI'm having trouble with what I think should be a basic use case for
ffmpeg
. What I'd like to do is take anhls
video infmp4
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
(stillhls
withfmp4
) 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 originalhls/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 withffmpeg
and its support forfmp4
? I'm usingffmpeg 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 wuApple 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 !


-
When rTorrent finishes, run FFmpeg and convert audio track in mkv to ac-3 5.1
11 septembre 2021, par miniHesselWhat is the best approach for this ? I saw the following answer, is that still a valid approach ? If so, how do you execute that when a torrent finishes ? I mostly want to convert dts-hd either 5.1 or 7.1. Sometimes also Atmos.