
Recherche avancée
Autres articles (49)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (10004)
-
How to convert mp4 to HLS and add subtitles to master playlist with ffmpeg
26 septembre 2023, par light01I'm trying to use
ffmpeg
to convert anmp4
file toHLS
, add subtitles, and have them in themaster playlist
.


I managed to get it to create
index_vtt.m3u8
files that contain the subtitles, but it doesn't want to add the stream to themaster playlist
.
I'm new to this so I don't fully understand how the whole ffmpeg works (I'm mainly just trying out bunch of resources I found on the net)


I'm using the following command :



../ffmpeg-4.2.1/ffmpeg -i ../input.mp4 -i ../subtitile.vtt -c:s webvtt -profile:v baseline -level 21 -s 1280x720 -start_number 0 -hls_playlist_type vod -hls_time 10 -hls_list_size 3 -f hls -master_pl_name master.m3u8 index.m3u8`




It generates
master.m3u8



#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=140800,RESOLUTION=1280x720,CODECS="avc1.42c015,mp4a.40.2"
index.m3u8




I can play it in vlc, but it doesn't recognize any subtitles.
Then I modify the
master.m3u8
so it looks like this :


#EXTM3U
#EXT-X-VERSION:6

#EXT-X-MEDIA:TYPE=SUBTITLES,URI="index_vtt.m3u8",GROUP-ID="default-text-group",LANGUAGE="hr",NAME="Croatian",AUTOSELECT=YES

#EXT-X-STREAM-INF:BANDWIDTH=140800,RESOLUTION=1280x720,CODECS="avc1.42c01e,mp4a.40.2",SUBTITLES="default-text-group"
index.m3u8




And everything is fine. How can I tell
ffmpeg
to do this for me ?

-
Merge pull request #55 from dinks/master
28 novembre 2014, par scottschillerMerge pull request #55 from dinks/master
Always default to http for IE when accessing cab file
-
Merge pull request #51 from ChiperSoft/master
14 septembre 2014, par scottschillerMerge pull request #51 from ChiperSoft/master
Add a package.json file to allow npm installs.