Author Topic: Capturing Video from Flir E4 to portable device  (Read 46496 times)

0 Members and 1 Guest are viewing this topic.

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Capturing Video from Flir E4 to portable device
« Reply #50 on: January 20, 2014, 10:45:59 am »
... ffmpeg will grab frames as fast as it can get it from the UVC video interface, and forward the raw video stream to the next process (ffserver).

at the original driver, i got only 3.75 fps. the stream was recorded in a higher rate, but the actual image changed about 4 times per second.

maybe there are fixes for the UVC driver that always uses highest rate. the driver of the current PI's "rasbian" distribution does not.
Dunno, I get ~ 9 fps.  :-// That is on several machines. The ffserver box is a (mostly) unpatched 3.7.0 kernel. But same 9 fps results on a 3.3.4 kernel. And another with a diff kernel, but I can't be bothered right now to walk over to turn it on. :P All custom kernels on debian boxes, but no fancy patches for UVC or anything.

Anyways, you could of course just provide the frame rate on command line. That way you don't have to rely on a default. That way if it supports the higher frame rate it will do so. Or maybe this is less of an UVC driver issue and more of a crappy usb issue? Don't have an RPI, so can't verify/fix things for you.
 

Offline pomonabill221

  • Frequent Contributor
  • **
  • Posts: 252
  • Country: us
Re: Capturing Video from Flir E4 to portable device
« Reply #51 on: January 20, 2014, 07:16:35 pm »
I am using a program called Blue Iris and it is a security software with motion detection/audio/webserver/TONS of features, and is only $50 for up to 64 cameras, both usb and IP and screen capture.
When I initially setup the software for the E4, it sets the framerate at 3.75fps., but I manually specify 30 fps. and the E4 comes in at 9-10 fps.
Strange that it initially detects 3.75 fps., but it does change to the max rate the E4 sends (although NOT more than 10).
I can post a screen capture of the software if wanted... just let me know.
 

Offline Captain MorganTopic starter

  • Contributor
  • Posts: 28
Re: Capturing Video from Flir E4 to portable device
« Reply #52 on: February 11, 2014, 07:44:35 pm »
It's been a while since I added the switch and have played with the FLIR and PI a couple of times.

The image hangs up, I don't get any pics or videos on the sd card.

I don't know where there are any options to change configurations or what would need to be adjusted.

I can see the FLIR image in a screen on the desktop but it hangs and flips between 2 screen shots.

This is from Jolly's last build.

Any ideas?


.

« Last Edit: February 12, 2014, 01:15:08 am by Captain Morgan »
 

Offline Captain MorganTopic starter

  • Contributor
  • Posts: 28
Re: Capturing Video from Flir E4 to portable device
« Reply #53 on: February 14, 2014, 02:31:56 am »
Anyone?

chirp
 

Offline Jolly

  • Contributor
  • Posts: 14
  • Country: de
Re: Capturing Video from Flir E4 to portable device
« Reply #54 on: February 15, 2014, 07:34:26 am »
It's been a while since I added the switch and have played with the FLIR and PI a couple of times.

The image hangs up, I don't get any pics or videos on the sd card.

I don't know where there are any options to change configurations or what would need to be adjusted.

I can see the FLIR image in a screen on the desktop but it hangs and flips between 2 screen shots.

This is from Jolly's last build.

Any ideas?


.

First check, if your cam is set to UVC !!only!! mode (USB mode in hidden menu). Then ssh to the PI and check, if the video device exists:

root@raspberrypi:~# ls /dev/video0
/dev/video0

If you get something like "No such file or directory", check your USB connectivity.

Then try to manually play the video:

root@raspberrypi:~# DISPLAY=:0 mplayer tv:// -vo sdl

Does it appear on the Screen?

I experienced the hangs too. This happens, if I disconnect/tun off the camera while playing video.

Recording of E4 videos using a Raspberry PI: http://www.eversberg.eu/download/flir_vcr_v0.1.zip
 

Offline Captain MorganTopic starter

  • Contributor
  • Posts: 28
Re: Capturing Video from Flir E4 to portable device
« Reply #55 on: March 07, 2014, 02:05:34 am »
After all this time, I'm still no further along. I tried some of the things you mentioned, like the hidden settings on the Flir, but get lost on the Linux stuff.

"set to UVC !!only!! mode"  roger


root@raspberrypi:~# ls /dev/video0
/dev/video0

 . . . you lost me.

No files at all are being created on the sd card.


.
 

Offline Jolly

  • Contributor
  • Posts: 14
  • Country: de
Re: Capturing Video from Flir E4 to portable device
« Reply #56 on: March 07, 2014, 06:33:12 am »
have you tried to view video on video output or hdmi output? try this:

DISPLAY=:0 mplayer tv:// -vo sdl

Recording of E4 videos using a Raspberry PI: http://www.eversberg.eu/download/flir_vcr_v0.1.zip
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Capturing Video from Flir E4 to portable device
« Reply #57 on: March 07, 2014, 06:49:41 am »
After all this time, I'm still no further along. I tried some of the things you mentioned, like the hidden settings on the Flir, but get lost on the Linux stuff.

"set to UVC !!only!! mode"  roger


root@raspberrypi:~# ls /dev/video0
/dev/video0

 . . . you lost me.

No files at all are being created on the sd card.


.
After you connect the E4 over usb, run dmesg. Do you get any messages indicating it detected an UVC device? Also ... lsmod | grep uvc
 

Offline Captain MorganTopic starter

  • Contributor
  • Posts: 28
Re: Capturing Video from Flir E4 to portable device
« Reply #58 on: March 09, 2014, 05:23:35 am »
Thanks for the suggestions, although it still just more ambiguous Linux stuff.

Run these where, in the Linux equivalent to a CMD prompt?

Start > Mysterious place to run commands > Linuxy Stuff > "black screen with cursor"

Lil help?


.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8345
Re: Capturing Video from Flir E4 to portable device
« Reply #59 on: March 09, 2014, 08:59:53 am »
It's called a Terminal on Linux.
 

Offline Jolly

  • Contributor
  • Posts: 14
  • Country: de
Re: Capturing Video from Flir E4 to portable device
« Reply #60 on: March 10, 2014, 08:39:30 am »
Thanks for the suggestions, although it still just more ambiguous Linux stuff.

Run these where, in the Linux equivalent to a CMD prompt?

you can log into it using ssh client (putty). login is 'root', password is 'pi'. the ip addess is given via dhcp, if the pi was connected via lan.

alternatively you can connect keyboard and monitor and hit LEFT-CTRL + LEFT-ALT + F1 and you get a text based console. press LEFT-ALT + F7 to switch back to X windows.
Recording of E4 videos using a Raspberry PI: http://www.eversberg.eu/download/flir_vcr_v0.1.zip
 

Offline Maverick8x

  • Newbie
  • Posts: 3
Re: Capturing Video from Flir E4 to portable device
« Reply #61 on: April 28, 2014, 09:10:36 pm »
Hey guys!

A big respect goes out to you guys for putting so much work into this!

I have my e4 now, modded it and wanted to connect it to my pc with the flir camera player. I set the USB mode on the e4 to UVC and started the Flir camera player. It shows me the camera as device but when i want to connect it freezes for about 10-15 seconds and says it cannot connect.  :-//
Any Ideas what I could do ? It shows up as a Camera under Windows devices. Also the Flir Tools+ gives me the same error.

Thanks a lot!
 

Offline Maverick8x

  • Newbie
  • Posts: 3
Re: Capturing Video from Flir E4 to portable device
« Reply #62 on: April 28, 2014, 09:24:35 pm »
Oh the exact message is "Cannot render graph"
 

Offline scientist

  • Frequent Contributor
  • **
  • !
  • Posts: 317
  • Country: 00
  • User banned.
Re: Capturing Video from Flir E4 to portable device
« Reply #63 on: April 29, 2014, 01:07:11 am »
Video streaming was disabled for hacked devices in the 1.22 update. Didn't you see that in the thread? Only users with 1.19.8 were able to get it working.
 

Offline Maverick8x

  • Newbie
  • Posts: 3
Re: Capturing Video from Flir E4 to portable device
« Reply #64 on: April 29, 2014, 06:12:44 pm »
Hey and thanks for the reply. You mean the 325 Pages Teardown thread ?

I might have missed one or two posts..   ;)
 

Offline ixfd64

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: us
    • Facebook
Re: Capturing Video from Flir E4 to portable device
« Reply #65 on: April 29, 2014, 07:39:03 pm »
So there is currently no way to record video from the E4 on the field other than ferrying a laptop around?

Offline scientist

  • Frequent Contributor
  • **
  • !
  • Posts: 317
  • Country: 00
  • User banned.
Re: Capturing Video from Flir E4 to portable device
« Reply #66 on: April 29, 2014, 08:36:36 pm »
I'm unclear on that.
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13267
  • Country: gb
Re: Capturing Video from Flir E4 to portable device
« Reply #67 on: April 29, 2014, 09:44:19 pm »
This thread tells you how to use a RPi for recording. But only for FW 1.19.8 and earlier.
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline comanche3

  • Contributor
  • Posts: 13
Re: Capturing Video from Flir E4 to portable device
« Reply #68 on: October 15, 2014, 01:18:52 pm »
any chance to get live streaming working on 1.22 device ?
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Capturing Video from Flir E4 to portable device
« Reply #69 on: October 15, 2014, 01:22:40 pm »
Enable UVC video on your E4, and after that the exact same steps as you would for older firmwares.


edit: curse you, typo!
« Last Edit: October 15, 2014, 02:56:34 pm by mrflibble »
 

Offline comanche3

  • Contributor
  • Posts: 13
Re: Capturing Video from Flir E4 to portable device
« Reply #70 on: October 15, 2014, 02:47:21 pm »
Video streaming was disabled for hacked devices in the 1.22 update. Didn't you see that in the thread? Only users with 1.19.8 were able to get it working.

I thought that this will only work with 1.19.8 as written above ? Or will capturing also work with 1.22 ?
« Last Edit: October 15, 2014, 04:26:19 pm by comanche3 »
 

Offline Hephaestus

  • Newbie
  • Posts: 3
Re: Capturing Video from Flir E4 to portable device
« Reply #71 on: October 27, 2014, 03:06:09 pm »
My hacked E4 1.22 works with FLIR player on both XPx86 and win7x64.
I just purchased a windows tablet to dedicate for use with my E4. Microsoft has them on sale for $99 right now, but it's not a very powerful machine.

http://www.microsoftstore.com/store/msusa/en_US/pdp/Toshiba-Encore-Mini-WT7-C16MS-Signature-Edition-Tablet/productID.307250100
 

Offline Hephaestus

  • Newbie
  • Posts: 3
Re: Capturing Video from Flir E4 to portable device
« Reply #72 on: October 28, 2014, 07:39:09 pm »
I just purchased a windows tablet to dedicate for use with my E4. Microsoft has them on sale for $99 right now, but it's not a very powerful machine.

http://www.microsoftstore.com/store/msusa/en_US/pdp/Toshiba-Encore-Mini-WT7-C16MS-Signature-Edition-Tablet/productID.307250100

E4 didn't work with the Toshiba tablet.  At least not with FLIR Tools.
 

Offline sky@eevblog

  • Contributor
  • Posts: 19
Re: Capturing Video from Flir E4 to portable device
« Reply #73 on: November 01, 2014, 05:01:51 pm »
E4 didn't work with the Toshiba tablet.  At least not with FLIR Tools.

You may try to install 32-bit flir drivers http://support.flir.com/SwDownload/App/RssSWDownload.aspx?ID=71
 

Offline Captain MorganTopic starter

  • Contributor
  • Posts: 28
Re: Capturing Video from Flir E4 to portable device
« Reply #74 on: December 06, 2014, 07:01:50 pm »
Any update on Windows recording?

I was never able to get the Linux on PI to work.  |O
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf