m3u8

Can i play m3u8 format in windows mobile?

笑着哭i 提交于 2019-12-25 06:24:03
问题 Sorry for the question, i don't have windows mobile to test. I am trying to develop a live internet radio application. The format they stream is in m3u8, i have got SDKs for all other mobile platorms but not for windows phone. Is there any SDK available for playing internet radio or will the m3u8 format of media supports in default. Please suggest me. Thanks in advance. 回答1: By default - no. However, you could use the HTTP Live Streaming SDK. 回答2: You can try Windows Phone Streaming Media

前端video标签播放m3u8格式视频

谁都会走 提交于 2019-12-24 21:26:51
前端video标签播放m3u8格式视频 效果如下: 1、引入以下js和css <link href="https://vjs.zencdn.net/7.4.1/video-js.css" rel="stylesheet"> <script src='https://vjs.zencdn.net/7.4.1/video.js'></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.15.0/videojs-contrib-hls.min.js" type="text/javascript"></script> <style> .video-js .vjs-tech { position: relative !important; } .active{ background-color:#00bbff !important; } </style> 2、html代码 <body style="overflow-y:auto;"> <div class="contents marginbot"> <div> <table class="table table-striped table-bordered" style="height: 95%;"> <tbody id=

CORS configuration for S3-hosted HLS video in JW Player

左心房为你撑大大i 提交于 2019-12-23 04:28:45
问题 I'm having trouble casting a self-hosted JW Player video. Here's the relevant reference in the Javascript API for configuring the player. https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#casting Here are some details about my setup: 1) The video is in HLS streaming format. So the file that I'm passing to the JW Player Javascript API has .m3u8 extension. 2) The video is hosted on S3. 3) The video is served through CloudFront. Here's the code

How to play m3u8 audio file?

最后都变了- 提交于 2019-12-21 21:33:43
问题 I have a URL (http://ms1.clickhere2.com:1935/live/power98/playlist.m3u8) and wanted to play in iPhone, with m3u8 format, would somebody help on this, I have used MPMEDIAPLAYER framework and other things. 回答1: Try like this: NSString *path =[[NSString alloc] initWithString:@"http://stream.alayam.com/alayam/alayam/playlist.m3u8"]; NSURL *audioUrl=[NSURL URLWithString:path]; MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:audioUrl]; [[NSNotificationCenter

Creating HLS variants with FFMPEG

一世执手 提交于 2019-12-21 18:05:35
问题 I am starting with a high res video file and I would like to create 3 variants, low quality, mid quality, and high quality for mobile streaming. I want these mid/low/high variants to be segmented into ts pieces that the m3u8 file will be pointing that. Is there a way to do this in one line in ffmpeg? I have successfully generated an m3u8 file and ts segments with ffmpeg, do I need to do this 3x and set specs for low/mid/high? If so, how do I get the singular m3u8 file to point to all variants

Parsing HLS m3u8 file using regular expressions

雨燕双飞 提交于 2019-12-21 03:12:12
问题 I want to parse HLS master m3u8 file and get the bandwidth, resolution and file name from it. Currently i am using String parsing to search string for some patterns and do the sub string to get value. Example File: #EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=476416,RESOLUTION=416x234 Stream1/index.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=763319,RESOLUTION=480x270 Stream2/index.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1050224,RESOLUTION=640x360 Stream3/index.m3u8 #EXT-X-STREAM

加密的m3u8、ts文件合并

半城伤御伤魂 提交于 2019-12-21 01:16:25
加密后的ts文件不能直接合并或播放,需要使用key对每个ts文件进行解密。 分为两种情况: (1).如果ts文件已经全部下载好,则可以直接在本地通过ffmpeg快速解密合并。 (2).如果ts文件没有下载好,则可以通过vlc直接下载整个视频,或者通过ffmpeg下载并转换。 无论是哪种情况,都要去视频源地址下载m3u8文件。如果可以下载key(有些网站加密方式比较严谨,不那么容易获取到key),把key文件也下载好。 下载m3u8文件的方式是去源地址网站,按F12找到m3u8文件,或者从右键-->网页源代码中找到地址。两种方式都试一试。 例如,从浏览器的F12中找: 这里能找到两个m3u8和一个key文件,都下载好。记事本打开两个m3u8,其中有一个包含了ts文件列表,这个m3u8文件是我们所需要的。例如我这里的是HdNz1kaz.m3u8文件,以下是一小部分内容。 #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:13 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-KEY:METHOD=AES-128,URI="/20180125/NfJJpxIH/1482kb/hls/key.key" #EXTINF:12.5, /20180125/NfJJpxIH/1482kb/hls/GBDYO3576000.ts #EXTINF

swift can not save .m3u8 file to gallery

我怕爱的太早我们不能终老 提交于 2019-12-20 03:52:20
问题 Im using this below method to download and save my video to gallery, with .mp4 it's work normally, but when change to .m3u8 it's always fail. func downloadVideoLinkAndCreateAsset(_ videoLink: String,_ fileName : String) { // use guard to make sure you have a valid url guard let videoURL = URL(string: videoLink) else { return } guard let documentsDirectoryURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first else { return } let fileNameToSave = "CiviX_HistoryVideo_

HTTP Live Streaming直播(iOS直播)技术分析与实现

拈花ヽ惹草 提交于 2019-12-20 02:47:14
http://www.cnblogs.com/haibindev/archive/2013/01/30/2880764.html   不经意间发现,大半年没写博客了,自觉汗颜。实则2012后半年,家中的事一样接着一样发生,实在是没有时间。快过年了,总算忙里偷闲,把最近的一些技术成果,总结成了文章,与大家分享。   前些日子,也是项目需要,花了一些时间研究了 HTTP Live Streaming ( HLS )技术,并实现了一个HLS编码器 HLS Live Encoder ,当然,C++写的。其功能是采集摄像头与麦克风,实时进行H.264视频编码和AAC音频编码,并按照HLS的协议规范,生成分段的标准TS文件以及m3u8索引文件。通过我的 HLS Live Encoder 和第三方Http服务器(例如:Nginx),成功实现了 HTTP Live Streaming 直播,并在iphone上测试通过。我就把这当中的一些收获写在这里。 HLS技术要点分析    HTTP Live Streaming ( HLS )是苹果公司(Apple Inc.)实现的基于HTTP的流媒体传输协议,可实现流媒体的直播和点播,主要应用在 iOS 系统,为 iOS 设备(如iPhone、iPad)提供音视频直播和点播方案。 HLS 点播,基本上就是常见的分段HTTP点播,不同在于,它的分段非常小

AVPlayer not playing m3u8 from local file

筅森魡賤 提交于 2019-12-19 10:34:23
问题 I am trying to get AVPlayer to play a m3u8 playlist that is a local file. I have narrowed this down to a simple test case using one of Apple's sample playlists: https://tungsten.aaplimg.com/VOD/bipbop_adv_fmp4_example/master.m3u8 If i play this playlist from the remote url, AVPlayer plays this fine. However, if i download this playlist to a local file, and then hand AVPlayer the local file URL, AVPlayer will not play it. It just shows the crossed out play symbol. Interestingly enough, this