Jump to content


Photo

Abobe HDS Raw Video

hds streaming enigma2

  • Please log in to reply
3 replies to this topic

#1 athoik

  • PLi® Core member
  • 7,892 posts

+294
Excellent

Posted 12 January 2013 - 20:31

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.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Abobe HDS Raw Video #2 athoik

  • PLi® Core member
  • 7,892 posts

+294
Excellent

Posted 13 January 2013 - 10:19

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?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Abobe HDS Raw Video #3 littlesat

  • PLi® Core member
  • 48,926 posts

+521
Excellent

Posted 13 January 2013 - 10:19

Is gstreamer able to play them?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Abobe HDS Raw Video #4 athoik

  • PLi® Core member
  • 7,892 posts

+294
Excellent

Posted 13 January 2013 - 11:07

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
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users