GNOME Bugzilla – Bug 313763
misdetects mp3 file for mpeg-transport stream
Last modified: 2005-11-23 16:59:57 UTC
I am attaching MP3 file created by gogo MP3 encoder. Most files from this encoder play without any problem, but few of them does not. The same wav encoded by lame plays without any problems. Using mad works around this problem. $ gst-launch-0.8 filesrc location=audio_01_part.mp3 ! spider ! alsasink RUNNING pipeline ... ERROR: from element /pipeline0/spider0/ffdemux_mpegts0: GStreamer encountered a general supporting library error. Additional debug info: gstffmpegdemux.c(550): gst_ffmpegdemux_open: /pipeline0/spider0/ffdemux_mpegts0: Unknown error Execution ended after 2 iterations (sum 179336000 ns, average 89668000 ns, min 337000 ns, max 178999000 ns). $ gst-launch-0.8 filesrc location=audio_01_part.mp3 ! mad ! alsasink RUNNING pipeline ... Execution ended after 141 iterations (sum 3547760000 ns, average 25161418 ns, min 28000 ns, max 366769000 ns).
Created attachment 50874 [details] audio_01_part.mp3 Small test file mentioned in examples above.
Does it work with gst-launch-0.8 filesrc location=file.mpg ! typefind ! spider ! audioconvert ! alsasink or gst-launch-0.8 filesrc location=file.mpg ! decodebin ! audioconvert ! alsasink
No: $ gst-launch-0.8 filesrc location=audio_01_part.mp3 ! typefind ! spider ! audioconvert ! alsasink RUNNING pipeline ... ERROR: from element /pipeline0/spider0/ffdemux_mpegts0: GStreamer encountered a general supporting library error. Additional debug info: gstffmpegdemux.c(550): gst_ffmpegdemux_open: /pipeline0/spider0/ffdemux_mpegts0: Unknown error Execution ended after 2 iterations (sum 312059000 ns, average 156029500 ns, min 59007000 ns, max 253052000 ns). $ gst-launch-0.8 filesrc location=audio_01_part.mp3 ! decodebin ! audioconvert ! alsasink RUNNING pipeline ... ERROR: from element /pipeline0/decodebin0/ffdemux_mpegts0: GStreamer encountered a general supporting library error. Additional debug info: gstffmpegdemux.c(550): gst_ffmpegdemux_open: /pipeline0/decodebin0/ffdemux_mpegts0: Unknown error Execution ended after 3 iterations (sum 80005000 ns, average 26668333 ns, min 206000 ns, max 75018000 ns).
This file works correctly in 0.9.x (current CVS).