[Bug 652109] Play WMA fail(illegal instruction)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 14 02:45:54 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=652109
  GStreamer | gst-ffmpeg | 0.10.11

--- Comment #3 from frank.dong at goertek.com 2011-06-14 09:45:51 UTC ---
(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
--

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list