palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Raspberry Pi 4 4GB and video streaming

Thu Jul 25, 2019 7:46 am

Hi everybody.

I'd like to change soon my external 24' monitor, that we use mostly to watch movies over my computer.

I've never had any experience with RPI, but some years playing with linux distributions on my laptop.
Let's have a try!

Do you think the RPI 4 Model B RAM 4GB is suitable for this purpose:

- always connected (HDMI) to a monitor and used exclusively to watch online movies, news, etc. on media centers / websites like ARD, ZDF, Arte, Youtube, Rai, etc., listen to music and exceptionally to surf the web?

The review on Tom's Hardware made me unsure...

Thanks!

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Fri Jul 26, 2019 6:13 am

Any experience? :|

User avatar
Gavinmc42
Posts: 4209
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi 4 4GB and video streaming

Fri Jul 26, 2019 11:21 am

Kodi now seems to work.
https://www.raspberrypi.org/forums/view ... 8&t=246837

Will that work for you?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Sat Jul 27, 2019 3:49 pm

great.
what about, like on a standard pc, launch Firefox or Chromium, visit a website, select a video and stream it full screan (via HDMI) on a monitor?

gkreidl
Posts: 6168
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspberry Pi 4 4GB and video streaming

Sat Jul 27, 2019 4:12 pm

palimmo wrote:
Sat Jul 27, 2019 3:49 pm
great.
what about, like on a standard pc, launch Firefox or Chromium, visit a website, select a video and stream it full screan (via HDMI) on a monitor?
This is the worst way top play a video.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
DarkPlatinum
Posts: 866
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: Raspberry Pi 4 4GB and video streaming

Sat Jul 27, 2019 4:24 pm

palimmo wrote:
Sat Jul 27, 2019 3:49 pm
great.
what about, like on a standard pc, launch Firefox or Chromium, visit a website, select a video and stream it full screan (via HDMI) on a monitor?
Won't work well.. I would rather use a Pi as a smart tv/kodi device and watch local videos or youtube.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Sat Jul 27, 2019 9:58 pm

DarkPlatinum wrote:
Sat Jul 27, 2019 4:24 pm
palimmo wrote:
Sat Jul 27, 2019 3:49 pm
great.
what about, like on a standard pc, launch Firefox or Chromium, visit a website, select a video and stream it full screan (via HDMI) on a monitor?
Won't work well..
Why?
What's the problem with a RPI4 with 4GB ram?
Is this task perhaps too demanding? :?

Kodi: can I stream from all the websites mentioned in the OP? Or are there any limitations?

Thanks.

gkreidl
Posts: 6168
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspberry Pi 4 4GB and video streaming

Sat Jul 27, 2019 11:12 pm

Kodi, omxplayer and VLC in full screen mode send the decoded video directly to a separate video layer.
In chromium the GPU does the decoding, color space conversion and resizing, but the CPU has to copy the video to the frame buffer in real time. If the screen is larger, this will take more time. And chromium and XORG may be doing a lot in the background at the same time.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Sun Jul 28, 2019 10:23 am

Thanks for your explanation.
Can I use Kodi to stream directly from a website (like a web browser)?

I've already tried Kodi (on my linux machine) with some add-ons.
These add-ons does not offer the option to select and play embedded subtitles. Subtitles that, if I open these videos on their websites on Firefox or Chromium, are available.
Kodi apparently gives me the only option to open local subtitles saved on my computer, but of course I do not have them...
I've tried on ZDF, Arte, das Erste... no subtitles are shown.
News, series, films... no way...

Here an example what I mean...
Screenshot_20190728_121958.jpg
Screenshot_20190728_121958.jpg (35.38 KiB) Viewed 5373 times

gkreidl
Posts: 6168
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspberry Pi 4 4GB and video streaming

Sun Jul 28, 2019 11:45 am

Im not on Buster yet and I don't have a RPi 4 yet, so my information is a bit outdated.
I use a method which requires tools from my kweb suite and has been working on all RPis starting with the RPi 1.
I navigate with kweb to the web page, containing the video (e. g. ARD, ZDF, Arte which I also use a lot). Then I click the "play" button in the browser tool bar and a few seconds later omxplayerGUI will open and play the video (in any size, up to full screen). Meanwhile you can also use VLC as player and you can add this function to all other browsers.

But my software is not ready for Buster and the RPi4, yet.

You can simulate this by doing the following. Run
sudo pip install youtube-dl
or
sudo pip3 install youtube-dl

Navigate with your browser to the web page running the video. Copy the URL of this page.
In a terminal run:
youtube-dl -f best -g URL
where URL is the URL copied from your browser.
This will output another URL, the URL of the video stream.
now run
vlc URL
where URL is the URL you got from youtube-dl.

For best performance you should switch to full screen mode (f key).

Now you can test, if the subtitles are shown. Maybe you have to enable them in VLC.

Edit: For a simple use you can create a small script:

Code: Select all

#!/bin/bash
uri=$(youtube-dl -f best -g $1)
vlc -f $uri > /dev/null 2>&1
Save it as "invlc"
run
chmod +x invlc
sudo cp invlc /usr/local/bin
Now you can run at any time:
invlc URL
where URL is the URL from the video web page.
VLC will run in full screen mode. If you don't like that, remove the "-f" option from the script (in the line starting with vlc)
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Mon Jul 29, 2019 7:11 am

gkreidl wrote:
Sun Jul 28, 2019 11:45 am
Im not on Buster yet and I don't have a RPi 4 yet, so my information is a bit outdated.
I use a method which requires tools from my kweb suite and has been working on all RPis starting with the RPi 1.
I navigate with kweb to the web page, containing the video (e. g. ARD, ZDF, Arte which I also use a lot). Then I click the "play" button in the browser tool bar and a few seconds later omxplayerGUI will open and play the video (in any size, up to full screen). Meanwhile you can also use VLC as player and you can add this function to all other browsers.

But my software is not ready for Buster and the RPi4, yet.

You can simulate this by doing the following. Run
sudo pip install youtube-dl
or
sudo pip3 install youtube-dl

Navigate with your browser to the web page running the video. Copy the URL of this page.
In a terminal run:
youtube-dl -f best -g URL
where URL is the URL copied from your browser.
This will output another URL, the URL of the video stream.
now run
vlc URL
where URL is the URL you got from youtube-dl.

For best performance you should switch to full screen mode (f key).

Now you can test, if the subtitles are shown. Maybe you have to enable them in VLC.

Edit: For a simple use you can create a small script:

Code: Select all

#!/bin/bash
uri=$(youtube-dl -f best -g $1)
vlc -f $uri > /dev/null 2>&1
Save it as "invlc"
run
chmod +x invlc
sudo cp invlc /usr/local/bin
Now you can run at any time:
invlc URL
where URL is the URL from the video web page.
VLC will run in full screen mode. If you don't like that, remove the "-f" option from the script (in the line starting with vlc)
Thanks, gkreidl.
Do you get the same "view experience" as in the web browser? Can you select the available subtitles on ARD, ZDF, Arte? That's really important for me.

Here I've found a similar (positive) experience on RPI 4.
https://www.raspberrypi.org/forums/view ... 1&t=247043

gkreidl
Posts: 6168
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspberry Pi 4 4GB and video streaming

Mon Jul 29, 2019 9:47 am

palimmo wrote:
Mon Jul 29, 2019 7:11 am
Thanks, gkreidl.
Do you get the same "view experience" as in the web browser? Can you select the available subtitles on ARD, ZDF, Arte? That's really important for me.

Here I've found a similar (positive) experience on RPI 4.
https://www.raspberrypi.org/forums/view ... 1&t=247043
If you can point me to an actual example on ARTE, ARD or ZDF containing subtitles I can test it for you, if my method(s) will be able to show them.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


gkreidl
Posts: 6168
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspberry Pi 4 4GB and video streaming

Mon Jul 29, 2019 11:08 am

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Mon Jul 29, 2019 1:44 pm

Well, then I have to find the way to stream them decently via web browser....

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Tue Jul 30, 2019 10:23 am

It seems like RPI 4B 4GB is not suitable for my scope. Sadly. :cry:
Do you know other SBCs that are able to reproduce fluently a HD video streaming via web browser in full screen mode?


User avatar
rpdom
Posts: 15897
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Raspberry Pi 4 4GB and video streaming

Sat Aug 03, 2019 7:43 pm

This is a forum dedicated to the Raspberry Pi. It is unlikely anyone will recommend another SBC on here.

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Sun Aug 04, 2019 10:54 am

rpdom wrote:
Sat Aug 03, 2019 7:43 pm
This is a forum dedicated to the Raspberry Pi. It is unlikely anyone will recommend another SBC on here.
I hope maybe someone reports using RPI4 successfully for video streaming :roll:


User avatar
RaTTuS
Posts: 10517
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Raspberry Pi 4 4GB and video streaming

Mon Aug 05, 2019 8:35 am

stream from kodi ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

palimmo
Posts: 16
Joined: Wed Jul 24, 2019 10:38 am

Re: Raspberry Pi 4 4GB and video streaming

Mon Aug 05, 2019 8:42 am

RaTTuS wrote:
Mon Aug 05, 2019 8:35 am
stream from kodi ?
Does Kodi offer the option to select and play embedded subtitles for ARD/ZFD/ARTE-de videos?
(Subtitles that, if I open these videos on their websites on Firefox or Chromium, are available).
See above.
Thanks!

Return to “Beginners”