Hi,
We are developing Gstreamer application for windows system, In that we need to play a video file repeatedly. So for doing that every time the file playback finishes the application is destroying the pipeline and recreating it to play the video file from starting. For displaying the video we are using d3dvideosink . The issue is: If the we are running the application and locks the system (maybe using wind+L) , in this locked state if the application tries to create n run the pipeline ,it is failing while creating the d3dvideosink element. We are getting the error as: "0:01:32.570495113 3100 0000000044D5B280 ERROR d3dvideosink d3dhelpers.c:2442:d3d_class_display_device_create: Unable to request adapter[0] device caps 0:01:32.570548538 3100 0000000044D5B280 ERROR d3dvideosink d3dhelpers.c:2662:d3d_hidden_window_thread: Failed to initiazlize adapter: 0" While If we do not Lock the system , Our application runs perfectly fine for hours, The repeated creation and destruction of pipeline take place successfully. Is d3dvideosink creating issue or directx 11 Driver. System is : Windows 7 (32/64 bit) Direct X : Direct X 11 Can anyone help with this d3dvideosink element. Or is there any other better element for displaying video in windows. Regards _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fr, 2016-04-29 at 19:30 +0530, Shrishty Deorari wrote:
> Can anyone help with this d3dvideosink element. Or is there any other > better element for displaying video in windows. You could try glimagesink. But which version of GStreamer are you using? Earlier versions had a bug that caused crashes like this. Try with 1.8.1 if it works now. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Maybe you can use "multifilesrc" rather than "filesrc". "multifilesrc" has loop property, and you just need to set at true. 2016-04-29 16:13 GMT+02:00 Sebastian Dröge <[hidden email]>: On Fr, 2016-04-29 at 19:30 +0530, Shrishty Deorari wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Shrishty Deorari
On Fri, 2016-04-29 at 19:30 +0530, Shrishty Deorari wrote: Hi,
Is there a reason why you don't just seek back to 0 when you get to the end (EOS message)? Cheers -Tim -- Tim Müller, Centricular Ltd - http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi , Yes We don't want to seek back , as we are making a generic application for file, camera and url , reading from the file is one scenario. We just gave it as an example here. The Other scenario being able to capture video from IP camera process it and then display, If anytime the network connection with the IP camera is lost the application should keep on trying after a set interval of time. We are facing the same problem in this case also, if the System is in locked state and re connection is attemped (creating the pipeline n all its elements) d3dvideosink gives error while creating. "0:01:32.570495113 3100 0000000044D5B280 ERROR d3dvideosink d3dhelpers.c:2442:d3d_class_display_device_create: Unable to request adapter[0] device caps 0:01:32.570548538 3100 0000000044D5B280 ERROR d3dvideosink d3dhelpers.c:2662:d3d_hidden_window_thread: Failed to initiazlize adapter: 0" With Warm Regards, Shrishty Deorari VVDN Technologies Pvt Ltd Cell : +91 7773980237 | Skype : shrishty_vvdn On Fri, Apr 29, 2016 at 8:08 PM, Tim Müller <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Sebastian Dröge-3
Hi , We were using Gstreamer Version 1.7.2 earlier. We tried with latest Gstreamer 1.8.1 also still the issue remains same with d3dvideosink. We tried to use glimagesink but , using glimagesink it opens the video output window but no video is displayed on that window (white window) and It hangs when ever tried to close. Glimagesink is not working even with a simple pipeline on windows 7 machine gst-launch-1.0.exe videotestsrc ! glimagesink (This pipeline works fine on linux system) Are we using the old version of Open Gl? We have already updated the Graphics Driver to latest as per our system. We used opengl extension viewer (http://www.realtech-vr.com/glview/download.php) to check the Open gl version : Open GL version : 2.1 Window Machine specifications: Window 7 (64 Bit) Processor : Intel(R) Core(TM) i3 CPU Display adapters: Intel(R) HD Graphics Is there any system requirement (hardware/driver) for using glimagesink. With Warm Regards, Shrishty Deorari VVDN Technologies Pvt Ltd Cell : +91 7773980237 | Skype : shrishty_vvdn On Fri, Apr 29, 2016 at 7:43 PM, Sebastian Dröge <[hidden email]> wrote: On Fr, 2016-04-29 at 19:30 +0530, Shrishty Deorari wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, Yes ,The problem was we were using the Old openGl version, We checked now with the Open Gl version 4.3 on another machine(windows 7 64 bit) having latest processor n drivers glimagesink worked perfectly fine with locked system as well. With Warm Regards, Shrishty Deorari VVDN Technologies Pvt Ltd Cell : +91 7773980237 | Skype : shrishty_vvdn On Mon, May 2, 2016 at 4:05 PM, Shrishty Deorari <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |