Capturing Video from Flir E4 to portable device - Page 1
Forum section: electronics / testgear

author: Captain Morgan
author_rank: Contributor
timestamp: December 26, 2013, 05:53:00 am
content: Hello,I love my new upgraded E4 and would want to capture video to a portable recording device via the usb cable. I can stream this to the PC and view via the Flir Tools, but obviously I can't lug a PC around in the field. The best I could hope for would be a smallish netbook.Does anyone know a way to capture this usb video stream to an Android device such as a 10" ASUS tablet?Are there any suggestions for portable DVRs that will accept a USB input?Thank for your suggestions!

author: bronson
author_rank: Regular Contributor
timestamp: December 26, 2013, 05:16:41 pm
content: A Raspberry Pi or any of its friends can do UVC streaming quite well if you don't need battery power.Otherwise a netbook or tablet/laptop hybrid might be your best bet. Unsurprisingly, there don't seem to be many promising Android results. Here's a summary but it's a year out of date:http://stackoverflow.com/questions/8963897/use-usb-camera-on-android-application

author: Captain Morgan
author_rank: Contributor
timestamp: December 26, 2013, 07:31:33 pm
content: Thanks bronson. I had not consider a Raspberry Pi type device and not that familair with them. I can supply pwr via packpack etc.If I could find something that writes to USB or flash and has low current draw then even better.Something like this then? -http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=49530

author: bronson
author_rank: Regular Contributor
timestamp: December 26, 2013, 08:04:55 pm
content: Yea, I haven't done UVC on the Pi myself but that sounds right.There's also this:http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&t=53530

author: Captain Morgan
author_rank: Contributor
timestamp: December 26, 2013, 08:37:42 pm
content: Thanks again, I was just reading the note about "Model B Hardware Revision 2.0 and Revision 1.0 with ECN0001 change" in the RPi VerifiedPeripherals wiki.If I'm just using the full USB end of the USB-micro cable, and plugging in to one of USB female ports on the PI, then I don't think there should be any issues since this would be high impedence and no draw. Any 5v on the PI end wouldn't hurt the Flir either?With the correct drivers, I should be able to grab the twain or stream from the Flir and capture at some size and framerate according the script I use.*i think*Thanks again for youe time and efforts!Cheers

author: Captain Morgan
author_rank: Contributor
timestamp: December 29, 2013, 08:47:00 pm
content: Does anyone know what the signal is coming from the E4?Is it a purely digital stream?Does anyone know if this could be captured by a device using an adapter cable of some type?THX

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: December 29, 2013, 09:12:36 pm
content: Quote from: Captain Morgan on December 29, 2013, 08:47:00 pmThere is a raw 60fps digital stream inside (see teardown vid), but you'd need to do quite a lot of processing (NUC, noise reduction, scaling, calibration) to get something useable. For something visual as opposed to accurate for measurement, a lot of these steps could be very simple.

author: Captain Morgan
author_rank: Contributor
timestamp: December 29, 2013, 11:23:22 pm
content: Thanks Mike! Appreciate your feedback.I guess the Flir Tools software handles the E4's raw 60fps output in Windows.I do need to record something visual, an .avi or mpeg etc, but not seeing anything off the shelf for this.Looks like learning Linux and going the PI route may be my only option.Cheers

author: Fraser
author_rank: Super Contributor
timestamp: January 01, 2014, 03:48:37 pm
content: The Ex series output 9fps, visual and digital, to avoid some ITAR restrictions. 60fps does not appear at the cameras USB port.

author: Captain Morgan
author_rank: Contributor
timestamp: January 10, 2014, 07:02:30 am
content: Thanks for the clarification. Even at 9fps, I want to snag that signal!I don't currently have a scope, can anyone say which pin(s) on the USB end the video feed is on?Maybe I can catch that and find something to consume the feed.THX

author: Fraser
author_rank: Super Contributor
timestamp: January 10, 2014, 10:00:46 am
content: The E4 has a standard USB port that uses D+ and D- for USB data communication. There are no other communications or video stream pins present. From what I understand, the only way to extract video from the E4 via that port is by treating it as a USB webcam operating as a UVC device.

author: amyk
author_rank: Super Contributor
timestamp: January 10, 2014, 11:02:17 am
content: If you connect the portable device to the E4 it will probably try to charge from it, unless its battery is full.

author: Jolly
author_rank: Contributor
timestamp: January 11, 2014, 02:49:23 pm
content: Finally my E4 (E8) VCR is done. It is based on Raspberry PI with a patched Linux Kernel module. To get a video signal out, I lower the switch. To record, I raise the switch. If someone has an idea about how to use mplayer/mencoder to play and record at the same time, let me know.

author: Fraser
author_rank: Super Contributor
timestamp: January 11, 2014, 04:02:19 pm
content: Nice implementationI note you have some video glasses connected...... I have several sets of Olympus FMD700 EyeTrek glasses awaiting use in my projects, so this would be a good one to start with.Any chance you can shared the Rasberry-Pi code

author: Captain Morgan
author_rank: Contributor
timestamp: January 13, 2014, 12:04:14 am
content: Jolly! You beat me to it!My PI hasn't arrived yet, I already dl all the builds etc.Would you mind working with me on various builds and peripherals etc?I would like to know your implementation as well.Please PM if you're interested and I'll shoot you an email address.I would love to share and compare notes with you.cheers

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 14, 2014, 03:43:23 am
content: Quote from: amyk on January 10, 2014, 11:02:17 amI found the E4 runs from the connected device, through the usb connector, whether it is charged or not.This means that your device's battery is powering the E4 which draws about 500-700 mA depending on whether it is calibrating (shutter operating) or not, but still draws the 500 mA.The battery does NOT power the E4 when connected! not so good for portable use!

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: January 14, 2014, 09:26:18 am
content: Quote from: pomonabill221 on January 14, 2014, 03:43:23 amRemember to turn the backlight down - this makes a big difference to power draw. As the sensor is heated, you may find that current draw reduces once the sensor has stabilised.May be worth looking at how the backlight is controlled in hardware - if it was in a power manager on I2C, you could shut it off with a console command over USB.

author: Fraser
author_rank: Super Contributor
timestamp: January 14, 2014, 10:36:26 am
content: To solve this problem could you not modify a USB to Micro USB cable by disconnecting the +5V line. You would still have the 0v, D+ and D- for comms. I am not sure whether the +5v is used to trigger any 'external connectivity' mode in the E4 though. The USB to Micro USB cables are very cheap to experiment with.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: January 14, 2014, 11:42:54 am
content: You can probably stop charging without affecting connectivity by reducing the voltage on the USB supply pin.

author: Jolly
author_rank: Contributor
timestamp: January 14, 2014, 01:39:21 pm
content: Quote from: Aurora on January 11, 2014, 04:02:19 pmYes, I finally made an image of it. It is about 1 Gig. Once I have upload it, I will announce it here.

author: Fraser
author_rank: Super Contributor
timestamp: January 14, 2014, 04:46:30 pm
content: Hi Jolly,That would be great thanks you. I have not used the RPi before and this wil be a good excuse to buy one to experiment withCheersAurora

author: amigo
author_rank: Regular Contributor
timestamp: January 14, 2014, 06:08:11 pm
content: Quote from: Jolly on January 11, 2014, 02:49:23 pmHave you tried using VLC, as it can capture various kinds of streams while playing back at the same time?

author: Captain Morgan
author_rank: Contributor
timestamp: January 14, 2014, 07:07:14 pm
content: I agree with snipping the +5v wire idea. This is an easy hack and can just recover with shrink tube.@ Jolly, can you also share info about the switches you added, and the connections etc?many thanks.

author: Jolly
author_rank: Contributor
timestamp: January 14, 2014, 09:18:23 pm
content: Here is the PI image (for video recording and output on the video out) and some quick README files:http://www.eversberg.eu/download/flir_vcr_v0.zipIt should explain everything that is required. If you have problems, let me know.If someone can make it work to record and view at the same time without extra latency, he/she will receive a free E4 camera.(That was a joke!)

author: Jolly
author_rank: Contributor
timestamp: January 14, 2014, 09:33:37 pm
content: Quote from: amigo on January 14, 2014, 06:08:11 pmIt is worth trying. Just install the VLC on the PI image that I submitted in the post above. The device of a connected camera is /dev/video0. It supports full frame rate with my patched kernel module. Unpatched driver only allows to capture 3.75 frames/s. (The driver patch is very dirty, so connecting other cameras than Ex might/will crash the kernel.)

author: Captain Morgan
author_rank: Contributor
timestamp: January 14, 2014, 10:11:29 pm
content: Thx Jolly, I'll get the zip file and readme when I get home.Thx for the upload!.

author: Jolly
author_rank: Contributor
timestamp: January 15, 2014, 11:16:22 am
content: Some field tests yesterday showed that my PI's SD card image does not work as expected. Here is the new version:http://www.eversberg.eu/download/flir_vcr_v0.1.zipThe install process is much easier, also.

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 15, 2014, 08:21:55 pm
content: Quote from: mikeselectricstuff on January 14, 2014, 09:26:18 amI did try some rset commands for back light brightness and was able to send "0" and the back light went off, so yes it can be controlled through software.. not too "up" on how to add this to a menu for display brightness yet, but I wouldn't go below 1 to 5 as you wouldn't be able to see the menu settings when you wanted to restore things!

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 15, 2014, 09:25:17 pm
content: Quote from: Jolly on January 15, 2014, 11:16:22 amI am trying to download your app and have tried several times and it is crawling! The speed is around 20k/sec where other downloads average about 120k/sec. The estimated time is 12 HOURS!!!Are you hosting the file? or are you using a slow host?

author: Jolly
author_rank: Contributor
timestamp: January 15, 2014, 09:35:33 pm
content: Quote from: pomonabill221 on January 15, 2014, 09:25:17 pmI'm hosting it on a friend's server. I tested the download, it takes about 1 hour at about 300k/sec. If you can provide web space, I could upload it there.

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 16, 2014, 02:01:41 am
content: Quote from: Jolly on January 15, 2014, 09:35:33 pmI don't have a webspace yet... I did try again and the speed is the same (about 20k/sec).I will try and create a webspace just for this download and let you know.thanks!

author: Captain Morgan
author_rank: Contributor
timestamp: January 16, 2014, 06:12:57 am
content: The PI arrived todayHopefully this weekend I can set it up and try your new build. I'm still unsure about the switches though and how they trigger the record process etc.I'm really glad you chimed in here Jolly, I think this thread is going to be a big deal for E4 owners..

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 16, 2014, 06:55:40 am
content: Quote from: Aurora on January 14, 2014, 10:36:26 amI did try opening the +5 in the usb cable, and the connection was lost so it does need the +5 from the host (computer) and draws current from the host. I measured 100mA but that was with a full battery.I even inserted a 220 ohm resistor between the computer and the E4, and that didn't work either.I will do more testing as I just wanted to try it first.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: January 16, 2014, 08:55:34 am
content: Quote from: pomonabill221 on January 16, 2014, 06:55:40 amFor dropping teh voltage to reduce charge current, you may be better off with a couple of 1N4001 diodes than a resistor, to the voltage drop isn't very dependent on current draw - with 220R, the voltage would collapse as soon as it tries to charge

author: Jolly
author_rank: Contributor
timestamp: January 16, 2014, 01:26:11 pm
content: Quote from: Captain Morgan on January 16, 2014, 06:12:57 amSee "README-Usage" in my zip file. The two GPIO pins are shown in this ASCII-art. If you pull GPIO14 to ground, you can view the image. If you pull GPIO15 to ground, you will record. The recording will be indicated by the blinking ACT LED.

author: Captain Morgan
author_rank: Contributor
timestamp: January 16, 2014, 04:49:29 pm
content: Thx Jolly, I DL the upgrade last night and did view the readme and saw the instructions there.Much appreciated!

author: Captain Morgan
author_rank: Contributor
timestamp: January 16, 2014, 09:33:37 pm
content: Instead of splicing the cable to separate the DC draw through the PI, why not put a hub in the middle directly to the same regulated 5v supply that can pwr both the Flir and the PI?Or if not a hub, maybe a USB splitter or Y dongle.This way the signal passes and the current draw comes from the battery in the middle..

author: mrflibble
author_rank: Super Contributor
timestamp: January 18, 2014, 09:37:44 am
content: Quote from: Jolly on January 11, 2014, 02:49:23 pmI've been recording and streaming E4 video on a small linux box for some time now. See my old post here:https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg347138/#msg347138I also have some older mencoder etc related posts. Just search that thread.

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 19, 2014, 08:03:53 pm
content: Quote from: Captain Morgan on January 16, 2014, 09:33:37 pmThat's basically what I am going to do with the usb battery that I bought from the egg.I did try an external power supply and reduced the voltage until I got the "device disconnected" alert from my laptop, and it dropped connection at 3.5 volts, and reconnected at 3.7 volts.... sound familiar (nominal Li-Ion voltages).The current draw was less than 1 mA at these voltages, but when I increased to 5 volts, the current was increasing and seemed to top out at about 600 mA, so it looks like the camera was using the external supply to power and charge the battery.I am going to let the external supply sit at 3.7volts and run the camera for a long time to see if the external battery discharges and the camera runs of the external supply.It may be the if the external voltage is low, it is just powering the usb interface and will not draw current from the host (laptop).Then I could drop the voltage from the laptop to something below the charging voltage for portable use.Thanks Mike for your suggestion and yes, I should have used a couple of diodes instead of a resistor for this test, but it was a quick test and not very good.

author: Jolly
author_rank: Contributor
timestamp: January 19, 2014, 08:50:27 pm
content: Quote from: mrflibble on January 18, 2014, 09:37:44 amwhat frame rate did you get? the E4 provides the 3 different frame rates in descending order. with standard uvc driver, the recording rate is 3.75 fps, since that is the "highest" one the camera provides. i hacked the driver for my PI image, so it uses the "lowest" one, which is 15 fps. there is no way to tell the driver which rate it should use. (even USB uses a frame rate of 15hz, the frame rate from the sensor is 9hz.)

author: lmfse
author_rank: Newbie
timestamp: January 19, 2014, 10:01:11 pm
content: FLIR got a free cameraplayer for the folloing cameras• ThermoVision A20 series• ThermoVision A40 series• FLIR A/SC3xx series• FLIR A615/SC6X5• ThermaCAM S series• FLIR P/B/SC6xx• InfraCAM• FLIR Txxx series• FLIR Bxxx series• FLIR ixx series• FLIR bxx series• FLIR GF3xx series• FLIR Exx series• FLIR T6xx seriesBut it works with the E4 as well (as long as you don't try to use focus,adjust,freeze or save image on camera)Download it herehttp://support.flir.com/SwDownload/app/RssSWDownload.aspx?ID=89

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 20, 2014, 05:58:44 am
content: I tried a few more tests with the usb +5 broken out of the cable and connected to my laptop. I used an external power supply to the camera's +5 line and the laptop was not connected to the +5.It seems that the camera is detecting the presence of power on the +5 on the usb cable, and does connect.What I did was to see what the voltage and currents were.At. 4.0 to 4.4 volts, the camera draws 0.8mA yes.. 800 uAmps.At 4.4, the current jumps up to 78mA.Reducing the voltage FROM 4.4 down to 4.1, the current drops to 0.8uA again.Reducing further, the laptop "device disconnected" at 3.3 volts and current dropped to 0mAIncreasing back up to 3.6 volts, the laptop re connected.So it seems that the camera is sensing the voltage on the usb cable even though it doesn't use the usb power to operate and runs on it's own battery.I did set my power supply to 4.0 volts and switched the output off and on, and the laptop disconnected and reconnected with no problem.SO, like Mike suggested, just use a few diodes to drop the +5 from the laptop/tablet/etc. to around 4.0 but don't go higher than 4.4 or the camera will start drawing current.All these tests were run after having the camera on the battery for over 1 hour and the backlight on high, so the battery voltage should have dropped.

author: Captain Morgan
author_rank: Contributor
timestamp: January 20, 2014, 06:02:37 am
content: Nice work pomonabill221 !!Today I got the PI hooked up and operational with your second image, thanks for sharing.I don't see what to use to kick off any recording or play the one Flir video included.Can you guys be a little more specific for non Linux users?Maybe share pics of the hookups, pins etc.Those txt files have lots of nice arrows but the formatting is all over the place, work wrap, no word wrap, can't make out the connections..

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 20, 2014, 06:11:18 am
content: Quote from: Captain Morgan on January 20, 2014, 06:02:37 amYou are welcome! I would imagine that setting the camera's +5 to 4.0 and breaking the connection between the device (laptop/tablet/etc.) would make the use of the camera portable and not run off the device's battery.Don't know if this would affect the logic levels on the D+ and D- lines though. Will have to pull out the scope next and see what the levels are.

author: Captain Morgan
author_rank: Contributor
timestamp: January 20, 2014, 07:10:23 am
content: Using a USB2 hub I have a USB mouse and kb working in the PI img that Jolly offered.THAT'S IT.Nothing else, no nyet nein nada.I see a huge Raspberry and a menu with tons of stuff that start with the letter X that isnt pr0n.So for the life of me I can't see anything in the programs that would record video, or play the one Flir avi that's in the image.Jolly states he has a switche(s) connected to pins on the PI board, but the readme is non decipherable.Can someone please put it in a jpg or pdf and post it?THX in advance..

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 20, 2014, 07:49:33 am
content: I tried a diode in the +5 line to the camera and the voltage was about4.2 volts and the current was 78mA.At 4.0 volts the current would be MUCH less and two diodes in series did drop the voltage, but the camera wouldn't always connect so the voltage IS critical.Getting a 1.0 volt stable drop would be difficult, so I am going to make an adaptor with one diode in it and settle for the 78mA draw from my laptop.Every laptop/device may be different though, and the threshold in each camera may be different also as to whether it will connect or not...Just have to try it.Could even make up a 4.0 volt regulator at the camera end of the usb cable... might give that a try.

author: Jolly
author_rank: Contributor
timestamp: January 20, 2014, 07:56:02 am
content: Quote from: Captain Morgan on January 20, 2014, 07:10:23 amA small program calles "flirtool" is running in the background, which is controlled via GIPO input. See the pictures for the switches. Power up the PI with camera connected. Connect the pins as show in the picture, to get the video output on the desktop.

author: mrflibble
author_rank: Super Contributor
timestamp: January 20, 2014, 08:19:40 am
content: Quote from: Jolly on January 19, 2014, 08:50:27 pmFrom my ffserver-flir.conf:Code:Launch ffmpeg -r 25 -f video4linux2 -i /dev/video0 -vcodec copySo it's set to 25 fps, and together with the-vcodec copy, this boils down to: 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). Then ffserver will do the video encoding and make it available over http for multiple clients in the network.Works pretty well. When I view the E4 lcd side by side with a laptop that accesses the stream over the network I estimate I get ~ 1 frame of delay. I was expecting more latency, so I'm quite pleased with it.

author: Captain Morgan
author_rank: Contributor
timestamp: January 20, 2014, 09:01:45 am
content: Oh thx Jolly!"Power up the PI with camera connected." roger that. I can add the double pole switch tomorrow as shown.""flirtool" is running in the background, which is controlled via GIPO input" So this is something you already embedded that's not in the programs menu that will automagically start on boot..

author: Jolly
author_rank: Contributor
timestamp: January 20, 2014, 09:20:38 am
content: Quote from: mrflibble on January 20, 2014, 08:19:40 amat 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.

author: mrflibble
author_rank: Super Contributor
timestamp: January 20, 2014, 10:45:59 am
content: Quote from: Jolly on January 20, 2014, 09:20:38 amDunno, 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.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.

author: pomonabill221
author_rank: Frequent Contributor
timestamp: January 20, 2014, 07:16:35 pm
content: 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.

author: Captain Morgan
author_rank: Contributor
timestamp: February 11, 2014, 07:44:35 pm
content: 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?.

author: Captain Morgan
author_rank: Contributor
timestamp: February 14, 2014, 02:31:56 am
content: Anyone?chirp

author: Jolly
author_rank: Contributor
timestamp: February 15, 2014, 07:34:26 am
content: Quote from: Captain Morgan on February 11, 2014, 07:44:35 pmFirst 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/video0If 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 sdlDoes it appear on the Screen?I experienced the hangs too. This happens, if I disconnect/tun off the camera while playing video.

author: Captain Morgan
author_rank: Contributor
timestamp: March 07, 2014, 02:05:34 am
content: 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" rogerroot@raspberrypi:~# ls /dev/video0/dev/video0. . . you lost me.No files at all are being created on the sd card..

author: Jolly
author_rank: Contributor
timestamp: March 07, 2014, 06:33:12 am
content: have you tried to view video on video output or hdmi output? try this:DISPLAY=:0 mplayer tv:// -vo sdl

author: mrflibble
author_rank: Super Contributor
timestamp: March 07, 2014, 06:49:41 am
content: Quote from: Captain Morgan on March 07, 2014, 02:05:34 amAfter you connect the E4 over usb, rundmesg. Do you get any messages indicating it detected an UVC device? Also ...lsmod | grep uvc

author: Captain Morgan
author_rank: Contributor
timestamp: March 09, 2014, 05:23:35 am
content: 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?.

author: amyk
author_rank: Super Contributor
timestamp: March 09, 2014, 08:59:53 am
content: It's called aTerminalon Linux.

author: Jolly
author_rank: Contributor
timestamp: March 10, 2014, 08:39:30 am
content: Quote from: Captain Morgan on March 09, 2014, 05:23:35 amyou 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.

author: Maverick8x
author_rank: Newbie
timestamp: April 28, 2014, 09:10:36 pm
content: 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!

author: Maverick8x
author_rank: Newbie
timestamp: April 28, 2014, 09:24:35 pm
content: Oh the exact message is "Cannot render graph"

author: scientist
author_rank: Frequent Contributor
timestamp: April 29, 2014, 01:07:11 am
content: 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.

author: Maverick8x
author_rank: Newbie
timestamp: April 29, 2014, 06:12:44 pm
content: Hey and thanks for the reply. You mean the 325 Pages Teardown thread ?I might have missed one or two posts..

author: ixfd64
author_rank: Frequent Contributor
timestamp: April 29, 2014, 07:39:03 pm
content: So there is currently no way to record video from the E4 on the field other than ferrying a laptop around?

author: scientist
author_rank: Frequent Contributor
timestamp: April 29, 2014, 08:36:36 pm
content: I'm unclear on that.

author: Fraser
author_rank: Super Contributor
timestamp: April 29, 2014, 09:44:19 pm
content: This thread tells you how to use a RPi for recording. But only for FW 1.19.8 and earlier.

author: comanche3
author_rank: Contributor
timestamp: October 15, 2014, 01:18:52 pm
content: any chance to get live streaming working on 1.22 device ?

author: mrflibble
author_rank: Super Contributor
timestamp: October 15, 2014, 01:22:40 pm
content: Enable UVC video on your E4, and after that the exact same steps as you would for older firmwares.edit: curse you, typo!

author: comanche3
author_rank: Contributor
timestamp: October 15, 2014, 02:47:21 pm
content: Quote from: scientist on April 29, 2014, 01:07:11 amI thought that this will only work with 1.19.8 as written above ? Or will capturing also work with 1.22 ?

author: Hephaestus
author_rank: Newbie
timestamp: October 27, 2014, 03:06:09 pm
content: 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

author: Hephaestus
author_rank: Newbie
timestamp: October 28, 2014, 07:39:09 pm
content: Quote from: Hephaestus on October 27, 2014, 03:06:09 pmE4 didn't work with the Toshiba tablet. At least not with FLIR Tools.

author: sky@eevblog
author_rank: Contributor
timestamp: November 01, 2014, 05:01:51 pm
content: Quote from: Hephaestus on October 28, 2014, 07:39:09 pmYou may try to install 32-bit flir drivershttp://support.flir.com/SwDownload/App/RssSWDownload.aspx?ID=71

author: Captain Morgan
author_rank: Contributor
timestamp: December 06, 2014, 07:01:50 pm
content: Any update on Windows recording?I was never able to get the Linux on PI to work.

author: pomonabill221
author_rank: Frequent Contributor
timestamp: December 10, 2014, 07:56:09 pm
content: I have been trying to determine if a tablet will record the video over usb from the E4 (e8+).I have 1.18 and have successfully hacked my camera, it is WONDERFUL.Question......can I use any tablet with usb to record the E4's stream? (can you tell I am VERY green to tablets.... heck I don't even have a smart phone!).Thanks

author: Captain Morgan
author_rank: Contributor
timestamp: December 16, 2014, 10:42:14 pm
content: Quote from: Hephaestus on October 27, 2014, 03:06:09 pmAre you able to actually capture that Flir Player stream to a file in Windows for playback?W I N D OW S . . . . . chirp . . . chirpVLC?Other?

author: nick xung
author_rank: Newbie
timestamp: February 13, 2015, 03:28:39 pm
content: Quote from: Jolly on January 11, 2014, 02:49:23 pmwhen the usb is connected and the sdcard is out,could i still take photos by E4 ?

author: OrBy
author_rank: Regular Contributor
timestamp: February 13, 2015, 04:58:30 pm
content: Quote from: Captain Morgan on December 16, 2014, 10:42:14 pmI have been capturing on Win7 x64 using 32bit VirtualDub without issue. I was on firmware 1.18.x but then upgraded to 2.3.0 and as long as you have UVC enabled it works fine.I ordered one of the $99 HP Stream 7 tablets and will be trying that soon with a USB OTG cable as a mobile solution when it arrives.

author: OrBy
author_rank: Regular Contributor
timestamp: February 14, 2015, 05:50:02 am
content: Small update - my HP Stream 7 came in today and I installed theFLIR driversandFFMPEGand connected it up with my USB OTG cable and was able to capture!Here is the batch file I used:Code:@ECHO OFF:STARTSET LDT=%DATE:~10,4%-%DATE:~7,2%-%DATE:~4,2%_%TIME:~0,2%.%TIME:~3,2%.%TIME:~6,2%REM VIDF = rawvideo or huffyuvSET VIDF=huffyuv@ECHO *******************************************************************************@ECHO File name will be saved as %LDT%.AVI.@ECHO (with codec %VIDF%)@ECHO Press  to stop the capture once started.@ECHO (make sure caps lock is off)@ECHO Press CTRL-C to quit.@ECHO *******************************************************************************PAUSEFFMPEG -f dshow -video_size 320x240 -framerate 15 -pixel_format yuyv422 -i video="FLIR USB Video" -c:v %VIDF% %LDT%.AVIGOTO START

author: Sully
author_rank: Newbie
timestamp: March 30, 2015, 02:53:36 pm
content: Quote from: OrBy on February 14, 2015, 05:50:02 amWhat firmware are you running? Thx!

author: birkhgoff
author_rank: Newbie
timestamp: April 13, 2015, 12:33:06 am
content: Hi friends! The some time ago I found the Android application for recording video from Flir Ex-series, it is UsbWeb??? (https://play.google.com/store/apps/details?id=com.serenegiant.usbwebcamera&hl=en).I use this application with my smartphone Highscreen Boost II SE (Android 4.3) and hacked Flir E4 (v.2.3.0). There is an opportunity to write a sound from a smartphone microphone.

author: Pauloven
author_rank: Contributor
timestamp: October 25, 2015, 10:39:55 pm
content: Wow birkhgoff!! This is something I've been waiting for a long time! recording on the phone! I'll check with an otg cable tomorrow.! can´t wait!I can´t believe FLIR did such a poor job with their android app not allowing the E range to connect direclty to the phone. They put a lot of effort in not adding easy to add features.

author: Pauloven
author_rank: Contributor
timestamp: October 26, 2015, 02:39:42 pm
content: I confirm it worked! I was able to record video using the app. The downside is that the recording shows choppier than in camera realtime screen view. Also feels more compressed, but its an start!.

author: encryptededdy
author_rank: Frequent Contributor
timestamp: October 26, 2015, 07:54:10 pm
content: Personally I find this app works better (https://play.google.com/store/apps/details?id=com.vaultmicro.camerafi&hl=en). It's GUI is much more polished and has many more features.I use it with a USB microscope.However I believe it records a watermark - not too sure as I just use it for image preview only.

author: Pauloven
author_rank: Contributor
timestamp: October 27, 2015, 11:07:34 am
content: Hi I also tested that, it seems to see the flir camera but also seems to be not compatible.there is another apphttp://www.infinitegra.co.jp/en/solution/AndroidApp1.htmTeh quality is much better on screen but I can not find the record button yet they claim its possible... (just saw in a vid how its done for recording but not yet tested) I'll post a vid.But that said flirtools for android should do a much more decent job...Messing arround found that with settings menu activated a wifi like graph is shown close to the sd icon, I don´t recall any stuff regarding wireless hardware on the teardown, any info on this?.

author: Pauloven
author_rank: Contributor
timestamp: October 27, 2015, 12:31:53 pm
content: I ended up using the latest one I posted plus an screen capture for android as the app does not fully recognize the camera and so does not enable recording capailities.... cumbersone but it works...I'll keep testing other apps.Here a vid. A bit of compression but better than with the first posted app.https://youtu.be/heN7St9DMvc

author: Pauloven
author_rank: Contributor
timestamp: October 27, 2015, 11:11:25 pm
content: in RNDIS mode should I be able to stream video via VLC? what you think? not sure if e4 has any other video output appart from the UVC and appart from the Raw stream that can be converted using a pc. Not sure either what ip or ports adress to.