gstreamer-devel Digest, Vol 51, Issue 49

Gofrane Haj Ahmed gofrane at gmail.com
Tue Apr 21 01:58:06 PDT 2015


hello,

about

* vainfo*libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.36 (libva 1.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Mobile -
1.4.1.pre1 (1.4.1.pre1)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc



and *gst-discoverer-1.0 source.mp4*


Analyzing file:///home/ghofrane/gstreamer/source.mp4

(gst-discoverer-1.0:3035): GStreamer-CRITICAL **: gst_structure_new_empty:
assertion 'gst_structure_validate_name (name)' failed
Done discovering file:///home/ghofrane/gstreamer/source.mp4

Topology:
  container: Quicktime
    audio: MPEG-4 AAC
    video: H.264

Properties:
  Duration: 0:05:48.251666666
  Seekable: yes
  Tags:
      datetime: 2014-03-07T12:47:09Z
      QT atom:
00000019677373740000001164617461000000010000000030:None:R3N0U2VnbWVudCwgZmxhZ3M9KEdzdFNlZ21lbnRGbGFncylHU1RfU0VHTUVOVF9GTEFHX05PTkUsIHJhdGU9KGRvdWJsZSkxLCBhcHBsaWVkLXJhdGU9KGRvdWJsZSkxLCBmb3JtYXQ9KEdzdEZvcm1hdClHU1RfRk9STUFUX1RJTUUsIGJhc2U9KGd1aW50NjQpMCwgb2Zmc2V0PShndWludDY0KTAsIHN0YXJ0PShndWludDY0KTAsIHN0b3A9KGd1aW50NjQpMTg0NDY3NDQwNzM3MDk1NTE2MTUsIHRpbWU9KGd1aW50NjQpMCwgcG9zaXRpb249KGd1aW50NjQpMCwgZHVyYXRpb249KGd1aW50NjQpMTg0NDY3NDQwNzM3MDk1NTE2MTU7AA__:YXBwbGljYXRpb24veC1nc3QtcXQtZ3NzdC10YWcsIHN0eWxlPShzdHJpbmcpaXR1bmVzOwA_
      container format: ISO MP4/M4A
      audio codec: MPEG-4 AAC audio
      maximum bitrate: 103184
      bitrate: 96008
      video codec: H.264 / AVC



2015-04-20 17:35 GMT+02:00 <gstreamer-devel-request at lists.freedesktop.org>:

> Send gstreamer-devel mailing list submissions to
>         gstreamer-devel at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://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: ksvideosrc dropping frames? (Sebastian Dröge)
>    2. directsoundsink low latency possible? (Thomas Roos)
>    3. problem with vaapi (Gofrane Haj Ahmed)
>    4. Re: problem with vaapi (Víctor M. Jáquez L.)
>    5. Mysterious issue with gst_buffer_make_writable. (Stirling Westrup)
>    6. Challenges with interaudiosink/src (Sérgio Agostinho)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 20 Apr 2015 09:31:53 +0200
> From: Sebastian Dröge <sebastian at centricular.com>
> To: philippe renon <philippe_renon at yahoo.fr>, Discussion of the
>         development of and with GStreamer
>         <gstreamer-devel at lists.freedesktop.org>
> Subject: Re: ksvideosrc dropping frames?
> Message-ID: <1429515113.1928.1.camel at centricular.com>
> Content-Type: text/plain; charset="utf-8"
>
> On So, 2015-04-19 at 14:25 +0000, philippe renon wrote:
> > Le Dimanche 19 avril 2015 14h45, Sebastian Dröge <
> sebastian at centricular.com> a écrit :
> >
> > Yes, that's what i thought but the issue still shows up with that fix.
> > The loss of 2 frames explains the drop of fps from 30 to 10 ;)
> > I can compile just ksvideosrc so if you want me to try things out I am
> your man.
>
> Try with the attached patch, not 100% guaranteed that it compiles but if
> it does it should improve things a bit.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 0001-winks-Remove-weird-timestamping-code-that-tries-to-a.patch
> Type: text/x-patch
> Size: 4522 bytes
> Desc: not available
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150420/41cbf8f8/attachment-0001.bin
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 949 bytes
> Desc: This is a digitally signed message part
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150420/41cbf8f8/attachment-0001.sig
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 20 Apr 2015 11:33:27 +0200
> From: Thomas Roos <thomas at roosesweb.de>
> To: Discussion of the development of and with GStreamer
>         <gstreamer-devel at lists.freedesktop.org>
> Subject: directsoundsink low latency possible?
> Message-ID:
>         <
> CAAVZOXsjPtuAwZ95a3R2RYnikTt3JYyAV8KGaj89S2si5N01pA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
> I'm new to windows gstreamer development. I need to do low latency
> audio playback in windows, but any buffer-time below 200ms will have
> problems. No or stuttering audio playback.
> working:
> GST_DEBUG=3,directsoundsink:5 gst-launch-1.0.exe directsoundsrc
> buffer-time=10000 !  directsoundsink buffer-time=200000
>
> non-working:
> GST_DEBUG=3,directsoundsink:5 gst-launch-1.0.exe directsoundsrc
> buffer-time=10000 !  directsoundsink buffer-time=60000
>
> Under Linux there are debugging possibilities (proc file system) which
> give me information about the sound card (ring buffer, play
> pointer....) - is there something similar in windows 7?
> I'm very thankful for any advice!
> cheers, Thomas
>
>
> P.S: I'm unsure if the BUG
> https://bugzilla.gnome.org/show_bug.cgi?id=745684 is related to it?
> P.P.S: Is there any time schedule for Gstreamer 1.4.6 since I'm using
> the precompiled modules for Windows.
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 20 Apr 2015 12:26:39 +0200
> From: Gofrane Haj Ahmed <gofrane at gmail.com>
> To: gstreamer-devel at lists.freedesktop.org
> Subject: problem with vaapi
> Message-ID:
>         <
> CAFai2ECWeOEKN377sqhrM10OzHeYeXozgCcXFX6LOeYNsA4A1A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> when I run
> *gst-launch-1.0 filesrc location=source.mp4 ! qtdemux ! vaapidecode !
> vaapisink *
>
> I got this error
>
> ibva info: VA-API version 0.36.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_36
> libva info: va_openDriver() returns 0
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Got context from element 'vaapidecode0': gst.vaapi.Display=context,
> display=(GstVaapiDisplay)NULL;
> ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: GStreamer
> encountered a general stream error.
> Additional debug info:
> qtdemux.c(4404): gst_qtdemux_loop ():
> /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
> streaming stopped, reason not-supported
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> *I have a Dell Vostro 1014 having GMA 4500 mhd.*
> *I use Ubuntu 14.04*
>
>
> best regards
> Ghofrane
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150420/be83290c/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Mon, 20 Apr 2015 15:37:00 +0200
> From: Víctor M. Jáquez L. <vjaquez at igalia.com>
> To: Discussion of the development of and with GStreamer
>         <gstreamer-devel at lists.freedesktop.org>
> Subject: Re: problem with vaapi
> Message-ID: <20150420133700.GA21335 at mir.local.igalia.com>
> Content-Type: text/plain; charset=us-ascii
>
> On 04/20/15 at 12:26pm, Gofrane Haj Ahmed wrote:
> > Hello,
> >
> > when I run
> > *gst-launch-1.0 filesrc location=source.mp4 ! qtdemux ! vaapidecode !
> > vaapisink *
> >
> > I got this error
> >
> > ibva info: VA-API version 0.36.0
> > libva info: va_getDriverName() returns 0
> > libva info: Trying to open
> /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
> > libva info: Found init function __vaDriverInit_0_36
> > libva info: va_openDriver() returns 0
> > Setting pipeline to PAUSED ...
> > Pipeline is PREROLLING ...
> > Got context from element 'vaapidecode0': gst.vaapi.Display=context,
> > display=(GstVaapiDisplay)NULL;
> > ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: GStreamer
> > encountered a general stream error.
> > Additional debug info:
> > qtdemux.c(4404): gst_qtdemux_loop ():
> > /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
> > streaming stopped, reason not-supported
> > ERROR: pipeline doesn't want to preroll.
> > Setting pipeline to NULL ...
> > Freeing pipeline ...
>
> Looks like if vaapidecode doesn't understand the stream demuxed by qtdemux.
>
> Why don't you use playbin?
>
> In order to be understand what's happening, first you should know what are
> the
> codec available in your hardware:
>
> $ vainfo
>
> Then, to know what's the video codec used in  source.mp4 stream:
>
> $ gst-discoverer-1.0 source.mp4
>
> vmjl
>
> >
> >
> > *I have a Dell Vostro 1014 having GMA 4500 mhd.*
> > *I use Ubuntu 14.04*
> >
> >
> > best regards
> > Ghofrane
>
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 20 Apr 2015 11:29:33 -0400
> From: Stirling Westrup <swestrup at gmail.com>
> To: Discussion of the development of and with GStreamer
>         <gstreamer-devel at lists.freedesktop.org>
> Subject: Mysterious issue with gst_buffer_make_writable.
> Message-ID:
>         <
> CAJt7KB_StgZAKuTCaMtZiydpZn+fkFvveHqp6E38q1STNDvDfQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Right now we have a piece of code in a transformation element where we call
>
> buffer = gst_buffer_make_writable(buffer);
>
> Where that line appears to corrupt something such that, after passing on
> the buffer, when it eventually gets used and unrefed, we get an assertion
> error that its not a valid buffer.
>
> However, if we replace that line with
>
> if( !gst_buffer_is_writable(buffer) )
>  GST_ERROR("Oh Noes!");
>
> then everything works fine. Any idea what could be going on?
>
> --
> Stirling Westrup
> Programmer, Entrepreneur.
> https://www.linkedin.com/e/fpf/77228
> http://www.linkedin.com/in/swestrup
> http://technaut.livejournal.com
> http://sourceforge.net/users/stirlingwestrup
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150420/589705e4/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 6
> Date: Mon, 20 Apr 2015 17:34:23 +0200
> From: Sérgio Agostinho <sergio.r.agostinho at gmail.com>
> To: Discussion of the development of and with GStreamer
>         <gstreamer-devel at lists.freedesktop.org>
> Subject: Challenges with interaudiosink/src
> Message-ID:
>         <
> CALUX5R1ZjUbpbR0c9AGV2CdC0TqqFk5_rTWVPfYsETseENXv5A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hey everyone,
>
> I'm struggling a little bit with the interaudiosink and interaudiosrc
> elements. I'm running 1.4.3 for the record.
>
> I'm having an issue with interaudiosrc because he complains that "no layout
> given". I was having this error with this pipeline
>
> GST_DEBUG=4 gst-launch-1.0 audiotestsrc ! interaudiosink channel=1
> interaudiosrc channel=1 ! interaudiosink channel=2 interaudiosrc channel=2
> ! autoaudiosink
>
> Should this fail at all? Adding a capsfilter in there did clear the issue
>
> GST_DEBUG=4 gst-launch-1.0 audiotestsrc ! interaudiosink channel=1
> interaudiosrc channel=1 ! *audio/x-raw, layout=interleaved* !
> interaudiosink channel=2 interaudiosrc channel=2 ! autoaudiosink
>
> Now I'm trying a case where these elements are actually split over three
> pipelines. When I launch it, I don't see any error message on the bus, but
> I'm not hearing any sound. If I launch the same code but now with
> GST_DEBUG=4, then the first interaudiosrc reports once more "no layout
> given" althought the capsfilter is there.
>
> Any insight would be great.
>
> Cheers,
> Sérgio
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150420/150951c8/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> ------------------------------
>
> End of gstreamer-devel Digest, Vol 51, Issue 49
> ***********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150421/c6ccba09/attachment-0001.html>


More information about the gstreamer-devel mailing list