Gstreamer is not working (Windows) (fixed)

Michael Gouveia mggunman at hotmail.com
Tue Jun 23 14:19:53 UTC 2020


I've managed to fix my problem after being told it was most likely due to downloading both the binaries for MinGW and MSVC.

I never managed to locate the cache but I did set the new cache location using GST_REGISTRY env var but I don't think that worked even after GStreamer started to work, unless I'm using it wrong.

What I did was I undid most of my work, I used 'Everything' tool to search windows for GStreamer and checked each directory but couldn't find the cache location then noticed Chocolately had contained the GStreamer packages which I installed some time ago, I removed those two packages using choco uninstall etc. I then proceed to windows uninstall (Add or remove programs in system settings) and find out I had two copies of both Gstreamer runtime and development, now they could have come from chocolately or when I installed the two packages again to override the MinGW binaries but we will never know. I removed one each checking the installation dates etc but GStreamer still didn't work, in the end I ended up uninstalling both and restarting the machine and then reinstalled GStreamer and it works now - I just had too many copies at the time.

Thanks for the help.
________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of gstreamer-devel-request at lists.freedesktop.org <gstreamer-devel-request at lists.freedesktop.org>
Sent: 23 June 2020 07:01
To: gstreamer-devel at lists.freedesktop.org <gstreamer-devel at lists.freedesktop.org>
Subject: gstreamer-devel Digest, Vol 113, Issue 62

Send gstreamer-devel mailing list submissions to
        gstreamer-devel at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
or, via email, send a message with subject or body 'help' to
        gstreamer-devel-request at lists.freedesktop.org

You can reach the person managing the list at
        gstreamer-devel-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-devel digest..."


Today's Topics:

   1. Re: Gstreamer is not working (Windows) (Nirbheek Chauhan)
      (Nicolas Dufresne)
   2. Re: Is there any working example for rtsp over http? (Ling Wang)
   3. Re: Gstreamer is not working (Windows) (Nirbheek Chauhan)
      (Nirbheek Chauhan)
   4. How to handle multiple blocking probe before a muxer without
      freezing the pipeline? (Yuniesky Vasconcelo)
   5. Re: retransmission with rtpbin and rtprtxqueue (andis)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Jun 2020 16:40:54 -0400
From: Nicolas Dufresne <nicolas at ndufresne.ca>
To: Discussion of the development of and with GStreamer
        <gstreamer-devel at lists.freedesktop.org>
Subject: Re: Gstreamer is not working (Windows) (Nirbheek Chauhan)
Message-ID:
        <ea72693130031c2427782b7d27005c6fb013f5a8.camel at ndufresne.ca>
Content-Type: text/plain; charset="UTF-8"

Le lundi 22 juin 2020 ? 11:45 -0700, David Ing a ?crit :
> There is no need to delete the mingw binaries.  (Your installation probably
> did that already.)
>
> You just need to delete the plugin cache whenever you switch from one version
> to another, as described here:
> http://gstreamer-devel.966125.n4.nabble.com/msvc-build-can-t-find-elements-in-playback-plugin-td4691649.html#a4691668

Perhaps we could solve this issue upstream use different registry file name base
on the windows runtime ? If you think this could make sense, please file an
issue.

>
> Hopefully that will just work.
>
> On Mon, Jun 22, 2020 at 11:18 AM Michael Gouveia <mggunman at hotmail.com> wrote:
> > I did indeed install both the MinGW and MSVC runtime and development
> > binaries.
> > Is there a way to remove the MinGW version without removing the whole thing?
> >
> > The content of C:\gstreamer\1.0\x86_64\bin are below:
> >
> >
> >
> > From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on
> > behalf of gstreamer-devel-request at lists.freedesktop.org <
> > gstreamer-devel-request at lists.freedesktop.org>
> > Sent: 22 June 2020 18:36
> > To: gstreamer-devel at lists.freedesktop.org <
> > gstreamer-devel at lists.freedesktop.org>
> > Subject: gstreamer-devel Digest, Vol 113, Issue 55
> >
> > Send gstreamer-devel mailing list submissions to
> >         gstreamer-devel at lists.freedesktop.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > or, via email, send a message with subject or body 'help' to
> >         gstreamer-devel-request at lists.freedesktop.org
> >
> > You can reach the person managing the list at
> >         gstreamer-devel-owner at lists.freedesktop.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of gstreamer-devel digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: <v4l2src0> lost frames detected (Aniket0987)
> >    2. Re: Gstreamer is not working (Windows) (Nirbheek Chauhan)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 22 Jun 2020 12:35:16 -0500 (CDT)
> > From: Aniket0987 <ahande at futopstech.com>
> > To: gstreamer-devel at lists.freedesktop.org
> > Subject: Re: <v4l2src0> lost frames detected
> > Message-ID: <1592847316104-0.post at n4.nabble.com>
> > Content-Type: text/plain; charset=us-ascii
> >
> > Hi Nicolas,
> > Thanks for the reply.
> > I've tried removing do-timestamp and jpegparse. I've also added drop-only
> > property for videorate. Things are now working fine for 5 fps. No lost
> > frames detected warning and things work fine. However, when I switch to 30
> > fps. I start getting following after 8-9 minutes.
> >
> > 0:10:02.477399906  2534  0x183ecc0 WARN            videodecoder
> > gstvideodecoder.c:4136:_gst_video_decoder_error:<jpegdec0> error: Failed to
> > decode JPEG image
> > 0:10:02.477503386  2534  0x183ecc0 WARN            videodecoder
> > gstvideodecoder.c:4138:_gst_video_decoder_error:<jpegdec0> error: Decode
> > error #53: Not a JPEG file: starts with 0x0f 0x34
> > 0:10:02.477808862  2534  0x183ecc0 DEBUG                v4l2src
> > gstv4l2src.c:925:gst_v4l2src_create:<v4l2src0> ts: 1:30:18.919096000 now
> > 1:30:18.941779324 delay 0:00:00.022683324
> > 0:10:02.477902305  2534  0x183ecc0 INFO                 v4l2src
> > gstv4l2src.c:961:gst_v4l2src_create:<v4l2src0> sync to 0:05:04.533330288 out
> > ts 0:10:01.930956297
> > 0:10:02.477975748  2534  0x183ecc0 WARN                 v4l2src
> > gstv4l2src.c:980:gst_v4l2src_create:<v4l2src0> lost frames detected: count =
> > 1 - ts: 0:10:01.930956297
> >
> > Could this be due to removal of jpegparse?
> >
> >
> >
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 22 Jun 2020 23:06:15 +0530
> > From: Nirbheek Chauhan <nirbheek.chauhan at gmail.com>
> > To: Discussion of the development of and with GStreamer
> >         <gstreamer-devel at lists.freedesktop.org>
> > Subject: Re: Gstreamer is not working (Windows)
> > Message-ID:
> >         <CADqQcK7=ph7x9RcCMxbs+_jUYOKZzL8xAdX+76Zvzb7Gb2ddxw at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > This can also happen if you've accidentally installed both the MSVC
> > binaries and the MinGW binaries. You should only install one of them. What
> > are the contents of C:\gstreamer\1.0\x86_64\bin ?
> >
> > On Mon, Jun 22, 2020 at 11:00 PM Michael Gouveia <mggunman at hotmail.com>
> > wrote:
> >
> > > So, I'm new to GStreamer and I've taken the safe route by downloading the
> > > pre-built binaries from https://gstreamer.freedesktop.org/download/ for
> > > windows. I believe I've installed it fully by downloading MSVC runtime and
> > > development versions for VS 2019. But when I try to run a GStreamer
> > command
> > > I always get something similar to what is shown below.
> > >
> > >
> > > Below is a snippet of the issue, when I run 'gst-device-monitor-1.0' via
> > > command line to access my built-in webcam as I'm running this on a work
> > > laptop.
> > >
> > > I might be missing an environment variable or path. These are my current
> > > system variables, I've set:
> > >
> > > My current PATH, I've set:
> > >
> > > I was told the issue could be strawberryperl being above gstreamer in the
> > > path, but I've changed that since and the issue is still persistent.
> > >
> > >
> > > System Info:
> > >
> > > Windows 10 Pro 64-bit
> > >
> > > Intel i5-5300U
> > >
> > > 8GB Ram
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> > https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200622/a3b7e222/attachment.htm
> > >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: image.png
> > Type: image/png
> > Size: 78794 bytes
> > Desc: not available
> > URL: <
> > https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200622/a3b7e222/attachment.png
> > >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: image.png
> > Type: image/png
> > Size: 15965 bytes
> > Desc: not available
> > URL: <
> > https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200622/a3b7e222/attachment-0001.png
> > >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: image.png
> > Type: image/png
> > Size: 54783 bytes
> > Desc: not available
> > URL: <
> > https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200622/a3b7e222/attachment-0002.png
> > >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
> > ------------------------------
> >
> > End of gstreamer-devel Digest, Vol 113, Issue 55
> > ************************************************
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



------------------------------

Message: 2
Date: Tue, 23 Jun 2020 00:05:25 +0200
From: Ling Wang <freesisyphuswang at gmail.com>
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Is there any working example for rtsp over http?
Message-ID: <6e73d7b7-c5cc-9317-08f5-155ca83473a5 at gmail.com>
Content-Type: text/plain; charset=utf-8

On 6/22/20 4:31 PM, Ling Wang wrote:
> basically we want to server rtsp streams over http. It seems possible from the document, but I cannot find any working example yet. Can anyone point me a direction? Thanks!
>
We are using gst-rtsp-server to generate rtsp streams. It would be nice if the example is also based on gst-rtsp-server.



------------------------------

Message: 3
Date: Tue, 23 Jun 2020 03:35:21 +0530
From: Nirbheek Chauhan <nirbheek.chauhan at gmail.com>
To: Discussion of the development of and with GStreamer
        <gstreamer-devel at lists.freedesktop.org>
Subject: Re: Gstreamer is not working (Windows) (Nirbheek Chauhan)
Message-ID:
        <CADqQcK6sJJ7B+6-3HocT3kg2AbQxs_7jtOhM-41RoWw=-FmtFA at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

On Tue, Jun 23, 2020 at 3:15 AM Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
>
> Le lundi 22 juin 2020 ? 11:45 -0700, David Ing a ?crit :
> > There is no need to delete the mingw binaries.  (Your installation probably
> > did that already.)
> >
> > You just need to delete the plugin cache whenever you switch from one version
> > to another, as described here:
> > http://gstreamer-devel.966125.n4.nabble.com/msvc-build-can-t-find-elements-in-playback-plugin-td4691649.html#a4691668
>
> Perhaps we could solve this issue upstream use different registry file name base
> on the windows runtime ? If you think this could make sense, please file an
> issue.
>

We already have an issue for this:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/427

And yes, we could do that. Let's move discussion to the issue.


------------------------------

Message: 4
Date: Mon, 22 Jun 2020 23:07:49 -0400
From: Yuniesky Vasconcelo <yvasconcelo at gmail.com>
To: Discussion of the development of and with GStreamer
        <gstreamer-devel at lists.freedesktop.org>
Subject: How to handle multiple blocking probe before a muxer without
        freezing the pipeline?
Message-ID:
        <CAOcriiX08iLA0at7nOoDGxsh9x-PCpSY48801tMRgTKcZGfsCg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,
I am trying to save video and audio when an event occurs, but with 10
seconds before the event. So, I put a queue with max-size-time = 10 seconds
and leaking = 2 before the audio and another one for the video.

Problems arise when I add a blocking probe to the queue src pad, the
pipeline freezes after one of the probe blocks. Perhaps this occurred
because the muxer is waiting for the buffer that was blocked. How can I
handle this situation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200622/d2d2fb07/attachment-0001.htm>

------------------------------

Message: 5
Date: Tue, 23 Jun 2020 01:01:46 -0500 (CDT)
From: andis <andreas.schimpe at gmail.com>
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: retransmission with rtpbin and rtprtxqueue
Message-ID: <1592892106289-0.post at n4.nabble.com>
Content-Type: text/plain; charset=us-ascii

Hi Nicolas,

Many thanks for your reply! Actually I already wrote a C++ Application and
started the pipelines from there, so no gst-launch. In brief, what would be
required to make it working? What is done differently compared to what
happens at gst-launch?

Sure, I will check out the rtpsink / rtpsrc elements. Would the following
pipelines be sufficient?
SENDER: gst-launch-1.0 -v souphttpsrc
location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm
! matroskademux ! vp8dec ! x264enc bitrate=5000 ! rtph264pay ! identity
drop-probability=0.01 ! rtpsink address=127.0.0.1 port=5000
RECEIVER: gst-launch-1.0 -v rtpsrc address=127.0.0.1 port=5000 !
rtph264depay ! decodebin ! xvimagesink

How would it be made work there? I found a latency property in the rtpsrc,
but nothing being mentioned on retransmission.
https://gstreamer.freedesktop.org/documentation/rtpmanagerbad/rtpsrc.html?gi-language=c#properties


I also find the rtprtxreceive/send elements, which are already available in
my version 1.14.5. What are the differences here?
https://gstreamer.freedesktop.org/documentation/rtpmanager/rtprtxreceive.html?gi-language=javascript

Andi



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


------------------------------

Subject: Digest Footer

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


------------------------------

End of gstreamer-devel Digest, Vol 113, Issue 62
************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200623/83d3e79c/attachment-0001.htm>


More information about the gstreamer-devel mailing list