<DIV>Hi,<BR><BR>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>When try to play mp3 file using mad plugin, i am facing following issue.</DIV>
<DIV>And my oss-audio driver does not round rates correctly,it only support defined rates like such as 8,16,32,44.1,48Khz.</DIV>
<DIV>If I request for audio driver other than these defiined rates, it says "Invalid sample rates" and then gstreamer is failed to negotiate the rates.</DIV>
<DIV>This is happening in the gst-plugins-0.8.6/sys/oss/gstosselement.c</DIV>
<DIV> </DIV>
<DIV>How do I come out this problem? Where can I modify the Gst-plugins/Gstreamer such that it reuest only defined rates.Correct me if I am wrong. </DIV>
<DIV> </DIV>
<DIV> ---------------------------------------------------------snip-------------------------------------------------------</DIV>
<DIV># ./gst-launch filesrc location=vis1.mp3 ! mad ! osssink --gst-debug-level=1</DIV>
<DIV>RUNNING pipeline ...<BR>Invalid Sample Rate 1000 requested<BR>Invalid Sample Rate 100000 requested<BR>ERROR (0x16a50 -Invalid Sample Rate 28000 requested<BR> 0:21:18.370092000) oss( 222) gstosselement.c(1217):gst_osselement_<BR>rate_probe_check: Driver bug recognized (driver does not round rates<BR>correctly). Please file a bug report.<BR>ERROR (0x16a50 - 0:21:23.020126000) GST_PADS( 222)<BR>gstpad.c(2490):gst_pad_set_explicit_caps:<mad0> failed to negotiate (try_set_caps with "audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16,<BR>depth=(int)16, rate=(int)44100, channels=(int)2" returned REFUSED)<BR>ERROR: from element /pipeline0/mad0: Internal GStreamer error: pad problem.File a bug.<BR>Additional debug info:<BR>gstpad.c(2490): gst_pad_set_explicit_caps: /pipeline0/mad0:<BR>failed to negotiate (try_set_caps with
"audio/x-raw-int,<BR>endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100,channels=(int)2" returned REFUSED)</DIV>
<DIV>ERROR (0x16a50 - 0:21:23.050097000) scheduler( 222) gstoptimalscheduler.c<BR>(2609):gst_opt_scheduler_iterate:<GstOptScheduler@0x8b220> in error<BR>state Execution ended after 4 iterations (sum 4630007000 ns, average<BR>1157501750 ns, min 11000 ns, max 2939986000 ns).<BR>#<BR>---------------------------------------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>Let me know your thoughts....</DIV>
<DIV> </DIV>
<DIV>Waiting for your reply.</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV>Vishwa</DIV>
<DIV><BR><B><I>Mark Dezelon <markdezelonti@yahoo.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">vishwanath H.G wrote:<BR>> 5. Run "gst-register" on target<BR>><BR>> # gst-register<BR>> Rebuilding global_registry<BR>> (/usr/local/fs/vishwa/var/cache/gstreamer-0.8/registry.xml) ...<BR>> Rebuilding user_registry (/root/.gstreamer-0.8/registry.xml) ...<BR>> Loaded 0 plugins with 0 features.<BR><BR>I concur with everything Thomas wrote.<BR><BR>Also, if gst-register is loading zero plugins, then you<BR>should fix that problem before moving on to the mad plugin.<BR>I'm also compiling GStreamer for the ARM, and I've just<BR>gotten it to compile and execute.<BR><BR>I ran "gst-register --gst-debug-level=5" to verify that it<BR>found the normal plugins. In my case, the plugins were<BR>found, but each plugin wasn't recognized as a GStreamer<BR>plugin. To make a long story short, when I compiled glib for<BR>the arm, I supplied "glib_cv_uscore=yes" in the autogen<
BR>file; turns out I really wanted "glib_cv_uscore=no". After<BR>reconfiguring and recompiling glib, GStreamer worked as<BR>expected.<BR><BR>Other pages that helped me:<BR><BR>* glib-2.4.8/docs/reference/glib/html/glib-cross-compiling.html (from<BR>within glib)<BR>*<BR>http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-using.html<BR><BR>Once "gst-register" loads plugins and "gst-inspect fakesrc"<BR>returns expected information, then you can focus on loading<BR>the mad plugin.<BR><BR>Just some thoughts; hope that helps.<BR><BR>-- Mark Dezelon<BR><BR><BR><BR>__________________________________ <BR>Do you Yahoo!? <BR>Meet the all-new My Yahoo! - Try it today! <BR>http://my.yahoo.com <BR><BR><BR><BR><BR>-------------------------------------------------------<BR>SF email is sponsored by - The IT Product Guide<BR>Read honest & candid reviews on hundreds of IT Products from real users.<BR>Discover which products truly live up to the hype. Start reading now.
<BR>http://productguide.itmanagersjournal.com/<BR>_______________________________________________<BR>gstreamer-devel mailing list<BR>gstreamer-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR></BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Yahoo! Mail - Easier than ever with enhanced search. <A href="http://us.rd.yahoo.com/evt=29916/*http://info.mail.yahoo.com/mail_250">Learn more.</A></BLOCKQUOTE></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com