
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (64)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11156)
-
lavu/opt : show valid range in case of out-of-range value
4 novembre 2012, par Stefano Sabatinilavu/opt : show valid range in case of out-of-range value
-
Ffmpeg and ffprobe not showing subtitles stream in m3u8 file
3 juin 2021, par DanielVip3I'm trying to get an mp4 video from a m3u8 playlist file (in simple HLS), with audio, video and subtitles.


I've managed to extract the video and audio stream because they are relatively easy : the input m3u8, according to ffprobe, contains 3 different programs, and the third program (called Program 2) is the one I need, because it contains both the highest quality video and the English highest quality audio.


So, what I really am doing is


ffmpeg -i "blahblah.m3u8" -c copy -map 0:p:2:v:0 -map 0:p:2:a:m:language:eng -map 0:s:0 "output.mp4"



Which means : select the first video stream for the third (index 2) program and the English language audio stream from the same third (index 2) program.


My problem is : I can't seem to find the two subtitles streams.
The m3u8 has two subtitles : English and Spanish, as you can see in the m3u8 itself


#EXTM3U
# Created with Bento4 mp4-hls.py version 1.2.0r637

#EXT-X-VERSION:4

# Subtitles
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitles",NAME="English",LANGUAGE="en",URI="subtitles/en/subtitles.m3u8"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitles",NAME="Español",LANGUAGE="es",URI="subtitles/es/subtitles.m3u8"

# Audio
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio_aac",NAME="Français",LANGUAGE="fra",AUTOSELECT=YES,DEFAULT=YES,URI="audio/aac/fra/stream.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio_aac",NAME="English",LANGUAGE="eng",AUTOSELECT=YES,URI="audio/aac/eng/stream.m3u8"

# Media Playlists
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=2198120,BANDWIDTH=2416640,CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION=1280x720,AUDIO="audio_aac",SUBTITLES="subtitles"
media-1/stream.m3u8
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=1001663,BANDWIDTH=1102896,CODECS="avc1.42C01E,mp4a.40.2",RESOLUTION=640x360,AUDIO="audio_aac",SUBTITLES="subtitles"
media-2/stream.m3u8
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=4007581,BANDWIDTH=4391894,CODECS="avc1.4D4029,mp4a.40.2",RESOLUTION=1920x1080,AUDIO="audio_aac",SUBTITLES="subtitles"
media-3/stream.m3u8



I thought it was easy : I added a
-map 0:s:0
to get the first subtitles, but ffmpeg told me that there's no stream named like that.

Then I ran ffprobe, which tells me there are no subtitles streams for him :


ffprobe "blahblah.m3u8" -show_streams -select_streams s



You can find here all the streams which the ffprobe command shows. There are lots of video and audio streams, but there are no subtitles streams.


Why don't ffmpeg and ffprobe find the subtitles streams ? Is it because they are split in a different m3u8 playlist file ?


-
avdevice/caca : remove space before ’ :’ (English typo, cosmetics)
11 septembre 2015, par Clément Bœsch