<div dir="ltr"><div><div><div><div><div><div>Hi,<br></div>maybe are you missing the hipster-encumbered repository ?<br><br><a href="http://pkg.openindiana.org/hipster-encumbered/en/index.shtml" target="_blank">http://pkg.openindiana.org/hipster-encumbered/en/index.shtml</a><br><br></div>Some libs are still missing (like live55) but they are only optional.<br><br></div>The only showstopper is that VLC uses libjpeg-turbo's jpeg_mem_src so I prepared several libjpeg components to provide IJG's and the Turbo implementations in separate subdirectory.<br><br></div>If you have the time, you can contribute the missing optional libraries listed here:<br><br><a href="http://wiki.openindiana.org/oi/Multimedia" target="_blank">http://wiki.openindiana.org/oi/Multimedia</a><br><br></div><div>After adding libjpeg-turbo with 6b compliance, VLC 2.2.1 compile out of the box provided that you add some flags:<br><br>CFLAGS=" -DLUA_COMPAT_ALL=1 -DGL_GLEXT_PROTOTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "<br><br></div><div>The first is to enable backward compatibility mode with Lua 5.1, but I think our 5.2 needs recompile with the backward compatibility flag.<br></div><div>The second is to address a compilation error.<br></div><div>The last bits are to make sure that the macros is declared in a consistent way but I am not sure that is the case as some warnings still show up.<br><br></div><div>If you have more time than I have, I can push my VLC branch so that you can finish up the component and test with the optional libraries.<br></div><div>But before we can add VLC to oi-userland/encumbered, I need to push the libjpeg components in any case.<br></div>Best regards<br><br></div>Aurélien<br><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 11, 2015 at 1:27 AM, <span dir="ltr"><<a href="mailto:bentahyr@chez.com" target="_blank">bentahyr@chez.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Aurélien,<br>
<br>
This is great news.<br>
I tried myself and my results are way less optimistic than yours.<br>
How did you compiled the libraries necessary for VLC ?<br>
After installing all I could from repo, I'm still left to compile the following :<br>
a52 bluray caca chromaprint dca dvbpsi dvdcss dvdnav dvdread faad2 \<br>
ffmpeg fluid gme goom gsm jpeg kate \<br>
lame libmpeg2 live555 mad matroska modplug mpcdec nettle \<br>
postproc shout sidplay2 taglib twolame upnp vncserver vpx x264 x265 zvbi<br>
<br>
I know I can live without the blueray support even if it would be nice to have but DVD/x264 seem to me quite important.<br>
<br>
Did you compile those ? Did you got them from SFE ?<br>
<br>
Best regards.<br>
Ben<br>
<br>
----- Mail original -----<br>
De: "Aurélien Larcher" <<a href="mailto:aurelien.larcher@gmail.com" target="_blank">aurelien.larcher@gmail.com</a>><br>
À: "OpenIndiana Developer mailing list" <<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a>><br>
Envoyé: Jeudi 3 Décembre 2015 08:56:18<br>
Objet: [oi-dev] libjpeg-turbo and VLC<br>
<div><div><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Hello,<br>
this afternoon I compiled VLC 2.2.1 quick and dirty (no patching involved \o/) for use on my (work-)workstation. This was made easier thanks to:<br>
<br>
- update of gnu-gettext 0.19.6 by Alexander [1]<br>
- support of strerror_l to illumos [2]<br>
<br>
The only issue was that our libjpeg6b is quite old and not compatible with VLC, installing libjpeg-turbo (which is libjpeg8 compliant) solved the problem.<br>
<br>
Is it realistic to consider modifiying the libjpeg component and use libjpeg-turbo with v8 compatility as drop-in replacement ? The performance difference is quite impressive.<br>
<br>
<br>
VLC 2.2.1 just works fine, the only issue related to loading the Lua plugin is not OI specific and to be fixed upstream.<br>
Best regards<br>
<br>
Aurelien<br>
<br>
<br>
<br>
<br>
<br>
<br>
[1] <a href="https://github.com/OpenIndiana/oi-userland/pull/1544" rel="noreferrer" target="_blank">https://github.com/OpenIndiana/oi-userland/pull/1544</a><br>
[2] <a href="https://github.com/illumos/illumos-gate/commit/b599bd937c305a895426e8c412ca920ce7824850" rel="noreferrer" target="_blank">https://github.com/illumos/illumos-gate/commit/b599bd937c305a895426e8c412ca920ce7824850</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
<br>
<br>
<br>
---<br>
Praise the Caffeine embeddings<br>
<br>
</div></div>_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a><br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div></div></div></div></div></div></div></div></div>