GNOME Bugzilla – Bug 145037
can't play m4a, "Internal GStreamer error"
Last modified: 2004-12-22 21:47:04 UTC
Hello, I manually compiled the 'libgstfaad' on my Debian in this way: - grab the 'gst-plugins-0.8.2' sources - diffed for Debian - dpkg-buildpackage -rfakeroot -b -d - then I got an error ===== <cut> Making all in tcp make[4]: Entering directory `/usr/src/xfree86/gstreamer/gst-plugins0.8-0.8.2/gst/tcp' glib-mkenums \ --fhead "#include <gsttcp.h>" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ gsttcp.h > gsttcp-enumtypes.c make[4]: *** No rule to make target `gsttcp-marshal.c', needed by `all'. Stop. make[4]: Leaving directory `/usr/src/xfree86/gstreamer/gst-plugins0.8-0.8.2/gst/tcp' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/xfree86/gstreamer/gst-plugins0.8-0.8.2/gst'make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/xfree86/gstreamer/gst-plugins0.8-0.8.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/xfree86/gstreamer/gst-plugins0.8-0.8.2' make: *** [debian/stamp-makefile-build] Error 2 gismo:/usr/src/xfree86/gstreamer/gst-plugins0.8-0.8.2# ===== - cd ext/faad && make && make install As normal user, I tried to play an .m4a file (204Kb, available at http://luca.pca.it/stuffs/test.m4a, it's 15sec from a live performance of some friends of mine, I encoded it as MP4 using the FAAC from http://www.rarewares.org) and I got this error: ===== luca@gismo:~$ gst-launch-ext-0.8 test.m4a Running command-line gst-launch-0.8 filesrc location="test.m4a" ! qtdemux .audio_00 ! { queue ! faad ! esdsink } RUNNING pipeline ... ERROR: from element /pipeline0/thread0/faad0: Internal GStreamer error: negotiation problem. File a bug. Caught interrupt. luca@gismo:~$ gst-launch-0.8 filesrc location="test.m4a" ! spider ! esdsink RUNNING pipeline ... ERROR: from element /pipeline0/spider0/faad0: Internal GStreamer error: negotiation problem. File a bug. Execution ended after 5 iterations (sum 34958000 ns, average 6991600 ns, min 70000 ns, max 29078000 ns). luca@gismo:~$ ===== I got the same problem using an .m4a generated by iTunes (which is covered by copyright and I can't post it somewhere). Now, simple question: is the problem due to the compilation error I got (so I should recompile the whole 'gst-plugins-0.8.2' package) or is it a general GStreamer one? Thx, bye, Gismo / Luca
You need to re-run gst-register-0.8 after installing new plugins. :). Then, it'll play.
Hello, > You need to re-run gst-register-0.8 after installing new plugins. :). Then, > it'll play. ops, I forgot to advice you: I had already re-run 'gst-register-0.8' before trying the .m4a, but I got the error. I tried again: ===== luca@gismo:~$ gst-register-0.8 trying to load global_registry error loading global_registry added path /usr/lib/gstreamer-0.8 to user_registry rebuilding user_registry (/home/luca/.gstreamer-0.8/registry.xml) added plugin videorate with 1 feature(s) added plugin videomixer with 1 feature(s) added plugin videobox with 1 feature(s) added plugin multipart with 2 feature(s) added plugin gstdataprotocol with 0 feature(s) added plugin audiorate with 1 feature(s) added plugin alpha with 1 feature(s) added plugin speex with 2 feature(s) added plugin siddec with 1 feature(s) added plugin mpeg2dec with 1 feature(s) added plugin mikmod with 1 feature(s) added plugin jack with 3 feature(s) added plugin hermescolorspace with 1 feature(s) added plugin gsm with 2 feature(s) added plugin festival with 1 feature(s) added plugin cdparanoia with 1 feature(s) added plugin artsdsink with 1 feature(s) added plugin aasink with 1 feature(s) added plugin jpeg with 4 feature(s) added plugin swfdec with 1 feature(s) added plugin gst1394 with 1 feature(s) added plugin xwindowlistener with 0 feature(s) added plugin dvdreadsrc with 1 feature(s) added plugin dvdnavsrc with 1 feature(s) added plugin alsa with 3 feature(s) added plugin gnomevfs with 2 feature(s) added plugin y4menc with 1 feature(s) added plugin wavenc with 1 feature(s) added plugin volume with 1 feature(s) added plugin volenv with 1 feature(s) added plugin videotestsrc with 1 feature(s) added plugin videoscale with 1 feature(s) added plugin gstvideofilter with 0 feature(s) added plugin videodrop with 1 feature(s) added plugin videocrop with 1 feature(s) added plugin videobalance with 1 feature(s) added plugin vcdsrc with 1 feature(s) added plugin vbidec with 1 feature(s) added plugin video4linux2 with 2 feature(s) added plugin video4linux with 4 feature(s) added plugin udp with 2 feature(s) added plugin tcp with 6 feature(s) added plugin typefindfunctions with 43 feature(s) added plugin timeoverlay with 1 feature(s) added plugin textoverlay with 1 feature(s) added plugin gsttags with 1 feature(s) added plugin synaesthesia with 1 feature(s) added plugin switch with 1 feature(s) added plugin stereo with 1 feature(s) added plugin speed with 1 feature(s) added plugin spectrum with 1 feature(s) added plugin snapshot with 1 feature(s) added plugin smpte with 1 feature(s) added plugin smoothwave with 1 feature(s) added plugin smooth with 1 feature(s) added plugin sine with 1 feature(s) added plugin silence with 1 feature(s) added plugin rtjpeg with 2 feature(s) added plugin rtp with 4 feature(s) added plugin png with 1 feature(s) added plugin playondemand with 1 feature(s) added plugin passthrough with 1 feature(s) added plugin overlay with 1 feature(s) added plugin ogg with 2 feature(s) added plugin navigationtest with 1 feature(s) added plugin nassink with 1 feature(s) added plugin mulaw with 2 feature(s) added plugin mpegaudioparse with 1 feature(s) added plugin mpegaudio with 1 feature(s) added plugin mpeg2sub with 1 feature(s) added plugin mpeg1videoparse with 1 feature(s) added plugin monoscope with 1 feature(s) added plugin median with 1 feature(s) added plugin level with 1 feature(s) added plugin ladspa with 0 feature(s) added plugin interleave with 2 feature(s) added plugin goom with 1 feature(s) added plugin gdkpixbuf with 2 feature(s) added plugin gamma with 1 feature(s) added plugin filter with 3 feature(s) added plugin ffmpegcolorspace with 1 feature(s) added plugin effectv with 8 feature(s) added plugin efence with 1 feature(s) added plugin deinterlace with 1 feature(s) added plugin debug with 5 feature(s) added plugin colorspace with 1 feature(s) added plugin chart with 1 feature(s) added plugin cdplayer with 1 feature(s) added plugin auparse with 1 feature(s) added plugin gstaudiofilter with 0 feature(s) added plugin gstaudioconvert with 2 feature(s) added plugin alaw with 2 feature(s) added plugin ac3parse with 1 feature(s) added plugin gstvideo with 0 feature(s) added plugin gstresample with 0 feature(s) added plugin gstidct with 0 feature(s) added plugin gstaudio with 0 feature(s) added plugin gstspider with 2 feature(s) added plugin gstindexers with 2 feature(s) added plugin gstgetbits with 0 feature(s) added plugin gstelements with 15 feature(s) added plugin gstbytestream with 0 feature(s) added plugin gstoptscheduler with 1 feature(s) added plugin gstoptomegascheduler with 1 feature(s) added plugin gstoptgthreadscheduler with 1 feature(s) added plugin gstentryomegascheduler with 1 feature(s) added plugin gstentrygthreadscheduler with 1 feature(s) added plugin gstbasicomegascheduler with 1 feature(s) added plugin gstbasicgthreadscheduler with 1 feature(s) added plugin faad with 1 feature(s) added plugin dtsdec with 1 feature(s) added plugin cacasink with 1 feature(s) added plugin flac with 3 feature(s) added plugin dvdec with 1 feature(s) added plugin a52dec with 1 feature(s) added plugin gstaf with 3 feature(s) added plugin xvimagesink with 1 feature(s) added plugin ximagesink with 1 feature(s) added plugin sdlvideosink with 1 feature(s) added plugin esdsink with 2 feature(s) added plugin vorbis with 4 feature(s) added plugin mad with 4 feature(s) added plugin ossaudio with 3 feature(s) added plugin videoflip with 1 feature(s) added plugin rmdemux with 1 feature(s) added plugin qtdemux with 1 feature(s) added plugin mpegstream with 4 feature(s) added plugin system_encode with 1 feature(s) added plugin modplug with 1 feature(s) added plugin mixmatrix with 1 feature(s) added plugin flxdec with 1 feature(s) added plugin cutter with 1 feature(s) added plugin audioscale with 1 feature(s) added plugin asf with 2 feature(s) added plugin adder with 1 feature(s) added plugin riff with 0 feature(s) added plugin wavparse with 1 feature(s) added plugin matroska with 2 feature(s) added plugin cdxaparse with 1 feature(s) added plugin avi with 2 feature(s) loaded 140 plugins with 249 features luca@gismo:~$ gst-launch-ext-0.8 test.m4a Running command-line gst-launch-0.8 filesrc location="test.m4a" ! qtdemux .audio_00 ! { queue ! faad ! esdsink } RUNNING pipeline ... ERROR: from element /pipeline0/thread0/faad0: Internal GStreamer error: negotiat ion problem. File a bug. Caught interrupt. luca@gismo:~$ gst-typefind-0.8 test.m4a test.m4a - video/quicktime luca@gismo:~$ gst-inspect-0.8 | grep faad faad: faad: Free AAC Decoder (FAAD) luca@gismo:~$ gst-inspect-0.8 | grep m4a typefindfunctions: audio/x-m4a: m4a luca@gismo:~$ ===== As you can see, same problem :-( BTW, other from the FAAD plugin I manually compiled, all the other 'gstreamer' components come from Debian unstable/experimental. Thx, bye, Gismo / Luca
Add audioconvert and audioscale in between: gst-launch-0.8 filesrc location=file.m4a ! qtdemux .audio_00 ! faad ! audioconvert ! audioscale ! esdsink
Hello, > gst-launch-0.8 filesrc location=file.m4a ! qtdemux .audio_00 ! faad ! > audioconvert ! audioscale ! esdsink this indeed did the trick, thank you for the info. BTW, I could be a bit stupid, as I didn't try .m4a directly in 'Rhythmbox', but always as command line. Now 'Rhythmbox' plays my .m4a :-) IMHO you can close this bug. Thx, bye, Gismo / Luca
OK. :).