On Tue, Sep 23, 2014 at 07:05:29AM +0200, Georg Stein wrote: > Hello, > > i try now for some time to dump with a small app written in c by using the > ffmpeg libs to download the streams of a US local news channel streamed on > livestream.com - without success. > > > > the stream url looks like (there is an auth key in): > > > > > <http://api.new.livestream.com/broadcasts/62834750.m3u8?dw=100&hdnea=st=1411 > 4> > http://api.new.livestream.com/broadcasts/62834750.m3u8?dw=100&hdnea=st=14114 > > 03505~exp=1411404405~acl=/i/1864610_1649849_f007e646_1@188864/*~hmac=be25315 > > e9f3dd58ac529bb167a3889b336af7faddaa02b8cae99b82969900097 > > > > and > > > > > <http://livestream-f.akamaihd.net/i/1864610_1649849_f007e646_1@188864/master > > > http://livestream-f.akamaihd.net/i/1864610_1649849_f007e646_1@188864/master. > > m3u8?dw=100&__b__=678&hdnea=st=1411403505~exp=1411404405~acl=/i/1864610_1649 > > 849_f007e646_1@188864/*~hmac=be25315e9f3dd58ac529bb167a3889b336af7faddaa02b8 > > cae99b82969900097 > > > > when i call > > int result = avformat_open_input(&this->avFormatContext, fileNameChar, fmt, > NULL); > > > > the result is 0 but the AVFormatContext does not has any codec/stream in > > > > the command line tool from ffmepg can download the stream fine with the url > i use in my app > > > > so perhaps somebody has here a hint for me to solve my problem
i can just guess but maybe missing avformat_find_stream_info() call [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel