主题 : 程序运行问题 大侠 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 11812
精华: 0
发帖: 8
金钱: 40 两
威望: 8 点
综合积分: 16 分
注册时间: 2009-12-21
最后登录: 2010-05-21
楼主  发表于: 2010-02-13 15:51

 程序运行问题 大侠

[root@FriendlyARM /mjpg]# ls
LICENSE
input_s3c2410.so
input_testpicture.so
input_uvc.so
mjpg-streamer-mini2440-bin-r6[1].tar.gz
mjpg_streamer
output_file.so
output_http.so
start_s3c2410.sh
start_uvc.sh
start_uvc_yuv.sh
www

[root@FriendlyARM /mjpg]# ./mjpg_streamer
MJPG Streamer Version.: 2.0
ERROR: could not find input plugin
       Perhaps you want to adjust the search path with:
       # export LD_LIBRARY_PATH=/path/to/plugin/folder
       dlopen: input_uvc.so: cannot open shared object file: No such file or dir
ectory

[root@FriendlyARM /mjpg]# ./start_uvc_yuv.sh
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 5
i: Format............: YUV
i: JPEG Quality......: 80
Pixel format is unavailable, using JPEG
should never arrive exit fatal !!
i: init_VideoIn failed
不知道是哪里出了问题 文件都在 却显示NOT FOUND
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-02-13 21:53
ERROR: could not find input plugin
       Perhaps you want to adjust the search path with:
       # export LD_LIBRARY_PATH=/path/to/plugin/folder

这是找不到共享库造成的。Linux和Windows不一样,不会在可执行文件所在的目录搜索共享库文件。解决的方法已经告诉你了,用export LD_LIBRARY_PATH=/mjpg:$LD_LIBRARY_PATH(你的共享库文件应该是放在/mjpg目录吧)设定共享库的搜索路就可以了。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 11812
精华: 0
发帖: 8
金钱: 40 两
威望: 8 点
综合积分: 16 分
注册时间: 2009-12-21
最后登录: 2010-05-21
2楼  发表于: 2010-02-15 11:32

 回 1楼(kasim) 的帖子

[root@FriendlyARM /mjpg]# ./mjpg_streamer
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 5
i: Format............: MJPEG
Pixel format is unavailable, using JPEG
should never arrive exit fatal !!
i: init_VideoIn failed

这个呢 这个怎么都不通
级别: 新手上路
UID: 11812
精华: 0
发帖: 8
金钱: 40 两
威望: 8 点
综合积分: 16 分
注册时间: 2009-12-21
最后登录: 2010-05-21
3楼  发表于: 2010-02-15 12:00
上面问题已解决 但是程序还是出现了错误
[root@FriendlyARM /mjpg]#./mjpg_streamer -o "output_http.so -w ./www" -i "input

_s3c2410.so -r 1280*1024 "
MJPG Streamer Version.: 2.0
ERROR opening V4L interface
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2010-02-15 12:02

 回 2楼(feng039522) 的帖子

那要看mjpg_streamer的源代码才能知道
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
自信人生两百年
级别: 新手上路
UID: 8078
精华: 0
发帖: 10
金钱: 70 两
威望: 36 点
综合积分: 20 分
注册时间: 2009-08-09
最后登录: 2015-08-14
5楼  发表于: 2010-09-01 17:37
[root@FriendlyARM mjpg-streamer]# ./start_uvc_yuv.sh
MJPG-streamer [684]: starting application
MJPG Streamer Version.: 2.0
MJPG-streamer [684]: MJPG Streamer Version.: 2.0

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

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

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

i: Format............: YUV
MJPG-streamer [684]: Format............: YUV

i: JPEG Quality......: 80
MJPG-streamer [684]: JPEG Quality......: 80

Pixel format is unavailable, using JPEG
should never arrive exit fatal !!
i: init_VideoIn failed
MJPG-streamer [684]: init_VideoIn failed
级别: 新手上路
UID: 60076
精华: 0
发帖: 20
金钱: 100 两
威望: 20 点
综合积分: 40 分
注册时间: 2011-12-04
最后登录: 2012-07-03
6楼  发表于: 2011-12-05 12:20
/mjpg-streamer # ./start_uvc_yuv.sh
./start_uvc_yuv.sh: line 30: ./mjpg_streamer: not found
级别: 新手上路
UID: 60076
精华: 0
发帖: 20
金钱: 100 两
威望: 20 点
综合积分: 40 分
注册时间: 2011-12-04
最后登录: 2012-07-03
7楼  发表于: 2011-12-05 12:20
请问如下的问题有没有遇到过呀,怎么回事呀

/mjpg-streamer # ./start_uvc_yuv.sh
./start_uvc_yuv.sh: line 30: ./mjpg_streamer: not found
级别: 新手上路
UID: 71553
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2012-06-07
最后登录: 2012-10-29
8楼  发表于: 2012-08-05 16:47
http://blog.csdn.net/songqqnew/article/details/7016904
今天也是遇到这个问题,刚刚试过了,可以的