<div dir="ltr">Remi,<div>Thanks for looking into this.</div><div><br></div><div>What my original interest is, is about how VLC does not get into problem when decoding AC3 audio when there is no sync_word found.</div><div><br></div><div>We have a transport stream with 3 audio streams. Out of these audio streams our application (based on avlibs and ffmpeg) cannot decode audio stream 2 .... because it does not seem to have sync_word 0x770b found in the audio data.</div><div><br></div><div>However VLC does not have any problem in decoding and playing all these audio streams. And what I see is VLC is also using the same ffmpeg from inside.</div><div>So I wanted to see how it is able to work around this audio stream that ffmpeg rejects!!</div><div><br></div><div>This is the basic reason why I am trying to build VLC</div><div><br></div><div>Now about the srt....</div><div>I had tried to configure and make by disabling srt in configure............That time it went to link next module and failed with exactly same error ( -fPIC ... whatever)</div><div><br></div><div>I hope I have made it clear how I landed up here.</div><div>See if you can help me </div><div>Thanks again</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 27, 2022 at 8:00 AM Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 26 décembre 2022 18:45:14 GMT+01:00, Mahesh Velankar <<a href="mailto:mvelanka@gmail.com" target="_blank">mvelanka@gmail.com</a>> a écrit :<br>
>I am an absolute newbie to vlc.<br>
>I cloned git repo and tried to build vlc with these steps<br>
><br>
><br>
> 1. bootstrap<br>
> 2. ./configure --enable-static --disable-lua --disable-xcb --disable-qt<br>
> --disable-a52<br>
> 3. make<br>
><br>
><br>
>It is throwing this error in the linking step.<br>
><br>
><br>
>/usr/bin/ld: /usr/local/lib/libsrt.a(srt_c_api.cpp.o): relocation<br>
>R_X86_64_PC32 against symbol<br>
>`_ZTVSt9basic_iosIcSt11char_traitsIcEE@@GLIBCXX_3.4'<br>
>can not be used when making a shared object; recompile with -fPIC<br>
>/usr/bin/ld: final link failed: Bad value<br>
>collect2: error: ld returned 1 exit status<br>
>Makefile:13024: recipe for target '<a href="http://libaccess_srt_plugin.la" rel="noreferrer" target="_blank">libaccess_srt_plugin.la</a>' failed<br>
>make[4]: *** [<a href="http://libaccess_srt_plugin.la" rel="noreferrer" target="_blank">libaccess_srt_plugin.la</a>] Error 1<br>
><br>
>Please help me on how to proceed with this build<br>
>Let me know what more details I need to provide.<br>
><br>
>Thanks<br>
<br>
Hi,<br>
<br>
You seem to have a faulty build of SRT installed under /usr/local. This error wouldn't happen on a fresh clean build environment.<br>
</blockquote></div>