I am planning to add Opus encoding and decoding to/from Matroska container as a new fuction in an existing GStreamer based solution I have.
Before dealing updating my C++ solution I want to validate the new pipelines from the commandline with gst-launch. Unfortunately when I use the example pipeline from the doc: i.e. gst-launch-1.0 -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! opusenc ! oggmux ! filesink location=sine.ogg It fails with an 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 Windows10 with GStreamer 1.12.0. 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 GST_DEBUG=4 log of console activity for both pipelines is attached along with a log of "gst-inspect-1.0 opusenc" output. Any insights would be appreciated, I'm not sure what I could be doing wrong since this seems pretty basic. Thanks Steve _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel opusfail2.txt (55K) Download Attachment opusfail1.txt (78K) Download Attachment opuslevel.txt (16K) Download Attachment |
Hi Steve,
Below pipeline worked for me. gst-launch-1.0 -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! opusenc ! oggmux ! filesink location=sine.ogg From logs looks like binary or API mismatch. You may be using some other version of opus dll. You Try with source code installation once. ~ Vinod -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks Vinod. Can you tell me what GStreamer version you are running? I just tried updating to 1.12.3 but get the same result. Perhaps I'll need to back out to an earlier version. I have been using the Windows binary msi distribution rather than finding how to rebuild from source distribution. Regards On 4/10/2017 12:39 AM, "Vinod Kesti" <[hidden email]> wrote: Hi Steve, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I am using 1.12.1.
For me it looks like binary issue. Try source code installtion. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Vinod, I finally got the opusenc pipeline working after extracting an older libopus-0.dll from the 1.10.2 GStreamer MSI and putting it in place of the installed 1.12.3 GStreamer version on my machine. Since you can run the pipeline under 1.12.1 (I assume under window) the route cause may well be some local problem on my machine but I'm not sure how building the libopus-0.dll myself (if I could figure out how to do that) would help. Regardless, I am now able to proceed and have raised a bug on this issue - https://bugzilla.gnome.org/show_bug.cgi?id=788537 Thanks for your feedback. Steve On 5 October 2017 at 22:25, Vinod Kesti <[hidden email]> wrote: I am using 1.12.1. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |