Vytažení titulků ze souboru mov

http://ubuntuforums.org/showthread.php?t=1989794

sudo apt-get install  gpac

 

then as you can see there is a way to convert existing sub to srt [this might work]

MP4Box -h dump
Dumping Options
-std dumps to stdout instead of file
-info [trackID] prints movie info / track info if trackID specified
* Note: for non IsoMedia files, gets import options
-bt scene to bt format – removes unknown MPEG4 nodes
-xmt scene to XMT-A format – removes unknown MPEG4 nodes
-wrl scene VRML format – removes unknown VRML nodes
-x3d scene to X3D/XML format – removes unknown X3D nodes
-x3dv scene to X3D/VRML format – removes unknown X3D nodes
-lsr scene to LASeR format
-diso scene IsoMedia file boxes in XML output
-drtp rtp hint samples structure to XML output
-dts prints sample timing to text output
-sdp dumps SDP description of hinted file
-dcr ISMACryp samples structure to XML output
-dump-cover Extracts cover art
-dump-chap Extracts chapter file

-ttxt Converts input subtitle to GPAC TTXT format
-ttxt TrackID Dumps Text track to GPAC TTXT format
-srt Converts input subtitle to SRT format
-srt TrackID Dumps Text track to SRT format

-stat generates node/field statistics for scene
-stats generates node/field statistics per MPEG-4 Access Unit
-statx generates node/field statistics for scene after each AU

-hash generates SHA-1 Hash of the input file

 

if it does then we can rebuild video file using Mkvmerge but first see if this conversion works

for this use

Code:
MP4Box -info nameoryourfile.mp4

to find sub track name

then to convert sub file

Code:
MP4Box  -srt TrackID nameoryourfile.mp4

see if a new srt file has been created ….. fingers crossed………….

Vytažení titulků ze souboru mov