Jump to content


Photo

HTTP remote media file (video) playtime and progress indication


  • Please log in to reply
9 replies to this topic

#1 Pr2

  • PLi® Contributor
  • 6,047 posts

+256
Excellent

Posted 28 July 2017 - 17:03

Hi,

 

I am integrating some movies URL into my favorite/userbouquet list:

 

Exemple this public movie:

http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4

Into:

#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4
#DESCRIPTION Big Bunny
 
This is working fine but when playing back, we have no indication of the total playtime of the media file and no indication where we are in the playback of the movie (elapsed time and/or remaining time).
 
Is it possible to have such information available as a first step (total playtime and elapsed play time indication) for .mkv, .avi, .mp4,...?
 
As a second step: do you think possible to be able to jump (or fast forward) in the file? Because we cannot stop and resume playback and we have no way to quickly jump in the movie playback when it is integrated in the userbouquet files. So when starting a movie we need to play it back until the end.
 
Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: HTTP remote media file (video) playtime and progress indication #2 WanWizard

  • PLi® Core member
  • 68,312 posts

+1,719
Excellent

Posted 28 July 2017 - 20:07

Afaik not, it's processed as a stream, there is no meta data available for streams, so there is no way.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: HTTP remote media file (video) playtime and progress indication #3 Pr2

  • PLi® Contributor
  • 6,047 posts

+256
Excellent

Posted 29 July 2017 - 09:58

Hi,

 

How VLC can display the right movie length with the same URL then?

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: HTTP remote media file (video) playtime and progress indication #4 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 29 July 2017 - 10:51

Enigma2 is not based on VLC ;)
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: HTTP remote media file (video) playtime and progress indication #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 29 July 2017 - 10:54

It's not a live stream. It's an mp4 which is streamed. I guess mp4 includes meta data with movie length.

 

Regarding seeking/skipping in the file it is a problem as the normal keys 1,3,4,6,7,9 are not available as you need them for zapping. Maybe << >> keys would be possible, but this is also not nice as you then need different keys for seeking if you watch different channels. How should the user know which key he should press?

 

Afaik there are plugins to add seeking/skipping for streams.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HTTP remote media file (video) playtime and progress indication #6 WanWizard

  • PLi® Core member
  • 68,312 posts

+1,719
Excellent

Posted 29 July 2017 - 11:47

possibly, the question is if Enigma knows that. And my guess is not, as the HTTP request is processed by gstreamer, outside Enigma.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: HTTP remote media file (video) playtime and progress indication #7 Pr2

  • PLi® Contributor
  • 6,047 posts

+256
Excellent

Posted 29 July 2017 - 16:34

@athoik,

 

I know that E2 is not VLC based but I think that the information can also be retrieve in E2 since VLC can get it.

 

@betacentauri,

 

Indeed this is not real streaming it is just a way to access a file other than on file system.

 

About the key indeed using numerical key or even the < > closed to the 0 key is not an option.

But while watching TV the fast forward and fast backward keys are not used, so we use then to skip into the playback file.

 

Or (I really don't know if this is possible and a valid alternative):

Launch the media player with the link instead of playing back the file in the TV channel context? (for exemple keep .ts in the TV channel context and any other extension are played with mediaplayer).

So we will have the media player behavior when playing back the http referred file and we will avoid every key conflicts?

 

@WanWizard,

 

My idea was the following, since it is a http request that point to a file, cannot we image to perform a pre-processing of file to retrieve mediainfo before launching gstreamer to play it back?

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: HTTP remote media file (video) playtime and progress indication #8 WanWizard

  • PLi® Core member
  • 68,312 posts

+1,719
Excellent

Posted 29 July 2017 - 16:42

That would probably mean modifying some media sink, and that is way above my pay grade. ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: HTTP remote media file (video) playtime and progress indication #9 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 29 July 2017 - 17:43

As I heard does black hole start the Mediaplayer. So yes, it could be possible. But for me it's still not user friendly. A user will zap from channel to channel. If he opens such a channel Mediaplayer opens (not immediately visible for him) and whole the user interface works differently. Eg he cannot use 1,3,... for zapping anymore. He needs to press exit to leave that "channel"... Most users won't understand that.
Besides using << >> , maybe setting a flag in the bouquet that the whole bouquet is a special one and only contains such streaming channels would be an option. Then it is possible to show special icon or something like that to "warn" the user that it works special.

Don't know what the other devs think about this.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HTTP remote media file (video) playtime and progress indication #10 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 17 August 2017 - 18:45

That is indeed an interesting consideration. But I'd prefer to have skipping to easy zapping.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users