[MPlayer-users] how to extract tx3g subtitle from .mp4 file

Krzysztof Duchnowski amidk75 at gmail.com
Mon Mar 18 14:56:16 CET 2013


On 17.03.2013 14:58, luis jure wrote:

> hello list,

> i have an .mp4 file with subtitles mov_text (tx3g) format:

> [lavf] stream 3: subtitle (mov_text), -sid 0, -slang deu

> the subtitles play fine, but i need to dump them to a file and -dumpsrtsub
> didn't work. 

> i don't know if the problem is the subtitle format, the mp4 container, or
> this file in particular (sorry, i know virtually nothing about tx3g
> subtitles or the mp4 container in general).

> is it possible to do in mplayer? any other suggestions would be also
> welcome.


What format you need?
- raw tx3g: MP4Box movie_file.mp4 -raw 3
("3" is subtitle stream number - to see which stream it is you can use
"MP4Box movie_file.mp4 -info")
- gpac txt (xml): MP4Box movie_file.mp4 -ttxt 3
- srt: MP4Box movie_file.mp4 -srt 3


:~$ dpkg-query -s gpac
Package: gpac
Status: install ok installed
Priority: optional
Section: graphics
Installed-Size: 2074
Maintainer: Christian Marillat <marillat at deb-multimedia.org>
Bugs: mailto:marillat at deb-multimedia.org
Architecture: amd64
Source: gpac-dmo
Version: 1:0.5.0-dmo3
Depends: gpac-modules-base (= 1:0.5.0-dmo3), libc6 (>= 2.7), libgpac2
(>= 1:0.5.0)
Description: multimedia framework based on the MPEG-4 Systems standard.
 The main development goal is to provide a clean (a.k.a. readable by as many
 people as possible), small and flexible alternative to the MPEG-4 Systems
 reference software (known as IM1 and distributed in ISO/IEC 14496-5). The
 MPEG-4 Reference software is indeed a very large piece of software,
 designed to verify the standard rather than provide a small,
 production-stable software.
Homepage: http://gpac.sourceforge.net
:~$

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.getfirefox.net/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/


More information about the MPlayer-users mailing list