No video displayed

seany seanyiu at gmail.com
Mon Sep 4 06:50:48 UTC 2017


Yes I did. I even redid everything but with latest  

*Update to latest Sierra (10.12.6)*

*Reinstalled gstreamer latest (1.12.2)*

*Installed latest Xcode* 

*Installed MacPorts*
   - for the sudo ports install ....

*Installed Gstreamer Plugins:*
sudo port install gstreamer1 gstreamer1-gst-plugins-base
gstreamer1-gst-plugins-good gstreamer1-gst-plugins-bad
gstreamer1-gst-plugins-ugly

*Installed codec H264 (for .mp4 video that was missing from all the above
installs):*
sudo port install gstreamer1-gst-libav

Debugging:

1) Ran native GStreamer launch program: Worked 
    gst-launch-1.0  playbin uri='file:///Users/test.mp4'

2) Ran GStreamer 'Hello World' program - Audio only, no Video. 
At the end of program execution, Video renderer window is displayed (black
background, no Video) 

Seans-MBP:MacOS seanyiu1$ export GST_DEBUG=2
Seans-MBP:MacOS seanyiu1$ ./test_gs
0:00:00.021033000 13401 0x7ff5477ec390 WARN                 basesrc
gstbasesrc.c:3480:void gst_base_src_start_complete(GstBaseSrc *,
GstFlowReturn):<source> pad not activated yet
0:00:00.021512000 13401 0x7ff5477ec390 WARN                 basesrc
gstbasesrc.c:3480:void gst_base_src_start_complete(GstBaseSrc *,
GstFlowReturn):<source> pad not activated yet
0:00:00.034842000 13401 0x7ff5460eef70 WARN                 qtdemux
qtdemux.c:3008:qtdemux_parse_trex:<qtdemux0> failed to find fragment
defaults for stream 1
0:00:00.034906000 13401 0x7ff5460eef70 WARN                 qtdemux
qtdemux.c:3008:qtdemux_parse_trex:<qtdemux0> failed to find fragment
defaults for stream 2
0:00:00.034955000 13401 0x7ff5460eef70 WARN                 basesrc
gstbasesrc.c:2389:gboolean gst_base_src_update_length(GstBaseSrc *, guint64,
guint *, gboolean):<source> processing at or past EOS
Seans-MBP:MacOS seanyiu1$ 

Didn't see any apparent errors in GStreamer Debug Log above. Why is it that
'gst-launch-1.0 playbin....'  runs but  not the 'hello world' program ? They
should do essentially the same thing. The GST execution Path should be the
same also.

This problem I am seeing probably belies the many problems I am seeing with
my app which calls the GStreamer dylibs which runs fine on Windows but not
on MAC OS X. I am just using the GStreamer 'Hello World' program as a
baseline to try to isolate the issue. 

I am hitting a brick wall here. Appreciate yours or anyone's help.

Thanks

Sean 



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


More information about the gstreamer-devel mailing list