Spiler
November 3, 2020, 10:06am
1
Hi,
I would like to build a project using video streaming with my mangOH Red, I’m pretty new to Yocto/Embedded Linux Distribution.
I am currently looking for a Camera (via USB or SPI) that would be easily usable (meaning I would like to avoid building a kernel module).
Have you seen any projects of this kind ? What kind of Camera were used ?
Any tips would be very useful, thanks !
Hi @Spiler ,
You can check the following document
Spiler
November 3, 2020, 12:09pm
3
This is really useful, thanks @akshaysk for your support !
I am pretty new to this kind of stuff.
I am using a WP77xx module:
If I understood right, I have to download 3 components:
The modem firmware,
The Linux Distro,
The base Legato System
All taken from here: WP77xx Firmware Release 13 Components
I’ll have to modify the Linux Distro (and only this one component) to integrate a modified version of Gstreamer.
For finally build the new custom spk with the swicwe tool to then push it to my board?
Spiler
November 3, 2020, 12:12pm
4
By the way, I can not download the modified gstreamer file linked in the .pdf, do you know elsewhere I can find it ?
jyijyi
November 3, 2020, 12:25pm
5
The modified gstreamer is for wp75 or wp85 module, not for wp77
Spiler
November 3, 2020, 1:07pm
6
That’s weird, in the pdf linked, there is a title : “Gstreamer-1.0 Yocto integration for mdm9x28(WP76/WP77)”
WP76 is linked to mdm9x26 and WP77 is linked to mdm9x06.
Is this from where come the issue ?
jyijyi
November 3, 2020, 1:31pm
7
Which link are you talking about?
Do you mean gstreamer.tar.gz? That is not for wp77 module
Spiler
November 3, 2020, 1:34pm
8
Yes that version of gstreamer.
Is there then another way similar to use gstreamer with WP7702 module ?
jyijyi
November 3, 2020, 3:23pm
9
As said before, gstreamer.tar.gz is not for wp77 module.
For alterative, you can use ffmpeg:
you can also run the ffmpeg in RAM:
Step 1: type these in PC:
sudo ifconfig usb0 192.168.2.3
scp ./build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ffmpeg/3.4.2-r0/image/usr/bin/ffmpeg root@192.168.2.2:/tmp
scp ./build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ffmpeg/3.4.2-r0/image/usr/lib/libavcodec.so.57 root@192.168.2.2:/home/root
Step 2: type these in module :
mkdir /tmp/tmp_usr_lib;mkdir /tmp/tmp_usr_lib_wr;
mount -t overlay overlay /usr/lib -o lowerdir=/usr/lib,upperdir=/tmp/tmp_…
Spiler
November 3, 2020, 4:46pm
10
Really interesting, I’ll try this, thanks for your support.