paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] video plugin


From: Reto Büttner
Subject: Re: [Paparazzi-devel] video plugin
Date: Mon, 29 Nov 2010 21:01:38 +0100

Hi Ana,

the following GCS conf file "horizontal_video.xml" works for me:

<!DOCTYPE layout SYSTEM "layout.dtd">

<!-- For Flight Fullscreen -->

<layout width="1024" height="768">
  <rows>
    <columns>
      <rows size="600"> <!-- size=map width -->
        <widget size="510" name="map2d"/> <!-- size=map height -->
      </rows>
      <widget name="plugin"/> <!-- video -->
    </columns>
    <columns>
      <rows size="440"> <!-- size=strip width -->
        <widget size="200" name="strips"/> <!-- Original: size="200"
(indifferent for one aircraft) -->
      </rows>
      <widget size="350" name="aircraft"/> <!-- size=PFD width -->
      <widget name="alarms"/>
    </columns>
  </rows>
</layout>

I start the GCS using the following session in the control panel conf
file "control_panel.xml":

<session name="Flight address@hidden">
  <program name="Data Link">
    <arg flag="-d" constant="/dev/ttyUSB0"/>
  </program>
  <program name="Server"/>
  <program name="GCS">
    <arg flag="-layout" constant="horizontal_video.xml"/>
    <arg flag="-mplayer" constant="tv:// -tv
driver=v4l2:device=/dev/video0:alsa:adevice=hw.1,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:normid=0:outfmt=YUY2:input=1
-vf eq2=1.0:1.2:0.4:1.0"/>
    <arg flag="-fullscreen"/>
    <arg flag="-srtm"/>
    <arg flag="-track_size" constant="200"/>
    <arg flag="-no_google_http"/>
  </program>
</session>

I use the frame grabber described in:
http://paparazzi.enac.fr/wiki/Video#Using_separate_Frame_Grabber_and_Video_Receiver

Cheers,
Reto

2010/11/29 GARCIA ALVAREZ, ANA <address@hidden>:
> Hello,
>
> I’m trying to incorporate a video plugin to my gcs layout. I have read about
> it in the wiki, but don’t know how to make it run.
>
> For instance, what value should I add in the video feed property here? My
> video inputs as dev/easycap0
>
> <papget type="video_plugin" display="mplayer" x="300" y="250">
>
>  <property name="video_feed" value="my video source"/>
>
>  <property name="width" VALUE="320"/>
>
>  <property name="height" VALUE="240"/>
>
> </papget>
>
> Or what is an X video ID?
>
> Could anybody help me?
>
> Thanks
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]