LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2016, 01:10 AM   #1
raks
LQ Newbie
 
Registered: Apr 2016
Posts: 3

Rep: Reputation: Disabled
having trouble with nikon dslr camera


i want to connect my dslr in ubuntu but when i am doing this "ls /dev/vid*
" ,i am getting this error"ls: cannot access /dev/vid*: No such file or directory".but when i am doing the same procedure with a webcam ,its giving me this result "/dev/video0" .I just want to use my dslr as webcam in ubuntu for which i have installed darktable and my dslr is working as live view tethering but not with the above cammand.please hepl me
 
Old 04-05-2016, 01:32 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Hi & Welcome to LQ.

Your distribution should of came with webcam software.
Give Cheese a try and see if it see's your camera while plugged in.
http://askubuntu.com/questions/45361...bcam-as-camera

Once Cheese is installed it should work with your camera after a restart. If not....
Run this command while your camera is plugged in.
Code:
lsusb
Does lsusb see it?
 
Old 04-05-2016, 01:40 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
http://www.tldp.org/HOWTO/html_singl...WTO/#DEV-INTRO
https://help.ubuntu.com/community/Webcam
 
Old 04-05-2016, 02:06 AM   #4
raks
LQ Newbie
 
Registered: Apr 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
Hi & Welcome to LQ.

Your distribution should of came with webcam software.
Give Cheese a try and see if it see's your camera while plugged in.
http://askubuntu.com/questions/45361...bcam-as-camera

Once Cheese is installed it should work with your camera after a restart. If not....
Run this command while your camera is plugged in.
Code:
lsusb
Does lsusb see it?
I want to use my nikon DSLR as webcam which is not accessible on cheese becoz its a webcam software although it is running on darktable.when i ran your command i got this
Code:
ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04ca:0062 Lite-On Technology Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
Old 04-05-2016, 01:01 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
I don't see where lsusb see's your camera.

When you launch Darktable does it work with your camera?

I didn't see your camera listed in this list:
http://www.darktable.org/resources/camera-support/

I'm not familiar with the software so I'm at the end of where I can help.
Here's the link for Darktable so others can take a look at it.
http://www.darktable.org/

The manual should explain how to get it working.
http://www.darktable.org/usermanual/index.html.php

You might want to join the Support Group and ask for help there.
http://www.darktable.org/resources/camera-support/
 
Old 04-05-2016, 01:42 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,543

Rep: Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142
What is the model number of your camera? DSLR (Digital Single Lens Reflex) is the type of camera, not model number. You might need to configure the USB settings if there is an option to PTP before the camera will be recognized by the computer/darktable.
 
Old 04-05-2016, 02:09 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,532

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Unless I missed something a DSLR will not be seen as a video source because it isn't. Your Nikon is a DSLR not a USB webcam.
I know I can record from my cheapo Cannon DSLR with an application developed by somebody wanting that but it is not the norm.
 
Old 04-05-2016, 04:11 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,543

Rep: Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142
Ouch. I misread the posts. The OP stated the camera was working with darktable. Not sure I would want to use an expensive device as a webcam but take a look at this:

http://superuser.com/questions/87076...2-v4l2loopback
 
Old 04-06-2016, 02:42 AM   #9
raks
LQ Newbie
 
Registered: Apr 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
I don't see where lsusb see's your camera.

When you launch Darktable does it work with your camera?

I didn't see your camera listed in this list:
http://www.darktable.org/resources/camera-support/

I'm not familiar with the software so I'm at the end of where I can help.
Here's the link for Darktable so others can take a look at it.
http://www.darktable.org/

The manual should explain how to get it working.
http://www.darktable.org/usermanual/index.html.php

You might want to join the Support Group and ask for help there.
http://www.darktable.org/resources/camera-support/
my nikon D5300 easily work with darktable.In darktable->tethering->live view,i can see the live frames just like in cheese but i cant see anything in lsusb or ls /dev/vid* command. i just want my nikon connected in such a way so that when i enter ls /dev/vid* command ,i get some answer like /dev/video0 or /dev/video1.
please tell me if it is even possible or not
 
Old 04-06-2016, 08:27 AM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,532

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by raks View Post
my nikon D5300 easily work with darktable.In darktable->tethering->live view,i can see the live frames just like in cheese but i cant see anything in lsusb or ls /dev/vid* command. i just want my nikon connected in such a way so that when i enter ls /dev/vid* command ,i get some answer like /dev/video0 or /dev/video1.
please tell me if it is even possible or not
As I mentioned, that is not a normal way for a DSLR to work. For my Cannon (EOS 450D) there's an application called eos-movierec that somebody has developed which allows one to record movies from the camera but, as I mentioned, a DSLR is not a USB webcam and will not just appear as a /dev/video device because it isn't one -- the software is needed in part because the camera's shutter (and mirror, making it a DSLR) is normally closed and needs to be opened programatically for it to record images. It sounds like darktable is written to open the shutter and give a live view, which is cool, but that doesn't make the camera a USB webcam.
In the absence of somebody with that camera I would suggest you google something like "record movies D5300 linux" because there may well be a solution along the lines of eos-movierec for your camera also.

Last edited by 273; 04-06-2016 at 08:31 AM.
 
Old 04-06-2016, 10:50 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Quote:
but i cant see anything in lsusb or ls /dev/vid*
You probably won't because your Nikon D5300 isn't a usb webcam.

Looking at the specifications of your camera I see it has multiple settings for video capture.
I don't know if it's possible to make the video capture work w/o a video capture card to communicate with your camera. Placing a video capture card on your mobo may or may not work with your camera.
Do some research and see if there is an application that will work with your camera like 273 said.

https://www.google.com/search?sclien...msg=NCSR&noj=1

--::-- --::-- --::-- --::-- --::-- --::--
How to get your DSLR Camera to act like a Webcam
https://www.youtube.com/watch?v=PP9yngRMHV8

http://sparkosoft.com/sparkocam

Last edited by Ztcoracat; 04-06-2016 at 10:51 PM.
 
Old 04-06-2016, 11:08 PM   #12
Markx7
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Rep: Reputation: Disabled
I wouldn't use a relatively expensive camera has a webcam. It could fall get damage or get dirty quickly especially if you have very expensive lens. The only time I would connect the camera to the computer is to retrieve the photos from it.

You can get a simple webcam for $50 bucks or less.
 
Old 04-06-2016, 11:13 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
My Father was a professional Photographer so I would completely appreciate and understand why you would want to use your Nikon as a webcam.

Let us know if those links for setting up your DSLR as a webcam worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Android-Based Portable Wireless Remote Control Setup for Nikon DSLR Cameras LXer Syndicated Linux News 0 02-06-2013 01:30 PM
LXer: Use an Android Device as a Wireless Remote Trigger for a DSLR Camera LXer Syndicated Linux News 0 02-02-2013 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration