Demo App
I built the project in OS X Mountain Lion, using brew for auto tools. I did all the steps indicated on the index, but still when i run the demo i get "could Not open stream" when trying to open Apple Example. Here are the erros i got:
01-28 17:11:37.335: E/ffmpeg(2362): Invalid timestamps stream=1, pts=921000, dts=924000, size=1261 01-28 17:11:37.398: E/ffmpeg(2362): Invalid timestamps stream=1, pts=927000, dts=930150, size=1261 01-28 17:11:37.398: E/ffmpeg(2362): Invalid timestamps stream=1, pts=933150, dts=936150, size=1077 01-28 17:11:37.406: E/ffmpeg(2362): Invalid timestamps stream=1, pts=939150, dts=942150, size=1261 01-28 17:11:37.406: E/ffmpeg(2362): Invalid timestamps stream=1, pts=945150, dts=948150, size=157 01-28 17:11:37.406: E/ffmpeg(2362): Invalid timestamps stream=1, pts=945150, dts=948150, size=709 01-28 17:11:37.414: E/ffmpeg(2362): Invalid timestamps stream=1, pts=951150, dts=954150, size=1261 01-28 17:11:37.421: E/ffmpeg(2362): Invalid timestamps stream=1, pts=957150, dts=960150, size=1077
.... and so on and:
01-28 17:11:42.203: E/StatusBarPolicy(1565): ecio: 38 01-28 17:11:42.203: E/StatusBarPolicy(1565): iconLevel: 4 01-28 17:11:42.429: A/ffmpeg(2362): Error when loading first segment 'http://devimages.apple.com.edgekey.net/resources/http-streaming/examples/bipbop_4x3/gear0/fileSequence0.aac' 01-28 17:11:42.437: V/ffmpeg(2362): Statistics: 511 bytes read, 0 seeks 01-28 17:11:42.437: E/player.c(2362): player_set_data_source Could not open video file: http://devimages.apple.com.edgekey.net/resources/http-streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8 (-1094995529: Invalid data found when processing input)
Any idea on what could i have done wrong? or did miss something.. I'm clueless here.
Oh right, tested on a Samsung Galaxy Young on Android 2.3.6
This is because apple demo streams does not work with ffmpeg ;]
You can use woowza server or simply use apache with your content