[vlc-devel] Debugging issue with subtitles

Sean McGovern gseanmcg at gmail.com
Wed Dec 30 18:00:24 CET 2015


Hi Alexander,

Are you sure that the libmatroska and libebml contribs were built?

My Solaris 11 box has no trouble with MKV subtitles. Please note that I am
building from Git HEAD, though.

-- Sean McG.
On Dec 30, 2015 02:22, "Alexander Pyhalov" <alp at rsu.ru> wrote:

> Hello.
>
> I'm trying to find out why self-compiled vlc on OpenIndiana doesn't want
> to read subtitles in MKV files.
>
> I use  test file from Matroska test suite -
> http://www.matroska.org/downloads/test_w1.html
>
> $ vlc -vvv  ~/distr/Solaris/matroska/test5.mkv
> VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision
> 2.2.1-0-ga425c42)
> [080631e0] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett
> (Weatherwax)
> [080631e0] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
> [080631e0] core libvlc debug: revision 2.2.1-0-ga425c42
> [080631e0] core libvlc debug: configured with
> /export/home/alp/srcs/oi-userland/components/encumbered/vlc/vlc-2.2.1/configure
> 'CC=/usr/gcc/4.9/bin/gcc' 'CXX=/usr/gcc/4.9/bin/g++'
> 'F77=/usr/gcc/4.9/bin/gfortran' 'FC=/usr/gcc/4.9/bin/gfortran' 'CFLAGS=-m32
> -O1 -ggdb  -DGL_GLEXT_PROTOTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/libjpeg6-turbo -Wl,-L/usr/lib/libjpeg6-turbo/lib
> -Wl,-R/usr/lib/libjpeg6-turbo/lib -fno-stack-check' 'CXXFLAGS= -m32
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -ggdb -fno-stack-check'
> 'FFLAGS= -m32' 'FCFLAGS=-m32' 'LDFLAGS=-m32'
> 'PKG_CONFIG_PATH=/usr/lib/pkgconfig' '--prefix=/usr'
> '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib'
> '--sbindir=/usr/sbin' '--enable-shared' '--disable-static' '--enable-debug'
> '--disable-optimizations' '--enable-sout' '--enable-lua' '--enable-httpd'
> '--enable-vlm' '--enable-addonmanagermodules' '--disable-live555'
> '--disable-dc1394' '--disable-dv1394' '--disable-linsys' '--enable-dvdread'
> '--enable-dvdnav' '--disable-bluray' '--disable-opencv'
> '--disable-smbclient' '--enable-sftp' '--disable-v4l2' '--disable-decklink'
> '--enable-gnomevfs' '--disable-vcdx' '--disable-vcd' '--disable-libcddb'
> '--enable-screen' '--disable-vnc' '--disable-freerdp' '--disable-realrtsp'
> '--enable-dvbpsi' '--disable-gme' '--disable-sid' '--enable-ogg'
> '--enable-mux_ogg' '--disable-shout' '--enable-mkv' '--disable-mod'
> '--enable-mpc' '--disable-wma-fixed' '--disable-shine'
> '--disable-mmal-codec' '--disable-crystalhd' '--enable-mad'
> '--disable-merge-ffmpeg' '--disable-gst-decode' '--enable-avcodec'
> '--disable-libva' '--disable-dxva2' '--disable-vda' '--enable-avformat'
> '--enable-swscale' '--disable-postproc' '--enable-faad' '--enable-twolame'
> '--enable-dxva2' '--enable-dca' '--enable-flac' '--enable-libmpeg2'
> '--enable-vorbis' '--enable-speex' '--enable-opus' '--enable-theora'
> '--enable-schroedinger' '--enable-png' '--enable-jpeg' '--disable-x262'
> '--disable-x265' '--enable-x264' '--disable-mfx' '--disable-fluidsynth'
> '--disable-zvbi' '--enable-telx' '--enable-libass' '--disable-kate'
> '--disable-tiger' '--with-x' '--enable-xcb' '--enable-xvideo'
> '--disable-vdpau' '--enable-sdl' '--enable-sdl-image' '--enable-freetype'
> '--enable-fribidi' '--enable-fontconfig' '--enable-svg' '--enable-svgdec'
> '--disable-caca' '--disable-kva' '--disable-mmal-vout' '--enable-pulse'
> '--disable-jack' '--enable-samplerate' '--disable-kai'
> '--disable-chromaprint' '--enable-qt' '--enable-skins2' '--disable-libtar'
> '--disable-ncurses' '--disable-lirc' '--disable-goom' '--disable-projectm'
> '--disable-vsxu' '--disable-atmo' '--enable-glspectrum' '--enable-bonjour'
> '--disable-udev' '--enable-mtp' '--disable-upnp' '--enable-libxml2'
> '--disable-libgcrypt' '--disable-gnutls' '--disable-taglib'
> '--enable-notify'
>
> Looking at vlc-2.2.1/modules/demux/avformat/demux.c (OpenDemux function),
> it seems that ffmpeg libraries set streams[i]->codec->codec_tag to 0,
> streams[i]->codec->codec_name to "" and  codec_id to 1397909872
> (corresponding to AV_CODEC_ID_SUBRIP), but vlc claims that subtitles codec
> is "undf" and doesn't want to show subtitles. Perhaps, it needs some
> fourcc, but ffmpeg doesn't return one.
>
> Is it ffmpeg issue or vlc issue? How can it be fixed? What further
> information should I provide?
>
> $ mediainfo ~/distr/Solaris/matroska/test5.mkv
> General
> Complete name                    :
> /export/home/leoric/distr/Solaris/matroska/test5.mkv
> Format                           : Matroska
> File size                        : 30.3 MiB
> Duration                         : 46s 665ms
> Overall bit rate                 : 5 445 Kbps
> Encoded date                     : UTC 2010-08-21 18:06:43
> Writing application              : mkvmerge v4.0.0 ('The Stars were mine')
> built on Jun  6 2010 16:18:42
> Writing library                  : libebml v1.0.0 + libmatroska v1.0.0
>
> Video
> ID                               : 1
> Format                           : AVC
> Format/Info                      : Advanced Video Codec
> Format profile                   : Main at L3.1
> Format settings, CABAC           : No
> Format settings, ReFrames        : 2 frames
> Muxing mode                      : Container profile=Unknown at 3.1
> Codec ID                         : V_MPEG4/ISO/AVC
> Duration                         : 46s 667ms
> Width                            : 1 024 pixels
> Height                           : 576 pixels
> Display aspect ratio             : 16:9
> Frame rate                       : 24.000 fps
> Resolution                       : 8 bits
> Colorimetry                      : 4:2:0
> Scan type                        : Progressive
> Color primaries                  : BT.601-6 525, BT.1358 525, BT.1700
> NTSC, SMPTE 170M
> Transfer characteristics         : BT.709-5, BT.1361
> Matrix coefficients              : BT.601-6 525, BT.1358 525, BT.1700
> NTSC, SMPTE 170M
>
> Audio #1
> ID                               : 2
> Format                           : AAC
> Format/Info                      : Advanced Audio Codec
> Format version                   : Version 4
> Format profile                   : LC
> Format settings, SBR             : No
> Codec ID                         : A_AAC
> Duration                         : 46s 665ms
> Channel(s)                       : 2 channels
> Channel positions                : Front: L R
> Sampling rate                    : 48.0 KHz
> Video delay                      : 12ms
>
> Audio #2
> ID                               : 10
> Format                           : AAC
> Format/Info                      : Advanced Audio Codec
> Format version                   : Version 4
> Format profile                   : LC
> Format settings, SBR             : Yes
> Format settings, PS              : Yes
> Codec ID                         : A_AAC
> Duration                         : 46s 664ms
> Channel(s)                       : 2 channels
> Channel positions                : Front: L R
> Sampling rate                    : 44.1 KHz
> Video delay                      : 9ms
> Title                            : Commentary
>
> Text #1
> ID                               : 3
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
>
> Text #2
> ID                               : 4
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
> Language                         : Hungarian
>
> Text #3
> ID                               : 5
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
> Language                         : German
>
> Text #4
> ID                               : 6
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
> Language                         : French
>
> Text #5
> ID                               : 8
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
> Language                         : Spanish
>
> Text #6
> ID                               : 9
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
> Language                         : Italian
>
> Text #7
> ID                               : 11
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
> Language                         : Japanese
>
> Text #8
> ID                               : 7
> Format                           : UTF-8
> Codec ID                         : S_TEXT/UTF8
> Codec ID/Info                    : UTF-8 Plain Text
>
>
>
> --
> System Administrator of Southern Federal University Computer Center
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20151230/dbdda97d/attachment.html>


More information about the vlc-devel mailing list