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

sub_seek 1 #411

Closed
Bilalh opened this issue Dec 15, 2013 · 6 comments
Closed

sub_seek 1 #411

Bilalh opened this issue Dec 15, 2013 · 6 comments

Comments

@Bilalh
Copy link
Contributor

Bilalh commented Dec 15, 2013

sub_seek only seem to work on parts of the video that have already been played. Is there to make it work all the time.
File tested were mkvs with ssa subtitles x246 encoded video with acc audio

@ChrisK2
Copy link
Member

ChrisK2 commented Dec 15, 2013

Hm, problem is mpv only knows about subtitle lines once they were demuxed, so it would have to read through the entire file first to collect all sublines.

If you demux the script and pass it via --sub it should work though.

@Bilalh
Copy link
Contributor Author

Bilalh commented Dec 15, 2013

--sub works, @ChrisK2 is there any easier to get the subtitles from a mkv then to use mkvinfo to get the trackid then use mkvextract tracks <filename> <trackid>:<filename>.ssa to get the subtitles?

@ChrisK2
Copy link
Member

ChrisK2 commented Dec 15, 2013

yeah, write a shellscript for that :D

@Bilalh
Copy link
Contributor Author

Bilalh commented Dec 15, 2013

fair enough.

@ghost
Copy link

ghost commented Dec 15, 2013

is there any easier to get the subtitles from a mkv then to use mkvinfo to get the trackid then use mkvextract tracks :.ssa to get the subtitles?

You can just pass the mkv file to --sub. Note that for text subs, this will read the entire mkv file when selecting the subtitle track. It also might do some unwanted processing on ASS subtitles.

@Bilalh
Copy link
Contributor Author

Bilalh commented Dec 15, 2013

-sub works well even on 10+ GB mkvs with multiple subtitles , thanks

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

2 participants