Page 1 of 1

How to rip subtitles from .mp4 to .srt?

Posted: 20 Apr 2006 14:00
by guerreiro2
Hello!

I've a mp4 movie and tried to demux using mp4box+yamb+mp4ui, video and audio, demuxed perfectly but the subtitles i can't demux.
Says not an 3gpp compliant text file.

Please a little help about this subject.

Regards

Posted: 20 Apr 2006 20:45
by DJ
You may have better luck searching the Doom9 forum and or asking some questions there.

Posted: 20 Apr 2006 23:03
by Teetrinker
Can you post the output from "MP4Box -info yourFile.mp4".
Are you sure the SUBs are timed text? They are probably VOBSUB.
VOBSUB in mp4 was introduced by Nero.

Posted: 21 Apr 2006 13:33
by Guest
This is what appears in the info file:

mp4box -info fusion.mp4

* Movie Info *
Timescale 1000 - Duration 00:50:59.786
Fragmented File no - 7 track(s)
File Brand mp41 - version 0
Created: GMT Mon Mar 20 08:10:56 2006

File has root IOD
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: Main Audio Profile @ Level 2 (0x02)

Chapters:
Chapter #1 - 00:00:00.000 - "Chapter 1"
Chapter #2 - 00:00:01.500 - "Chapter 2"
Chapter #3 - 00:02:13.500 - "Chapter 3"
Chapter #4 - 00:04:11.866 - "Chapter 4"
Chapter #5 - 00:07:50.166 - "Chapter 5"
Chapter #6 - 00:12:54.066 - "Chapter 6"
Chapter #7 - 00:17:40.166 - "Chapter 7"
Chapter #8 - 00:22:29.266 - "Chapter 8"
Chapter #9 - 00:26:21.966 - "Chapter 9"
Chapter #10 - 00:31:02.866 - "Chapter 10"
Chapter #11 - 00:36:16.166 - "Chapter 11"
Chapter #12 - 00:42:53.166 - "Chapter 12"
Chapter #13 - 00:49:05.200 - "Chapter 13"
Chapter #14 - 00:50:45.233 - "Chapter 14"
Chapter #15 - 00:50:55.233 - "Chapter 15"
Chapter #16 - 00:50:55.733 - "Chapter 16"
Chapter #17 - 00:50:56.233 - "Chapter 17"

Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 00:00:00.001
Track is present in Root OD
Media Info: Language "English" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Self-synchronized

Track # 2 Info - TrackID 2 - TimeScale 1000 - Duration 00:00:00.001
Track is present in Root OD
Media Info: Language "English" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x01
BIFS Scene description - Command stream
Synchronized on stream 1

Track # 3 Info - TrackID 3 - TimeScale 30000 - Duration 00:50:59.723
Media Info: Language "English" - Type "vide" - Sub Type "mp4v" - 91700 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 640 x 480 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 640 x 480
Synchronized on stream 1

Track # 4 Info - TrackID 4 - TimeScale 44100 - Duration 00:50:59.739
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 131772 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 44100
Synchronized on stream 1

Track # 5 Info - TrackID 5 - TimeScale 44100 - Duration 00:50:59.786
Media Info: Language "Japanese" - Type "soun" - Sub Type "mp4a" - 131774 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 44100
Synchronized on stream 1

Track # 6 Info - TrackID 6 - TimeScale 90000 - Duration 00:48:58.635
Media Info: Language "English" - Type "subp" - Sub Type "mp4s" - 482 samples
MPEG-4 Config: Unknown (0x38) Stream - ObjectTypeIndication 0xe0
Synchronized on stream 1

Track # 7 Info - TrackID 7 - TimeScale 90000 - Duration 00:50:32.429
Media Info: Language "Japanese" - Type "subp" - Sub Type "mp4s" - 477 samples
MPEG-4 Config: Unknown (0x38) Stream - ObjectTypeIndication 0xe0
Synchronized on stream 1

Posted: 21 Apr 2006 14:30
by Teetrinker
This mp4 file was created with Nero. Both SUB Tracks(6/7) are VOBSUB with a private ObjectTypeIndication.
I don't know a tool to extract this Tracks.

Maybe an other person can help.

AutoAC

Posted: 21 Apr 2006 15:35
by quidam
hey, i just found this: AutoAC @doom9 forum
what does your tool do with vobsubs exactly?

It gives an option to select which subtitles you want to rip from the source, then outputs *.idx and *.sub files(http://rapidshare.de/files/833344/AutoACsub.gif.html), there is also an option to include vobsub filesize in the output calculations.
Trying to find a way to mux them now.
The post is from a year ago, there might be more info in the rest of the thread.
Download:
AutoAC Version 0.21

(Scroll to the bottom of the page and hit "Free")
(post#1 of AutoAC thread)

[rant]If only people stopped using rapidshare... I hate having to reset my IP - wait 40sec - enter captcha all the time. Can't be so hard to get a few megs of free webspace![/rant]

From Vobsub (idx+sub) to srt, use Subrip... but you probably know that.

Posted: 24 Apr 2006 13:43
by Guest
The only problem is that the program only accepts dvd .ifo files, not other extensions :(

But thx anyway for your help!