Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-28avformat/hlsenc, hlsplaylist: CosmeticsAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-05-28avformat/hlsplaylist: Add const where appropriateAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-08avformat: add subtitle support in master playlist m3u8Limin Wang
Test with the following command for the webvtt subtitle: $ ./ffmpeg -y -i input_with_subtitle.mkv \ -b:v:0 5250k -c:v h264 -pix_fmt yuv420p -profile:v main -level 4.1 \ -b:a:0 256k \ -c:s webvtt -c:a mp2 -ar 48000 -ac 2 -map 0:v -map 0:a:0 -map 0:s:0 \ -f hls -var_stream_map "v:0,a:0,s:0,sgroup:subtitle" \ -master_pl_name master.m3u8 -t 300 -hls_time 10 -hls_init_time 4 -hls_list_size \ 10 -master_pl_publish_rate 10 -hls_flags \ delete_segments+discont_start+split_by_time ./tmp/video.m3u8 Check the master m3u8: $ cat tmp/master.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitle",NAME="subtitle_0",DEFAULT=YES,URI="video_vtt.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=6056600,RESOLUTION=1280x720,CODECS="avc1.4d4829,mp4a.40.33",SUBTITLES="subtitle" video.m3u8 Check the result by convert to mkv: $ ./ffmpeg -strict experimental -i ./tmp/master.m3u8 -c:v copy -c:a mp2 -c:s srt ./test.mkv Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-04-08avformat/hlsplaylist: simplify code for checking whether the string is emptyLimin Wang
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2019-09-02lavf/hlsenc: refine the get_relative_url function to avoid extra malloc for ↵Limin Wang
relation path Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2019-06-14avformat/hlsenc: add EXT-X-I-FRAMES-ONLY tag supportSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-01-31avformat/hlsenc: add var_stream_map LANGUAGE field string parameterSteven Liu
use a:0,agroup:aud_low,default:Yes,language:CHN a:1,agroup:aud_low,language:ENG a:2,agroup:aud_high,default:YesYes,language:CHN a:3,agroup:aud_high,language:ENG v:0,agroup:aud_low v:1,agroup:aud_high create master m3u8 list. result: EXTM3U EXT-X-VERSION:3 EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_0",DEFAULT=YES,LANGUAGE="CHN",URI="out_0.m3u8" EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_1",DEFAULT=NO,LANGUAGE="ENG",URI="out_1.m3u8" EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_2",DEFAULT=YES,LANGUAGE="CHN",URI="out_2.m3u8" EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_3",DEFAULT=NO,LANGUAGE="ENG",URI="out_3.m3u8" EXT-X-STREAM-INF:BANDWIDTH=1170400,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_low" out_4.m3u8 EXT-X-STREAM-INF:BANDWIDTH=3440800,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_high" out_5.m3u8 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-01-24avformat/hlsenc: closed caption tags in the master playlistVishwanath Dixit
2018-01-19avformat/hlsenc: Add CODECS attribute to master playlistKarthick Jeyapal
2017-12-29avformat/hlsplaylist: Audio rendition's name and defaultness made configurableKarthick Jeyapal
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
2017-12-29avformat/hlsenc: Modularized audio rendition playlist write to allow reuseKarthick Jeyapal
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
2017-12-23avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attributeVishwanath Dixit
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2017-12-04avformat/hlsplaylist: add return value check of strftimeSteven Liu
fix CID: 1424884 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2017-12-04avformat/hlsplaylist: add int type of API ff_hls_write_file_entrySteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2017-11-29avformat/hlsenc: Modularized playlist creation to allow reuseKarthick J