Jump to content


Photo

MoviePlayer Play Stop Problem


  • Please log in to reply
12 replies to this topic

#1 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 14 May 2016 - 15:06

Sorry if this issue has been discussed before.

 

Occasionally with some urls - I get only black screen - no playback. The problem is - when trying to exit - enigma freezes and the only way out is to reboot the box.

 

For example :-

 

rtmp://stream.smcloud.net/live2/vox/vox_720p - problem
rtmp://stream.smcloud.net/live/vox2/stream1 - ok

 

Movieplayer is started as usual with :-

 

sref = eServiceReference(4097,0,url)
sref.setName(name)
self.session.open(MoviePlayer, sref)

and closed with :-

self.session.nav.stopService()
self.session.nav.playService(self.srefOld)

Is there a solution to this problem ?

Regards, pcd.


Edited by pcd, 14 May 2016 - 15:07.


Re: MoviePlayer Play Stop Problem #2 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 14 May 2016 - 16:40

Hello, try to use timeout option of librtmp - https://rtmpdump.mpl.../librtmp.3.html

 

timeout=num Timeout the session after num seconds without receiving any data from the server. The default is 120.

 

So url should be something like this for 10 seconds timeout:

rtmp://stream.smcloud.net/live2/vox/vox_720p timeout=10


Re: MoviePlayer Play Stop Problem #3 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 14 May 2016 - 17:43

But even with this option user will must wait 10s.

This is also not good solution because some streams take more time to connect.

 

The real solution is external movie player which and be closed without problem when such situation occurs :)


Edited by samsamsam, 14 May 2016 - 17:44.


Re: MoviePlayer Play Stop Problem #4 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 14 May 2016 - 20:39

@mx3L

 

Thanks, I will try that.

 

@samsamsam

 

I use an external player. On exit it freezes here :-

 

self.session.nav.stopService()
self.session.nav.playService(self.srefOld)

 

Regards.


Edited by pcd, 14 May 2016 - 20:39.


Re: MoviePlayer Play Stop Problem #5 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 14 May 2016 - 20:43

You not use external player in the IPTVPlayer.

Please try the same url in the IPTVPlayer and you will see that you can normally exit without any problem.


Edited by samsamsam, 14 May 2016 - 20:44.


Re: MoviePlayer Play Stop Problem #6 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 14 May 2016 - 23:28

Thanks. I will try the IPTVplayer player.



Re: MoviePlayer Play Stop Problem #7 ozzsurf

  • Senior Member
  • 131 posts

+3
Neutral

Posted 17 May 2016 - 17:54

both work for me play and record instantly no waiting

openpli 4

 

 

solution is to use the matching rtmpdump and librtmp.so.1


Edited by ozzsurf, 17 May 2016 - 17:55.


Re: MoviePlayer Play Stop Problem #8 ozzsurf

  • Senior Member
  • 131 posts

+3
Neutral

Posted 17 May 2016 - 18:12

these play any rtmp stream

Attached Files



Re: MoviePlayer Play Stop Problem #9 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 19 May 2016 - 15:20

these play any rtmp stream

Thank you very much for yout files. All ok now. :)



Re: MoviePlayer Play Stop Problem #10 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 21 May 2016 - 16:07

Does not work any more . :(



Re: MoviePlayer Play Stop Problem #11 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 21 May 2016 - 17:08

Did you check in IPTVPlayer? I am sure you will have not problem to exit from such streams.



Re: MoviePlayer Play Stop Problem #12 ozzsurf

  • Senior Member
  • 131 posts

+3
Neutral

Posted 21 May 2016 - 17:50

Does not work any more . :(

 

if your talking about this stream

 

rtmp://stream.smcloud.net/live2/vox/vox_720p

 

the stream is not active at the moment


Edited by ozzsurf, 21 May 2016 - 17:51.


Re: MoviePlayer Play Stop Problem #13 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 21 May 2016 - 21:06

The problem is not active or inctive stream. The main problem is when STB freez on inactive streams.

 

This is not problem in case of IPTV Player with external movie player.
Due to such problem external movie players were started to be developed.
 
You can check how stabe is IPTVPlayer with external movie player. 
I can work for many days without need to restart STB. 
Even if you play bad, inactive streams.

Edited by samsamsam, 21 May 2016 - 21:07.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users