After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652109 - Play WMA fail(illegal instruction)
Play WMA fail(illegal instruction)
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.11
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-08 12:23 UTC by frank.dong
Modified: 2012-02-18 20:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description frank.dong 2011-06-08 12:23:40 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?
Comment 1 Christian Fredrik Kalager Schaller 2011-06-10 11:10:12 UTC
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.
Comment 2 Tim-Philipp Müller 2011-06-10 11:20:31 UTC
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).
Comment 3 frank.dong 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
--
Comment 4 Tim-Philipp Müller 2011-09-26 18:35:34 UTC
Does it work with ffplay if you just cross-compile libav ? (Without any GStreamer bits involved)
Comment 5 Akhil Laddha 2011-11-10 05:27:43 UTC
frank.dong, can you please respond to comment#4 ?
Comment 6 André Klapper 2012-01-06 14:39:53 UTC
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!