f5soh

  • *****
  • 4416
    • LibrePilot
Re: New video gadget
« Reply #60 on: November 16, 2017, 12:28:06 am »
Previous post from Cliff talk about devices access under Linux and you are using Windows.  :P

Anyways your issue seems related to rights needed to write in some place, not rights to access video device.
You must add your username to users authorized to write where the capture file is saved ?
« Last Edit: November 16, 2017, 12:35:36 am by f5soh »

karla

  • ****
  • 442
Re: New video gadget
« Reply #61 on: November 16, 2017, 10:15:54 am »
Thanks a lot to even bother to answer this, really!
It works and I am happy with that.
Please move on in life
 :)

Anonator

  • *
  • 17
  • Long range fixed wings
Re: New video gadget
« Reply #62 on: November 21, 2017, 07:28:20 am »
Trying to get video gadget working on xenial.  Compiled ok but no video in options on GCS. Create video gadget possible but no second selector shows to select USB...   Have gstreamer 1.8.3 Please help

filnet

  • *****
  • 113
Re: New video gadget
« Reply #63 on: November 21, 2017, 09:26:53 pm »
Hi Anonator,

Can you run gcs with the "-log gcs.log" option and share the log file.

Note that even if no configs are available for the Video gadget (which is strange) you can always create a new one.
Try to create a config with this simple test pipeline:

Code: [Select]
videotestsrc ! autovideosink
Cheers,
Philippe.

Anonator

  • *
  • 17
  • Long range fixed wings
Re: New video gadget
« Reply #64 on: November 24, 2017, 01:20:25 am »
My log file where I just open and go to scopes tab with video widget.  Thanks

filnet

  • *****
  • 113
Re: New video gadget
« Reply #65 on: November 24, 2017, 08:32:06 am »
My log file where I just open and go to scopes tab with video widget.  Thanks

There is nothing special in the log file.
Try to do reset GCS with the -reset command line option or try to do a full clean build.

Anonator

  • *
  • 17
  • Long range fixed wings
Re: New video gadget
« Reply #66 on: November 25, 2017, 12:01:34 am »
Thanks muchly filnet :)  Reset GCS with the -reset command line option fixed my problem.  Looks fantastic!

filnet

  • *****
  • 113
Re: New video gadget
« Reply #67 on: November 25, 2017, 03:56:37 pm »
Thanks muchly filnet :)  Reset GCS with the -reset command line option fixed my problem.  Looks fantastic!

Do you remember, by any chance, if GCS crashed or was killed the first time you used your build ?

Anonator

  • *
  • 17
  • Long range fixed wings
Re: New video gadget
« Reply #68 on: November 26, 2017, 12:55:17 am »
Yes it did hang...

karla

  • ****
  • 442
Re: New video gadget
« Reply #69 on: December 10, 2017, 05:33:52 am »
...
A more mundane use case is to record a video screen capture of your activity in GCS (for showing a bug, making a tutorial or demo-ing a new feature).

Hello filnet, I have a new question:
I have figured out how to do a capture of the whole screen of LP GCS in to a picture file on disk.
Can I capture/save a 5-10 min of the screen activity to a video file as well?
How go about that?
Thanks a lot!

K

filnet

  • *****
  • 113
Re: New video gadget
« Reply #70 on: December 10, 2017, 04:47:40 pm »
Can I capture/save a 5-10 min of the screen activity to a video file as well?

Yes, and GCS comes with a few examples. Take a look at the Screen Capture configurations.

karla

  • ****
  • 442
Re: New video gadget
« Reply #71 on: December 13, 2017, 06:39:04 am »
Yes! Thank you filnet
The problems I had were all about the MS Media player could not play the video.
It was captured just fine with your default Screen - Capture to file setting.

dx9screencapsrc monitor=0 cursor=true ! tee name=t
    t. ! queue ! timeoverlay ! autovideosink
    t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=D:\capture.mpg

Then I opened it using VLC app just fine.

 

filnet

  • *****
  • 113
Re: New video gadget
« Reply #72 on: December 13, 2017, 09:55:15 am »
Then I opened it using VLC app just fine.

Same here. VLC can play the video while Media Player can't.
Not sure why...

karla

  • ****
  • 442
Re: New video gadget
« Reply #73 on: December 14, 2017, 03:23:54 am »
I can live with that.
B t w on my mac, Quick time player is also unable to open the video file.

Sorry to chase you around with questions filet,
but this video gadget is very useful.
My next question:

How to get the PFD information that is overlayed in the video stream to also be captured to the video file?
I understand that currently only the raw video without the overlay gets recorded.
PFD is overlayed and as such is not part of the video.
If possible, it would be a very nice way to document and share flights...

Re: New video gadget
« Reply #74 on: December 14, 2017, 03:39:51 am »
It may be that the PFD is not available in a standard video format.

On Linux, I use a desktop/window/area recorder called Kazam to record things like this.