Re: Using AV Foundation to record m3u8 stream to disk

2014-12-15 Thread dangerwillrobinsondanger
I actually just chanced across his book last night while trying to dig through AVAudioEngine. Bought it. Good book so far. Paints a good picture of the overall AV Foundation landscape today. Sent from my iPhone > On 2014/12/16, at 7:59, Kevin Meaney wrote: > > I'm not certain if this is u

Re: Using AV Foundation to record m3u8 stream to disk

2014-12-15 Thread Kevin Meaney
I'm not certain if this is useful to you but Bob McCune on Twitter mentioned a new tech note about new avfoundation apis which specifically mentions reference movies. https://developer.apple.com/library/mac/technotes/tn2404/_index.html#//apple_ref/doc/uid/DTS40015060 I'd also recommend his boo

Re: Using AV Foundation to record m3u8 stream to disk

2014-12-14 Thread Graham Cox
Just an update on this, since I've made some useful progress, but I'm a bit stuck again. I am able to download the video streams and write them to a .ts file which plays fine in apps such as VLC (Quicktime Player not so much). So far this is all done with NSURLSession, breaking apart the m3u8

Re: Using AV Foundation to record m3u8 stream to disk

2014-12-08 Thread Graham Cox
OK, thanks. I was hoping that I didn't need to delve into the internals of the m3u8 format itself, since AVPlayer/AVPlayerView handles it just fine - I just make a NSURL from the m3u8 url and away it goes. By the way, it isn't just audio, it's video and audio and possibly other things - there a

Re: Using AV Foundation to record m3u8 stream to disk

2014-12-08 Thread dangerwillrobinsondanger
Sent from my iPhone > On 2014/12/09, at 1:38, Jens Alfke wrote: > > m3u8 isn't a stream, it's simply a small playlist file that contains one or > more HTTP URLs, which resolve to audio files, usually MP3. In the case of > streaming, the HTTP audio resource uses the Shoutcast format, which is

Re: Using AV Foundation to record m3u8 stream to disk

2014-12-08 Thread Jens Alfke
> On Dec 7, 2014, at 11:00 PM, Graham Cox wrote: > > The title says it all really: is it possble to use AV Foundation to record a > m3u8 stream to a movie file (optionally transcoded). m3u8 isn't a stream, it's simply a small playlist file that contains one or more HTTP URLs, which resolve to