Hi.

Aurélien Larcher писал 24.12.2015 02:41:
Hi Alexander,


Today I finally found time to compile and test VLC.


Thank you for testing and fixing the lua component.

[084005b8] core demux meta error: corrupt module:
/usr/lib/vlc/plugins/lua/liblua_plugin.so


Enabling lua compatibility as you did should do the trick, we will see...


But issue with subtitles is still present. In console I see:
[09062fc8] core decoder error: could not identify codec


OK I will test mkv with subtitles in the coming days.
Did you use videos from a specific webpage to do your testing ?

Also I should add support for opus.
Best regards


I've tried to fix vlc a bit. Now lua plugin works (the real issue wass in lua itself). However, still no support for subtitles in this file. It seems I have to dig deeper.

$ gst-discoverer-0.10 Les.Miserables.RGBM.2012.L.720p.Blu-Ray.mkv

Analyzing file:///export/home/leoric/Documents/Videos/Les.Miserables.RGBM.2012.L.720p.Blu-Ray.mkv
No accelerated IMDCT transform found
Stream with high frequencies VQ coding
Done discovering file:///export/home/leoric/Documents/Videos/Les.Miserables.RGBM.2012.L.720p.Blu-Ray.mkv

Topology:
  container: Matroska
    subtitles: text/x-pango-markup
    audio: DTS
    audio: AC-3 (ATSC A/52)
    video: H.264

Properties:
  Duration: 2:37:54.389000000
  Seekable: yes
  Tags:
      video codec: H264
      audio codec: AC-3 audio
      language code: ru
      title: -=R.G.Bee-Media=-
      container format: Matroska
      bitrate: 192000


$ mediainfo Les.Miserables.RGBM.2012.L.720p.Blu-Ray.mkv
General
Complete name : Les.Miserables.RGBM.2012.L.720p.Blu-Ray.mkv
Format                           : Matroska
File size                        : -1319358 208.00 Bytes
Duration                         : 2h 37mn
Overall bit rate                 : 1 390 Mbps
Movie name                       : -=R.G.Bee-Media=-
Encoded date                     : UTC 2013-03-10 06:06:48
Writing application : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep 2 2012 15:37:04
Writing library                  : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : [email protected]
Format settings, CABAC           : Yes
Format settings, ReFrames        : 5 frames
Format_Settings_GOP              : M=4, N=16
Muxing mode                      : Container [email protected]
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 37mn
Bit rate                         : 1 361 Mbps
Nominal bit rate                 : 4 436 Kbps
Width                            : 1 280 pixels
Height                           : 696 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 63.709
Stream size                      : 943 MiB (14%)
Writing library                  : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4436 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

Audio #1
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Format_Settings_ModeExtension    : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 2h 37mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 217 MiB (3%)
Title                            : L
Language                         : Russian

Audio #2
ID                               : 3
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 2h 37mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 1.67 GiB (25%)

Text
ID                               : 4
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text

Menu
00:00:00.000                     : en:00:00:00.000
00:07:22.817                     : en:00:07:22.817
00:14:31.996                     : en:00:14:31.996
00:22:22.967                     : en:00:22:22.967
00:31:52.619                     : en:00:31:52.619
00:40:13.661                     : en:00:40:13.661
00:45:14.295                     : en:00:45:14.295
00:52:43.494                     : en:00:52:43.494
01:00:40.846                     : en:01:00:40.846
01:06:41.122                     : en:01:06:41.122
01:15:51.088                     : en:01:15:51.088
01:20:21.650                     : en:01:20:21.650
01:27:04.344                     : en:01:27:04.344
01:35:34.729                     : en:01:35:34.729
01:42:10.291                     : en:01:42:10.291
01:52:20.859                     : en:01:52:20.859
02:03:01.082                     : en:02:03:01.082
02:10:09.343                     : en:02:10:09.343
02:21:18.178                     : en:02:21:18.178
02:29:41.347                     : en:02:29:41.347


vlc -vv output:

[0967a4c0] core decoder debug: no decoder modules matched
[0967a4c0] core decoder error: could not identify codec
[0967a4c0] core decoder debug: killing decoder fourcc `undf', 0 PES in FIFO



---
System Administrator of Southern Federal University Computer Center
diff -ur 
/export/home/alp/srcs/tests/oi-userland/components/encumbered/vlc/Makefile 
./Makefile
--- /export/home/alp/srcs/tests/oi-userland/components/encumbered/vlc/Makefile  
2015-12-22 07:53:41.512257425 +0300
+++ ./Makefile  2015-12-24 01:53:32.327246390 +0300
@@ -35,12 +35,11 @@
 include $(WS_TOP)/make-rules/configure.mk
 include $(WS_TOP)/make-rules/ips.mk
 
-# Lua plugin requires backward compatibility with 5.1
-CFLAGS+= -DLUA_COMPAT_ALL=1
 # Required OpenGL extensions
 CFLAGS+= -DGL_GLEXT_PROTOTYPES
 # Define to ensure consistency
 CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+CXXFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 # Use libjpeg-turbo
 LIBJPEG_PREFIX=/usr/lib/libjpeg6-turbo
 CFLAGS+= -I/usr/include/libjpeg6-turbo -Wl,-L$(LIBJPEG_PREFIX)/lib 
-Wl,-R$(LIBJPEG_PREFIX)/lib
@@ -56,7 +55,7 @@
 CONFIGURE_OPTIONS += --enable-httpd
 CONFIGURE_OPTIONS += --enable-vlm
 CONFIGURE_OPTIONS += --enable-addonmanagermodules
-CONFIGURE_OPTIONS += --disable-live55
+CONFIGURE_OPTIONS += --disable-live555
 CONFIGURE_OPTIONS += --disable-dc1394
 CONFIGURE_OPTIONS += --disable-dv1394
 CONFIGURE_OPTIONS += --disable-linsys
@@ -112,7 +111,7 @@
 CONFIGURE_OPTIONS += --enable-libmpeg2
 CONFIGURE_OPTIONS += --enable-vorbis
 CONFIGURE_OPTIONS += --enable-speex
-CONFIGURE_OPTIONS += --disable-opus
+CONFIGURE_OPTIONS += --enable-opus
 CONFIGURE_OPTIONS += --enable-theora
 CONFIGURE_OPTIONS += --enable-schroedinger
 CONFIGURE_OPTIONS += --enable-png
diff -ur 
/export/home/alp/srcs/tests/oi-userland/components/encumbered/vlc/vlc.p5m 
./vlc.p5m
--- /export/home/alp/srcs/tests/oi-userland/components/encumbered/vlc/vlc.p5m   
2015-12-22 07:53:41.513515140 +0300
+++ ./vlc.p5m   2015-12-24 00:59:47.683314260 +0300
@@ -28,6 +28,12 @@
 <transform file path=usr/share/icons/.* -> default restart_fmri 
svc:/application/desktop-cache/icon-cache:default>
 <transform file path=usr/share/locale/([^/]+)(\..+){0,1}(/.+){0,1} -> default 
facet.locale.%<\1> true>
 
+<transform file -> add pkg.depend.bypass-generate libGL\.so\.1>
+<transform file -> add pkg.depend.bypass-generate libjpeg\.so\..*>
+
+depend fmri=service/opengl/ogl-select type=require
+depend fmri=pkg:/image/library/[email protected] type=require
+
 file path=usr/bin/cvlc
 file path=usr/bin/qvlc
 file path=usr/bin/rvlc
@@ -264,6 +270,7 @@
 file path=usr/lib/vlc/plugins/codec/libjpeg_plugin.so
 file path=usr/lib/vlc/plugins/codec/liblibass_plugin.so
 file path=usr/lib/vlc/plugins/codec/liblibmpeg2_plugin.so
+file path=usr/lib/vlc/plugins/codec/libopus_plugin.so
 file path=usr/lib/vlc/plugins/codec/liblpcm_plugin.so
 file path=usr/lib/vlc/plugins/codec/libmpeg_audio_plugin.so
 file path=usr/lib/vlc/plugins/codec/libpng_plugin.so
_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev

Reply via email to