play a video

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
johup
Posts: 5
Joined: Mon Jan 25, 2021 3:58 pm

play a video

Post by johup » Mon Jan 25, 2021 4:20 pm

Hi,

I would like to play a video on a pyboard, that is, connect a display to it and a loudspeaker
and then play an MP4 or something similar.
A S070BWS45HG-DC84 with KD070HC700BT-1024600 HDMI interface is available as a display.
Is that even possible (system resources ...), what additional hardware do I need?

greetings
johup

User avatar
jimmo
Posts: 2244
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: play a video

Post by jimmo » Tue Jan 26, 2021 1:14 am

johup wrote:
Mon Jan 25, 2021 4:20 pm
Is that even possible (system resources ...), what additional hardware do I need?
It depends how big the video is (i.e. resolution) but unfortunately almost certainly not possible with a pyboard. Ideally you need a hardware video decoder to do the video decompression.

I'm not aware of any MicroPython boards with HDMI output either.

Your best bet is probably a Raspberry Pi.

johup
Posts: 5
Joined: Mon Jan 25, 2021 3:58 pm

Re: play a video

Post by johup » Fri Feb 05, 2021 7:25 am

jimmo wrote:
Tue Jan 26, 2021 1:14 am
...Your best bet is probably a Raspberry Pi.
but the Raspian on the Pi gives me 20s boot time, that I dont want. Is there a bare metal
port of micro python to Raspberry Pi?

User avatar
jimmo
Posts: 2244
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: play a video

Post by jimmo » Sat Feb 06, 2021 4:27 am

johup wrote:
Fri Feb 05, 2021 7:25 am
Is there a bare metal
port of micro python to Raspberry Pi?
Yes......... https://github.com/boochow/micropython-raspberrypi

But also I think it would take a fair bit of work to get it to the point where you need it.

johup
Posts: 5
Joined: Mon Jan 25, 2021 3:58 pm

Re: play a video

Post by johup » Sat Feb 06, 2021 1:12 pm

jimmo wrote:
Sat Feb 06, 2021 4:27 am

Yes......... https://github.com/boochow/micropython-raspberrypi
But also I think it would take a fair bit of work to get it to the point where you need it.
I will do that. Do you know anyone else (in the forum...) that tried this out?

User avatar
jimmo
Posts: 2244
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: play a video

Post by jimmo » Mon Feb 08, 2021 6:11 am

johup wrote:
Sat Feb 06, 2021 1:12 pm
I will do that. Do you know anyone else (in the forum...) that tried this out?
Yes it gets discussed occasionally.

The author of the port has also participated in some of the discussions: search.php?author_id=3510&sr=posts

Post Reply