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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Would this work for a handheld DVR?
  • 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 10 replies
  • Subscribers 667 subscribers
  • Views 718 views
  • Users 0 members are here
  • help
  • raspberry_pi
  • touchscreen
  • video_compression
Related

Would this work for a handheld DVR?

Former Member
Former Member over 13 years ago

Hello All, I plan to develop a small handheld digital video recorder, and it looks like the Raspberry Pi might be just the piece of base-kit I've been looking for!

 

For the basic device, I need to connect an LCD touchscreen to it, which I would guess I can do via one of the USB ports, and a composite video (CVBS) input.  For future use, I'll need ADC and CAN-comms inputs, but that all looks fairly straight-forward, based on what I can see from the specs docs.

 

I was looking at the Beagleboard for this initially, but I hope to make small batch production runs with it for a business start-up.  The Beableboard people repeatedly say that it's not suitable for production runs, but don't say why unfortunately, so that's why I'm now pinning my hopes on the Raspberry Pi.

 

Can anyone out there help me out with these questions:...?

- From reading through the spec and some of the posts here, it looks like there is plenty of power to decompress a digital-video file and drive out a video stream to the HDMI or Video port, but what about the other way around - compressing a video input stream?  Is the MIPS of the ARM core and the available memory on the Raspberry Pi board enough to compress a video input stream (probably H.264), in readiness for storage to some kind of mass media (SD-Card, or possibly a USB SDD)?
- I see that there is something called a 'Camera Port' on-board, but can't find out much about it - is this suitable for composite video input, or is it for something else entirely?
- In case I can't connect a CVBS signal straight into the board, for a backup I've also been looking for a piece of hardware that I could use for digitising a CVBS input into a USB port, but the only one I've found that's even close to what I need costs a small fortune, and knocks my target price for six!  I want to get hold of somethig like those cheap bits of video=>PC conversion gadgets that are in abundance on eBay (etc), but that also allows integration into other systems.  Does anyone in the community know of such a thing for around £20?
- I want to use a touchscreen input to side-step the logistical complexity of having user-buttons read into the GPIO ports - is USB the only way I'm likely to be able to get a touchscreen input into the Raspberry Pi, or does anyone know of a device that would enable me to hook a touchscreen up to an interface that's already on the board?
- Lastly, is the Raspberry Pi suitable for what I want to do, or would I still be better off looking at the Beagleboard, or even Beaglebone?

 

The Raspberry Pi looks like a fantastic peice of equipment for this kind of thing - and it's British - and I'd love to be able to use it for my project, so any help or advice would be greatly appreciated.

 

Doug Ponsford.

  • Sign in to reply
  • Cancel
  • michaelkellett
    michaelkellett over 13 years ago

    THe RPi is completely unsuitable for this kind of thing:

     

    You are talking about "small batch production runs with it for a business start-up" - the RPi project is currently not a source of anything but even if they sort out the current problems it would be a poor basis for a serious product because the RPi project has no commitment to being a source of OEM boards.

     

    But it's a bad choice for other reasons -  the IO is very limited and you will have dififculty interfacing CAN or high performance ADC to it.

     

    I don't know if it will do the video stuff you want.

     

    AFIK The Beaglebone design can be cloned (check this before making too much comitment) so if it works for your project you can make your own custom boards if you get to production.

     

    But  I'm puzzled - what will be special about your device - if you Google for handheld dvr you find zillions of products form about £30 upwards - it looks like a dificult market to penetrate with a solution made of plugged together retail devices. You'll be up against people who are happy to develop custom chips but you're worried about the complexity of reading buttons via GPIO.

     

    Michael Kellett

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mahjongg
    mahjongg over 13 years ago

    Well, I agree with Michael Kellett, the RPI as is is unsuitable for what you want at the moment, but maybe its not because it lacks the hardware to do what you want, but more because there is no support at the moment for what you want to do with that hardware; let me explain.

     

    The RPi does have hardware (interfaces) for Video Input and LCD output, but there is no software support for them (yet), and the interfaces are very modern, and therefore may not be easy to interface to the kind of devices you want to use. It has these interfaces because the Broadcom SoC (chip) that is used is actually a chip meant for smartphones and tablets and such, and therefore naturally has these interfaces, (for smartphones and such) the RPF decided to bring them out to a connector for possible future use.

     

    For video input the RPI has a 15-pins connector on board for a CSI camera, this interface is meant for the type of camera's typically found in smartphones. It connects to such a camera module with a paper thin flexible foil (with metal traces on them). This interface thus provides a video input option, but perhaps not in a form that is directly useful to you. The foundation has announced they are working on a camera module for this interface.

    Its to be noted that this DSI camera "speaks" directly to the GPU, which can only be controlled through a software interface, so its hard to say what useful things you can do with the captured video, the (ARM) CPU is probably too slow to encode the video signal into any kind of video format, but the GPU might be able to, IF such a thing is supported by it, using the available software interfaces.

     

    Regarding an LCD, obviously you can hang a PAL (NTSC) or HDMI LCD screen on it using the RCA and HDMI connectors, but the SoC also has a DSI output connector (also a 15 pins connector of the same type as the DSI connector), which can be used to drive raw LCD panels. But for this interface too, hardly any documentation exists at the moment, nor does a driver. DSI is very powerful and can not only transfer video data to the panel, it also can control the LCD panel and read out a touch interface.

     

    So maybe sometime in the future something like you want will be possible, but not at the moment, and not unless you are very knowledgeable about these interfaces, and the software that is needed to make them work, and only then if you can coax the GPU to do what you want, which may be impossible without support from Broadcom.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bartonwood
    bartonwood over 13 years ago in reply to mahjongg

    Hi Martin

     

    I certainly agree with much of what you have said. I am an optimist at heart and when I first came across the RPi I thought that we might just have a chance of making things a little bit more positive with respect to opening-up some quite clever electronics applications via open-source strategies.

     

    I’m a retired engineer with an interest in aerial, digital still and video photography using actively stabilised, RC, fixed wing platforms. I wish to use the RPi (when I get mine?) with Aptina MT9D111 2MP and MT9P031I12STMH ESMT9P031I12STMH ES 5MP SOC camera modules (among others) to store the captured images onto SD card. These modules where designed for and are used in mobile phones and similar systems hence my particular interest in the RPi and its Broadcom SoC processor. The question I should like to ask of anybody who has an informed opinion on the subject is: Is there any support for such devices at present or in the pipeline for using digital camera sensors, board modules, SOC’s etc. especially for full HD (1080p@30fps H-264) video and, say, 5MP or 8MP still images? If so, where, when and how, can we get details of such work? The software for these tasks has been written many times, for many devices: it only needs someone with a little generosity (it doesn't have to be the latest, all-singing, all-dancing version) to release it into the public domain for the use of all hobbyists, students, educators, tinkerers etc. Maybe we need to pressure RPF into negotiating with Broadcom to give more support for this AOI especially in terms of legacy drivers and their hardware.

     

    An ever hopeful tinkerer, 

     

    John Barton Wood

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mahjongg
    mahjongg over 13 years ago in reply to bartonwood

    John,

     

    searching the forum on the original raspberry PI site might provide some answers, as well as a place to ask question, or ask for features.

    the site (if you do not know) is here: http://www.raspberrypi.org/

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

    @ Michael, Thanks for your comments.

     

    I did think that the RPI wouldn't be well supported, as it's primarily designed for teaching kids about computing, so your (and others) comments about lack of production support in the future confirm my suspicions.

     

    ADC or CAN would be connected via I2C/SPI, so that would be quite easy.  I had assumed that there would be some kind of Board Support Package available via the Linux community, but it seems that this is also some way off (if at all), so it does look like the RPI would be unsuitable for anything other than a one-off homer project.

     

    As for why I would want to try to compete with the major ASIC manufacturers - I don't!  The myriad cheap devices that you can get anywhere aren't suitable for my target market - sports use. None of the devices you can buy cheaply allow an external CVBS video source to be input (which is important for siting a small bullet camera in a small space on the inside of a race fairing, or on a roll-cage - and imagine trying to ride a mountain bike downhill one-handed, while taking video shots on a mobile-phone with the other!).  Plus, any device with a hard-disk can't withstand the vibration levels you would get in a rally car (most affordable SD-Card video cameras are quite poor quality).

     

    In respect of interfacing buttons to GPIO, you're right that it's a very simple thing to do to just wire up some switches to GPIO, but when you try to fit those switches into a waterproof case, and still make them usable with gloves on, that becomes a whole new problem!  That's why a touch-screen would be the way to go for a waterproof user interface.

     

    Doug.

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

    Martin,


    Looking at the spec, it does sound like all of the elements I am looking for are already 80-90% there, in terms of hardware alone, but it sounds like the support I would need to turn it into a product isn't quite there yet, at least on the software side.


    I have years of experience in embedded hardware and software development, so hardware mods wouldn't be an issue with this board, but I am brand-new to LINUX, so if there isn't already a fair bit of support for this board and the interfaces it already carries, or at least a BSP, then I should probably look elsewhere.


    I've already found suitable boards elsewhere, but these are mostly sourced from China, or Taiwan.  Not that there's a problem with Chinese or Taiwanese kit these days, it just would have been good to use some home-grown kit from the UK!


    I'll go back to my Taiwan boards for now, but I'll keep an eye on RaspberryPi developments and see if I can switch to it at a later date.


    Thanks for your comments - very helpful.

     

    Doug.

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

    @John,

     

    I'd be interested to hear how you get on.

     

    Doug.

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

    It sounds like an interesting project, Douglas, and even if you decide to use some other ARM board, your experiences could be quite useful to the Pi community.  Please keep us in the loop periodically. image

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

    Douglas,

     

         I will also be listening intently for any progress you can make.

     

         I would also add that the RPi has had many optimizations made during the development that allows the driving of specific displays that the chipset supports as well as the ability to decode certain types of audio and video.  Not all formats are supported by hardware, which means that some would have to be done by software.  This is where the previously mentionned optimizations make the software efforts rather inefficient.

     

         I've been using TV tuners with Linux for years and even now with systems with multi-core processors running at 2-3GHz and 4-8GB of memory, I can still have issues encoding and decoding HD video.  You will find that DVR-type systems like Apple TV & WD TV are extremely optimized for audio and video encoding and decoding but would not be very useful for other types of work. 

     

         I believe that we will have to wait until many people have their RPis in hand putting them through their paces to get a real read on how it operates under the large variety of potential uses.

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

    Are you sure the functionality you want isn't already available? For instance, there are 720P H.264 "keychain cameras" for US$30 available now. These are small enough to put just about anywhere.

    http://www.ebay.com/itm/808HD-11-HD-DV-KeyChain-Lens-Camera-Cam-H-264-720P-New-/160595839562?pt=LH_DefaultDomain_0&hash=item2564420a4a

    • 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