git build, videodev.h and gst-plugins-base video4linux plugin

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

git build, videodev.h and gst-plugins-base video4linux plugin

Oleksandr Lavrushchenko
hi all,

i'm want to build git sources, i'm on debian wheezy/sid.

0)head/gst-plugins-base% uname -a
Linux bot 2.6.38-2-686 #1 SMP Thu Apr 7 05:24:21 UTC 2011 i686 GNU/Linux

At second step (gst-plugins-base), i got a trouble.
I need v4l2src element, but configuration step failed:

configure: *** Plug-ins with dependencies that will NOT be built:
        video4linux

Log say that:

configure:27263: *** checking feature: Video 4 Linux ***
configure:27267: *** for plug-ins: video4linux ***
configure:27303: checking whether VID_TYPE_MPEG_ENCODER is declared
configure:27303: gcc -std=gnu99 -c -g -O2  conftest.c >&5
conftest.c:77:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.

So configure want to get /usr/include/linux/videodev.h

But according to:

http://groups.google.com/group/linux.debian.devel.mentors/browse_thread/thread/d6582d1cc79ece7c

This file was removed.

Which is the best workaround for this? Just put this file for build
time from older kernel?
Or there are some "clean" ways?

Thanks.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: git build, videodev.h and gst-plugins-base video4linux plugin

Tim-Philipp Müller-2
On Wed, 2011-04-20 at 21:15 +0300, Oleksandr Lavrushchenko wrote:

Hi,

> I need v4l2src element, but configuration step failed:
> (...)
> configure:27263: *** checking feature: Video 4 Linux ***
> configure:27267: *** for plug-ins: video4linux ***
> conftest.c:77:28: fatal error: linux/videodev.h: No such file or directory
> So configure want to get /usr/include/linux/videodev.h
> But according to (snip) this file was removed.
>
> Which is the best workaround for this? Just put this file for build
> time from older kernel? Or there are some "clean" ways?

The v4l2src element lives in gst-plugins-good, the v4l plugin in -base
is the old deprecated API.

 Cheers
  -Tim


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: git build, videodev.h and gst-plugins-base video4linux plugin

Oleksandr Lavrushchenko
On Wed, Apr 20, 2011 at 9:32 PM, Tim-Philipp Müller <[hidden email]> wrote:

> The v4l2src element lives in gst-plugins-good, the v4l plugin in -base
> is the old deprecated API.

Thank you for answer.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel