sijongmu
Posts: 6
Joined: Wed Dec 17, 2014 1:02 am

v4l-utils problem

Wed Dec 17, 2014 2:53 am

hi!
i am a newbie to raspberry pi & raspbian but i tried my best to install mjpg-streamer into
the raspberry pi B+ which i bought recently.

one weeks ago, i installed mjpg-streamer by using the method of many blog's in the web
but i don't know which procedure was done exactly :cry: . just i copied the command
here and there ant pasted. consequently i failed to operate raspi cam through the method
i wanted at that time

the problem happened 3 days ago.

again i tried to perform mjpg-streamer view as per some blog's guidance and i took
the procedure in the v4l-utils as per attached no 1
1.gif
1.gif (45.52 KiB) Viewed 3753 times
as you see, i already installed the v4l-utils in the past time. so i started to follow the procedure
after v4l-utils installtion. when i finished the final procedure, suddenly it did work perfectly!

so i was very excited and i wanted to copy of procedure by using mouse like ms excel or word.
but it was my fault. by my mistake, i copied some content the bottome side of the screen,
as you see in the capture.
2.gif
2.gif (42 KiB) Viewed 3753 times
before i did $ sudo halt, the camera performed very well with low latency even there was attached
some mistyped command in the screen. but, after rebooting, it was not performed in order and
i was confused with the phenomenon.

so i removed the folder of v4l-utils and re-installed it.

but during the procedure of same command which i did last time, i experienced
many error different with the past time and i found some missing files in new v4l-utils
comparing with old one.

as you see in the attached capture no 1, there was a libtool and makefile.in and others in the v4l-utils.
but in the new v4l-utils, there was not the files and it made some problem to do the procedure accordingly.
if i follow the command ~$ git clone git://git.linuxtv.org/v4l-utils.git
or sudp apt-get install v4l-utils as per guidance, always i found there is some missing file in the folder.

pls refer attached capture of it.
3.gif
3.gif (47.9 KiB) Viewed 3753 times
so i tried to remember the bloger's address and the command i perfromed to install the old v4l-utils.
but i couldn't.

really i want to reinstall the v4l-utils like the same one at first time.
how can i find and install it?

really appreciate your advice heartily^^.

b.rgds

alwanbi
Posts: 17
Joined: Mon Oct 06, 2014 12:34 am
Contact: Website

Re: v4l-utils problem

Thu Dec 18, 2014 2:09 am

What is the main goal you are trying to accomplish?
Are you having problems cloning the git v4l-utils folder?
Are you compiling v41-utils manually?
What software are you using for your camera?

I can't view your attached screen shots so I am unclear what it is your are asking about.
Alan Jones

sijongmu
Posts: 6
Joined: Wed Dec 17, 2014 1:02 am

Re: v4l-utils problem

Thu Dec 18, 2014 7:59 am

hi! alwanbi

my goal is to view the realtime video through the rpi camera at outside.
also i will use the SSH in my notebook.

oh i didn't checked the captured screen can be seen easily or not. sorry!
the software i used is nothing special. just i followed mjpg-streamer installation guide
in the web.

as you see in the attachement, my question is that when i succeeded to perform
video function through the rpi camera, i performed some procedure and command
in the v4l-utils. also there were some folders like libtool and some files like Makeout.in
or others. but after deleting the v4l-utils and reinstalled the v4l-utils, there was not
libtool or makeout.in file in the folder. when i take the same step like the former time,
it happened some error due to lack of above things, libtool or makeout.in file.

so i doubted why the v4l-utils file are different between former and new one and
wanted to know how can i find the v4l-utils which are included well of libtool & makeout.in.

awaiting your reply!

b.rgds
Attachments
3.gif
my mistake capture of bottom side
3.gif (47.9 KiB) Viewed 3680 times
2.gif
new v4l-utils ls
2.gif (42 KiB) Viewed 3680 times
1.gif
former v4l-utils ls
1.gif (45.52 KiB) Viewed 3680 times

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: v4l-utils problem

Thu Dec 18, 2014 10:09 am

but after deleting the v4l-utils and reinstalled the v4l-utils,
Are these two the same tool / package?
There is an official v4l package, but also an uv4l package (http://www.linux-projects.org/modules/s ... e&artid=15)

sijongmu
Posts: 6
Joined: Wed Dec 17, 2014 1:02 am

Re: v4l-utils problem

Thu Dec 18, 2014 3:50 pm

hi!

as i said i am a newbie. so i can't remember which software was installed at first time.
after several trial, i realized that i should record my command and install procedure
to review later. so i don't know what is the name of vesrion or name of file address
when i installed the former v4l-utils. but obviously, the old one had following files

acloaca.m4/aminclude.am/android-config.h/automate.cache/build-aux/
ChangeLog/config.h/config.h.in/config.log/config_status/configure/configure.ac/
contrib/COPYING/COPYING.libv4l/doc/doxygen_libdvbv5.cfg/.git/
.gitattributes/.gitignore/include/INSTALL/lib/libtool/m4/Makefile/
Makefile.am/Makefile.in/README/README.lib-multi-threading/README.libv4l/stamp-h1/
TODO/TODO.libdvbv5/utils/v4l-utils.spec/v4l-utils.spec.in

but after removing this v4l-utils folder, i again installed v4l-utils through the command of
"sudo apt-get install v4l-utils" and i checked the folder's file as followings.

aminclude.am/android-config.h/ChangeLog/config.h/contrib/COPYING/COPYING.libv4l/
doc/doxygen_libdvbv5.cfg/.git/.gitattributes/.gitignore/include/INSTALL/
lib/libdvbv5-po/m4/README/README.lib-multi-threading/README.libv4l/
stamp-h1/TODO/utils/v4l-utils.po/v4l-utils.spec.in

as you see, in later v4l-utils, there is not some file & folders which was included
in the former one. so when i write the commands, for example,
"~/v4l-utils $ autoreconf -vfi", it happend error of showing
"autoreconf: automake failed with exit status: 1"

when i performed the same command under the former v4l-utils position,
there was no error and problem to perform to my command in raspberry pi.

so i doubted how the file's contents can be different between the former
v4l-utils and present v4l-utils. maybe, i did installed the former one through
some kind of package but well, i don't know exactly.

awaiting your reply^^.

b.rgds

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: v4l-utils problem

Thu Dec 18, 2014 3:57 pm

What tutorial do you follow?
It looks to me that you're downloading v4l-utils source and then building it yourself.

If it's for the raspberry pi camera module that should not be necessary...

Code: Select all

sudo apt-get update
sudo apt-get instal v4l-utils
is all you need.

Gr.
Dirk.

sijongmu
Posts: 6
Joined: Wed Dec 17, 2014 1:02 am

Re: v4l-utils problem

Thu Dec 18, 2014 4:56 pm

hi!

oh i don't need to perform other commands except
this?

"sudo apt-get update
sudo apt-get install v4l-utils"

ok i understand. then could you advise me why the former v4l-utils
have more file than the later one?

as i remembered, i did installation as same method as you commented
"$ sudo apt-get install v4l-utils"

awaiting your reply!

b.rgds

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: v4l-utils problem

Thu Dec 18, 2014 5:05 pm

sijongmu wrote:then could you advise me why the former v4l-utils
have more file than the later one?
Don't really know, because I have no idea where you got it from...
I can see various files that may be present in one repo / build and not in another:
.git. some files related to 'make', etc.

BTW: the link to official 4vl-utils info: http://www.raspberrypi.org/forums/viewt ... 4&p=462945
First line in bold is probably the most important bit...

Gr.
Dirk.

sijongmu
Posts: 6
Joined: Wed Dec 17, 2014 1:02 am

Re: v4l-utils problem

Fri Dec 19, 2014 12:48 am

thank you very much^^.

i will review and try perform again.

but i found there are many ways to view the realtime video
through the rpi camera and i will try choose the best method
to get the lowest latency in the monitor.

upto now, i learned the method of mjpg-streamer has the lowest
latency from 0.5~1 second.

anyway it's not easy for beginner to accomplish rpi camera performance.

appreciate your good advice!

b.rgds

Return to “General discussion”