[oi-dev] libjpeg-turbo and VLC

bentahyr at chez.com bentahyr at chez.com
Sun Jan 10 06:19:34 UTC 2016


I made some tests, these are some minor (integration) issues I noticed :

- When I insert  a DVD, the icon appears on the desktop, if I right click and do "Open with/vlc", vlc fails with the following logs :
[08062798] core libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Attempting to use device /dev/rdsk/c3t2d0s2 mounted on /media/TINTIN_MYSTERY_GOLDEN_FLEECE for CSS authentication
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00f50000. Regions: 2 4
[083bc530] core input error: ES_OUT_RESET_PCR called
[083bc530] core input error: ES_OUT_RESET_PCR called

If I start it from the command line using  "vlc dvd:///dev/rdsk/c3t2d0s2" it work fine (I still have these core input error message but it works.

As general, if I right click a media and choose Open with VLC, it will pop up and disapear immediatly.

I noticed as well playing a cd audio failed for right reasons (for rythmbox and totem as well, maybe more behind).

Otherwise, it played anything. Good job.. outstanding, really.

----- Mail original -----
De: bentahyr at chez.com
À: "OpenIndiana Developer mailing list" <oi-dev at openindiana.org>
Envoyé: Dimanche 10 Janvier 2016 16:43:05
Objet: Re: [oi-dev] libjpeg-turbo and VLC

Hi,
I plugged the hardware and was about to test vlc.
I noticed the package vlc v2.2.1 in hipster-encumbered. I tried to installed it but when I do so it pulls out :
- postgres libs
database/postgres-93/library 9.3.10-2015.0.2.0
- nvidia graphic
driver/graphics/nvidia 0.340.93-2015.0.1.0

If the first one in not really an issue but rather a matter of curiosity, why and where the dependency comes from.
The second is an issue as I use an old graphic card (Nvidia Quadro FX3500), I need an old driver (v304 is the latest that support this graphic card). I'm just wondering where this dependency comes from as well ?

Best regards.
Franck

----- Mail original -----
De: bentahyr at chez.com
À: "OpenIndiana Developer mailing list" <oi-dev at openindiana.org>
Envoyé: Mardi 22 Décembre 2015 15:18:13
Objet: Re: [oi-dev] libjpeg-turbo and VLC

Hi,

I performed some additional tests and they went fine decoding any video from "Vidéo for Everybody" test page but performance was underneath firefox (framerate, slugish video).
I couldn't play a dvd due to rights and access to DVD drive through virtualbox.

I really need to test on hardware for DVD and performance. I'll see that after new years day.
It looks very promising to me.

Best regards.
Ben

----- Mail original -----
De: bentahyr at chez.com
À: "OpenIndiana Developer mailing list" <oi-dev at openindiana.org>
Envoyé: Vendredi 18 Décembre 2015 11:38:17
Objet: Re: [oi-dev] libjpeg-turbo and VLC

Hi,
I'm kind of digging out this but as I'm slow to do things.
I did a compile of vlc out of the oi-userland component you made and it compiled fine.

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'll try more tests with DVDs next week.
After end of year break, I'll be able to test based on hardware rather than virtual machine.

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

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

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




More information about the oi-dev mailing list