extracting subtitles from mkv file
Jump to:
Project: | Linux software |
Component: | Documentation |
Category: | support request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Related pages: | #6182: Extract subtitles from mkv file :-:-: #6331: SUB: Could not determine file format |
Tags: | mkv, subtitles |
Description
I have tried extracting some subtitles, but the file does not work.
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 4
|+ Doc type read version: 2
| + A track
| + Track number: 14 (track ID for mkvmerge & mkvextract: 13)
| + Track UID: 23
| + Track type: subtitles
| + Default flag: 0
| + Lacing flag: 0
| + Codec ID: S_HDMV/PGS
| + Language: chi
| + Content encodings
| + Content encoding
| + Content compression
$ mkvextract tracks file.mkv 13:file.TW.srt
$ mplayer file.mkv
Load subtitles in ./
SUB: Could not determine file format
Cannot load subtitles './file.TW.srt'.
Comments
#1
#2
libavformat version 56.40.101 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fac00e6a8c0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 1920x1080 24bpp 23.976 fps 2127.8 kbps (259.7 kbyte/s)
libavformat file format detected.
[lavf] stream 0: subtitle (pgssub), -sid 0
LAVF: no audio or video headers found - broken file?
Load subtitles in ./
#3