<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Hi</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">BTW I tried v2.0 of wma which is causing the same issue. </span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Can you let me know where is latest acmmp3dec plugin available?</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Thank you very much for your help so far!</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div></span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Srinivas</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br>
</span></div>Date: Wed, 7 Sep 2011 13:38:28 -0700<br>From: Michael Smith <<a href="mailto:msmith@xiph.org" style="color: rgb(0, 84, 136); ">msmith@xiph.org</a>><br>Subject: Re: Error using dshwodecwrapper<br>To: Discussion of the development of and with GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" style="color: rgb(0, 84, 136); ">gstreamer-devel@lists.freedesktop.org</a>><br>Message-ID:<br> <CAB=<a href="mailto:BY8tbALOL6pYvu3VipQXWJRr3MmJRi0Xp3qS0RiH5jMbaPw@mail.gmail.com" style="color: rgb(0, 84, 136); ">BY8tbALOL6pYvu3VipQXWJRr3MmJRi0Xp3qS0RiH5jMbaPw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br><br>The registry is always required - even on the first run, it gets<br>created and then used.<br><br>You may be right that there's a race condition of some sort; you'll<br>
need to debug that. However, be warned: the dshow mp3 decoder does not<br>work very well with real-world mp3 files, it'll frequently error out.<br>This is not a problem with the gstreamer wrapper, it's a problem with<br>
the underlying dshow element.<br><br>On windows, you can instead use the acmmp3dec element.<br><br>The WMA problem remains simply that you're using a decoder for a<br>different format from what your file actually contains.<br>
<br>Mike</span><br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 2:04 PM, Srinivas Sakhamuri <span dir="ltr"><<a href="mailto:sr.sakhamuri@gmail.com">sr.sakhamuri@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have some more information on this, when I remove the registry bin file then I don't receive the error filesrc0 (see FIRST LOG below) and it starts playing the mp3 file, I didn't have much success with wma files.<div>
<br></div><div>And when the registry is removed it starts to play look at the SECOND LOG. </div><div><br></div><div>I am guessing there is some timing issue from the first push and when decoder is ready causing the erratic behaviour, which probably eliminated when all the plugins are being iterated for registry creation. </div>
<div><br></div><div>Is there a way we can skip the registry creation, is it only a compile time option?</div><div><br></div><div>Windows builds (<a href="http://code.google.com/p/ossbuild/" target="_blank">http://code.google.com/p/ossbuild/</a>) are probably a bit older is there a fix in the later releases for any registry related bug?</div>
<div><br><div><br></div><div>FIRST LOG: </div><div>dshow_adec_register</div><div><div>gst_dshowaudiodec_base_init</div><div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_init</div><div>Setting pipeline to PAUSED ...</div>
<div>gst_dshowaudiodec_change_state</div><div>gst_dshowaudiodec_create_graph_and_filters</div><div>gst_dshowaudiodec_create_graph_and_filters_task</div><div>gst_dshowaudiodec_change_state</div><div>Pipeline is PREROLLING ...</div>
<div>gst_dshowaudiodec_sink_event</div><div>gst_dshowaudiodec_sink_event</div><div>gst_dshowaudiodec_sink_event</div><div>gst_dshowaudiodec_sink_event</div><div>ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.</div>
<div>Additional debug info:</div><div>gstbasesrc.c(2543): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:</div><div>streaming task paused, reason not-negotiated (-4)</div><div>ERROR: pipeline doesn't want to preroll.</div>
<div>Setting pipeline to NULL ...</div><div>gst_dshowaudiodec_change_state</div><div>gst_dshowaudiodec_change_state</div><div>gst_dshowaudiodec_destroy_graph_and_filters</div><div>gst_dshowaudiodec_destroy_graph_and_filters_task</div>
<div>Freeing pipeline ...</div><div><br></div><div>SECOND LOG:</div><div><div>dshow_adec_register</div><div>gst_dshowaudiodec_base_init</div><div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_base_init</div><div>
gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_base_init</div><div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_base_init</div><div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_base_init</div>
<div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_base_init</div><div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_base_init</div><div>gst_dshowaudiodec_class_init</div><div>gst_dshowaudiodec_init</div>
<div>Setting pipeline to PAUSED ...</div><div>gst_dshowaudiodec_change_state</div><div>gst_dshowaudiodec_create_graph_and_filters</div><div>gst_dshowaudiodec_create_graph_and_filters_task</div><div>gst_dshowaudiodec_change_state</div>
<div>Pipeline is PREROLLING ...</div><div>gst_dshowaudiodec_sink_event</div><div>gst_dshowaudiodec_sink_event</div><div>gst_dshowaudiodec_sink_event</div><div>gst_dshowaudiodec_sink_setcaps</div><div>gst_dshowaudiodec_setup_graph</div>
<div>gst_dshowaudiodec_setup_graph_task</div><div>dshowaudiodec_set_input_format</div><div>dshowaudiodec_set_output_format</div><div>gst_dshowaudiodec_get_filter_settings</div><div>AudioFakeSink::CheckMediaType</div><div>
gst_dshowaudiodec_chain</div><div>gst_dshowaudiodec_chain_task</div><div>gst_dshowaudiodec_flush</div><div>gst_dshowaudiodec_chain</div><div>gst_dshowaudiodec_chain_task</div><div>Pipeline is PREROLLED ...</div><div>Setting pipeline to PLAYING ...</div>
<div>gst_dshowaudiodec_change_state</div><div>gst_dshowaudiodec_chain</div></div><div><br></div><font color="#888888"><div><br></div><div>Srinivas</div></font><div><div></div><div class="h5"><div><br></div><br><div class="gmail_quote">
On Wed, Sep 7, 2011 at 4:50 AM, Srinivas Sakhamuri <span dir="ltr"><<a href="mailto:sr.sakhamuri@gmail.com" target="_blank">sr.sakhamuri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<div><br></div><div>Decodebin2 is picking up ffmpeg codec which is not what I want, </div><div><br></div><div>Adding asfdemux is not working either, in the following pipeline</div>
<div><br></div><div>this works ok: gst-launch -ev --gst-plugin-spew filesrc location=c:\\Heavy.wma ! asfdemux ! ffdec_wmav2 ! autoaudiosink</div>
<div><br></div><div>but this doesn't work: gst-launch -ev --gst-plugin-spew filesrc location=c:\\Heavy.wma ! asfdemux ! dshowadec_wma4 ! autoaudiosink</div><div><br></div><div>I think the problem is with dshowadec_wma4, and dshowadec_mp3 playback also doesn't work. I tried debugging the issue but not being familiar with the code it could take a while. </div>
<div><br></div><div>Can anybody help me point out the issue with dshowdecwrapper or provide me directshow filter related debugging tips to root out this issue?</div><div><br></div><div>Srinivas</div><div><br></div><div><br>
</div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Date: Tue, 6 Sep 2011 16:26:00 -0700<br>From: Michael Smith <<a href="mailto:msmith@xiph.org" style="color:rgb(0, 84, 136)" target="_blank">msmith@xiph.org</a>><br>
Subject: Re: Error using dshwodecwrapper<br>To: Discussion of the development of and with GStreamer<br> <<a href="mailto:gstreamer-devel@lists.freedesktop.org" style="color:rgb(0, 84, 136)" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Message-ID:<br> <CAB=BY8uTUKH-Hj=_<a href="mailto:PyZArs0Fk_zK9OHQeVN951rDHkUrzsab2A@mail.gmail.com" style="color:rgb(0, 84, 136)" target="_blank">PyZArs0Fk_zK9OHQeVN951rDHkUrzsab2A@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br>
<br>You will need asfdemux in there; WMA files are ASF containing WMA.<br>Then the decoder you need to use will depend on exactly what codec is<br>used in your file.<br><br>If you use decodebin2, this will all be done for you automatically.<br>
<br>Mike</span><div><div></div><div><br><br><div class="gmail_quote">On Tue, Sep 6, 2011 at 5:07 PM, Srinivas Sakhamuri <span dir="ltr"><<a href="mailto:sr.sakhamuri@gmail.com" target="_blank">sr.sakhamuri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<div><br></div><div>I am facing few problems using the dshowdecwrapper's elements dshowadec_mp3 and wma</div><div><br></div><div>Here is the pipeline commandline: gst-launch filesrc location=c:\\mellow.wma ! dshowadec_wma4 ! audioconvert ! directsoundsink </div>
<div><br></div><div>Is the right way to construct the pipeline? It always hangs at pre-rolling. Debugging it I found it's not calling gst_dshowaudiodec_sink_setcaps function and calling directly gst_dshowaudiodec_chain, not sure it is correct or not.</div>
<div><br></div><div>I have attached the zip file with the error log at debug level 5. Can you please let me know if there is something with the element or pipeline construction etc.</div><div><br></div><div>Error log is also here: <a href="http://dl.dropbox.com/u/418325/error.zip" target="_blank">http://dl.dropbox.com/u/418325/error.zip</a></div>
<div><div><br></div><div>thanks</div><div>Srinivas</div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br>