Attempting to run the code from "Playback tutorial 4: Progressive streaming" results in critical errors.
Running the code in "Playback tutorial 4: Progressive streaming" results in critical errors in the console. I'm running this on Windows 10 with a recent version of the gstreamer
dev installation and haven't had trouble with any of the other tutorials until now.
This console output (with GST_DEBUG=3
defined in the environment) shows the critical errors:
Temporary file: C:\Users\Tyler\AppData\Local\Microsoft\Windows\INetCache\gstreamer_test_project.exe-VD5420
0:00:00.999284000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:381:can_support_format: D3D11 call failed: 0x80004005, Unspecified error
0:00:01.000510000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:383:can_support_format:<d3d11device0> DXGI format 105 is not supported by device
0:00:01.005646000 2364 000001445FF75F80 FIXME d3d11h265dec gstd3d11h265dec.c:1412:gst_d3d11_h265_dec_register:<d3d11device0> device does not support P010 and/or NV12 format
0:00:01.006381000 2364 000001445FF75F80 FIXME d3d11vp9dec gstd3d11vp9dec.c:1159:gst_d3d11_vp9_dec_register:<d3d11device0> device does not support P010 and/or NV12 format
0:00:01.007111000 2364 000001445FF75F80 WARN d3d11decoder gstd3d11decoder.c:602:gst_d3d11_decoder_get_supported_decoder_profile:<d3d11decoder0> No supported decoder profile
0:00:01.007736000 2364 000001445FF75F80 WARN d3d11debuglayer gstd3d11device.c:776:gst_d3d11_device_dispose:<d3d11device0> D3D11InfoQueue: Live ID3D11Device at 0x000001446072AE90, Refcount: 3
0:00:01.027713000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:381:can_support_format: D3D11 call failed: 0x80004005, Unspecified error
0:00:01.028326000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:383:can_support_format:<d3d11device1> DXGI format 104 is not supported by device
0:00:01.029119000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:381:can_support_format: D3D11 call failed: 0x80004005, Unspecified error
0:00:01.029871000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:383:can_support_format:<d3d11device1> DXGI format 105 is not supported by device
0:00:01.030678000 2364 000001445FF75F80 WARN d3d11debuglayer gstd3d11device.c:776:gst_d3d11_device_dispose:<d3d11device1> D3D11InfoQueue: Live ID3D11Device at 0x000001446043BFE0, Refcount: 3
0:00:01.033008000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:563:gst_d3d11_device_constructed:<d3d11device2> No adapter for index 2
0:00:01.034306000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:834:gst_d3d11_device_new: Cannot create d3d11 device with adapter 2
0:00:01.134232000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:381:can_support_format: D3D11 call failed: 0x80004005, Unspecified error
0:00:01.135474000 2364 000001445FF75F80 WARN d3d11device gstd3d11device.c:383:can_support_format:<d3d11device3> DXGI format 105 is not supported by device
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.497: gst_buffer_get_size: assertion 'GST_IS_BUFFER (buffer)' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.498: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.499: gst_buffer_get_size: assertion 'GST_IS_BUFFER (buffer)' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.499: gst_buffer_get_size: assertion 'GST_IS_BUFFER (buffer)' failed
0:00:01.580730000 2364 000001445FF75F80 WARN matroskareadcommon matroska-read-common.c:2839:gst_matroska_read_common_peek_bytes:<matroskademux0:sink> Dropping short buffer at offset 10049590: wanted 2 bytes, got 0 bytes
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.499: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.500: gst_buffer_get_size: assertion 'GST_IS_BUFFER (buffer)' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.500: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.500: gst_buffer_get_size: assertion 'GST_IS_BUFFER (buffer)' failed
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.500: gst_buffer_get_size: assertion 'GST_IS_BUFFER (buffer)' failed
0:00:01.582049000 2364 000001445FF75F80 WARN matroskareadcommon matroska-read-common.c:2839:gst_matroska_read_common_peek_bytes:<matroskademux0:sink> Dropping short buffer at offset 10050800: wanted 2 bytes, got 0 bytes
(gstreamer_test_project.exe:2364): GStreamer-CRITICAL **: 15:29:04.501: gst_mini_object_unref: assertion 'mini_object != NULL' failed
0:00:01.696142000 2364 000001445FF75680 WARN d3d11shader gstd3d11shader.c:138:compile_shader: HLSL compiler warnings:
C:\Users\Tyler\projects\video_tech\source\gstreamer_test_project\Shader@0x000001447027A1E0(25,3-30): warning X3206: implicit truncation of vector type
C:\Users\Tyler\projects\video_tech\source\gstreamer_test_project\Shader@0x000001447027A1E0(33,15-66): warning X3206: 'Sample': implicit truncation of vector type
C:\Users\Tyler\projects\video_tech\source\gstreamer_test_project\Shader@0x000001447027A1E0(34,15-66): warning X3206: 'Sample': implicit truncation of vector type
C:\Users\Tyler\projects\video_tech\source\gstreamer_test_project\Shader@0x000001447027A1E0(29,14-30): warning X3578: Output value 'main' is not completely initialized
0:00:01.703902000 2364 000001445FF75680 WARN d3d11shader gstd3d11shader.c:138:compile_shader: HLSL compiler warnings:
C:\Users\Tyler\projects\video_tech\source\gstreamer_test_project\Shader@0x00007FFEC8D98E90(12,10-58): warning X3206: 'Sample': implicit truncation of vector type
0:00:01.721778000 2364 000001445FF75680 WARN d3d11debuglayer gstd3d11window_win32.cpp:914:gst_d3d11_window_win32_present:<d3d11device3> D3D11InfoQueue: ID3D11DeviceContext::DrawIndexed: The Pixel Shader expects a Render Target View bound to slot 1, but none is bound. This is OK, as writes of an unbound Render Target View are discarded. It is also possible the developer knows the data will not be used anyway. This is only a problem if the developer actually intended to bind a Render Target View here.
0:00:13.221184000 2364 000001445FF75680 ERROR d3d11window gstd3d11window_win32.cpp:891:gst_d3d11_window_win32_present:<d3d11windowwin32-0> Output window was closed
0:00:13.222530000 2364 000001445FF75680 WARN d3d11videosink gstd3d11videosink.c:957:gst_d3d11_video_sink_show_frame:<d3d11videosink0> error: Output window was closed
Error: Output window was closed
0:00:13.223706000 2364 000001445FF75F80 WARN matroskademux matroska-demux.c:5869:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:13.224038000 2364 00000144603DDDC0 WARN audiosink gstaudiosink.c:255:audioringbuffer_thread_func:<wasapisink0> error writing data in gst_wasapi_sink_write (reason: unknown), skipping segment (left: 3840, written: -1)
0:00:13.224722000 2364 000001445FF75F80 WARN matroskademux matroska-demux.c:5869:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
0:00:13.235650000 2364 000001445FF19A20 WARN downloadbuffer gstdownloadbuffer.c:966:gst_download_buffer_close_temp_location_file:<downloadbuffer0> Failed to remove temporary file C:\Users\Tyler\AppData\Local\Microsoft\Windows\INetCache\gstreamer_test_project.exe-VD5420: Permission denied