Go to advanced search

by mikec79
Mon Dec 30, 2013 4:49 am
Forum: Other projects
Topic: Airplay Mirroring finally works on Raspberry Pi
Replies: 858
Views: 411406

Re: Airplay Mirroring finally works on Raspberry Pi

I would like to test this.

please send me the info at mike.cruz79@gmail.com

thanks,
Mike
by mikec79
Sun Dec 08, 2013 6:00 pm
Forum: Camera board
Topic: Camera Interface Specs
Replies: 353
Views: 102099

Re: Camera Interface Specs

jamesh wrote:Those of you who watched Gordon H do his presentation at the weekend Raspberry Jam will have seen a demonstration of a HDMI to CSI convertor running on the Raspi. In effect HDMI in.
Is this presentation online anywhere?
by mikec79
Thu May 30, 2013 12:15 am
Forum: Camera board
Topic: Streaming Raspberry Pi Camera H264 into HTML over RTMP
Replies: 199
Views: 277424

Re: Streaming Raspberry Pi Camera H264 into HTML over RTMP

What's the cpu use streaming to one client? top - 20:13:37 up 1:09, 1 user, load average: 0.01, 0.07, 0.06 Tasks: 72 total, 1 running, 71 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.0 us, 3.4 sy, 0.0 ni, 93.3 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem: 383752 total, 91228 used, 292524 free, 11676 buff...
by mikec79
Thu May 30, 2013 12:06 am
Forum: Camera board
Topic: Streaming Raspberry Pi Camera H264 into HTML over RTMP
Replies: 199
Views: 277424

Re: Streaming Raspberry Pi Camera H264 into HTML over RTMP

I had to troubleshoot it a bit, but it works for me.

You might want to check your web server and make sure you are not getting any errors for the jwplayer. I was getting a 404 on swf file. I ended up removing "lib" from line 21 in the html to "/jwplayer/jwplayer.flash.swf"
by mikec79
Mon May 27, 2013 12:49 am
Forum: Camera board
Topic: Camera module stream in a web browser
Replies: 23
Views: 32672

Re: Camera module stream in a web browser

I was able to get the delay on my hls stream down to ~13 seconds. I'm trying to use the video stream in a html based robot controller. I wonder if i might be better off playing with mjpeg.
by mikec79
Sat May 25, 2013 9:37 pm
Forum: Camera board
Topic: Camera module stream in a web browser
Replies: 23
Views: 32672

Re: Camera module stream in a web browser

looks like decreasing segment_time in hls.sh helps a little
by mikec79
Sat May 25, 2013 6:51 pm
Forum: Camera board
Topic: Camera module stream in a web browser
Replies: 23
Views: 32672

Re: Camera module stream in a web browser

I'm getting the same lag.
by mikec79
Fri May 24, 2013 1:53 am
Forum: Camera board
Topic: Camera module stream in a web browser
Replies: 23
Views: 32672

Re: Camera module stream in a web browser

I have been playing with Andy Armstrong's psips https://github.com/AndyA/psips It generates a HTTP Live Streaming (HLS) video that I've been able to view with Safari, QuickTime, and iOS Safari. I've found ways to make it viewable in other browsers using js/flash players like the paid version of jw p...
by mikec79
Mon May 20, 2013 7:41 pm
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 446
Views: 354769

Re: Foundation Camera Board information

I've been looking in to inserting direct to a container, but there are issues with the GPU firmware - untested code that isn't included in the Raspberry Pi firmware build. SO its not a quick fix. Thanks, I guess I'll stick with using the VLC browser plugin to display a live stream via a html page.
by mikec79
Mon May 20, 2013 6:16 pm
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 446
Views: 354769

Re: Foundation Camera Board information

would it be possible to set the container type using MMAL using a line like the following?

Code: Select all

encoder_output->format->container = XA_CONTAINERTYPE_MP4;
or

Code: Select all

encoder_output->format->container = MMAL_CONTAINERTYPE_MP4;
by mikec79
Mon May 20, 2013 5:38 pm
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 446
Views: 354769

Re: Foundation Camera Board information

Technically that is the one other encoder the hardware can support, but that does require licencing, and I doubt there will be sufficient demand to make the lengthly licencing procedure worthwhile. When h264 is free (already licenced), how many people will pay money for a substantially less efficie...
by mikec79
Mon May 20, 2013 4:40 pm
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 446
Views: 354769

Re: Foundation Camera Board information

dom wrote: Sorry, the chip doesn't have support to encode those formats. h264 and mpeg4 are supported, although I've not tested mpeg4.
No problem. I would be very happy with mpeg4.
by mikec79
Mon May 20, 2013 4:38 am
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 446
Views: 354769

Re: Foundation Camera Board information

Er, never tried it. Possibly...I can check which encoders are built in to the firmware tomorrow. In the meantime, no harm in trying it.... Note that some of those formats wont be feasible at 1080p30 (the VP ones are not fully HW accelerated - they do use the GPU, but don't have the extra HW support...
by mikec79
Sun May 19, 2013 7:41 pm
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 446
Views: 354769

Re: Foundation Camera Board information

James, Would I get a mp4 video out of RaspiVid if I change line 695 in RaspiVid.c encoder_output->format->encoding = MMAL_ENCODING_H264; to encoder_output->format->encoding = MMAL_ENCODING_MP4V; I found the following in mmal_param_convert.c, and I'm guessing those are our encoding options: static st...
by mikec79
Mon Jan 21, 2013 5:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Petition ServoBlaster + Raspberry Pi kernel tree
Replies: 4
Views: 1951

Re: Petition ServoBlaster + Raspberry Pi kernel tree

Great Idea...I posted on github to show my support.
by mikec79
Fri Oct 19, 2012 3:26 am
Forum: Other programming languages
Topic: Use I2C with Ruby
Replies: 6
Views: 7407

Re: Use I2C with Ruby

I think I'm getting closer. I need to read up on the unpack method and the << operator require "i2c/i2c" require "i2c/backends/i2c-dev" @lsm303 = ::I2C.create("/dev/i2c-0") @lsm303.write(0x1E, 0x00, 0x14) @lsm303.write(0x1E, 0x02, 0x00) @lsm303.read(0x1E, 0x02) mag_data...
by mikec79
Fri Oct 19, 2012 2:21 am
Forum: Other programming languages
Topic: Use I2C with Ruby
Replies: 6
Views: 7407

Re: Use I2C with Ruby

I've also tried a different method from the command line. pi@raspberrypi:~$ i2cset -y 0 0x1e 0x00 0x14 pi@raspberrypi:~$ i2cset -y 0 0x1e 0x02 0x00 i@raspberrypi:~$ i2cget -y 0 0x1e 0x02 0x00 pi@raspberrypi:~$ i2cget -y 0 0x1e 0x03 0xff pi@raspberrypi:~$ i2cget -y 0 0x1e 0x04 0x44 pi@raspberrypi:~$ ...
by mikec79
Thu Oct 18, 2012 1:00 am
Forum: Other programming languages
Topic: Use I2C with Ruby
Replies: 6
Views: 7407

Re: Use I2C with Ruby

I'm also trying to learn how to use I2C with Ruby. In my case, I'm trying to use a LSM303 Tilt Compensated Compass from sparkfun. https://www.sparkfun.com/products/10703 Steps I've done so far: Prepare r-pi for I2C - http://www.skpang.co.uk/blog/archives/575 Install ruby Install I2C gem - http://rub...

Go to advanced search