View Single Post
Old 28th October 2009, 22:54   #565  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by b66pak View Post
hi, can you add support for apple subtitles (sbtl) in .mp4, .m4v and .mov?

(...)

notice that track ID 4 to 7 are missing...the difference between a "tx3g" subtitle track and an "apple" subtitle track is "text" in first one and "sbtl" in second one in "moov\trak\mdia\hdls\componet subtype" atom...
I added detection of "sbtl" subtype.
Note: subtype is for defining the kind of stream (Video, Audio, Text...), but what I saw is "tx3g" format in both cases ("text" or "sbtl" subtype). What I understood is that "text" in stsd is for "Apple Text" (the last 2 text tracks). In the case of "sbtl" subtype, I fill the "Muxing Mode" field with "sbtl", so you can detect if this is tx3g with "text" subtype (no Muxing mode info, this is the "default" muxing mode), tx3g with "sbtl" subtype (Muxing Mode info, this is not the "default" muxing mode), and text (Apple Text?) in "text" subtype.
Too much identifiers in MPEG-4!!!

Note about languages: I added language support for this kind of index ("old" Apple method, was implemented but deactivated because I had no file for it, now I have a file )

Note about text streams: VLC displays only 9 text streams, 1 less than me; Text #9 (Track #12) is not handled, this is the same format definition as Text #10 (Track #13), if you have an idea of the reason...

Below the output from the next version of MediaInfo:

Code:
General
Complete name                    : D:\Download\sample.mov
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt  
File size                        : 13.2 MiB
Duration                         : 3mn 40s
Overall bit rate                 : 502 Kbps
Encoded date                     : UTC 2009-09-01 19:02:14
Tagged date                      : UTC 2009-09-01 19:02:16
com.apple.quicktime.player.movie : (Binary)

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L3.0
Format settings, CABAC           : No
Format settings, ReFrames        : 5 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 300 Kbps
Maximum bit rate                 : 751 Kbps
Width                            : 480 pixels
Height                           : 368 pixels
Display aspect ratio             : 4:3
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.068
Stream size                      : 7.87 MiB (60%)
Writing library                  : x264 core 58 svn-735
Encoding settings                : (...)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:23
Tagged date                      : UTC 2009-09-01 19:02:16

Audio #1
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 96.0 Kbps
Maximum bit rate                 : 103 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.56 MiB (19%)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Audio #2
ID                               : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 98.1 Kbps
Maximum bit rate                 : 102 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.57 MiB (20%)
Language                         : Spanish
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #1
ID                               : 4
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #2
ID                               : 5
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #3
ID                               : 6
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : French
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #4
ID                               : 7
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : German
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #5
ID                               : 8
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #6
ID                               : 9
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #7
ID                               : 10
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : French
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #8
ID                               : 11
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : German
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #9
ID                               : 12
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Language                         : English
Encoded date                     : UTC 2009-09-01 19:00:46
Tagged date                      : UTC 2009-09-01 19:02:16

Text #10
ID                               : 13
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-09-01 19:01:03
Tagged date                      : UTC 2009-09-01 19:02:16
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote