m3u8

Extract/Record Audio from HLS stream (video) while playing iOS

一笑奈何 提交于 2019-12-03 10:29:51
问题 I am playing HLS streams using AVPlayer. And I also need to record these streams as user presses record button. The approach I am using is to record audio and video separately then at the end merge these file to make the final video. And It is successful with remote mp4 files. But now for the HLS (.m3u8) files I am able to record the video using AVAssetWriter but having problems with audio recording. I am using MTAudioProccessingTap to process the raw audio data and write it to a file. I

Playing .m3u8 file on iOS

最后都变了- 提交于 2019-12-03 09:53:47
问题 I have .m3u8 link which I need to play on iOS which supports the HLS Protocol . When I assign URL directly to the MPMoviePlayerController and play, video is not visible but I can hear the audio. NSURL *movieURL = [NSURL URLWithString:@"http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8"]; MPMoviePlayerController *mp = [[MPMoviePlayerController alloc] initWithContentURL:movieURL]; [self.view addSubview:self.moviePlayer.view]; if (mp) { // save the movie player object self.moviePlayer

Streaming .m3u8 format using Chromecast

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Hi i developed the application to cast my videos to TV via Chromecast.Now trying to play m3u8 videos via Chromecast is it possible as m3u8 videos buffering is good and control is good compare to mp4 any links will also do i cannot find how to stream m3u8 using Chromecast. 回答1: The .m3u8 format is for HLS (HTTP Live Streaming). To play .m3u8 formats you need to host your media content on a server. Make sure CORS is enabled. Then have your sender load the url, where your content is hosted, onto the receiver. This documentation has

How do i embed this m3u8 into jw player

僤鯓⒐⒋嵵緔 提交于 2019-12-03 09:47:51
问题 Total novice here so if you can be patient with me id really appreciate it. Now i have this url http://213.202.73.8:1234/data/channels/ARENA1. m3u8 I want to embed this into my JW Player, I have both Jw Player 5 & 6 So whatever is easiest, Can someone help a brother out and what code would i need to embed this so it plays on the JW Player if possible. If you could write the FULL code so i can understand coz as i said a total novice here but fast learner lol. Cheers guys UPDATE: Ok so i have

How to create byte-range m3u8 playlist for HLS?

回眸只為那壹抹淺笑 提交于 2019-12-03 06:10:06
问题 Apple gives an example of support for byte-range segments in m3u8 files for HLS #EXTM3U #EXT-X-TARGETDURATION:11 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-VERSION:4 #EXTINF:10.0, #EXT-X-BYTERANGE:75232@0 media.ts #EXTINF:10.0, #EXT-X-BYTERANGE:82112@752321 media.ts #EXTINF:10.0, #EXT-X-BYTERANGE:69864 media.ts But I cannot figure out how to create such playlist for given .ts file. Are there any tools for that? 回答1: There is -hls_flags as a ffmpeg option. (https://www.ffmpeg.org/ffmpeg-formats.html)

windows 下 hls 的点播和直播

我只是一个虾纸丫 提交于 2019-12-03 05:02:45
Apple的动态码率自适应技术。主要用于PC和Apple终端的音视频服务。包括一个m3u(8)的索引文件,TS媒体分片文件和key加密串文件(可选)。 常用的流媒体协议主要有 HTTP 渐进下载和基于 RTSP/RTP 的实时流媒体协议,这两种基本是完全不同的东西,目前比较方便又好用的是用 HTTP 渐进下载方法。在这个中 apple 公司的 HTTP Live Streaming 是这个方面的代表。它最初是苹果公司针对iPhone、iPod、iTouch和iPad等移动设备而开发的流.现在见到在桌面也有很多应用了,HTML5 是直接支持这个。 这里介绍hls协议的点播和直播。环境为windows7系统,使用nginx搭建http服务器,使用ffmpeg处理视频和流,使用VLC软件发出流,使用iphone5手机观看直播视频。 工作流程 点播:准备好视频文件MP4,使用ffmpeg将其转成TS格式文件,然后继续使用ffmpeg将其切片并生成播放列表M3U8文件,将所得TS分片与M3U8文件放到nginx服务器目录下,开启http服务器后,同一局域网内用手机输入网络地址可查看点播视频。 直播:使用VLC软件将视频以UDP流的形式发出,使用ffmpeg接收这个UDP流并实时切割到http服务器下,开启服务器后,同一局域网内用手机输入网络地址可查看直播视频。 环境搭建

Mp4 to HLS using ffmpeg

亡梦爱人 提交于 2019-12-03 04:23:17
问题 I'm trying to convert a local .mp4 video to HLS using ffmpeg in an iOS app. I have integrated the ffmpeg wrapper using pods and generated all the segmented .ts files and the m3u8 file, but some of the .ts file segments are not listed in the .m3u8 playlist file as shown below. It is always listing the last 5 video segments. #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:2 #EXT-X-MEDIA-SEQUENCE:13 #EXTINF:2, out13.ts #EXTINF:1, out14.ts #EXTINF:2, out15.ts #EXTINF:2, out16.ts #EXTINF:1, out17

Exoplayer playing m3u8 files Android

匿名 (未验证) 提交于 2019-12-03 02:51:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: After trying multiple ways of playing m3u8 files using videoview and mediaplayer I decided to give up. Everytime i play the m3u8 file I only hear the voice.(please dont write urls from stack overflow answering my question. I' ve red them all ) Been asking around ,finally got to know that exoplayer maybe is the one I'm looking for. However exoplayer seems to be a newbie and I can'n find any proper tutorial . That been said Im myself a newbie and all talks about tracker and blabla seem just too complicated for me. I only want to be able to

AVPlayer not playing m3u8 from local file

匿名 (未验证) 提交于 2019-12-03 01:11:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 can be duplicated with Safari as well. Safari will

Playing HLS (m3u8) in Cocoa OS X AVPlayer - Swift

匿名 (未验证) 提交于 2019-12-03 01:01:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Basically I am trying to play an m3u8 (HLS Live Stream) using AVPlayer in Cocoa Swift. I'm relatively new to the language, so basically grabbed some example code for playing local video files and tried modifying it to play a live stream... But get this instead: http://i.stack.imgur.com/bU9GM.png This is what I got so far (commented lines are to play local file, which does work): import Cocoa import AVKit import Foundation import AVFoundation class ViewController: NSViewController { @IBOutlet weak var playerView: AVPlayerView! var videoPlayer