Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get information about subtitles maps #29

Open
anonym24 opened this issue May 13, 2018 · 2 comments
Open

Get information about subtitles maps #29

anonym24 opened this issue May 13, 2018 · 2 comments

Comments

@anonym24
Copy link

anonym24 commented May 13, 2018

How can I get information about subtitles (text) tracks - maps?

@anonym24 anonym24 changed the title Extracting subtitles Get information about subtitles maps May 13, 2018
@anonym24
Copy link
Author

anonym24 commented May 13, 2018

or how can I get next output to parse manually?

fmpeg -i input.mkv
ffmpeg version ... Copyright (c) 2000-2012 the FFmpeg developers
Input #0, matroska,webm, from 'input.mkv':
  Duration: 01:39:44.02, start: 0.000000, bitrate: 5793 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default)
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s
    Stream #0:3(ger): Subtitle: text (default)
At least one output file must be specified

from this output I can find out which map do I need and language code of audio or subtitles

it's possible with FFmpeg binary (static) but what about this library which uses shared libraries files?

@anonym24
Copy link
Author

anonym24 commented May 14, 2018

or how even execute next simple function ffmpeg --version and get output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant