Jump to content


Photo

serviceapp - gstplayer and exteplayer3

gstreamer ffmpeg

  • Please log in to reply
985 replies to this topic

Re: serviceapp - gstplayer and exteplayer3 #281 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 7 October 2016 - 20:49

But either I'm missing something or they don't seem to follow the HLS spec.

The m3u8 playlist should contain an extra URL which points to a server where the AES key for decryption can be obtained.

I believe playing back encrypted HLS streams should be implemented in both gstreamer and ffmpeg.

 

EDIT: oh wait yes it does:

getVariantsFromMasterUrl] Response[18](size=134): #EXT-X-KEY:METHOD=AES-128,URI
="https://media-api.fo...6",IV=0x4CF49F3
624856129C2E9942E428F1116

 

This should be the key for decrypting the fragments..


Edited by MastaG, 7 October 2016 - 20:50.


Re: serviceapp - gstplayer and exteplayer3 #282 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 8 October 2016 - 08:45

@mx3L

 

Slight url directory change for Fox Sports from what I posted yesterday. Typical that it would happen now,as there hasnt been one for months. It contains a new cookie too,but the old cookie from my previous post is still alive and working as well.

 

I dont want you to be working on this and not be able to stream simply because of this change. Now that would be infuriating annoy you lol

http://hlslinear-l3c.med1.foxsportsgo.com/ls02/foxsports/FOX_SPORTS_1/live/2016/10/07/12574838/5000K/5000_slide_ads.m3u8|Cookie=Authorization%3DeyJhbGciOiJIUzI1NiJ9.eyJpcGlkIjoiaWFwUmVjZWlwdERldmljZTpEZXZpY2U6MzA1MDQ2ZGItODU3Ni00YmVhLTk2YmUtN2ZmZWUyZGYyNjYyOmMzMDI3NGM3LWExNmItNDA1NC04NmM4LWU0OWE0NDk4NDkzYyIsImNsaWVudElkIjoic2Vzc2lvbi1zZXJ2aWNlLXYxLjAiLCJjb250ZXh0Ijp7ImlkIjoiOGI5ZTE4OTAtOGQyMS0xMWU2LTgyOWItMGUwZTUyNWNhMWIxIiwidHlwZSI6IlJFR0lTVEVSRUQiLCJpcF9hZGRyZXNzIjoiMTA0LjE0NS4yMjYuMjIiLCJkZXZpY2UiOnsiaWQiO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llMmIxNzUwNjJhNzM0YzU0MThlM2Y3MDQ1MDFlOGIiLCJpYXQiOjE0NzU5MDg1ODksInZlcnNpb24iOiJ2MS4wIn0.p1TrIEmb4yukXPkZrgQmMITy1PxbYdGfSb5vknupha0

Ian.


Edited by ian1095, 8 October 2016 - 08:49.


Re: serviceapp - gstplayer and exteplayer3 #283 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 8 October 2016 - 09:37

gstreamer 1.6.3:

0:00:05.983914959  8399 0x7614c120 WARN             souphttpsrc gstsouphttpsrc.c:1556:gst_soup_http_src_parse_status:<souphttpsrc1> error: Secure connection setup failed.
0:00:05.985722515  8399 0x7614c120 WARN             souphttpsrc gstsouphttpsrc.c:1556:gst_soup_http_src_parse_status:<souphttpsrc1> error: Unacceptable TLS certificate (6), URL: https://media-api.foxsportsgo.com/programs/103303/keys/id/655403, Redirect to: (NULL)
0:00:05.988971700  8399 0x7614c120 WARN           uridownloader gsturidownloader.c:217:gst_uri_downloader_bus_handler:<uridownloader0> Received error: Secure connection setup failed. from souphttpsrc1, the download will be cancelled
0:00:05.993220329  8399 0x7614c120 WARN             souphttpsrc gstsouphttpsrc.c:1556:gst_soup_http_src_parse_status:<souphttpsrc1> error: Secure connection setup failed.
0:00:05.995145885  8399 0x7614c120 WARN             souphttpsrc gstsouphttpsrc.c:1556:gst_soup_http_src_parse_status:<souphttpsrc1> error: Unacceptable TLS certificate (6), URL: https://media-api.foxsportsgo.com/programs/103303/keys/id/655403, Redirect to: (NULL)
0:00:06.004153478  8399 0x7614c120 WARN                 basesrc gstbasesrc.c:2943:gst_base_src_loop:<souphttpsrc1> error: Internal data flow error.
0:00:06.006847700  8399 0x7614c120 WARN                 basesrc gstbasesrc.c:2943:gst_base_src_loop:<souphttpsrc1> error: streaming task paused, reason error (-5)
0:00:06.017398441  8399   0x4860f0 WARN                hlsdemux gsthlsdemux.c:529:gst_hls_demux_start_fragment:<hlsdemux0> Failed to decrypt data

ffmpeg 3.0:

Unable to open key file https://media-api.foxsportsgo.com/programs/101173/keys/id/655372

With gstreamer it's weird since we are setting ssl-strict option to false


Edited by mx3L, 8 October 2016 - 09:39.


Re: serviceapp - gstplayer and exteplayer3 #284 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 8 October 2016 - 09:52

You should try a newer rev of gstreamer.
There has been many fixes and improvememts for fragmented playback after 1.6.3.

Re: serviceapp - gstplayer and exteplayer3 #285 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 8 October 2016 - 09:59

Yes its weird with Gstreamer, Its never worked and this issue also applies to other streams too such as from NBCSN

 

I did think however that ffmpeg would cope,but obviously not,you can see however from the attached screenshot that Livestreamer with with Serviceapp using 5001 has no issues at all with this.

 

But as to why this is the case,then thats above my paygrade.

 

Ian.

Attached Files



Re: serviceapp - gstplayer and exteplayer3 #286 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 8 October 2016 - 10:15

@MastaG

Indeed but currently have only this one available.

 

@ian1095

I will add livestreamer to kodi as option.



Re: serviceapp - gstplayer and exteplayer3 #287 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 8 October 2016 - 10:27

Ok mx3L thats cool.

 

There is already a Livestreamer addon which ive installed, but it was a pointless exercise as I could find no way of calling upon it,so the ability to do so will be greatly appreciated by many I would imagine.

 

Its a shame though that as to why Gstreamer and ffmpeg wont work remains a mystery.

 

But hey, such is life.

 

Many Thanks.

 

Ian.



Re: serviceapp - gstplayer and exteplayer3 #288 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 8 October 2016 - 11:01

@ian1095

 

Most probably this server use some custom solution and this is a reason. 

Very likely it can be fixed by patch ffmpeg libs. But to patch/fix there is need to have access to such stream.

 

You use some stream which is only accessed from some location, so this is hard to fix something were it is not possible to proper debug and test.

 

Regards,

SSS



Re: serviceapp - gstplayer and exteplayer3 #289 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 8 October 2016 - 11:11

yes sadly SSS many worthwhile streams are Geolocked and a VPN or Smartdns has to be used to view them.

 

This is just the way thing are I'm afraid, Providers dont want people in other countries to view their content.

 

But hey, where there's a will there's a way.

 

Ian.



Re: serviceapp - gstplayer and exteplayer3 #290 charlesduco

  • Senior Member
  • 62 posts

+6
Neutral

Posted 8 October 2016 - 12:27

It seems exteplayer3 doesn't work well on a Vu+ Duo while gstplayer has no problems, but uses a lot of memory en cputime.

 

I did a test this morning with a freshly built image from the latest openpli5 next-master and the v5 recipes from post #153 and played three videos with exteplayer3 and all have some kind of problem.

 

Here an overview of the problems with the corresponding debug logs:

 

1) http://live.stream.v...0_b1296000.m3u8

problem: stuttering audio/no video

 

log from ENIGMA_DEBUG_LVL=4 enigma2:

<  5738.994> [eDVBServicePlay] timeshift
<  5738.998> playing 4097:0:1:0:0:0:0:0:0:0:http%3a//live.stream.vrt.be/vrt_stubru_live/_definst_/smil%3avrt_stubru_live.smil/chunklist_w2044769100_b1296000.m3u8:Studio Brussel
<  5739.000> [eDVBCAService] free slot 0 demux 0 for service 1:0:19:5221:C99:3:EB0000:0:0:0:
<  5739.000> [eDVBCAService] free service 1:0:19:5221:C99:3:EB0000:0:0:0:
<  5739.066> [eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff
<  5739.066> [eDVBPCR0] DEMUX_STOP ok
<  5739.067> [eDVBPCR0] destroy
<  5739.067> [eDVBVideo0] DEMUX_STOP  ok
<  5739.071> [eDVBVideo0] VIDEO_STOP ok
<  5739.074> [eDVBVideo0] destroy
<  5739.074> [eDVBAudio0] AUDIO_STOP ok
<  5739.078> [eDVBAudio0] DEMUX_STOP ok
<  5739.079> [eDVBAudio0] AUDIO_CONTINUE ok
<  5739.086> [eDVBAudio0] destroy
<  5739.086> [eDVBText0] DEMUX_STOP ok
TuxTxt stopped service 23
<  5739.094> [eDVBText0] destroy
cleaning up
TuxTxt cache cleared
<  5739.103> [eDVBResourceManager] start release channel timer
<  5739.104> eServiceApp
<  5739.104> PlayerApp
<  5739.104> BasePlayer
<  5739.104> ExtEplayer3
<  5739.104> PlayerBackend
<  5739.105> eServiceApp::setTarget 0
[getVariantsFromMasterUrl] - Request:
GET /vrt_stubru_live/_definst_/smil:vrt_stubru_live.smil/chunklist_w2044769100_b1296000.m3u8 HTTP/1.1
Host: live.stream.vrt.be
User-Agent: Enigma2 HbbTV/1.1.1 (+PVR+RTSP+DL;OpenPLi;;;)
Accept: */*
Connection: close


[getVariantsFromMasterUrl] Response[0](size=15): HTTP/1.1 200 OK
[getVariantsFromMasterUrl] Response[1](size=35): Date: Sat, 08 Oct 2016 10:02:09 GMT
[getVariantsFromMasterUrl] Response[2](size=43): Content-Type: application/vnd.apple.mpegurl
[getVariantsFromMasterUrl] Response[3](size=20): Accept-Ranges: bytes
[getVariantsFromMasterUrl] Response[4](size=22): Server: FlashCom/3.5.7
[getVariantsFromMasterUrl] Response[5](size=23): Cache-Control: no-cache
[getVariantsFromMasterUrl] Response[6](size=19): Content-Length: 248
[getVariantsFromMasterUrl] Response[7](size=0): 
[getVariantsFromMasterUrl] - content part started
[getVariantsFromMasterUrl] Response[8](size=7): #EXTM3U
[getVariantsFromMasterUrl] Response[9](size=16): #EXT-X-VERSION:3
[getVariantsFromMasterUrl] - skipping unrecognised data
[getVariantsFromMasterUrl] Response[10](size=21): #EXT-X-ALLOW-CACHE:NO
[getVariantsFromMasterUrl] - skipping unrecognised data
[getVariantsFromMasterUrl] Response[11](size=24): #EXT-X-TARGETDURATION:12
[getVariantsFromMasterUrl] - skipping unrecognised data
[getVariantsFromMasterUrl] Response[12](size=27): #EXT-X-MEDIA-SEQUENCE:69174
[getVariantsFromMasterUrl] - we need master playlist not media sequence!
<  5739.260> eServiceApp::fillSubservices - failed to retrieve subservices
<  5739.267> PlayerBackend::gotMessage - tStart
<  5739.268> PlayerApp::processStart: exteplayer3 "http://live.stream.vrt.be/vrt_stubru_live/_definst_/smil:vrt_stubru_live.smil/chunklist_w2044769100_b1296000.m3u8"
<  5739.377> ExtEPlayer3::handleJsonOutput - unhandled key "EPLAYER3_EXTENDED"
<  5740.648> ExtEPlayer3::handleJsonOutput - unhandled key "PLAYBACK_OPEN"
<  5740.716> ExtEPlayer3::handleJsonOutput - unhandled key "OUTPUT_OPEN"
<  5740.762> PlayerBackend::recvStart - status = 0
<  5740.762> PlayerBackend::recvVideoTrackCurrent - status = 0
<  5740.762> PlayerBackend::gotMessage - start
<  5740.762> eServiceApp::gotExtPlayerMessage - start
<  5740.768> eServiceApp::getNumberOfSubservices - 0
<  5740.771> PlayerBackend::recvAudioTrackCurrent - status = 0
<  5740.780> PlayerBackend::recvSubtitleTrackCurrent - status = 0
<  5740.837> eServiceApp::getNumberOfSubservices - 0
<  5740.945> eServiceApp::isCurrentlySeekable
<  5740.946> eServiceApp::isCurrentlySeekable
<  5740.947> eServiceApp::isCurrentlySeekable
<  5740.948> resolved to PLAY
<  5740.949> eServiceApp::unpause
<  5740.949> PlayerBackend::gotMessage - tUnpause
<  5740.950> PlayerBackend::recvResume - status = 1
<  5740.954> eServiceApp::isCurrentlySeekable
<  5740.955> resolved to PLAY
<  5740.955> eServiceApp::unpause
<  5740.956> PlayerBackend::gotMessage - tUnpause
<  5740.956> PlayerBackend::recvResume - status = 1
<  5740.959> eServiceApp::isCurrentlySeekable
<  5740.961> eServiceApp::isCurrentlySeekable
<  5740.962> resolved to PLAY
<  5740.963> eServiceApp::unpause
<  5740.963> PlayerBackend::gotMessage - tUnpause
<  5740.964> PlayerBackend::recvResume - status = 1
<  5740.967> new service started! trying to download cuts!
<  5740.968> download failed, no cuesheet interface
<  5740.969> RemovePopup, id = ZapError
<  5740.973> PlayerBackend::gotMessage - videoFramerateChanged
<  5740.973> eServiceApp::gotExtPlayerMessage - videoFramerateChanged
<  5740.973> PlayerBackend::gotMessage - videoSizeChanged
<  5740.973> eServiceApp::gotExtPlayerMessage - videoSizeChanged
<  5741.001> [DVBCAHandler] no more services
<  5741.969> eServiceApp::signalEventUpdatedInfo
<  5741.973> eServiceApp::getNumberOfTracks
<  5741.975> PlayerBackend::gotMessage - tAudioList
<  5741.976> WaitThread - waiting for 500ms
<  5741.976> WaitThread - in time

log from exteplayer3 commandline:

root@vuduo:~# exteplayer3 "http://live.stream.vrt.be/vrt_stubru_live/_definst_/s
mil:vrt_stubru_live.smil/chunklist_w2044769100_b1296000.m3u8"
{"EPLAYER3_EXTENDED":{"version":28}}
file: [http://live.stream.vrt.be/vrt_stubru_live/_definst_/smil:vrt_stubru_live.smil/chunklist_w2044769100_b1296000.m3u8]
{"PLAYBACK_OPEN":{"OutputName":"Output", "file":"http://live.stream.vrt.be/vrt_stubru_live/_definst_/smil:vrt_stubru_live.smil/chunklist_w2044769100_b1296000.m3u8", "sts":0}}
{"OUTPUT_OPEN":{"sts":0}}
{"PLAYBACK_PLAY":{"sts":0}}
{"v_c":{"id":1,"e":"V_MPEG4/ISO/AVC","n":"und","w":640,"h":360,"f":25000,"p":-1}}
{"a_l": [{"id":2,"e":"A_AAC","n":"und"}]}
{"a_c":{"id":2,"e":"A_AAC","n":"und"}}
{"s_l": []}
{"s_c":{"id":-1,"e":"","n":""}}

2) http://devimages.app.../bipbopall.m3u8

problem: no audio/no video

 

log from ENIGMA_DEBUG_LVL=4 enigma2:

<  5878.182> [eDVBServicePlay] timeshift
<  5878.184> playing 4097:0:1:0:0:0:0:0:0:0:http%3a//devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8:Apple HLS Test
<  5878.185> [eDVBCAService] free slot 0 demux 0 for service 1:0:19:5221:C99:3:EB0000:0:0:0:
<  5878.186> [eDVBCAService] free service 1:0:19:5221:C99:3:EB0000:0:0:0:
<  5878.252> [eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff
<  5878.252> [eDVBPCR0] DEMUX_STOP ok
<  5878.253> [eDVBPCR0] destroy
<  5878.254> [eDVBVideo0] DEMUX_STOP  ok
<  5878.266> [eDVBVideo0] VIDEO_STOP ok
<  5878.269> [eDVBVideo0] destroy
<  5878.270> [eDVBAudio0] AUDIO_STOP ok
<  5878.274> [eDVBAudio0] DEMUX_STOP ok
<  5878.275> [eDVBAudio0] AUDIO_CONTINUE ok
<  5878.282> [eDVBAudio0] destroy
<  5878.282> [eDVBText0] DEMUX_STOP ok
TuxTxt stopped service 23
<  5878.288> [eDVBText0] destroy
cleaning up
TuxTxt cache cleared
<  5878.297> [eDVBResourceManager] start release channel timer
<  5878.298> eServiceApp
<  5878.298> PlayerApp
<  5878.298> BasePlayer
<  5878.298> ExtEplayer3
<  5878.299> PlayerBackend
<  5878.299> eServiceApp::setTarget 0
[getVariantsFromMasterUrl] - Request:
GET /iphone/samples/bipbop/bipbopall.m3u8 HTTP/1.1
Host: devimages.apple.com
User-Agent: Enigma2 HbbTV/1.1.1 (+PVR+RTSP+DL;OpenPLi;;;)
Accept: */*
Connection: close


[getVariantsFromMasterUrl] Response[0](size=15): HTTP/1.1 200 OK
[getVariantsFromMasterUrl] Response[1](size=14): Server: Apache
[getVariantsFromMasterUrl] Response[2](size=51): ETag: "44f07dfa5af5d23a5b2b7566cdde9a44:1239907290"
[getVariantsFromMasterUrl] Response[3](size=44): Last-Modified: Thu, 16 Apr 2009 18:41:30 GMT
[getVariantsFromMasterUrl] Response[4](size=20): Accept-Ranges: bytes
[getVariantsFromMasterUrl] Response[5](size=19): Content-Length: 292
[getVariantsFromMasterUrl] Response[6](size=29): Content-Type: audio/x-mpegurl
[getVariantsFromMasterUrl] Response[7](size=35): Date: Sat, 08 Oct 2016 10:04:29 GMT
[getVariantsFromMasterUrl] Response[8](size=17): Connection: close
[getVariantsFromMasterUrl] Response[9](size=0): 
[getVariantsFromMasterUrl] - content part started
[getVariantsFromMasterUrl] Response[10](size=7): #EXTM3U
[getVariantsFromMasterUrl] Response[11](size=48): #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000
[getVariantsFromMasterUrl] Response[12](size=21): gear1/prog_index.m3u8
[getVariantsFromMasterUrl] - continue parsing m3u8 stream info
[getVariantsFromMasterUrl] Response[13](size=48): #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=311111
[getVariantsFromMasterUrl] Response[14](size=21): gear2/prog_index.m3u8
[getVariantsFromMasterUrl] - continue parsing m3u8 stream info
[getVariantsFromMasterUrl] Response[15](size=48): #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=484444
[getVariantsFromMasterUrl] Response[16](size=21): gear3/prog_index.m3u8
[getVariantsFromMasterUrl] - continue parsing m3u8 stream info
[getVariantsFromMasterUrl] Response[17](size=48): #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=737777
[getVariantsFromMasterUrl] Response[18](size=21): gear4/prog_index.m3u8
[getVariantsFromMasterUrl] - continue parsing m3u8 stream info
[getVariantsFromMasterUrl] - end of read, Content-Length reached
<  5878.763> eServiceApp::fillSubservices - found 4 subservices
<  5878.764> eServiceApp::start - subservice(737777b/s) selected according to connection speed (1410064408)
<  5878.764> PlayerBackend::gotMessage - tStart
<  5878.765> PlayerApp::processStart: exteplayer3 "http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8"
<  5878.874> ExtEPlayer3::handleJsonOutput - unhandled key "EPLAYER3_EXTENDED"
<  5880.187> [DVBCAHandler] no more services
<  5880.399> ExtEPlayer3::handleJsonOutput - unhandled key "PLAYBACK_OPEN"
<  5880.467> ExtEPlayer3::handleJsonOutput - unhandled key "OUTPUT_OPEN"
<  5880.513> PlayerBackend::recvStart - status = 0
<  5880.513> PlayerBackend::recvVideoTrackCurrent - status = 0
<  5880.513> PlayerBackend::gotMessage - start
<  5880.513> eServiceApp::gotExtPlayerMessage - start
<  5880.521> PlayerBackend::recvAudioTrackCurrent - status = 0
<  5880.523> PlayerBackend::recvSubtitleTrackCurrent - status = 0
<  5880.518> eServiceApp::getNumberOfSubservices - 4
<  5880.602> eServiceApp::getNumberOfSubservices - 4
<  5880.731> eServiceApp::isCurrentlySeekable
<  5880.733> eServiceApp::isCurrentlySeekable
<  5880.734> eServiceApp::isCurrentlySeekable
<  5880.735> resolved to PLAY
<  5880.736> eServiceApp::unpause
<  5880.736> PlayerBackend::gotMessage - tUnpause
<  5880.737> PlayerBackend::recvResume - status = 1
<  5880.741> eServiceApp::isCurrentlySeekable
<  5880.742> resolved to PLAY
<  5880.743> eServiceApp::unpause
<  5880.743> PlayerBackend::gotMessage - tUnpause
<  5880.744> PlayerBackend::recvResume - status = 1
<  5880.747> eServiceApp::isCurrentlySeekable
<  5880.748> eServiceApp::isCurrentlySeekable
<  5880.749> resolved to PLAY
<  5880.750> eServiceApp::unpause
<  5880.750> PlayerBackend::gotMessage - tUnpause
<  5880.750> PlayerBackend::recvResume - status = 1
<  5880.754> new service started! trying to download cuts!
<  5880.755> download failed, no cuesheet interface
<  5880.757> RemovePopup, id = ZapError
<  5880.760> PlayerBackend::gotMessage - videoFramerateChanged
<  5880.760> eServiceApp::gotExtPlayerMessage - videoFramerateChanged
<  5880.761> PlayerBackend::gotMessage - videoSizeChanged
<  5880.761> eServiceApp::gotExtPlayerMessage - videoSizeChanged
<  5881.298> [eDVBResourceManager] release cached channel (timer timeout)
<  5881.298> [eDVBLocalTimerHandler] remove channel 0x11b0e00
<  5881.298> [eEPGCache] remove channel 0x11b0e00
<  5881.299> [eDVBResourceManager] stop release channel timer
<  5881.757> eServiceApp::signalEventUpdatedInfo
<  5881.759> eServiceApp::getNumberOfTracks
<  5881.760> PlayerBackend::gotMessage - tAudioList
<  5881.760> WaitThread - waiting for 500ms
<  5881.760> WaitThread - in time

<  5881.763> eServiceApp::getTrackInfo = 0
<  5881.787> WaitThread - waiting for 500ms
<  5881.787> PlayerBackend::gotMessage - tSubtitleList
<  5881.787> WaitThread - in time

<  5881.789> eServiceApp::getSubtitleList - found 0 of embedded tracks
<  5881.789> eServiceApp::getCachedSubtitle - no subtitles available
<  5884.321> [eDVBFrontend] close frontend 0

log from exteplayer3 commandline:

root@vuduo:~# exteplayer3 "http://devimages.apple.com/iphone/samples/bipbop/bipb
opall.m3u8"
{"EPLAYER3_EXTENDED":{"version":28}}
file: [http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8]
{"PLAYBACK_OPEN":{"OutputName":"Output", "file":"http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8", "sts":0}}
{"OUTPUT_OPEN":{"sts":0}}
{"PLAYBACK_PLAY":{"sts":0}}
{"v_c":{"id":1,"e":"V_MPEG4/ISO/AVC","n":"und","w":192,"h":144,"f":90000000,"p":-1}}
{"a_l": [{"id":0,"e":"A_AAC","n":"und"}, {"id":1,"e":"A_AAC","n":"und"}, {"id":2,"e":"A_AAC","n":"und"}, {"id":3,"e":"A_AAC","n":"und"}]}
{"a_c":{"id":0,"e":"A_AAC","n":"und"}}
{"s_l": []}
{"s_c":{"id":-1,"e":"","n":""}}

3) http://www.quirksmod..._buck_bunny.mp4

problem: perfect audio and video but stops after a while

 

log from ENIGMA_DEBUG_LVL=4 enigma2:

<  6038.092> [eDVBServicePlay] timeshift
<  6038.094> playing 4097:0:1:0:0:0:0:0:0:0:http%3a//www.quirksmode.org/html5/videos/big_buck_bunny.mp4:big_buck_bunny.mp4
<  6038.095> [eDVBCAService] free slot 0 demux 0 for service 1:0:19:5221:C99:3:EB0000:0:0:0:
<  6038.096> [eDVBCAService] free service 1:0:19:5221:C99:3:EB0000:0:0:0:
<  6038.160> [eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff
<  6038.160> [eDVBPCR0] DEMUX_STOP ok
<  6038.161> [eDVBPCR0] destroy
<  6038.161> [eDVBVideo0] DEMUX_STOP  ok
<  6038.174> [eDVBVideo0] VIDEO_STOP ok
<  6038.177> [eDVBVideo0] destroy
<  6038.177> [eDVBAudio0] AUDIO_STOP ok
<  6038.182> [eDVBAudio0] DEMUX_STOP ok
<  6038.182> [eDVBAudio0] AUDIO_CONTINUE ok
<  6038.189> [eDVBAudio0] destroy
<  6038.189> [eDVBText0] DEMUX_STOP ok
TuxTxt stopped service 23
<  6038.195> [eDVBText0] destroy
cleaning up
TuxTxt cache cleared
<  6038.204> [eDVBResourceManager] start release channel timer
<  6038.205> eServiceApp
<  6038.205> PlayerApp
<  6038.205> BasePlayer
<  6038.205> ExtEplayer3
<  6038.206> PlayerBackend
<  6038.206> eServiceApp::setTarget 0
<  6038.206> eServiceApp::fillSubservices - failed to retrieve subservices, not supported url
<  6038.207> PlayerBackend::gotMessage - tStart
<  6038.207> PlayerApp::processStart: exteplayer3 "http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4"
<  6038.317> ExtEPlayer3::handleJsonOutput - unhandled key "EPLAYER3_EXTENDED"
<  6038.631> ExtEPlayer3::handleJsonOutput - unhandled key "PLAYBACK_OPEN"
<  6038.698> ExtEPlayer3::handleJsonOutput - unhandled key "OUTPUT_OPEN"
<  6038.745> PlayerBackend::recvStart - status = 0
<  6038.746> PlayerBackend::recvVideoTrackCurrent - status = 0
<  6038.746> PlayerBackend::gotMessage - start
<  6038.746> eServiceApp::gotExtPlayerMessage - start
<  6038.751> eServiceApp::getNumberOfSubservices - 0
<  6038.760> PlayerBackend::recvAudioTrackCurrent - status = 0
<  6038.763> PlayerBackend::recvSubtitleTrackCurrent - status = 0
<  6038.808> eServiceApp::getNumberOfSubservices - 0
<  6038.844> PlayerBackend::recvVideoTrackCurrent - status = 0
<  6038.962> eServiceApp::isCurrentlySeekable
<  6038.963> eServiceApp::isCurrentlySeekable
<  6038.965> eServiceApp::isCurrentlySeekable
<  6038.966> resolved to PLAY
<  6038.967> eServiceApp::unpause
<  6038.967> PlayerBackend::gotMessage - tUnpause
<  6038.968> PlayerBackend::recvResume - status = 1
<  6038.974> eServiceApp::isCurrentlySeekable
<  6038.976> resolved to PLAY
<  6038.976> eServiceApp::unpause
<  6038.977> PlayerBackend::gotMessage - tUnpause
<  6038.977> PlayerBackend::recvResume - status = 1
<  6038.981> eServiceApp::isCurrentlySeekable
<  6038.983> eServiceApp::isCurrentlySeekable
<  6038.985> resolved to PLAY
<  6038.985> eServiceApp::unpause
<  6038.986> PlayerBackend::gotMessage - tUnpause
<  6038.987> PlayerBackend::recvResume - status = 1
<  6038.991> new service started! trying to download cuts!
<  6038.992> download failed, no cuesheet interface
<  6038.994> RemovePopup, id = ZapError
<  6038.997> PlayerBackend::gotMessage - videoFramerateChanged
<  6038.998> eServiceApp::gotExtPlayerMessage - videoFramerateChanged
<  6038.998> PlayerBackend::gotMessage - videoSizeChanged
<  6038.999> eServiceApp::gotExtPlayerMessage - videoSizeChanged
<  6039.029> PlayerBackend::gotMessage - videoProgressiveChanged
<  6039.029> eServiceApp::gotExtPlayerMessage - videoProgressiveChanged
<  6039.995> eServiceApp::signalEventUpdatedInfo
<  6039.997> eServiceApp::getNumberOfTracks
<  6039.998> WaitThread - waiting for 500ms
<  6039.998> PlayerBackend::gotMessage - tAudioList
<  6039.998> WaitThread - in time

<  6040.001> eServiceApp::getTrackInfo = 0
<  6040.033> PlayerBackend::gotMessage - tSubtitleList
<  6040.033> WaitThread - waiting for 500ms
<  6040.038> WaitThread - in time

<  6040.040> eServiceApp::getSubtitleList - found 0 of embedded tracks
<  6040.040> eServiceApp::getCachedSubtitle - no subtitles available
<  6040.096> [DVBCAHandler] no more services
<  6041.204> [eDVBResourceManager] release cached channel (timer timeout)
<  6041.204> [eDVBLocalTimerHandler] remove channel 0x11bcc00
<  6041.205> [eEPGCache] remove channel 0x11bcc00
<  6041.205> [eDVBResourceManager] stop release channel timer
<  6044.215> [eDVBFrontend] close frontend 0

log from exteplayer3 commandline:

root@vuduo:~# exteplayer3 "http://www.quirksmode.org/html5/videos/big_buck_bunny
.mp4"
{"EPLAYER3_EXTENDED":{"version":28}}
file: [http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4]
13 90 
AAC_HEADER -> ff f1 5c 80 00 1f fc 
{"PLAYBACK_OPEN":{"OutputName":"Output", "file":"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4", "sts":0}}
{"OUTPUT_OPEN":{"sts":0}}
{"PLAYBACK_PLAY":{"sts":0}}
{"v_c":{"id":2,"e":"V_MPEG4/ISO/AVC","n":"und","w":640,"h":360,"f":24000,"p":-1}}
13 90 
AAC_HEADER -> ff f1 5c 80 00 1f fc 
{"a_l": [{"id":1,"e":"A_AAC","n":"eng"}]}
{"a_c":{"id":1,"e":"A_AAC","n":"eng"}}
13 90 
AAC_HEADER -> ff f1 5c 80 00 1f fc 
{"s_l": []}
{"s_c":{"id":-1,"e":"","n":""}}
{"log":"Frame read error: 'End of file'"}

Can someone look at these logs and give me a hint of what could be the cause of these problems?



Re: serviceapp - gstplayer and exteplayer3 #291 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 8 October 2016 - 21:00

@mx3L

 

Here is working patch for ffmpeg 3.0 to have both implementation RTMP protocol:

echo "HLS FIX"
sed -i '/for (i = 0; i < s->nb_streams; i++) {/c\for (i = 0; i < s->nb_streams && s->streams[i]->id < c->n_playlists; i++) {' $FFMPEG_PATH/libavformat/hls.c
 
echo "librtmp implementation of RTMP protocol should not disable native one"
sed -i '/!librtmp_protocol/d' $FFMPEG_PATH/configure
 
echo "change native to ffrtmp to be able to select beetween native and librtmp at runtime"
sed -i '/RTMP_PROTOCOL(rtmp)/c\RTMP_PROTOCOL(ffrtmp)' $FFMPEG_PATH/libavformat/rtmpproto.c
sed -i '/RTMP_PROTOCOL(rtmpe)/c\RTMP_PROTOCOL(ffrtmpe)' $FFMPEG_PATH/libavformat/rtmpproto.c
sed -i '/RTMP_PROTOCOL(rtmps)/c\RTMP_PROTOCOL(ffrtmps)' $FFMPEG_PATH/libavformat/rtmpproto.c
sed -i '/RTMP_PROTOCOL(rtmpt)/c\RTMP_PROTOCOL(ffrtmpt)' $FFMPEG_PATH/libavformat/rtmpproto.c
sed -i '/RTMP_PROTOCOL(rtmpte)/c\RTMP_PROTOCOL(ffrtmpte)' $FFMPEG_PATH/libavformat/rtmpproto.c
sed -i '/RTMP_PROTOCOL(rtmpts)/c\RTMP_PROTOCOL(ffrtmpts)' $FFMPEG_PATH/libavformat/rtmpproto.c
 
sed -i '/REGISTER_PROTOCOL(RTMP,/c\REGISTER_PROTOCOL(FFRTMP,             ffrtmp);' $FFMPEG_PATH/libavformat/allformats.c
sed -i '/REGISTER_PROTOCOL(RTMPE,/c\REGISTER_PROTOCOL(FFRTMPE,            ffrtmpe);' $FFMPEG_PATH/libavformat/allformats.c
sed -i '/REGISTER_PROTOCOL(RTMPS,/c\REGISTER_PROTOCOL(FFRTMPS,            ffrtmps);' $FFMPEG_PATH/libavformat/allformats.c
sed -i '/REGISTER_PROTOCOL(RTMPT,/c\REGISTER_PROTOCOL(FFRTMPT,            ffrtmpt);' $FFMPEG_PATH/libavformat/allformats.c
sed -i '/REGISTER_PROTOCOL(RTMPTE,/c\REGISTER_PROTOCOL(FFRTMPTE,           ffrtmpte);' $FFMPEG_PATH/libavformat/allformats.c
sed -i '/REGISTER_PROTOCOL(RTMPTS,/c\REGISTER_PROTOCOL(FFRTMPTS,           ffrtmpts);' $FFMPEG_PATH/libavformat/allformats.c
 
sed -i 's/CONFIG_RTMP_PROTOCOL/CONFIG_FFRTMP_PROTOCOL/g' $FFMPEG_PATH/libavformat/Makefile
sed -i 's/CONFIG_RTMPE_PROTOCOL/CONFIG_RTMPE_PROTOCOL/g' $FFMPEG_PATH/libavformat/Makefile
sed -i 's/CONFIG_RTMPS_PROTOCOL/CONFIG_RTMPS_PROTOCOL/g' $FFMPEG_PATH/libavformat/Makefile
sed -i 's/CONFIG_RTMPT_PROTOCOL/CONFIG_RTMPT_PROTOCOL/g' $FFMPEG_PATH/libavformat/Makefile
sed -i 's/CONFIG_RTMPTE_PROTOCOL/CONFIG_RTMPTE_PROTOCOL/g' $FFMPEG_PATH/libavformat/Makefile
sed -i 's/CONFIG_RTMPTS_PROTOCOL/CONFIG_RTMPTS_PROTOCOL/g' $FFMPEG_PATH/libavformat/Makefile
 
sed -i 's/rtmp_protocol_select/ffrtmp_protocol_select/g' $FFMPEG_PATH/configure
sed -i 's/rtmpe_protocol_select/ffrtmpe_protocol_select/g' $FFMPEG_PATH/configure
sed -i 's/rtmps_protocol_select/ffrtmps_protocol_select/g' $FFMPEG_PATH/configure
sed -i 's/rtmpt_protocol_select/ffrtmpt_protocol_select/g' $FFMPEG_PATH/configure
sed -i 's/rtmpte_protocol_select/ffrtmpte_protocol_select/g' $FFMPEG_PATH/configure
sed -i 's/rtmpts_protocol_select/ffrtmpts_protocol_select/g' $FFMPEG_PATH/configure
 
sed -i '/char proto/c\char *proto, tmpProto[10], hostname[256], path[1024], auth[100], *fname;' $FFMPEG_PATH/libavformat/rtmpproto.c
sed -i '/av_url_split(proto, sizeof(proto), auth, sizeof(auth),/c\memset(tmpProto, 0, sizeof(tmpProto)); proto = &tmpProto[2]; av_url_split(tmpProto, sizeof(tmpProto), auth, sizeof(auth),' $FFMPEG_PATH/libavformat/rtmpproto.c

Edited by samsamsam, 8 October 2016 - 21:01.


Re: serviceapp - gstplayer and exteplayer3 #292 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 9 October 2016 - 16:31

@ian1095

Is the url still valid? I have a problem to play it with livestreamer.



Re: serviceapp - gstplayer and exteplayer3 #293 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 9 October 2016 - 16:50

Still valid mx3L

 

Here's my Livestreamer log with it playing from Enigma2. Yesterdays cookie still active too.

vusolo2 login: root
root@vusolo2:~# livestreamersrv stop
root@vusolo2:~# livestreamersrv manualstart
Sun Oct  9 16:47:58 2016 Server Starts - :88
localhost.localdomain - - [09/Oct/2016 16:48:02] "GET /hls://http://hlslinear-l3
c.med1.foxsportsgo.com/ls02/foxsports/FOX_SPORTS_1/live/2016/10/07/12574838/5000
K/5000_slide_ads.m3u8%20headers={'User-Agent'%20:%20'Mozilla/5.0%20(Macintosh;%2
0Intel%20Mac%20OS%20X%2010_9_5)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%2
0Chrome/41.0.2272.104%20Safari/537.36',%20'Cookie'%20:%20'Authorization%3DeyJhbG
ciOiJIUzI1NiJ9.eyJpcGlkIjoiaWFwUmVjZWlw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wZjkyYmJjIiwibmFtZSI6IkNoY
XJsb3R0ZSBIb3JuZXRzIiwic3BvcnQiOiJOQkEifSx7ImlkIjoiNWNkZmQzNTgtY2EwYi00N2YzLWEzM
GYtMTU1MmRkNWZjNTg3IiwibmFtZSI6IkNpbmNpbm5hdGkgUmVkcyIsInNwb3J0IjoiTUxCIn1dfX19L
CJpcEFkZHJlc3MiOiIxMDQuMTQ1LjIyNi4yMiIsImV4cCI6MTQ3NTkyMjk4OSwidHlwZSI6IlVzZXIiL
CJ1c2VyaWQiOiIzNjc0NTA3Ny0zMzYyLTQ0MWQtYTQ4OS02NzI2YjllM2Y1ZTEtMTkwNTYxLTRjODAwM
jBjNDllMmIxNzUwNjJhNzM0YzU0MThlM2Y3MDQ1MDFlOGIiLCJpYXQiOjE0NzU5MDg1ODksInZlcnNpb
24iOiJ2MS4wIn0.p1TrIEmb4yukXPkZrgQmMITy1PxbYdGfSb5vknupha0'} HTTP/1.1" 200 -
localhost.localdomain - - [09/Oct/2016 16:48:02] URL: hls://http://hlslinear-l3c
.med1.foxsportsgo.com/ls02/foxsports/FOX_SPORTS_1/live/2016/10/07/12574838/5000K
/5000_slide_ads.m3u8 headers={'User-Agent' : 'Mozilla/5.0 (Macintosh; Intel Mac
OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/
537.36', 'Cookie' : 'Authorization=eyJhbGciOiJIUzI1NiJ9.eyJpcGlkIjoiaWFwUmVjZWlw
dERldmljZTpEZXZpY2U6MzA1MDQ2ZGItODU3Ni00YmVhLTk2YmUtN2ZmZWUyZGYyNjYyOmMzMDI3NGM3
LWExNmItNDA1NC04NmM4LWU0OWE0NDk4NDkzYyIsImNsaWVudElkIjoic2Vzc2lvbi1zZXJ2aWNlLXYx
LjAiLCJjb250ZXh0Ijp7ImlkIjoiOGI5ZTE4OTAtOGQyMS0xMWU2LTgyOWItMGUwZTUyNWNhMWIxIiwi
dHlwZSI6IlJFR0lTVEVSRUQiLC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ZXIiLCJ1c2VyaWQiOiIzNjc0NTA3Ny0zMzYyLTQ0MWQt
YTQ4OS02NzI2YjllM2Y1ZTEtMTkwNTYxLTRjODAwMjBjNDllMmIxNzUwNjJhNzM0YzU0MThlM2Y3MDQ1
MDFlOGIiLCJpYXQiOjE0NzU5MDg1ODksInZlcnNpb24iOiJ2MS4wIn0.p1TrIEmb4yukXPkZrgQmMITy
1PxbYdGfSb5vknupha0'} Quality: best
Streams: ['live', 'worst', 'best']
<HLSStream('http://hlslinear-l3c.med1.foxsportsgo.com/ls02/foxsports/FOX_SPORTS_
1/live/2016/10/07/12574838/5000K/5000_slide_ads.m3u8')>

Ian.

 


Edited by ian1095, 9 October 2016 - 16:53.


Re: serviceapp - gstplayer and exteplayer3 #294 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 9 October 2016 - 17:06

Alright I got it working, livestreamer didn't like that I passed Cookie header in url-encoded format. After unqouting it, it works.



Re: serviceapp - gstplayer and exteplayer3 #295 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 9 October 2016 - 17:10

Yes Livestreamer is very picky.

 

The format has to be exactly how it likes it,deviate even slightly and it just throws a wobbly and gives errors. But once you get it right its an excellent medium for streaming things that Gstreamer simply cannot and never has been able to play.

 

Ian.



Re: serviceapp - gstplayer and exteplayer3 #296 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 9 October 2016 - 17:22

It now works also with exteplayer3, with gstplayer I have still problem probably some mistake in header passing routine.. So unquoting of cookie http header was a key.



Re: serviceapp - gstplayer and exteplayer3 #297 jserv

  • Senior Member
  • 30 posts

0
Neutral

Posted 9 October 2016 - 17:36

hello there.are you going to release service app plugin for openpli?openatv release a service app plugin version 0.5 allready (see attach file).

Attached Files


Edited by jserv, 9 October 2016 - 17:36.


Re: serviceapp - gstplayer and exteplayer3 #298 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 9 October 2016 - 17:39

Thats Great news mx3L

 

Because its with Exteplayer3 that it fails here,but its fine with GSTPlayer and Mediaplayer.

 

So it can now play using all players in Serviceapp and getting it to play using Exteplayer3 was always the real goal.

 

As your fully aware Python is much more process hungry than using Gstreamer libs so using Livestreamer to stream anything 720p and above does use alot more CPU and only 2nd generation boxes can cope when using both Livestreamer and GSTPlayer or Mediaplayer,but when Exteplayer3 is used together with Livestreamer,because of the extremely low CPU usage of ffmpeg, then even 1st generation boxes are ok too.

 

Ian.


Edited by ian1095, 9 October 2016 - 17:41.


Re: serviceapp - gstplayer and exteplayer3 #299 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 October 2016 - 19:08

I am build pli5 solo2 and insert serviceapp in my build-works is fine.



Re: serviceapp - gstplayer and exteplayer3 #300 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 9 October 2016 - 21:22

@jserv

It's not up to me, OpenPLI has to decide if they want to include it in feed or not, I would be glad if they do it. But still I should make some cleanups, at least debug output is quite noisy and use printfs instead of eDebug.

hopefully openatv uses very latest version, since there were many fixes from 0.5 recipe which I added on this forum.

 

@ian1095

fix added


Edited by mx3L, 9 October 2016 - 21:22.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users