Question

I'm not sure this is possible, but I'm trying to pull a YouTube video into a AVURLAsset using Google's objective-c library. I've gotten to where I can pull in what I thought were usable video files from the XML the API returns. They look more or less like this:

rtsp://v2.cache8.c.youtube.com/CiILENy73wIaGQmySUpPeUt7BhMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp

Unfortunately, that apparently doesn't work when loaded into an AVURLAsset. Does anyone know how I might go about getting this to work? Thanks.

Was it helpful?

Solution

I think this doesn't work simply because AVURLAsset can't play FLV movies or 3GP movies. Now, YouTube does have other formats, like H.264, but as far as I can tell (though from slightly-outdated information) there's no way to get this version, so unfortunately I think this is an impossible task. :(

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top