[FFmpeg-devel] livestream.com us-local news channels

Michael Niedermayer michaelni at gmx.at
Tue Sep 23 12:28:33 CEST 2014


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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140923/e72db214/attachment.asc>


More information about the ffmpeg-devel mailing list