EricHigdon / datasoul

Automatically exported from code.google.com/p/datasoul
0 stars 0 forks source link

Gstreamer integration not working properly with archlinux and MacOS #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(Datasoul:8576): GStreamer-WARNING **: Element q1 is not in bin main pipeline

(Datasoul:8576): GStreamer-WARNING **: Element t1 is not in bin main pipeline

(Datasoul:8576): GStreamer-WARNING **: Element MainVideoSink is not in bin main 
pipeline

(Datasoul:8576): GStreamer-WARNING **: Element Input File is not in bin main 
pipeline

(Datasoul:8576): GStreamer-WARNING **: Element Decode Queue is not in bin main 
pipeline

(Datasoul:8576): GStreamer-WARNING **: Element Decode Bin is not in bin main 
pipeline

Original issue reported on code.google.com by donf...@gmail.com on 22 Nov 2010 at 1:26

GoogleCodeExporter commented 8 years ago

Original comment by samuelme...@gmail.com on 28 Mar 2011 at 5:13

GoogleCodeExporter commented 8 years ago
Thanks!!!!!!!!!!!

Original comment by facoli...@gmail.com on 28 Mar 2011 at 10:55

GoogleCodeExporter commented 8 years ago
(Datasoul:3660): GStreamer-WARNING **: Element 'q1' is not in bin 'main 
pipeline'

(Datasoul:3660): GStreamer-WARNING **: Element 't1' is not in bin 'main 
pipeline'

(Datasoul:3660): GStreamer-WARNING **: Element 'MainVideoSink' is not in bin 
'main pipeline'

(Datasoul:3660): GStreamer-WARNING **: Element 'Input File' is not in bin 'main 
pipeline'

(Datasoul:3660): GStreamer-WARNING **: Element 'Decode Queue' is not in bin 
'main pipeline'

(Datasoul:3660): GStreamer-WARNING **: Element 'Decode Bin' is not in bin 'main 
pipeline'

still!!! :P

Original comment by facoli...@gmail.com on 28 Mar 2011 at 11:50

GoogleCodeExporter commented 8 years ago
Does the video play correctly in other GStreamer-based players, such as Totem?

Original comment by samuelme...@gmail.com on 29 Mar 2011 at 12:48

GoogleCodeExporter commented 8 years ago
I am seeing the same issue here on mac, with GStreamer from macports.  I see 
messages just like above if I try to change to another video.
The videoplayer from 
http://code.google.com/p/gstreamer-java/source/browse/trunk/gstreamer-java/tutor
ials/VideoPlayerTutorial.txt works just fine, using the gstreamer and jna jars 
from datasoul.

Original comment by ol...@lgaard.dk on 13 Aug 2011 at 5:28

GoogleCodeExporter commented 8 years ago
And by the way, I have no video, just black screen.

Original comment by ol...@lgaard.dk on 13 Aug 2011 at 5:40

GoogleCodeExporter commented 8 years ago
Hi!

I didn't have the chance to test gstreamer integration in MacOS yet, thank you 
so much for providing feedback!

Did you get any additional error before these? Probably something else is going 
wrong when setting up the pipeline, then these messages pop during pipeline 
cleanup.

Which gstreamer version are you using (gst-lauch --version)? 
Can you try to replace gstreamer and jna jars with the latest 1.5 release? 
(Last time I upgraded to a development version in order to fix compatibility 
issue with a newer gstreamer).

If this doesn't fix the problem, let me know so I can create a special build 
with additional debug information to help track the problems. 

Thanks,

 - Samuel

Original comment by samuelme...@gmail.com on 13 Aug 2011 at 11:21

GoogleCodeExporter commented 8 years ago
Hi!
No, I have not seen any errors before the warnings mentioned in comment #3. If 
I exchange the gstreamer jar file in datasoul with the latest (1.5) I get this 
error when trying to play a video as background:

Exception in thread "main" java.lang.NoSuchMethodError: 
org.gstreamer.Pipeline.play()V
    at datasoul.render.gstreamer.GstManagerPipeline.start(GstManagerPipeline.java:83)
    at datasoul.render.gstreamer.GstManagerClient.resumeBgPipeline(GstManagerClient.java:254)
    at datasoul.render.gstreamer.GstManagerClient.setOutputVisible(GstManagerClient.java:210)
    at datasoul.render.gstreamer.commands.GstDisplayCmdShowHide.run(GstDisplayCmdShowHide.java:36)
    at datasoul.render.gstreamer.GstManagerClient.run(GstManagerClient.java:130)
    at datasoul.render.gstreamer.GstManagerClient.main(GstManagerClient.java:193)

Original comment by ol...@lgaard.dk on 14 Aug 2011 at 7:12

GoogleCodeExporter commented 8 years ago
Today I tried to upgrade gstreamer-java to 1.5 and recompile here.
Now it doesn't work anymore. When I play a video item, I see only my background 
image while the music from the video item plays correctly. If I try to change 
to another item, I get the same warnings from comment #3. 

I will try to investigate it in more detail tomorrow.

I'm not sure if it's the same issue you are facing, but hopefully the same 
solution can fix both :-)

I will post as soon as I have updates.

Original comment by samuelme...@gmail.com on 15 Aug 2011 at 3:15

GoogleCodeExporter commented 8 years ago
I found and fixed the problem with gstreamer-java 1.5. It's already committed 
to mercurial.

I've created a build with some additional debug prints (based on this latest 
fix).
Can you please try it and send us the output? 

It's available at 

https://docs.google.com/leaf?id=0B1Uhswwg9w15NGVhYTY0YjQtYmZiMy00MmNhLTkxM2UtNGE
yOWIyNDNhNDI4

Thank you so much!

Original comment by samuelme...@gmail.com on 16 Aug 2011 at 1:38

GoogleCodeExporter commented 8 years ago
Here is the output, showing main out put, changing to static background and 
back to video again:

GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP
GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP
GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP
GstManagerPipeline Starting
GstManagerPipeline.prepareForStart
GstManagerVideoGenericPipeline PrepareForStart
GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP
GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP
GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP
GstManagerPipeline Starting
GstManagerPipeline.prepareForStart
GstManagerVideoGenericPipeline PrepareForStart
GstManagerVideoGenericPipeline STOP
GstManagerPipeline STOP

Still black screen.

Original comment by ol...@lgaard.dk on 22 Aug 2011 at 7:07

GoogleCodeExporter commented 8 years ago
Can you please try 2.1-b0, that uses VLC instead of GStreamer? 
I have tested it on MacOS 10.7 and it worked for me.

Original comment by samuelme...@gmail.com on 5 Apr 2012 at 6:31

GoogleCodeExporter commented 8 years ago
Can you please try 2.1-b0, that uses VLC instead of GStreamer? 
I have tested it on MacOS 10.7 and it worked for me.

Original comment by samuelme...@gmail.com on 5 Apr 2012 at 6:31

GoogleCodeExporter commented 8 years ago
It works on MacOSX 10.7 for me as well - thanks!

Original comment by dort...@lgaard.dk on 6 Apr 2012 at 7:52

GoogleCodeExporter commented 8 years ago
Closing this issue, as VLC-based version works fine.

Original comment by samuelme...@gmail.com on 6 May 2012 at 12:50