Discussion:
how to play .wma audio by gstreamer
Soho Soho123
2012-07-13 07:55:06 UTC
Permalink
Dears,

Anyone have idea about :
which plugin is suitable for play wma file?

When I play wma file decodebin2 say "no suitable plugin found".

Thanks!
Tim-Philipp Müller
2012-07-13 09:01:05 UTC
Permalink
On Fri, 2012-07-13 at 15:55 +0800, Soho Soho123 wrote:

Hi,
Post by Soho Soho123
which plugin is suitable for play wma file?
When I play wma file decodebin2 say "no suitable plugin found".
You will need an asf/wma demuxer (asfdemux element from
gst-plugins-ugly) and a wma decoder (gst-ffmpeg/gst-libav
plugin/package). Depending on which GStreamer version you're using,

gst-inspect-0.10 asfdemux or gst-inspect-1.0 asfdemux

and

gst-inspect-0.10 ffdec_wmav2 or gst-inspect-1.0 avdec_wmav2

should show something.

Cheers
-Tim
Soho Soho123
2012-07-13 11:11:32 UTC
Permalink
Hi,

But when I plugin ffmpeg plugin, it is fail.
Do you have idea?
# gst-inspect-0.10 -a
do_page_fault() #2: sending SIGSEGV to gst-plugin-scan for invalid
read access from
00000000 (epc == 2aea94a8, ra == 2b49adcc)

ERROR: Caught a segmentation fault while loading plugin file:
/etc/gstreamer-0.10/libgstffmpeg.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
do_page_fault() #2: sending SIGSEGV to gst-plugin-scan for invalid
read access from
00000000 (epc == 2aea94a8, ra == 2b021dcc)

ERROR: Caught a segmentation fault while loading plugin file:
/etc/gstreamer-0.10/libgstffmpeg.so
Post by Tim-Philipp Müller
Hi,
Post by Soho Soho123
which plugin is suitable for play wma file?
When I play wma file decodebin2 say "no suitable plugin found".
You will need an asf/wma demuxer (asfdemux element from
gst-plugins-ugly) and a wma decoder (gst-ffmpeg/gst-libav
plugin/package). Depending on which GStreamer version you're using,
gst-inspect-0.10 asfdemux or gst-inspect-1.0 asfdemux
and
gst-inspect-0.10 ffdec_wmav2 or gst-inspect-1.0 avdec_wmav2
should show something.
Cheers
-Tim
_______________________________________________
gstreamer-devel mailing list
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Nicolas Dufresne
2012-07-13 14:12:27 UTC
Permalink
Post by Soho Soho123
/etc/gstreamer-0.10/libgstffmpeg.so
Hmm, that is a really odd place to install shared objects. Would it be
possible to generate a backtrace using gdb or coredump gdb and share it
with us? Which platform target is this ?

cheers,
Nicolas

Loading...