[oi-dev] libjpeg-turbo and VLC

bentahyr at chez.com bentahyr at chez.com
Fri Dec 18 01:55:09 UTC 2015


Aurélien,

I have as well the LUA and QT messages but I "discarded" them as you mentioned it in previous post.
I haven't gone through the issues in VLC/LUA bug report systems to see how things were going upstream yet.

The more time I spend with the git repos (oi-userland/oi-hipster), the more I understand them and how to use/manipulate them.
I hope to reach the point of being able to produce components myself.

Ben

----- Mail original -----
De: "Aurélien Larcher" <aurelien.larcher at gmail.com>
À: "OpenIndiana Developer mailing list" <oi-dev at openindiana.org>
Envoyé: Vendredi 18 Décembre 2015 13:19:06
Objet: Re: [oi-dev] libjpeg-turbo and VLC




Hello, 
thanks for your feedback ! 







I did a compile of vlc out of the oi-userland component you made and it compiled fine. 



Cool :) I like using oi-userland like a ports system to install stuff locally, with the time I find it really easy going. 



I tried a few video and old stuff MPEG, mp3,.. are fine. 


Regarding MP4 (x264) I have issues (XCB messages in console) but I'm not sure how much the "run in vbox" situation is responsible from that. 



I tried also a few format and so far did not have issues playing local files but less sucess opening some streams. 


I woud like to fix the lua plugin issue as well as some qt4 warnings. 




I'll try more tests with DVDs next week. 



Thank you ! 



Like I said, I amazed how you guys caught back on those key softwares. 



Alexander did a very good thing pushing oi-userland forward to allow easy contribution process, let us hope that more people will git clone oi-userland and jump aboard ! 


Best regards 


Aurelien 




Best regards. 
Ben 

----- Mail original ----- 
De: "Aurélien Larcher" < aurelien.larcher at gmail.com > 
À: "OpenIndiana Developer mailing list" < oi-dev at openindiana.org > 
Envoyé: Samedi 12 Décembre 2015 14:31:10 


Objet: Re: [oi-dev] libjpeg-turbo and VLC 



Hello, 






- navigator 

Firefox 43 beta is available on Hipster: http://www.openindiana.org/2015/11/30/firefox-43b/ 



- office suite 



LibreOffice available from SFE: sfe.opencsw.org 



- multimedia player 



VLC 2.2.1 soon I promise ;) 



I think we cover nearly 80% of generic desktop computer needs. 



So we are almost good ? ;) 



I'll try my best to contribute, the very few hours per week I got have been diverted by a SGI Octane lately, I have to focus on tiny things I can achieve. 



Oh an Octane, nice :) I just have Indies and O2s, not super beefy. 


I submitted a PR for IJG's libjpeg: 

https://github.com/OpenIndiana/oi-userland/pull/1584 

but I am confused.. I do not know what it is the best option... 

Best regards, 


Aurelien 



Best regards 
Ben 

----- Mail original ----- 
De: "Aurélien Larcher" < aurelien.larcher at gmail.com > 
À: "OpenIndiana Developer mailing list" < oi-dev at openindiana.org > 
Envoyé: Samedi 12 Décembre 2015 05:40:40 
Objet: Re: [oi-dev] libjpeg-turbo and VLC 




Hi, 
maybe are you missing the hipster-encumbered repository ? 

http://pkg.openindiana.org/hipster-encumbered/en/index.shtml 

Some libs are still missing (like live55) but they are only optional. 

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. 

If you have the time, you can contribute the missing optional libraries listed here: 

http://wiki.openindiana.org/oi/Multimedia 


After adding libjpeg-turbo with 6b compliance, VLC 2.2.1 compile out of the box provided that you add some flags: 

CFLAGS=" -DLUA_COMPAT_ALL=1 -DGL_GLEXT_PROTOTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 " 


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. 

The second is to address a compilation error. 

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. 


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. 

But before we can add VLC to oi-userland/encumbered, I need to push the libjpeg components in any case. 
Best regards 

Aurélien 










On Fri, Dec 11, 2015 at 1:27 AM, < bentahyr at chez.com > wrote: 


Hi Aurélien, 

This is great news. 
I tried myself and my results are way less optimistic than yours. 
How did you compiled the libraries necessary for VLC ? 
After installing all I could from repo, I'm still left to compile the following : 
a52 bluray caca chromaprint dca dvbpsi dvdcss dvdnav dvdread faad2 \ 
ffmpeg fluid gme goom gsm jpeg kate \ 
lame libmpeg2 live555 mad matroska modplug mpcdec nettle \ 
postproc shout sidplay2 taglib twolame upnp vncserver vpx x264 x265 zvbi 

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. 

Did you compile those ? Did you got them from SFE ? 

Best regards. 
Ben 

----- Mail original ----- 
De: "Aurélien Larcher" < aurelien.larcher at gmail.com > 
À: "OpenIndiana Developer mailing list" < oi-dev at openindiana.org > 
Envoyé: Jeudi 3 Décembre 2015 08:56:18 
Objet: [oi-dev] libjpeg-turbo and VLC 













Hello, 
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: 

- update of gnu-gettext 0.19.6 by Alexander [1] 
- support of strerror_l to illumos [2] 

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. 

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. 


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. 
Best regards 

Aurelien 






[1] https://github.com/OpenIndiana/oi-userland/pull/1544 
[2] https://github.com/illumos/illumos-gate/commit/b599bd937c305a895426e8c412ca920ce7824850 






-- 




--- 
Praise the Caffeine embeddings 

_______________________________________________ 
oi-dev mailing list 
oi-dev at openindiana.org 
http://openindiana.org/mailman/listinfo/oi-dev 

_______________________________________________ 
oi-dev mailing list 
oi-dev at openindiana.org 
http://openindiana.org/mailman/listinfo/oi-dev 


-- 




--- 
Praise the Caffeine embeddings 

_______________________________________________ 
oi-dev mailing list 
oi-dev at openindiana.org 
http://openindiana.org/mailman/listinfo/oi-dev 

_______________________________________________ 
oi-dev mailing list 
oi-dev at openindiana.org 
http://openindiana.org/mailman/listinfo/oi-dev 


-- 




--- 
Praise the Caffeine embeddings 

_______________________________________________ 
oi-dev mailing list 
oi-dev at openindiana.org 
http://openindiana.org/mailman/listinfo/oi-dev 

_______________________________________________ 
oi-dev mailing list 
oi-dev at openindiana.org 
http://openindiana.org/mailman/listinfo/oi-dev 


-- 




--- 
Praise the Caffeine embeddings 

_______________________________________________
oi-dev mailing list
oi-dev at openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev



More information about the oi-dev mailing list