MJPEG format with BeagleBoard-xM

66 views
Skip to first unread message

Kazz

unread,
Jul 20, 2015, 7:45:06 AM7/20/15
to beagl...@googlegroups.com
Hi all.

I am using the Beagleboard-xM and Beaglebone Black.
I installed the debian-8.1-console-armhf-2015-06-11 both them.
And I installed the mjpg-streamer-r63, which was compiled from the same source code for both.
I connect the same Logicool Webcam C-615 both, They was executed the following start-up script.

mjpg_streamer -i "input_uvc.so -d / dev / video0 -f 2 -r 640x480" -o "output_http.so -p 8081 -w / home / www" -b

As a result, Beaglebone Black works well in MJPEG format,but Beagleboard-xM in a small white square appears.
Both, in the YUV format, works well.

Why is there is such a difference?

Kazz

unread,
Jul 21, 2015, 5:59:23 PM7/21/15
to BeagleBoard
The difference between both.

Result "ldd input_uvc.so"

Beagleboard
        linux-vdso.so.1 (0xbec04000)
        libjpeg.so.62 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.62 (0xb6f7f000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e90000)
        /lib/ld-linux-armhf.so.3 (0x7f60d000)

BeagleboneBlack
        libjpeg.so.62 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.62 (0xb6f6a000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e7c000)
        /lib/ld-linux-armhf.so.3 (0xb6fc8000)

What's linux-vdso.so1 ?
Unrelated ?

Kazz

unread,
Jul 21, 2015, 6:20:40 PM7/21/15
to BeagleBoard
Rasult "v4l2-ctl -all"

Beagleboard-xm
Driver Info (not using libv4l2):
        Driver name   : uvcvideo
        Card type     : HD Webcam C615
        Bus info      : usb-48064800.ehci-2.2
        Driver version: 4.1.0
        Capabilities  : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
        Width/Height  : 640/480
        Pixel Format  : 'YUYV'
        Field         : None
        Bytes per Line: 1280
        Size Image    : 614400
        Colorspace    : SRGB
        Flags         :
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 640, Height 480
        Default     : Left 0, Top 0, Width 640, Height 480
        Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 30.000 (30/1)
        Read buffers     : 0


BeagleboneBlack
Driver Info (not using libv4l2):
        Driver name   : uvcvideo
        Card type     : HD Webcam C615
        Bus info      : usb-musb-hdrc.1.auto-1.1
        Driver version: 3.14.43
        Capabilities  : 0x84000001
                Video Capture
                Streaming
                Device Capabilities
        Device Caps   : 0x04000001
                Video Capture
                Streaming
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
        Width/Height  : 640/480
        Pixel Format  : 'YUYV'
        Field         : None
        Bytes per Line: 1280
        Size Image    : 614400
        Colorspace    : SRGB
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 640, Height 480
        Default     : Left 0, Top 0, Width 640, Height 480
        Pixel Aspect: 1/1
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 30.000 (30/1)
        Read buffers     : 0

Defference of Driver version is perhaps kernel version.

Reply all
Reply to author
Forward
0 new messages