Now just tried these additional cases:<br><br>i)  forced audio codec to be ffaac in smplayer and it worked<br>ii) removing libfaad plugin from vlc-1.1.4/plugins: ffmpeg shipped with vlc-1.1.4 cannot decode aac. previously i was testing it against the output of a custom compilation.<br>
<br>Is ffaac same as libavcodec? <br><br><br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 5:47 PM, Kaarlo Räihä <span dir="ltr"><<a href="mailto:kaarlo.raiha@gmail.com">kaarlo.raiha@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">If faad works and libavcodec doesn't, I would guess there is either bug in libavcodec (or maybe some flag that it doesn't support) or that the stream is somewhat against the specs. You can verify that it is a libavcodec issue by using some other player that use libavcodec (like ffplay). If you can replicate the issue with another libavcodec player, you should contact libavcodecs devs and share them a sample file that can be used to replicate the issue.<div>
<div></div><div class="h5"><div>
<br></div><div><div class="gmail_quote">2010/11/5 Mustafa Kuscu <span dir="ltr"><<a href="mailto:mustafakuscu@gmail.com" target="_blank">mustafakuscu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi Kaarlo,<br><br>Thanks for the response. Further investigating the issue, it appears that there was a huge difference between the streams. I was assuming they were both the same at first. Now the issue shifts to why i can't decode mp4a with avcodec. And I will need to be able to play both as the encoder person is out of my control. <br>


<br>Also, see workaround below.. pertaining to libfaad..<br><br><br>Works (when audio encoder is mp3):<br>[0x6c243c] ts demux debug:   * es pid=68 type=4 fcc=mpga<br>[0x68a54c] main input debug: selecting program id=1<br>


[0x50dc144] main decoder debug: looking for decoder module: 33 candidates<br>[0x50dc144] main decoder debug: using decoder module "mpeg_audio"<br>[0x50dc144] main decoder debug: TIMER module_need() : 42.000 ms - Total 42.000 ms / 1 intvls (Avg 42.000 ms)<br>


[0x50dc144] main decoder debug: thread (decoder) created at priority 2 (input/decoder.c:301)<br>[0x50dc144] main decoder debug: thread started<br><br>Fails (mpeg aac):<br>ts debug:   * es pid=68 type=15 fcc=mp4a<br>main debug: selecting program id=1<br>


main debug: looking for decoder module: 33 candidates<br>avcodec debug: libavcodec initialized (interface 0x344b01)<br>avcodec debug: ffmpeg codec (MPEG AAC Audio) started<br>avcodec debug: Using 192000 bytes output buffer<br>


main debug: using decoder module "avcodec"<br>main debug: TIMER module_need() : 24.000 ms - Total 24.000 ms / 1 intvls (Avg 24.000 ms)<br>main debug: looking for packetizer module: 21 candidates<br><br>Workaround:<br>


Also we have noticed that, if I copy libfaad_plugin from the original 1.1.4 distribution to the custom build's plugin directory, it can play mp4a.  <br>[0x20da444] ts demux debug:   * es pid=68 type=15 fcc=mp4a<br>[0x209a54c] main input debug: selecting program id=1<br>


[0x3acc534] main decoder debug: looking for decoder module: 34 candidates<br>[0x3acc534] main decoder debug: using decoder module "faad"<br>[0x3acc534] main decoder debug: TIMER module_need() : 17.000 ms - Total 17.000 ms / 1 intvls (Avg 17.000 ms)<div>

<div></div><div><br>
<br><br><br>
<br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 3:07 PM, Kaarlo Räihä <span dir="ltr"><<a href="mailto:kaarlo.raiha@gmail.com" target="_blank">kaarlo.raiha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<br><br><div class="gmail_quote">2010/11/5 Mustafa Kuscu <span dir="ltr"><<a href="mailto:mustafakuscu@gmail.com" target="_blank">mustafakuscu@gmail.com</a>></span><div><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



Hi all, <br><br>In the following scenario, all clients can receive audio stream but cannot play it. Video plays OK.<br><br>* rtp multicast stream<br>* custom compiled vlc-1.1.4, using configure <span>with: </span>--disable-update-check --disable-nls <br>






* fairly recent contribs + a recent mingw32 gcc: i586-mingw32msvc-g++ (GCC) 4.4.2<br><br>VLC log is flooded with the following:<br><br>avcodec warning: cannot decode one frame (311 bytes)<br>avcodec warning: cannot decode one frame (321 bytes)<br>




avcodec warning: cannot decode one frame (320 bytes)<br>avcodec warning: cannot decode one frame (310 bytes)<br>avcodec warning: cannot decode one frame (327 bytes)<br>avcodec warning: cannot decode one frame (320 bytes)<br>




<br>This happens on a mainstream group of Win XP PCs which may be missing directx, etc.<br>However, on a Win7 PC , the same package can play the stream without a problem.<br></blockquote><div><br></div></div><div>Is the log same on non-working and working setups? Specially I would like to know which audio decoder VLC uses in working setups (near main debug: looking for decoder module).</div>



<div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><br>Any ideas on how to fix it? Do I need to enable a specific audio module?<br>



The full log is attached. <br><br>Regards,<br><font color="#888888"><br>Mustafa<br>
</font><br></div>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888"><br>Mustafa<br>
</font><br>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><br>Mustafa<br>