hls-player:hls-player.git
12 years agohls-player: some modernization
Marc-Andre Lureau [Sat, 9 Jan 2010 17:12:44 +0000 (18:12 +0100)]
hls-player: some modernization

12 years agohls-player: select bitrate
Marc-Andre Lureau [Sat, 9 Jan 2010 01:26:14 +0000 (02:26 +0100)]
hls-player: select bitrate

12 years agohls-player: better logging
Marc-André Lureau [Fri, 8 Jan 2010 17:12:15 +0000 (18:12 +0100)]
hls-player: better logging

12 years agohls-player: only reset cookies conditionally
Marc-André Lureau [Fri, 8 Jan 2010 15:07:02 +0000 (16:07 +0100)]
hls-player: only reset cookies conditionally

12 years agohls-player: support refer
Marc-André Lureau [Fri, 8 Jan 2010 14:09:52 +0000 (15:09 +0100)]
hls-player: support refer

So it can play stream like RTVE:
hls-player.py http://iphonelive.rtve.es/stream1.m3u8 -r http://m.rtve.es/live/

12 years agohls-player: reduce initial playback latency to almost nothing (hack)
Marc-André [Fri, 8 Jan 2010 12:03:19 +0000 (12:03 +0000)]
hls-player: reduce initial playback latency to almost nothing (hack)

12 years agohls-player: simplify a bit some code
Marc-André [Thu, 7 Jan 2010 21:45:24 +0000 (21:45 +0000)]
hls-player: simplify a bit some code

12 years agochange the saving of file to a new option
Zaheer [Thu, 7 Jan 2010 21:40:50 +0000 (21:40 +0000)]
change the saving of file to a new option

12 years agoMade -D write the output of appsrc to /tmp/hls-player.ts
Zaheer [Thu, 7 Jan 2010 21:28:50 +0000 (21:28 +0000)]
Made -D write the output of appsrc to /tmp/hls-player.ts

12 years agohls-player: log.debug cookies
Marc-André [Thu, 7 Jan 2010 16:57:50 +0000 (16:57 +0000)]
hls-player: log.debug cookies

12 years agohls-player: add option to keep N segments
Marc-André [Thu, 7 Jan 2010 16:53:04 +0000 (16:53 +0000)]
hls-player: add option to keep N segments

12 years agohls-player: avoid dangling defer reload-pl
Marc-André [Thu, 7 Jan 2010 15:19:45 +0000 (15:19 +0000)]
hls-player: avoid dangling defer reload-pl

12 years agohls-player: not longer appsrc property
Marc-André [Thu, 7 Jan 2010 13:25:21 +0000 (13:25 +0000)]
hls-player: not longer appsrc property

12 years agohls-player: remove old cruft
Marc-André [Thu, 7 Jan 2010 13:24:27 +0000 (13:24 +0000)]
hls-player: remove old cruft

12 years agohls-player: make sure the reload delay is int
Marc-André [Thu, 7 Jan 2010 13:19:45 +0000 (13:19 +0000)]
hls-player: make sure the reload delay is int

12 years agohls-player: add copyright/license
Marc-André [Thu, 7 Jan 2010 13:16:16 +0000 (13:16 +0000)]
hls-player: add copyright/license

12 years agohls-player: use deferLater
Marc-André [Thu, 7 Jan 2010 13:02:06 +0000 (13:02 +0000)]
hls-player: use deferLater

That should fix this exception:

--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/home/elmarco/bin/hls-player.py", line 313, in _playlist_updated
    if pl.has_programs():
exceptions.AttributeError: DelayedCall instance has no attribute 'has_programs'

12 years agohls-player: keep only the past 3 segments
Marc-André [Thu, 7 Jan 2010 12:14:10 +0000 (12:14 +0000)]
hls-player: keep only the past 3 segments

12 years agohls-player: executable pleeaz
Marc-André [Thu, 7 Jan 2010 11:46:53 +0000 (11:46 +0000)]
hls-player: executable pleeaz

12 years agoremove overrun and underrun signal connections
Zaheer [Thu, 7 Jan 2010 11:44:05 +0000 (11:44 +0000)]
remove overrun and underrun signal connections

12 years agomake queue limited on bytes
Zaheer [Thu, 7 Jan 2010 11:32:42 +0000 (11:32 +0000)]
make queue limited on bytes

12 years agono videoscale, so why add...duh
Zaheer [Thu, 7 Jan 2010 11:20:23 +0000 (11:20 +0000)]
no videoscale, so why add...duh

12 years agohls-player: fix content-not-updated check, and print new segments
Marc-André [Thu, 7 Jan 2010 11:16:01 +0000 (11:16 +0000)]
hls-player: fix content-not-updated check, and print new segments

12 years agoSet all the new elements to STATE_PLAYING on new decoded pad
Andoni [Thu, 7 Jan 2010 11:13:09 +0000 (11:13 +0000)]
Set all the new elements to STATE_PLAYING on new decoded pad

12 years agohls-player: fix no-display
Marc-André [Thu, 7 Jan 2010 10:54:07 +0000 (10:54 +0000)]
hls-player: fix no-display

12 years agohls-player: handle a bit better utf-8
Marc-André [Thu, 7 Jan 2010 10:43:59 +0000 (10:43 +0000)]
hls-player: handle a bit better utf-8

12 years agoMore fixes...
Zaheer [Thu, 7 Jan 2010 09:30:26 +0000 (09:30 +0000)]
More fixes...

12 years agomore fixes
Zaheer [Tue, 5 Jan 2010 18:01:24 +0000 (18:01 +0000)]
more fixes

12 years agofix a bunch of stuff
Zaheer [Tue, 5 Jan 2010 17:47:33 +0000 (17:47 +0000)]
fix a bunch of stuff

12 years agoWait only 1 second between segments fetch if ondemand
Marc-André [Tue, 5 Jan 2010 17:16:01 +0000 (17:16 +0000)]
Wait only 1 second between segments fetch if ondemand

12 years agohls-player: fix --help
Marc-André [Tue, 5 Jan 2010 11:09:48 +0000 (11:09 +0000)]
hls-player: fix --help

12 years agoMake sure gdk threads are synced when setting the xwindow id
Zaheer [Mon, 4 Jan 2010 14:38:47 +0000 (14:38 +0000)]
Make sure gdk threads are synced when setting the xwindow id

12 years agodebugging appsrc...
Marc-André [Mon, 4 Jan 2010 12:54:35 +0000 (12:54 +0000)]
debugging appsrc...

12 years agoattempt to use appsrc
Marc-André [Thu, 31 Dec 2009 16:50:43 +0000 (16:50 +0000)]
attempt to use appsrc

12 years agofix playing http://iphonelive.rtve.es/stream1.m3u8 again
Marc-André [Thu, 31 Dec 2009 15:33:23 +0000 (15:33 +0000)]
fix playing iphonelive.rtve.es/stream1.m3u8 again

12 years agoHandle correctly end of media
Marc-André [Thu, 31 Dec 2009 15:22:31 +0000 (15:22 +0000)]
Handle correctly end of media

12 years agofix playing http://iphonelive.rtve.es/stream1.m3u8 again
Marc-André [Thu, 31 Dec 2009 15:06:29 +0000 (15:06 +0000)]
fix playing iphonelive.rtve.es/stream1.m3u8 again

12 years agoimprove the code, try gapless - but failed
Marc-André [Thu, 31 Dec 2009 13:13:10 +0000 (13:13 +0000)]
improve the code, try gapless - but failed

12 years agonow play live: hls-player.py http://iphonelive.rtve.es/stream1.m3u8
Marc-André [Wed, 30 Dec 2009 17:03:02 +0000 (17:03 +0000)]
now play live: hls-player.py iphonelive.rtve.es/stream1.m3u8

12 years agohls-player: support simultaneous download
Marc-André [Wed, 30 Dec 2009 15:23:47 +0000 (15:23 +0000)]
hls-player: support simultaneous download

12 years agoadd simple hls player
Marc-André [Tue, 29 Dec 2009 18:29:54 +0000 (18:29 +0000)]
add simple hls player

12 years agoadd simple hls player
Marc-André [Tue, 29 Dec 2009 18:29:54 +0000 (18:29 +0000)]
add simple hls player