GNOME Bugzilla – Bug 652109
Play WMA fail(illegal instruction)
Last modified: 2012-02-18 20:15:05 UTC
(1)compile gst-ffmpeg 0.10.11 (2)gst-launch play .wma indicate missing plugin (3)compile gst-plugins-ugly 0.10.18 (4)Play .wma with gst-launch I get bellow error: /local/bin # gst-launch playbin2 uri=file:///mnt/udisk/wma.wma Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Illegal instruction What's wrong with the ugly or gst-ffmpeg?
Does this happen with all wma files you try? If only this file then please attach it to the bug, if with all your wma files then try doing: # export GST_DEBUG=*:5 # gst-launch playbin2 uri=file:///mnt/udisk/wma.wma 2&>output.txt compress the output.txt file and attach it to this bug report.
How did you compile gst-ffmpeg exactly? Did you cross-compile? It may be a problem with the build (seeing you also filed bug #651768).
(1) gst-launch-0.10 playbin2 uri=file:///mnt/udisk/test/bird.wma 2&>output.txt (2)cat output.txt Illegal instruction (3)gst-launch-0.10 playbin2 uri=file:///mnt/udisk/test/bird.wma ~ # gst-launch-0.10 playbin2 uri=file:///mnt/udisk/test/bird.wma Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Illegal instruction ~ # (4)The issue will happen with all wma file. (5)I have cross compiled the gst-ffmepg for ARM9, bug#651768 have been submited by me. (6)mp3 can be play with gst-ffmpeg. (7)Cross compile gst-ffmpeg procedure A: patch, bellow is patch content B: autoreconf C: CC=arm-linux-gcc ./configure --build=i686-linux --host=arm-linux --prefix=/home/frank/projects/local --with-ffmpeg-extra-configure="--disable-encoders --enable-decoder=wmav1 --enable-decoder=wmav2 --enable-decoder=wmapro --enable-decoder=mp3 --enable-parser=mpegaudio" D: make && make install diff --git a/configure.ac b/configure.ac index e8ea900..12935c5 100644 --- a/configure.ac +++ b/configure.ac @@ -312,9 +312,10 @@ else --enable-optimizations" # if we are cross-compiling, tell ffmpeg so + target_os=`echo $host_os | sed 's/-gnu//'` if test "x$cross_compiling" = xyes; then embffmpeg_configure_args="$embffmpeg_configure_args --enable-cross-compile \ - --target-os=$host_os --arch=$host_cpu --cross-prefix=$host_alias-" + --target-os=$target_os --arch=$host_cpu --cross-prefix=$host_alias-" fi case $host_os in --
Does it work with ffplay if you just cross-compile libav ? (Without any GStreamer bits involved)
frank.dong, can you please respond to comment#4 ?
frank.dong: Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for in comment 4. Thanks!