←  [EN] Third-Party Development

Forums

»

Abobe HDS Raw Video

athoik's Photo athoik 12 Jan 2013

Hello everybody,


I am using livestreamer library on a plugin for enigma2 (GreekStreamTV).

Recently the author of livestreamer added support for Adobe HDS streams. But some streams are not playing so good because of high cpu usage.

The reason of high cpu it is answered below:

https://github.com/chrippa/livestreamer/issues/56

But this one makes small freezes on my Enigma2 STB every few seconds (probably every time a new chunk is downloaded, on my computer there is no problem)

AFAIK no video player can play the raw fragments, so I need to convert the stream to FLV first. Unfortunately my FLV library is not very optimized yet, so the CPU usage is a bit higher than I like it to be right now.

Is there a way to send raw fragments directly to enigma2?

Is there a better way instead of converting stream to FLV first?

The livestreamer library is written in python and currently is the only working implementation for HDS in python.
Quote

athoik's Photo athoik 13 Jan 2013

Actually HDS does not contain Raw Video. Contains “fragmented” ISO MPEG-4 files.

http://www.rgbnetworks.com/blog/?p=3541#.UPJ7CH0gjw0

Adobe HDS (and Microsoft SS) make use of “fragmented” ISO MPEG-4 files.

So to rephrase my question, is it possible enigma2 to make use of “fragmented” ISO MPEG-4 files?
Quote

littlesat's Photo littlesat 13 Jan 2013

Is gstreamer able to play them?
Quote

athoik's Photo athoik 13 Jan 2013

I dont know if there is a way to play raw h264 on gstreamer. Maybe i should ask on gstreamer list too.

$ gst-discoverer-0.10 500_1ca1bbf509b416b4-p_Seg1-Frag1188628
Analyzing file:///tmp/500_1ca1bbf509b416b4-p_Seg1-Frag1188628
Done discovering file:///tmp/500_1ca1bbf509b416b4-p_Seg1-Frag1188628
An error was encountered while discovering the file
No valid frames found before end of stream

I am attaching a sample fragmented file (with .log extension).

Attached File  500_1ca1bbf509b416b4-p_Seg1-Frag1188628.log   1.01MB   9 downloads
Quote