Playing WMV files with Playbin
Michael Berry via gstreamer-devel <[email protected]> Thu, 28 Dec 2023 00:55:25 +0000
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAKSFpK7roxA7QYVdRgpZ5Qcvxd5=n2DH5skqqeo38p3+sDBa_Q@mail.gmail.com> |
Hi all, Struggling with what could be a trivial issue that I'm missing - but I can't seem to get WMV files to play with playbin. I have the full install including the "ugly" codecs, but I keep getting an error whichever file I try (most of the files I've tried have been a single video track encoded in VC1.) From my searching around it looks like this should be supported - so I may be overlooking something obvious. Full output is below - any help appreciated, and happy to give any more detail as needed! C:\gstreamer\1.0\msvc_x86_64\bin>gst-launch-1.0.exe -v playbin uri=file:/C:/users/michael.berry/desktop/sample.wmv Use Windows high-resolution clock, precision: 1 ms Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0 /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1 /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1 /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: force-sw-decoders = false /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = file:/C:/users/michael.berry/desktop/sample.wmv /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0 /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstFileSrc\)\ source" /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/x-ms-asf /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:src_0: caps = video/x-wmv, wmvversion=(int)3, format=(string)WVC1, width=(int)1440, height=(int)576, codec_data=(buffer)250000010fdbbe2cf11f88800000010e10c4b3c47c80, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1 Got context from element 'd3d11videosink0': gst.d3d11.device.handle=context, device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device2", adapter=(uint)0, adapter-luid=(gint64)83416, device-id=(uint)42912, vendor-id=(uint)32902, hardware=(boolean)true, description=(string)"Intel\(R\)\ Iris\(R\)\ Xe\ Graphics"; /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/dshowvdec_wvc1:dshowvdec_wvc1-0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1440, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1 /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/dshowvdec_wvc1:dshowvdec_wvc1-0.GstPad:sink: caps = video/x-wmv, wmvversion=(int)3, format=(string)WVC1, width=(int)1440, height=(int)576, codec_data=(buffer)250000010fdbbe2cf11f88800000010e10c4b3c47c80, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1 ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/dshowvdec_wvc1:dshowvdec_wvc1-0: Can't connect fakesrc with decoder (error=80040204) /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5 Additional debug info: ../sys/directshow/gstdshowvideodec.cpp(724): gst_dshowvideodec_sink_setcaps (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/dshowvdec_wvc1:dshowvdec_wvc1-0 ERROR: pipeline doesn't want to preroll. /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0 Setting pipeline to NULL ... ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/dshowvdec_wvc1:dshowvdec_wvc1-0: Can't connect fakesrc with decoder (error=80040204) Additional debug info: ../sys/directshow/gstdshowvideodec.cpp(724): gst_dshowvideodec_sink_setcaps (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/dshowvdec_wvc1:dshowvdec_wvc1-0 ERROR: pipeline doesn't want to preroll. Freeing pipeline ...