Page 1 of 1

Media player in Webinterface

Posted: Wed Apr 21, 2021 7:32 am
by ArsenioV
deleted

Re: Media player in Webinterface

Posted: Wed Apr 21, 2021 9:22 am
by emcodem
Hey Giacomo :)
well, what can i say, a few weeks ago i asked @momocampo what feature he wants to have next in the webui,
1) a player
2) farm controlling

He decided for farm controlling :ugeek: (just kidding Benjamin, you know) ;-)

OK, so a player on the webui is something thats really complicated but doable after all.
Let me ask you some questions @ArsenioV

Are you aware that:
1) A browser cannot access any local file, so the files would need to be retrieved via http from the client to the webinterface server
2) A browser can only play certain containers and codecs, e.g. h264, so either we can only play formats that the browser supports OR
3) the server would need to "live transcode" the played video for the browser

Usually this is done using live transcoding on the server using Graphics card encoder, e.g. Intel Quicksync or Nvidia NVENC.
The problem is that the webinterface is usually hosted on the same server where FFAStrans is running and consuming all resources. So we'd need to control how many users view videos over the webinterface at the same time.

Alternatively, we could just have a "rightclick->openin player" and open a local video player. But again, the user would need to have direct access to where the files are and at least read access to that location.

What you think?

Re: Media player in Webinterface

Posted: Wed Apr 21, 2021 9:47 am
by momocampo
Damn! It is my fault.... Sorry Giacomo but I didn't know what was my favourite...
Anyway, I confirm the web interface player is in mind of our dear Emcodem 😊he never runs out of ideas!
😁

Re: Media player in Webinterface

Posted: Wed Apr 21, 2021 1:26 pm
by ArsenioV
deleted

Re: Media player in Webinterface

Posted: Wed Apr 21, 2021 4:17 pm
by emcodem
Yeah i already played with the thought to just provide http access to the source files but it will not be the final solution because of the option to have 800Mbit files on the server. No worries about that, i did this stuff multiple times over the last years and i am sure that this time i will do it even better again :D But i'll finish the metrics stuff before looking into this.

Regarding help on styling, read PM :D

Re: Media player in Webinterface

Posted: Fri Apr 23, 2021 8:23 am
by ArsenioV
deleted

Re: Media player in Webinterface

Posted: Tue Jul 05, 2022 8:50 am
by emcodem
Okay, i am working on this now and have some really promising results using mpeg-1 live encoding with vlc. Initially it might be restricted to play the first audio track and such but hey, it's a start..
I wonder what features besides the sheer play functionality could be interesting for the initial implementation?

Re: Media player in Webinterface

Posted: Wed Nov 09, 2022 6:05 pm
by emcodem
@ArsenioV it is done.