[Bug 721140] test-appsrc gives error and not show result

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 3 13:01:57 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721140
  GStreamer | gst-rtsp-server | git

--- Comment #3 from edward <hage02 at gmail.com> 2014-01-03 21:01:49 UTC ---
2 comments:
1) about test-appsrc;
It does not crash but just shows nothing (back screen) with counter running in
VLC media player.

Only when I abort the VLC media player I get a GLib-CRITICAL.

When I run gdb after I have set 'export G_DEBUG=fatal_warnings' I only get the
following:

stream ready at rtsp://127.0.0.1:8554/test
[New Thread 0xb7863b40 (LWP 3386)]
[New Thread 0xb6c08b40 (LWP 3387)]
[New Thread 0xb62b6b40 (LWP 3388)]
[New Thread 0xb58ffb40 (LWP 3389)]
[New Thread 0xb50feb40 (LWP 3390)]
[New Thread 0xb44ffb40 (LWP 3391)]
[New Thread 0xb3cfeb40 (LWP 3392)]
[New Thread 0xb32ffb40 (LWP 3393)]
[New Thread 0xb2afeb40 (LWP 3394)]
[New Thread 0xb22fdb40 (LWP 3395)]
[New Thread 0xb1afcb40 (LWP 3396)]
x264 [error]: baseline profile doesn't support 4:4:4
[New Thread 0xb0b90b40 (LWP 3397)]
[New Thread 0xb038fb40 (LWP 3398)]
[New Thread 0xafb8eb40 (LWP 3399)]
[New Thread 0xaf38db40 (LWP 3400)]
[New Thread 0xaeb8cb40 (LWP 3401)]
[New Thread 0xae38bb40 (LWP 3402)]
[New Thread 0xac8c4b40 (LWP 3403)]
[New Thread 0xa800ab40 (LWP 3405)]
[Thread 0xa800ab40 (LWP 3405) exited]
[Thread 0xac8c4b40 (LWP 3403) exited]
[Thread 0xb0b90b40 (LWP 3397) exited]
[Thread 0xae38bb40 (LWP 3402) exited]
[Thread 0xaf38db40 (LWP 3400) exited]
[Thread 0xb038fb40 (LWP 3398) exited]
[Thread 0xafb8eb40 (LWP 3399) exited]
[Thread 0xaeb8cb40 (LWP 3401) exited]

(testing:3362): GLib-CRITICAL **: unblock_source: assertion `!SOURCE_DESTROYED
(source)' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xb7863b40 (LWP 3386)]

When I change the media_factory to:
 gst_rtsp_media_factory_set_launch (factory,
      "( appsrc name=mysrc ! videoconvert ! video/x-raw,format=I420 ! x264enc !
rtph264pay name=pay0 pt=96 )");

I get a white screen instead of a black one (but not alternating black/white)
and I do not get the 4:4:4 message.

Concerning gstreamer-git version. It was a checkout from 26 or 27-12.
gst-launch-1.0 --gst-version ==> GStreamer Core Library version 1.3.0.1

About the gst-launch-commands I will tell you more about the failure:

My command for the udpsrc was in all cases:
gst-launch-0.10 udpsrc port=5000 caps='application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)H264' ! rtph264depay ! ffdec_h264
! xvimagesink sync=false

and that did not work with the gst-launch-1.0 videotestsrc, and did work with
the gst-launch-0.10 videotestsrc.

I swear I could remember also seeing the 4:4:4 message when startup of
gst-launch-1.0, but I saw nothing when I reproduced it now.

In the combi videotestrsc with 1.0 and udpsrc 0.1 actually the 0.1 udspsrc
crashes with:
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)

Sebastian, when I try your gst-launch-1.0 udpsrc they both run ok (just like
you mentioned), although I do not seem to have xvimagesink for 1.0 but used
autovideosink instead.

I assumed that the resulting udp-stream (sink) would be the same in 0.1 and 1.
But it looks like its different, otherwise udpsrc of gstreamer 0.10 would not
crash at videotestsrc 1.0 (as it does not when I launch viodetestsrc in 0.1.)

If you have more questions I am more than welcome to help. Preferably this
weekend, because on monday I am going on a long holiday.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list