Code Monkey home page Code Monkey logo

Comments (5)

MilkyPL avatar MilkyPL commented on June 1, 2024

Also, when i try to build it with mpv built and installed from source, i get Project ERROR: mpv development package not found , even though the headers and libraries are in place:
image

from mpc-qt.

cmdrkotori avatar cmdrkotori commented on June 1, 2024

Works on my machine.
For local installs I think you need to add /usr/local to your pkgconfig path like PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig

from mpc-qt.

casta avatar casta commented on June 1, 2024

Hello,

With current trunk, I can reproduce this. But it depends on the file. Some are working, some not. All using subrip embedded subtitles.
For those that are not working, I can see the subtitles flicker when I switch the subtitle track with “S” shortcut.

This one is working:

General
File has no data for this section.

Video #1
albumart                  : false
codec                     : h264
decoder-desc              : h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
default                   : true
demux-fps                 : 25
demux-h                   : 1080
demux-par                 : 1
demux-w                   : 1920
dependent                 : false
external                  : false
ff-index                  : 0
forced                    : false
hearing-impaired          : false
id                        : 1
image                     : false
lang                      : rus
main-selection            : 0
src-id                    : 1
title                     : 12 стульев 1971
type                      : video
visual-impaired           : false

Audio #1
albumart                  : false
audio-channels            : 1
codec                     : ac3
decoder-desc              : ac3 (ATSC A/52A (AC-3))
default                   : true
demux-channel-count       : 1
demux-channels            : unknown1
demux-samplerate          : 48000
dependent                 : false
external                  : false
ff-index                  : 1
forced                    : false
hearing-impaired          : false
id                        : 1
image                     : false
lang                      : rus
main-selection            : 0
src-id                    : 2
title                     : AC-3; 16 bits 48 Khz; 1.0 ch 256 Kbps; CBR
type                      : audio
visual-impaired           : false

Audio #2
albumart                  : false
audio-channels            : 6
codec                     : ac3
default                   : false
demux-channel-count       : 6
demux-channels            : unknown6
demux-samplerate          : 48000
dependent                 : false
external                  : false
ff-index                  : 2
forced                    : false
hearing-impaired          : false
id                        : 2
image                     : false
lang                      : rus
src-id                    : 3
title                     : AC-3; 16 bits 48 Khz; 5.1 ch 448 Kbps; CBR
type                      : audio
visual-impaired           : false

Subtitles #1
albumart                  : false
codec                     : subrip
default                   : false
dependent                 : false
external                  : false
ff-index                  : 3
forced                    : false
hearing-impaired          : false
id                        : 1
image                     : false
lang                      : rus
main-selection            : 0
src-id                    : 4
title                     : Субтитры русские
type                      : sub
visual-impaired           : false

Subtitles #2
albumart                  : false
codec                     : subrip
default                   : false
dependent                 : false
external                  : false
ff-index                  : 4
forced                    : false
hearing-impaired          : false
id                        : 2
image                     : false
lang                      : eng
src-id                    : 5
title                     : Субтитры английские
type                      : sub
visual-impaired           : false

Menu
[0:00:00.000]             - Великий комбинатор
[0:06:12.680]             - Барин из Парижа
[0:11:37.760]             - "Лед тронулся"
[0:16:57.680]             - Голубой воришка
[0:25:10.520]             - Архив Коробейникова
[0:36:42.920]             - "Союз меча и орала"
[0:42:31.600]             - Свадьба
[0:46:55.600]             - Общежитие
[0:52:16.680]             - Музей мебели
[1:01:01.240]             - Аукцион
[1:06:59.360]             - Погоня за стульями
[1:09:06.360]             - Людоедка Эллочка
[1:16:56.240]             - Заседание продолжается
[1:26:12.840]             - Погоня
[1:30:49.560]             - Театр "Колумб"
[1:35:03.640]             - На пристани
[1:38:07.320]             - Восьмой стул
[1:41:11.960]             - "Сеятель"
[1:44:51.520]             - "Нью Васюки"
[1:59:14.880]             - Пятигорск
[2:06:44.600]             - Отец Федор у Брунса
[2:14:26.520]             - Под облаками
[2:20:05.560]             - В Тифлисе
[2:24:50.680]             - Финал

And this one is not working:

General
File has no data for this section.

Video #1
albumart                  : false
codec                     : h264
decoder-desc              : h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
default                   : true
demux-fps                 : 23.975985652770184
demux-h                   : 1080
demux-par                 : 1
demux-w                   : 1920
dependent                 : false
external                  : false
ff-index                  : 0
forced                    : false
hearing-impaired          : false
id                        : 1
image                     : false
lang                      : eng
main-selection            : 0
src-id                    : 1
type                      : video
visual-impaired           : false

Audio #1
albumart                  : false
audio-channels            : 6
codec                     : dts
decoder-desc              : dca (DCA (DTS Coherent Acoustics))
default                   : true
demux-channel-count       : 6
demux-channels            : unknown6
demux-samplerate          : 48000
dependent                 : false
external                  : false
ff-index                  : 1
forced                    : false
hearing-impaired          : false
id                        : 1
image                     : false
lang                      : fre
main-selection            : 0
src-id                    : 2
title                     : French DTS 754kbps
type                      : audio
visual-impaired           : false

Audio #2
albumart                  : false
audio-channels            : 6
codec                     : dts
default                   : true
demux-channel-count       : 6
demux-channels            : unknown6
demux-samplerate          : 48000
dependent                 : false
external                  : false
ff-index                  : 2
forced                    : false
hearing-impaired          : false
id                        : 2
image                     : false
lang                      : eng
src-id                    : 3
title                     : English DTS 1509kbps
type                      : audio
visual-impaired           : false

Subtitles #1
albumart                  : false
codec                     : subrip
default                   : false
dependent                 : false
external                  : false
ff-index                  : 3
forced                    : true
hearing-impaired          : false
id                        : 1
image                     : false
lang                      : fre
main-selection            : 0
src-id                    : 4
title                     : French
type                      : sub
visual-impaired           : false

Subtitles #2
albumart                  : false
codec                     : subrip
default                   : false
dependent                 : false
external                  : false
ff-index                  : 4
forced                    : false
hearing-impaired          : false
id                        : 2
image                     : false
lang                      : fre
src-id                    : 5
title                     : French
type                      : sub
visual-impaired           : false

Subtitles #3
albumart                  : false
codec                     : subrip
default                   : false
dependent                 : false
external                  : false
ff-index                  : 5
forced                    : false
hearing-impaired          : false
id                        : 3
image                     : false
lang                      : eng
src-id                    : 6
title                     : English
type                      : sub
visual-impaired           : false

Both are working with mpv cli. I cannot figure what is different.

from mpc-qt.

Yasand123 avatar Yasand123 commented on June 1, 2024

Same thing here on Arch Linux. I compiled from source, I also tried mpc-qt-git (AUR package). It will not load/display subtitles, the only exception being the first subtitle track (in case it's embedded in the video).

So I can't load external ones, or switch to different subtitle tracks that are embedded.

from mpc-qt.

cmdrkotori avatar cmdrkotori commented on June 1, 2024

This got fixed recently with a change in the defaults about forced subtitles. Use a recent release / git commit and reset your options.

from mpc-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.