Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autogen.sh does not detect installed Gstreamer #125

Open
ricardomenzer opened this issue Jan 22, 2024 · 2 comments
Open

autogen.sh does not detect installed Gstreamer #125

ricardomenzer opened this issue Jan 22, 2024 · 2 comments

Comments

@ricardomenzer
Copy link

I'm trying to install from git in Ubuntu 22.04.1 LTS.
commit 09ba05865dacd2824b5b40ab75a4b9545fcc1366 (HEAD -> master, tag: v0.8.1, origin/master, origin/HEAD)

I'm following the Getting Started guide. When running the command:
./autogen.sh --prefix /usr/ --libdir /usr/lib/x86_64-linux-gnu/

It outputs:

checking for GST... no
configure: No package 'gstreamer-1.0' found
configure: error: no gstreamer-1.0 >= 1.7.1 (GStreamer) found
  configure failed

Gstreamer is installed and is above 1.7.1:

$ gst-launch-1.0 --version
gst-launch-1.0 version 1.20.3
GStreamer 1.20.3
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0
@michaelgruner
Copy link
Collaborator

michaelgruner commented Jan 22, 2024 via email

@ricardomenzer
Copy link
Author

Is GStreamer installed in a non-standard location?

It's a long time since I installed Gstreamer in this machine, so I don't remember exactly. I think I installed it via the Ubuntu package manager, but I can't be 100% sure. If it helps:

$ ls -l `which gst-launch-1.0`
-rwxr-xr-x 1 root root 39248 jun 30  2022 /usr/bin/gst-launch-1.0
$ pkg-config --modversion gstreamer-1.0
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
$ gst-inspect-1.0 identity
Factory Details:
  Rank                     none (0)
  Long-name                Identity
  Klass                    Generic
  Description              Pass data without modification
  Author                   Erik Walthinsen <[email protected]>

Plugin Details:
  Name                     coreelements
  Description              GStreamer core elements
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
  Version                  1.20.3
  License                  LGPL
  Source module            gstreamer
  Source release date      2022-06-15
  Binary package           GStreamer (Ubuntu)
  Origin URL               https://launchpad.net/distros/ubuntu/+source/gstreamer1.0

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstIdentity

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      ANY
  
  SRC template: 'src'
    Availability: Always
    Capabilities:
      ANY

Clocking Interaction:
  element requires a clock
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  check-imperfect-offset: Send element messages if offset and offset_end do not match up
                        flags: readable, writable
                        Boolean. Default: false
  check-imperfect-timestamp: Send element messages if timestamps and durations do not match up
                        flags: readable, writable
                        Boolean. Default: false
  datarate            : (Re)timestamps buffers with number of bytes per second (0 = inactive)
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 0 
  drop-allocation     : Don't forward allocation queries
                        flags: readable, writable
                        Boolean. Default: false
  drop-buffer-flags   : Drop buffers with the given flags
                        flags: readable, writable
                        Flags "GstBufferFlags" Default: 0x00000000, "(none)"
                           (0x00000010): live             - GST_BUFFER_FLAG_LIVE
                           (0x00000020): decode-only      - GST_BUFFER_FLAG_DECODE_ONLY
                           (0x00000040): discont          - GST_BUFFER_FLAG_DISCONT
                           (0x00000080): resync           - GST_BUFFER_FLAG_RESYNC
                           (0x00000100): corrupted        - GST_BUFFER_FLAG_CORRUPTED
                           (0x00000200): marker           - GST_BUFFER_FLAG_MARKER
                           (0x00000400): header           - GST_BUFFER_FLAG_HEADER
                           (0x00000800): gap              - GST_BUFFER_FLAG_GAP
                           (0x00001000): droppable        - GST_BUFFER_FLAG_DROPPABLE
                           (0x00002000): delta-unit       - GST_BUFFER_FLAG_DELTA_UNIT
                           (0x00004000): tag-memory       - GST_BUFFER_FLAG_TAG_MEMORY
                           (0x00008000): sync-after       - GST_BUFFER_FLAG_SYNC_AFTER
                           (0x00010000): non-droppable    - GST_BUFFER_FLAG_NON_DROPPABLE
                           (0x00100000): last             - GST_BUFFER_FLAG_LAST
  drop-probability    : The Probability a buffer is dropped
                        flags: readable, writable
                        Float. Range:               0 -               1 Default:               0 
  dump                : Dump buffer contents to stdout
                        flags: readable, writable
                        Boolean. Default: false
  eos-after           : EOS after N buffers
                        flags: readable, writable
                        Integer. Range: -1 - 2147483647 Default: -1 
  error-after         : Error after N buffers
                        flags: readable, writable
                        Integer. Range: -1 - 2147483647 Default: -1 
  last-message        : last-message
                        flags: readable
                        String. Default: null
  name                : The name of the object
                        flags: readable, writable, 0x2000
                        String. Default: "identity0"
  parent              : The parent of the object
                        flags: readable, writable, 0x2000
                        Object of type "GstObject"
  qos                 : Handle Quality-of-Service events
                        flags: readable, writable
                        Boolean. Default: false
  signal-handoffs     : Send a signal before pushing the buffer
                        flags: readable, writable
                        Boolean. Default: true
  silent              : silent
                        flags: readable, writable
                        Boolean. Default: true
  single-segment      : Timestamp buffers and eat segments so as to appear as one segment
                        flags: readable, writable
                        Boolean. Default: false
  sleep-time          : Microseconds to sleep between processing
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 4294967295 Default: 0 
  stats               : Statistics
                        flags: readable
                        Boxed pointer of type "GstStructure"
                                                           num-bytes: 0
                                                         num-buffers: 0

  sync                : Synchronize to pipeline clock
                        flags: readable, writable
                        Boolean. Default: false
  ts-offset           : Timestamp offset in nanoseconds for synchronisation, negative for earlier sync
                        flags: readable, writable
                        Integer64. Range: -9223372036854775808 - 9223372036854775807 Default: 0 

Element Signals:
  "handoff" :  void user_function (GstElement* object,
                                   GstBuffer* arg0,
                                   gpointer user_data);

config.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants