天嵌 ARM开发社区

 找回密码
 注册
查看: 1856|回复: 2

usb 摄像头采集的视频在linux播放

[复制链接]
lanhxg 发表于 2013-4-7 16:14:59 | 显示全部楼层 |阅读模式
20
《基于 TQ2440 开发板的 Linux-2.6.30.4 的网络摄像机的实现》
环境:Ubuntu12.04
在开发版上启动:
mjpg_streamer -i "/lib/WebCam/input_uvc.so -yuv" -o "/lib/Web
Cam/output_http.so -w 169.254.7.210:8080"
MJPG-streamer [655]: starting application
MJPG Streamer Version.: 2.0
MJPG-streamer [655]: MJPG Streamer Version.: 2.0

i: Using V4L2 device.: /dev/video0
MJPG-streamer [655]: Using V4L2 device.: /dev/video0

i: Desired Resolution: 640 x 480
MJPG-streamer [655]: Desired Resolution: 640 x 480

i: Frames Per Second.: 5
MJPG-streamer [655]: Frames Per Second.: 5

i: Format............: YUV
MJPG-streamer [655]: Format............: YUV
                                                                                
i: JPEG Quality......: 80                                                      
MJPG-streamer [655]: JPEG Quality......: 80                                    
                                                                                
o: www-folder-path...: 169.254.7.210:8080/                                    
MJPG-streamer [655]: www-folder-path...: 169.254.7.210:8080/                    
                                                                                
o: HTTP TCP port.....: 8080                                                   
MJPG-streamer [655]: HTTP TCP port.....: 8080                                   
                                                                                
o: username:password.: disabled                                                
MJPG-streamer [655]: username:password.: disabled                              
                                                                                
o: commands..........: enabled                                                
MJPG-streamer [655]: commands..........: enabled                                
                                                                                
MJPG-streamer [655]: starting input plugin                                      
MJPG-streamer [655]: starting output plugin: /lib/WebCam/output_http.so (ID: 00)
zc3xx: probe 2wr ov vga 0x0000            


以上都是正常:

我电脑只有一个系统,我想在ubuntu(PC)上接受视频 视频
于是我用/opt/EmbedSky/apps/WebCam/mjpg-streamer/mjpeg-client/bin/linux_i386_upx# ./viewer


一下是显示的问题:
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
[FORMS.PP] ExceptionOccurred
  Sender=EInvalidOp
  Exception=Invalid floating point operation
  Stack trace:
  $B63A9FBC
TApplication.HandleException Invalid floating point operation
  Stack trace:
  $B63A9FBC
[FORMS.PP] ExceptionOccurred
TApplication.HandleException: there was another exception during showing the first exception
  Stack trace:
  $082720DE
  $08239A0C
  $08239F51
  $08084FA0
  $08078508
  $080771FC
  $08077231
  $08068C12
  $0807458D
  $0806CAE9
  $08069C04
  $08069E79
  $08069C04
  $08069E79
  $08075DF1
  $0807AE5C
  $0807BF19
TApplication.HandleException: there was another exception during showing the first exception
  Stack trace:
  $08084E45
  $08078508
  $080771FC
  $08077231
  $080A4B3F
  $08068C12
  $08074328
  $0806CA93
  $080787F5
  $08078544
  $080771FC
  $08077231
  $08068C12
  $0807458D
  $0806CAE9
  $08069C04
  $08069E79
怎么破啊?

最佳答案

查看完整内容

建议你重新编译一下view软件,怀疑该软件依赖的库和你的PC的Linux中的不匹配引起的。
亚瑟王 发表于 2013-4-7 16:15:00 | 显示全部楼层
建议你重新编译一下view软件,怀疑该软件依赖的库和你的PC的Linux中的不匹配引起的。
回复

使用道具 举报

亚瑟王 发表于 2013-4-15 11:22:47 | 显示全部楼层
亲,如果问题解决了请修改帖子类型为“已解决”(参考:http://www.armbbs.net/forum.php?mod=viewthread&tid=15200
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-6-2 17:29 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表