Opusenc fails with exception
Submitted by Steve Chapman
Link to original bug (#788537)
Description
Created attachment 360934
Console log of gst-launch with gst_debug=4
When I use the opusenc documented example pipeline from gst-launch-1.0 it fails with an exception in libopus-0.dll.
i.e. gst-launch-1.0 -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! opusenc ! oggmux ! filesink location=sine.ogg
Results in exception:
Unhandled exception at 0x6252D01B (libopus-0.dll) in gst-launch-1.0.exe: 0xC0000005: Access violation reading location 0xFFFFFFFF
I am testing this on Windows 10 with GStreamer 1.12.0.
GST_DEBUG=4 log of console activity attached as
I have also tried a variation on the pipeline that calls out most of the opusenc parameters but that also fails with the same exception, i.e.
gst-launch-1.0 audiotestsrc num-buffers=100 ! "audio/x-raw,channels=1,rate=48000" ! opusenc audio-type=2048 bandwidth=1103 bitrate=20000 bitrate-type=1 inband-fec=FALSE packet-loss-percentage=0 dtx=FALSE ! fakesink
I then tried updating to GStreamer 1.12.3 but the result was the same.
Finally I extracted libopus-0.dll from the 1.10.2 GStreamer MSI and put it in place of the 1.12.3 version and find the problem goes away.
Attachment 360934, "Console log of gst-launch with gst_debug=4":
opusfail1.txt
Version: 1.12.3