All of lore.kernel.org
 help / color / mirror / Atom feed
* What image should I build on the SabreLite?
@ 2014-11-04 11:11 Philippe BALLEYDIER
  2014-11-04 15:04 ` Eric Nelson
  0 siblings, 1 reply; 18+ messages in thread
From: Philippe BALLEYDIER @ 2014-11-04 11:11 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2028 bytes --]

Hi everyone

I'm trying to stream the OV5642 parallel camera and a USB microphone over the network but i'm having some issues.
Previously, i was building fsl-image-multimedia (dizzi branch) on the SabreLite and I managed to make the video stream work. But i realized that USB ports were not working properly on this image (the USB microphone was detected but wouldn't appear in alsamixer)
To avoid this problem, i decided to switch to the image fsl-image-gui (dora branch) and now the OV5642 camera isn't detected (message showing up while booting: "Camera OV5642 is not found"). The mic is now properly showing up in alsamixer but i can't stream it since i get the error "cannot submit datapipe for urb 0, error -28: not enough bandwidth" when using my gstreamer commands.

I was previously building the image fsl-image-gui (dora) on the Sabre BOARD and i manage to stream both video and audio (but i was using a USB camera though, Mic remained the same)

So i don't really know what image and what board i should use to be able to stream 720p@30fps and audio from the USB Mic.
Due to USB throughput limitation, i can't stream a USB webcam at 720p@30fps on the sabre board (only 10fps possible) so i had to switch to the OV5642 on the Sabre Lite by using the parallel port J5
But what image will guaranty me that my USB Mic and the OV5642 will be detected and work properly?

Any pointers would be of great help
Best regards

PS1: Since the SabreLite is a boundary devices' product, maybe i should ask the question to them, but i can't find any forums. The "Community" tab on their website only links to other companies, but no actual community forum.

PS2: You can find in attachment my gstreamer commands, but i'm pretty sure the problem doesn't come from them, since when i use --gst-debug-level=2, it clearly appears that the camera is not detected. For the microphone, i have no idea why this is not working. It was working on the Sabre BOARD perfectly, and on the sabre Lite i have a bandwidth issue.


[-- Attachment #2: test ov.txt --]
[-- Type: text/plain, Size: 652 bytes --]

gst-launch --gst-debug-level=2 mfw_v4lsrc device=/dev/video0 capture-mode=4 rotate=3 fps-n=30 fps-d=1 ! ffmpegcolorspace ! vpuenc codec=6 ! rtph264pay ! udpsink host=192.168.20.31 port=5000 

gst-launch --gst-debug-level=2 udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, payload=(int)96, encoding-name=(string)H264" ! rtph264depay ! ffdec_h264 ! xvimagesink

gst-launch --gst-debug-level=2 alsasrc device=hw:2 ! audioconvert ! audioresample  ! alawenc ! rtppcmapay ! udpsink host=192.168.20.31 port=5001

gst-launch --gst-debug-level=2 udpsrc port=5001 caps="application/x-rtp" ! rtppcmadepay ! alawdec ! alsasink

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-11-13 13:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04 11:11 What image should I build on the SabreLite? Philippe BALLEYDIER
2014-11-04 15:04 ` Eric Nelson
2014-11-04 15:16   ` Wally Yeh
2014-11-04 15:29     ` Otavio Salvador
2014-11-04 19:07       ` Daiane Angolini
2014-11-04 19:46         ` Otavio Salvador
2014-11-04 22:25           ` Wally Yeh
2014-11-04 18:50     ` Eric Nelson
2014-11-05  8:42   ` Philippe BALLEYDIER
2014-11-06  9:31     ` Philippe BALLEYDIER
2014-11-06 15:55       ` Eric Nelson
2014-11-06 18:11         ` Eric Nelson
2014-11-06 21:38           ` Eric Nelson
2014-11-07 10:00           ` Philippe BALLEYDIER
2014-11-07 13:55             ` Eric Nelson
2014-11-13 11:09               ` Philippe BALLEYDIER
2014-11-13 13:50                 ` Philippe BALLEYDIER
2014-11-06 21:47         ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.