element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Remote display of Pi Camera
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 676 subscribers
  • Views 3629 views
  • Users 0 members are here
  • rpi.
  • putty
  • ssh
  • remote_display
  • picamera
  • webcam
Related

Remote display of Pi Camera

mcb1
mcb1 over 12 years ago

I have a Pi camera and I am trying to set it up for my Solar Pi project.

 

I can ssh into the Pi form my Windows machine using puTTy and Xming, and display leafpad, Midori and even the desktop.

 

I'm having troubles trying to get the Picamera to display remotely.

Demo or preview just doesn't seem to display remotely.

 

Has anyone done this before, and if so could they point me in the right direction.

I do have some alternatives available to getting the final images, however during the setting up phase it would be nice to be able to see it.

 

Thanks

Mark

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 12 years ago

    There are two youtube videos, don't know how helpful they might be:

    http://www.youtube.com/watch?v=1Egj1TjfHPc

    http://www.youtube.com/watch?v=XBaWepyeoq4

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • guzunty
    guzunty over 12 years ago

    Alex Eames described how to stream video to a tablet.

     

    http://raspi.tv/2013/how-to-stream-video-from-your-raspicam-to-your-nexus-7-tablet-using-vlc

     

    I'm sure this can be adapted to stream to a computer.

     

    HTH

     

    -Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to guzunty

    Derek

    Thanks for that.

    Streaming video isn't exactly the issue, its seeing the result of raspistill on a remote connection.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to Former Member

    Coder

    Thanks for the links.

    I've downloaded them for viewing as I have an early start in the morning.

     

    I suspect the preview relies on the hdmi processing, hence its not able to be remoted.

    The processed images are, and there are a few ways to either push them across, or grab them from the Pi.

     

    Cheers

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Have you looked at Matthew Manning's video, a few mins in after video flip.  He covers streaming from a Pi to PC using Mplayer and Netcat.  He has put a link for the software in a dropbox.

     

    http://www.youtube.com/watch?v=9vGi376X3PA

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    The preview is an overlay and is handled entirely by the GPU. It works the same whether you're running a desktop or not. As such it's hard to remote it.

     

    There are other issues, the preview may not be the same as the still image you get - different field of view.  There was supposedly a fix for that, but I don't know if it's available yet.

     

    Streaming video isn't the answer either as that has yet another different field of view.

     

    What I do is to have the Pi save images to an NFS share and view them from that machine, it means you get to see exactly what you'll get.

     

    It's also worth noting that if you ask raspistill for a 1920x1080 image using the -w and -h options it's not simply a crop of the 2592x1944 native resolution and will have yet another different field of view as it scales somewhat the full image to fit your request.

    I've not tried the -roi settings yet, but those would seem to crop the raw sensor resolution before scaling what's left to the -w & -h settings.

     

    Anyway, what you really want to try is to grab your still image using the settings you expect to use, then view that on a decent screen elsewhere.

     

     

    I'll be interested to hear how you get on with your project and what settings you use.  I'm doing some timelapse stuff and have been trying out various combinations, but have come to the conclusion that in daylight I'll be using spot or average metering and iso 100, other metering modes provide darker images of the same scene.  As it's a fixed iris lens, increasing ISO in daylight only seems to give a hint to the GPU to use a faster shutter speed which gives darker images...   At some lower light level it starts to become advantageous to increase the ISO, so I'm adding an ambient light sensor so that I can start to work out when to do that.

     

    With current firmware it seems to be a bit of a guessing game what results you can expect for certain settings, so I just wrote a simple script to cycle through them quickly so I can look at the images and pick what's working.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to Former Member

    Selsinork

    Thanks for the reply.

    As such it's hard to remote it.

    I came to that conclusion, but not having played much, and lacking any real Linux skills, needed to check.

    What I do is to have the Pi save images to an NFS share and view them from that machine

    I figured that was what I was going to need to do.

     

    increasing ISO in daylight only

    I read somewhere on the RPi.org site that the ISO doesn't seem to work, and it was stuck on  a list to check.

    In the brief check I did (inside) it didin't seem to function like I thought it should ... but I didn't try it in sunlight.

     

    Thanks for the other suggestions.

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to mcb1

    Mark Beckett wrote:

     

    I read somewhere on the RPi.org site that the ISO doesn't seem to work, and it was stuck on  a list to check.

    In the brief check I did (inside) it didin't seem to function like I thought it should ... but I didn't try it in sunlight.

    ISO setting was disabled until raspistill 1.2 where it's been enabled again.  You probably need to do the rpi-update dance to get the latest kernel/firmware/apps.

    With 1.1 ISO defaulted to 100 which gives fairly good results all round, in 1.2 it defaults to 400, nothing necessarily wrong with that, but the results are quite a bit different

     

    I'm by no means a photography expert, but various things currently don't work in the ways you'd expect even when comparing to a simple point & shoot digital camera..

     

    Maybe I'm being unfair, but it seems that the interactions between the settings are not intuitive and don't always do what you'd expect, or they appear to operate differently depending on what the light level is.  So there's a bit of second guessing around how the settings you provide interact with the algorithms in the firmware.

     

    Keep us posted on how you get on..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to Former Member

    You probably need to do the rpi-update

    Cheers, I'll do it tonight.

     

    400 ISO is typically grainy, and in the old film days was because the grains in the film had to be larger to be more sensitive.

    I noted somewhere that -10 ev was equivalent to -3 stops (each stop is half the light), and this was to allow for 1/2 or 1/3 stop changes.

     

    Now that I've got it to a state of not requiring the screen, I'll move it and try a few pics facing outside, which will allow a few setting tests.

    I have a nice bright surface to face it at, so it will at least simulate the snow covered surfaces.

     

    Thanks

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to mcb1

    Mark Beckett wrote:

     

    400 ISO is typically grainy, and in the old film days was because the grains in the film had to be larger to be more sensitive.

    I noted somewhere that -10 ev was equivalent to -3 stops (each stop is half the light), and this was to allow for 1/2 or 1/3 stop changes.

    Experimentation suggests that upping the ISO adds noise to the image, in reasonable daylight it doesn't seem to have any other effect and ISO 100 will give a better looking image. If it's overcast it'll probably make the image darker, but that seems mostly due to the faster shutter speed the increased ISO lets the GPU use.

     

    the -ev settings seem to go in perceptible steps of two, add 1 and there's little or no noticeable difference, add two and there is.  Certain combinations don't seem to work together, for example with ISO 800 in reasonably dark conditions, the -ev settings seem to have no effect.  Also if you use -ex off then none of the other settings seem to do much and you get, in daylight, what appears to be the equivalent of average metering, iso 100, -ev 10 and a shutter speed of 1/100.

     

    You're sure to have some interesting times ahead testing different settings to see what works.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube