2012-02-28, 18:55
micahg Wrote:Yes. I don't believe XBMC has updated FFMPEG, so applehttp:// wouldn't work.
The way I see it is that one day the streams just stopped working. I hadn't changed (or pulled updated code) in XBMC to make a change. My friend who also uses this app was using the same windows build the whole time -- it just stopped working. This leaves me to believe that it is not xbmc. That said, I'm still trying to figure out how to fix it in XBMC... its a slow process!
So let's figure out what broke. I was able to get the live streams loading (xbmc was able to download the .m3u8), but it just treated it like a playlist and started from the first #EXTINF. It also wasn't joining the playlist objects (*.ts) seamlessly, like ffmpeg does.
I'm not very familiar with git, but I believe I have the Eden repo checked out.
Code:
apokalypse@destruction:~/xbmc$ grep -R m3u8 *
apokalypse@destruction:~/xbmc$ grep -R applehttp *
lib/ffmpeg/libavformat/Makefile:OBJS-$(CONFIG_APPLEHTTP_DEMUXER) += applehttp.o
lib/ffmpeg/libavformat/allformats.c: REGISTER_DEMUXER (APPLEHTTP, applehttp);
lib/ffmpeg/libavformat/applehttp.c:static int applehttp_read_header(AVFormatContext *s, AVFormatParameters *ap)
lib/ffmpeg/libavformat/applehttp.c:static int applehttp_read_packet(AVFormatContext *s, AVPacket *pkt)
lib/ffmpeg/libavformat/applehttp.c:static int applehttp_close(AVFormatContext *s)
lib/ffmpeg/libavformat/applehttp.c:static int applehttp_read_seek(AVFormatContext *s, int stream_index,
lib/ffmpeg/libavformat/applehttp.c:static int applehttp_probe(AVProbeData *p)
lib/ffmpeg/libavformat/applehttp.c:AVInputFormat ff_applehttp_demuxer = {
lib/ffmpeg/libavformat/applehttp.c: "applehttp",
lib/ffmpeg/libavformat/applehttp.c: applehttp_probe,
lib/ffmpeg/libavformat/applehttp.c: applehttp_read_header,
lib/ffmpeg/libavformat/applehttp.c: applehttp_read_packet,
lib/ffmpeg/libavformat/applehttp.c: applehttp_close,
lib/ffmpeg/libavformat/applehttp.c: applehttp_read_seek,
Binary file lib/ffmpeg/libavformat/allformats.o matches
lib/ffmpeg/libavformat/applehttp.d:libavformat/applehttp.o: libavformat/applehttp.c libavutil/avstring.h \
Binary file lib/ffmpeg/libavformat/applehttp.o matches
lib/ffmpeg/config.log:applehttp_demuxer
lib/ffmpeg/config.log:applehttp_demuxer='yes'
lib/ffmpeg/config.log:applehttp_demuxer
Could it be the m3u8 handling is misbehaving?