Hi Guys,
We used gstreamer to play dvd,and we have met some problems :
The screen is dazzling when we playbing dvd. We find that before the "video-output-bin" there is no "deinterlace" bin so that we add this bin manually to gstreamer pipeline.
And then we can play the dvd normally.
But we found there is no subtitle when playing dvd following. Firstly ,we check the gstreamer use the commad line:
gst-launch-1.0 playbin uri=dvd://current-text=1
Happily, we can see the subtitle now and everthing is ok.
However, We change the following gstreamer source code (Adding GST_PLAY_FLAG_TEXT)to open subtitle flag switch and using a dvd-app which made by QT to play dvd:
int flags = GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_AUDIO;
int flags = GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_AUDIO |GST_PLAY_FLAG_TEXT;
The screen is still dazzling .
we compare the two ways by scripts ,we found that:
In QT dvd-app playing scripts ,"deinterlace" bin was before "video-output-bin" and "tbin".
In gstreamer playbin scripts ,"deinterlace" bin was after "video-output-bin" and "tbin".
I wonder the gstreamer "deinterlace" bin is autoload but not loaded manually.
And can you tell me how to get subtitle by app?
Any reply is appreciative ! Thanks a lot.
_______________________________________________ gstreamer-embedded mailing list gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded