View Full Version : Vobsubs In MP4
layer3maniac
24th April 2006, 21:58
Why is it that no muxing software seems to be able to do this? Nero does it, so it must be possible. It sure would come in handy. Is anyone working on such a thing?
Kurtnoise
25th April 2006, 07:41
Is anyone working on such a thing?
Nobody as far I know...
Kurtnoise
27th April 2006, 23:50
Since today, there is someone...;)
Ivan Vecera (aka Falco) has posted on gpac website (http://sourceforge.net/tracker/index.php?func=detail&aid=1477731&group_id=84101&atid=571740) a patch to have the possibility to mux vobsub file with MP4Box.
Hi all, sorry for delay. Now I have a patch for gpac,
that allows import VobSub subtitles. This is private
extension of Nero Digital format.
Limitations:
- Only VobSub (.idx/.sub) format supported
- VobSub features such as align, scale, alpha... stored
in .idx file are not supported
I've made some tests with his compile on my Windows box :
Mux works fine with only one track.
Playback doesn't work with Nero Showtime (i.e subs are found but don't appear).
Subs streams work with Haali Splitter and Gabest Splitter but appear in green. (Hint: VSFilter must be disable)
We can mux several subs but splitters are not able to switch each others.
Not bad for a first attempt.
btw, thanks to SMD for the tips. ;)
layer3maniac
28th April 2006, 03:01
That is AWESOME news! :thanks:
leowai
28th April 2006, 07:35
I've been waiting for this for long...
Kurtnoise
28th April 2006, 12:58
Some extra tests this morning...It seems that VSFilter doesn't like this kind of streams. So, I disable it and playback works fine with both Haali & Gabest splitters. However, they are rendered in green color...Strange. Does anybody else have made some tests ?
I'm updating YAMB to include this trick.
layer3maniac
28th April 2006, 17:00
How cool is that? :D
I wanted to try some tests, but I'm such a clueless n00b that I couldn't even figure out what to do with the "gpac-vobsub.patch" file to implement this. :p
Yamb is a great frontend, BTW!
SeeMoreDigital
28th April 2006, 17:43
Just done some quick tests with Kurt's new builds of YAMB and MP4box...
So far I've been unable to get Media Player Classic to display the VOBsubs.... MPC knows they are there because it lists them under subtitles and properties!
No such troubles with VLC player however, the subtitles are displayed fine.
This is a great start :D
SeeMoreDigital
28th April 2006, 18:52
Hey great...
It's possible to de-mux VOBsubs streams and save them within the .MP4 container and re-mux them again... Even re-name them ;)
layer3maniac
29th April 2006, 00:37
Slightly different results for me:
Subs do show up in Nero Showtime and MPC but they appear in bloated green.
Subs appear perfectly in VLC, but for some reason the chapters don't work, perhaps mp4 chapters feature isn't implemented in VLC?
Still, very exciting progress!
chipzoller
29th April 2006, 04:50
Sorry...what's the cml to mux vobsubs using this build?
layer3maniac
29th April 2006, 05:56
Special build of YAMB found: here (http://forum.doom9.org/showpost.php?p=820811&postcount=734)
Need special build of MP4Box found: here (http://forum.doom9.org/showpost.php?p=820860&postcount=736)
Thanks Kurtnoise13 & Falco!!!
Kurtnoise
29th April 2006, 10:42
Sorry...what's the cml to mux vobsubs using this build?
The same thing as srt or ttxt...
SeeMoreDigital
29th April 2006, 17:13
I'm finding it difficult to get my head around why I'm unable to see the subtitles in MediaPlayer Classic.
If I play this (http://homepage.ntlworld.com/seemoredigital/Temp_Test_Files/Recode2_Source.7z) Recode2 source, I can see the VOBsub subtitles perfectly. However, if I load the Recode2 source into YAMB and hit "Mux", I'm unable to see the VOBsub subtitles in the YAMB re-mux!
Effectively, the only difference I can see between the files is this.....
Recode2 source: -
* Movie Info *
Timescale 1000 - Duration 00:00:50.800
Fragmented File no - 6 track(s)
File Brand avc1 - version 0
Created: GMT Sun Jan 29 22:13:10 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
Visual PL: No visual capability required (0xff)
Audio PL: Main Audio Profile @ Level 2 (0x02)
YAMB re-mux: -
* Movie Info *
Timescale 600 - Duration 00:00:50.800
Fragmented File no - 4 track(s)
File Brand isom - version 1
Created: GMT Sat Apr 29 16:04:07 2006
File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 4 (0x2a)
As you can see, some of the information is very different!
Cheers
Kurtnoise
29th April 2006, 19:11
Quick answer : Nero Recode and MP4Box don't use the same muxer. So, you don't have the same infos.
Kurtnoise
1st May 2006, 10:07
I'm finding it difficult to get my head around why I'm unable to see the subtitles in MediaPlayer Classic.
You must set VMR7/VMR9 Renderless at least...:)
I played with your sample by adding 4 vobsub files and...it works fine in VLC but always in green with dshow splitters. :(
SeeMoreDigital
1st May 2006, 10:32
You must set VMR7/VMR9 Renderless at least...:)Indeed... I'm using the same VMR9 Renderless setting for the Recode2 source and YAMB Re-mux
By the way, does anybody what the following MP4Box codes mean?
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
I played with your sample by adding 4 vobsub files and...it works fine in VLC but always in green with dshow splitters. :( Four.... This is cool ;)
Yesterday I installed Nero 7.2.0.3b on another PC and hope to experiment with it's new "subtitle" import and conversion utility. If it converts .SRT, .SUB and .TXT over to VOBsub style subtitles, I think it would be interesting to know how it does this!
Cheers
Kurtnoise
1st May 2006, 12:37
By the way, does anybody what the following MP4Box codes mean?
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
PL : Profiles and levels. This concerns isomedia pattern I think.
Yesterday I installed Nero 7.2.0.3b on another PC and hope to experiment with it's new "subtitle" import and conversion utility. If it converts .SRT, .SUB and .TXT over to VOBsub style subtitles, I think it would be interesting to know how it does this!
Yep...tested and this is not bad.
Drachir
1st May 2006, 13:14
By the way, does anybody what the following MP4Box codes mean?
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
The Scene Profile Level tell the player which BIFS nodes,commands and ROUTES he have to know to be able to render the SceneDescription.
The Graphic Profile Level tell you which graphics and textual elements can be used in the scene.
The Object Descriptor Profile tell you which OD and SL tools the player have to support.
0xFE = no profile specified (there is no profile in the standard that match the used tools)
0xFF =no capability required
SeeMoreDigital
1st May 2006, 13:36
The Scene Profile Level tell the player which BIFS nodes,commands and ROUTES he have to know to be able to render the SceneDescription.
The Graphic Profile Level tell you which graphics and textual elements can be used in the scene.
The Object Descriptor Profile tell you which OD and SL tools the player have to support.
0xFE = no profile specified (there is no profile in the standard that match the used tools)
0xFF =no capability requiredCould any of this affect how the VOBsub text output layers are displayed?
Drachir
1st May 2006, 14:06
Could any of this affect how the VOBsub text output layers are displayed?
No, don't think so.
SeeMoreDigital
1st May 2006, 16:34
Okay boys and girls....
Over on my other PC (a £299.00 DELL with crummy on-board Intel graphics but 19" LCD monitor) I installed Haali/Matroska Splitter (Dated: 25-02-2006).
Using Media Player Classic with VMR7 Renderless and with the internal MP4 source filter disabled... When I play the YAMB re-mux, I now see perfect looking and coloured subtitles, identical to the Recode2 source :)
I suspect Gabest's MP4 source filter requires a little tweak...
Cheers
SeeMoreDigital
1st May 2006, 17:21
Hmmm!
Just tried playing the "YAMB re-mux" with the newest version of ShowTime 2 Player... and was unable to select the subtitles at all ;)
chipzoller
1st May 2006, 17:48
I've yet to see any subtitles of any kind using the special build of mp4box and yamb. I get no error when muxing the stream in, but I see nothing when played back using mplayerclassic or vlc.
You guys doing anything special?
Kurtnoise
1st May 2006, 21:31
You guys doing anything special?
depends...what kind of streams did you add with your subtitles ?
@SMD : you remux the vobsub file (embedded in mp4) with other streams or you mux directly each streams (i.e avc/aac/idx) ?
SeeMoreDigital
1st May 2006, 22:07
SMD : you remux the vobsub file (embedded in mp4) with other streams or you mux directly each streams (i.e avc/aac/idx) ?With the video, I mux the MPEG-4 AVC or SP/ASP streams either RAW or in .MP4.
With the audio, I mux the AAC streams either as .AAC or in .MP4
And with the VOBsubs, as you say, they are de-muxed with YAMB and stored within .MP4
chipzoller
1st May 2006, 23:29
I was just testing the functionality by muxing vobstream with just the video. Doesn't seem to work on my end.
chipzoller
2nd May 2006, 06:12
Well after doing some tests with the special build of mp4box/yamb, I've found (VSfilter is not installed on vobsub) that the resulting file (only muxed vobsubs in later to a video/audio stream mp4) only plays with subs (they're green) in nero showtime and not MPC, VLC or with haali splitter (even though it does recognize there are subs present).
Any ideas?
Well after doing some tests with the special build of mp4box/yamb, I've found (VSfilter is not installed on vobsub) that the resulting file (only muxed vobsubs in later to a video/audio stream mp4) only plays with subs (they're green) in nero showtime and not MPC, VLC or with haali splitter (even though it does recognize there are subs present).
Any ideas?
What vobsub files do you use? Are they originals ripped from DVD or generated? I tried some streams generated from txt2vobsub and no subtitles were displayed, maybe a bug in this program. With original subpictures ripped from DVD I have any problems.
As for green subpictures I see that the problem is in palette stored in .idx file and I also found one bug in Gabest MP4 splitter (for more information please go to: http://sourceforge.net/tracker/index.php?func=detail&aid=1477731&group_id=84101&atid=571740)
Falco
Kurtnoise
3rd May 2006, 09:12
Hey Falco,
Glad to see you here...:)
Problem is : I've also the green sub renderer with Nero Showtime (v 3.0.0.3). Subs come from the DVD.
chipzoller
3rd May 2006, 14:31
I get green subs also in Nero regardless of the palette in the idx file. I've not tried text->vobsubs...mine are from the DVD.
SeeMoreDigital
3rd May 2006, 14:51
So far all my subtitle experiments have been with re-using the original Recode2 VOBsubs...
But like I mentioned before, the VOBsubs don't appear in Media Player Classic (using the internal MP4 source filter).
On my other PC which currently only has latest version of Nero 7 installed, Showtime 2 player with not display the subs either. It knows they are there because it lists them under properties but will not lock onto them after being selected :confused:
chipzoller
3rd May 2006, 21:58
I just did a test on one subtitle stream where the subs did not appear green but retained the original formatting. They play back fine if I set Haali's splitter to autoload VSFilter.
I'll upload if interested...
SeeMoreDigital
3rd May 2006, 22:11
I just did a test on one subtitle stream where the subs did not appear green but retained the original formatting. They play back fine if I set Haali's splitter to autoload VSFilter. Yep.. it was the same for me too - See post #22 (http://forum.doom9.org/showpost.php?p=822087&postcount=22) ;)
chipzoller
3rd May 2006, 23:14
Are the developers planning on fine-tuning vobsubtitle support in MP4, or is this the extent of it?
Hey Falco,
Glad to see you here...:)
Problem is : I've also the green sub renderer with Nero Showtime (v 3.0.0.3). Subs come from the DVD.
Hi all,
I found a color conversion bug in my mp4box patch. I sent the updated patch to sourceforge and built a new version of mp4box. You can download it:
http://www.cera.cz/gpac/mp4box-20060504.zip
Regards
Falco
Kurtnoise
4th May 2006, 14:14
Indeed...Now, it works like a charm with the last Nero ShowTime and the MP4 Splitter from Gabest. Good job Falco. :)
There is still an issue with Haali Splitter though. (subs are rendered in black for me)
chipzoller
4th May 2006, 14:59
Yeah, Haali displays mine as a light blue (original yellow) but internal w/ mpc and nero showtime display correctly. Gabest's splitter seems to work fine.
For some reason VLC not only displays them larger, but a different color and aligned incorrectly on the screen.
Indeed...Now, it works like a charm with the last Nero ShowTime and the MP4 Splitter from Gabest. Good job Falco. :)
There is still an issue with Haali Splitter though. (subs are rendered in black for me)
This is problem because Haali Splitter is not opensource and I cannot look for this issue.
What's currently missing is exporting tracks from MP4. But now I'm working on it.
Falco
chipzoller
4th May 2006, 15:32
Falco,
Would we eventually be able to demux the subtitle stream (assuming vobsub format) back into a vobsub format that still has the original formatting/layout?
Kurtnoise
4th May 2006, 15:58
This is problem because Haali Splitter is not opensource and I cannot look for this issue.
I know, I know ;)...It wasn't to blame you, it was just an observation.
leowai
4th May 2006, 16:14
@Falco,
Thanks a lot. It seems to fix a lots with the new build (20060504). My nero ShowTime shows the colour correctly. A previously unplayable clip (mux with previous build) is playable with ShowTime now by re-muxing with the new build!! -> Bug fixed? Good!
And I also noted that the output mp4 file with Vobsub muxed is displaying a "nero" icon rather than a normal mp4 icon. :)
mellon
4th May 2006, 19:02
feature request:
parse and use "delay" specified in .idx file. This delay may have different values for each subtitle track.
Anyway, great work. Thank you, Falco.
Btw. What about coding mp4box to mux AC3 as a private track?
SeeMoreDigital
4th May 2006, 19:36
Sorry to bust the party guys but I still unable to see VOBsub subtitles in Media Player Classic, even after using Falco's version of MP4Box (in YAMB) to re-mux this (http://homepage.ntlworld.com/seemoredigital/Temp_Test_Files/Recode2_Source.7z) Recode2 source.
Can any else confirm :o
Kurtnoise
4th May 2006, 20:20
Your sample works fine here...
mellon
4th May 2006, 20:36
Works fine here, too. Both - original and remuxed with mp4box. [MPC 6482, latest Haali Splitter]
SeeMoreDigital
4th May 2006, 20:38
Your sample works fine here...Yes... that's the Recode2 source but when you run it thru' YAMB (even with Falco's MP4Box build) I'm unable to see the VOBsubs in Media Player Classic, without Haali.
Cheers
Kurtnoise
4th May 2006, 21:12
mmh...confirmed.
Use subs from DVDs directly then. ;)
SeeMoreDigital
4th May 2006, 21:40
mmh...confirmed.
Use subs from DVDs directly then. ;)Joking appart... a direct re-mux should be "the ultimate test" ;)
Kurtnoise
4th May 2006, 21:56
Well maybe but it doesn't concern VobSub MP4Box stuff.
SeeMoreDigital
4th May 2006, 22:13
Well maybe but it doesn't concern VobSub MP4Box stuff.
If you are interested by demux/remux trick, here is a solution : your mp4 source --> remux into mkv --> extract vobsub file --> remux idx/sub into a new mp4. :)Hi Kurt,
I would like to try that but I don't have any MKV tools (discounting AVI-Mux GUI) installed in my PC... Could e-mail me the de-muxed idx/sub track from my Recode2 source so I can experiment please?
Cheers
Kurtnoise
4th May 2006, 22:30
Forgot this idea...After some extra tests, it doesn't work. Sorry for the misinformation. :o :stupid:
SeeMoreDigital
4th May 2006, 22:33
Forgot this idea...After some extra tests, it doesn't work. Sorry for the misinformation. :o :stupid:Bummer!
Falco,
Would we eventually be able to demux the subtitle stream (assuming vobsub format) back into a vobsub format that still has the original formatting/layout?
Yes, I'm working on it now. What do you think about formatting and layout? VobSub format stores subpictures as RLE encoded bitmaps, so formatting cannot be changed.
@Falco,
Thanks a lot. It seems to fix a lots with the new build (20060504). My nero ShowTime shows the colour correctly. A previously unplayable clip (mux with previous build) is playable with ShowTime now by re-muxing with the new build!! -> Bug fixed? Good!
And I also noted that the output mp4 file with Vobsub muxed is displaying a "nero" icon rather than a normal mp4 icon. :)
The icon is displayed because in the new version of mp4box is added additional brand "NDSS". I don't know what does it mean (probably NeroDigitalSystemStream or NeroDigitalSubpictureStream) but Nero Recode adds this brand into its files.
feature request:
parse and use "delay" specified in .idx file. This delay may have different values for each subtitle track.
Anyway, great work. Thank you, Falco.
Btw. What about coding mp4box to mux AC3 as a private track?
OK, I will see for this feature request and wait for next release.
Sorry to bust the party guys but I still unable to see VOBsub subtitles in Media Player Classic, even after using Falco's version of MP4Box (in YAMB) to re-mux this (http://homepage.ntlworld.com/seemoredigital/Temp_Test_Files/Recode2_Source.7z) Recode2 source.
Can any else confirm :o
I tested your stream in ShowTime and also in Media Player Classic 6.4.9.0 with ffdshow-20051129 to decode H.264 and with Video Mixing Renderer 9 (renderless) enabled. There were no problems. Maybe you have some problems with your configuration of MPC.
Yes... that's the Recode2 source but when you run it thru' YAMB (even with Falco's MP4Box build) I'm unable to see the VOBsubs in Media Player Classic, without Haali.
Cheers
Yes, I see...
And I know why... that's because mp4box strips "track layout info". This is important information because it says the resolution of display for the subpictures track (eg. 720x576, 720x480...)
I tried to extract subpicture track as MP4 file with one single track and then mux the track from this MP4 file into another and "track layout info was lost".
I will update my patch... please wait for next release.
Falco
leowai
5th May 2006, 09:33
The icon is displayed because in the new version of mp4box is added additional brand "NDSS". I don't know what does it mean (probably NeroDigitalSystemStream or NeroDigitalSubpictureStream) but Nero Recode adds this brand into its files.
:cool: A nice feature. Probably Nero Certified player can't even differential this (mp4box build) and the genuine build from Nero Recode. :devil:
[edit]
Do you concern about to correct logo the of the vobsub muxed mp4 output?
From the properties tab, it currently shows my x264 video muxed with vobsub as a Nero Main Profile (MPEG4-Part2) media. See
http://www.nero.com/nerodigital/eng/Main_profiles.html.
Where x264 is AVC encoder (MPEG4-Part10) and it should show either of these Nero AVC Profile logo (http://www.nero.com/nerodigital/eng/AVC_profiles.html)
SeeMoreDigital
5th May 2006, 09:40
Yes, I see...
And I know why... that's because mp4box strips "track layout info". This is important information because it says the resolution of display for the subpictures track (eg. 720x576, 720x480...)
I tried to extract subpicture track as MP4 file with one single track and then mux the track from this MP4 file into another and "track layout info was lost".
As a matter of interest, and to satisfy my curiosity... does it have anything to do with the differences I previously saw here: -
Recode2 source: -
* Movie Info *
Timescale 1000 - Duration 00:00:50.800
Fragmented File no - 6 track(s)
File Brand avc1 - version 0
Created: GMT Sun Jan 29 22:13:10 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
Visual PL: No visual capability required (0xff)
Audio PL: Main Audio Profile @ Level 2 (0x02)
YAMB re-mux: -
* Movie Info *
Timescale 600 - Duration 00:00:50.800
Fragmented File no - 4 track(s)
File Brand isom - version 1
Created: GMT Sat Apr 29 16:04:07 2006
File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 4 (0x2a)
Cheers
:cool: A nice feature. Probably Nero Certified player can't even differential this (mp4box build) and the genuine build from Nero Recode. :devil:
[edit]
Do you concern about to correct logo the of the vobsub muxed mp4 output?
From the properties tab, it currently shows my x264 video muxed with vobsub as a Nero Main Profile (MPEG4-Part2) media. See
http://www.nero.com/nerodigital/eng/Main_profiles.html.
Where x264 is AVC encoder (MPEG4-Part10) and it should show either of these Nero AVC Profile logo (http://www.nero.com/nerodigital/eng/AVC_profiles.html)
Hi, I found what does 'ndss' mean.
NeroDigital stores brand according content.
ndsm - Nero Digital Mobile
ndsp - Nero Digital Portable
ndss - Nero Digital Standard
ndsc - Nero Digital Cinema
ndsh - Nero Digital HDTV
ndxm - Nero Digital Mobile AVC
ndxp - Nero Digital Portable AVC
ndxs - Nero Digital Standard AVC
ndxc - Nero Digital Cinema AVC
ndxh - Nero Digital HDTV AVC
So mp4box should set proper brand according content or yamb should use -brand and -ab switches of mp4box to add this info.
Falco
SeeMoreDigital
5th May 2006, 11:18
I wondered how Nero was able to link little certification logo's to their encodes (and provide property info).... I guess this answers it ;)
:devil:
Hi all,
I built a new version with one bugfix and two features.
download: http://www.cera.cz/gpac/mp4box-20060505.zip
Falco
mp4box - with vobsub support
============================
- Based on current CVS sources of GPAC
- Statically linked with SpiderMonkey 1.5 and zlib 1.2.3
- Supports .idx/.sub VobSub files
- Exporting back to VobSub (idx/sub) is not implemented yet
TODO
====
- Raw export of VobSub track into .idx/.sub
- Setting of correct brand info according content (Nero Digital profiles) - not a VobSub task but nice to have
Version: 0.4.0.3 - 20060505
===========================
- [FEATURE] - possibility to export VobSub track as single track MP4 file and reimport into new MP4 file
- [FEATURE] - delay parameter from .idx file is now processed
- [BUGFIX] - problems with incorrect colors in Nero ShowTime and MPC fixed
SeeMoreDigital
5th May 2006, 12:37
Oh yea.... that's got it... It works well now :D
EDIT: No problems with MPEG-4 Part 2 or Part 10 YAMB re-muxes, when played in MPC or ShowTime2 player.... Very, very nice work indeed.
leowai
5th May 2006, 15:15
So mp4box should set proper brand according content or yamb should use -brand and -ab switches of mp4box to add this info.
Falco
Thanks. Either -brand or -ab did the trick! I added "-brand ndxs" in the mux command, it now shows the correct logo. :thanks:
layer3maniac
5th May 2006, 17:23
Falco, you ROCK!!! :D
SeeMoreDigital
5th May 2006, 17:57
Thanks. Either -brand or -ab did the trick! I added "-brand ndxs" in the mux command, it now shows the correct logo. :thanks:Kurt's just made a new version of YAMB to accommodate Nero's "Brands" structuring too!
chipzoller
5th May 2006, 22:04
Does anyone have a link for Kurt's new yamb build?
SeeMoreDigital
5th May 2006, 22:30
Does anyone have a link for Kurt's new yamb build?Why not search for the YAMB thread?
chipzoller
5th May 2006, 22:58
oh...didn't know there was one :)
SeeMoreDigital
6th May 2006, 12:07
I have found an anomaly in the VOBsub durations
The Recode2 source shows the following VOBsub durations: -Track # 6 Info - TrackID 6 - TimeScale 90000 - Duration 00:00:41.040
Media Info: Language "English" - Type "subp" - Sub Type "mp4s" - 16 samples
MPEG-4 Config: Unknown (0x38) Stream - ObjectTypeIndication 0xe0
Synchronized on stream 1
Track # 7 Info - TrackID 7 - TimeScale 90000 - Duration 00:00:50.080
Media Info: Language "English" - Type "subp" - Sub Type "mp4s" - 16 samples
MPEG-4 Config: Unknown (0x38) Stream - ObjectTypeIndication 0xe0
Synchronized on stream 1
But the YAMB/MP4Box re-mux shows these durations: -Track # 4 Info - TrackID 6 - TimeScale 90000 - Duration 00:00:43.880
Media Info: Language "English" - Type "subp" - Sub Type "mp4s" - 16 samples
MPEG-4 Config: Unknown (0x38) Stream - ObjectTypeIndication 0xe0
Synchronized on stream 3
Track # 5 Info - TrackID 7 - TimeScale 90000 - Duration 00:00:53.360
Media Info: Language "English" - Type "subp" - Sub Type "mp4s" - 16 samples
MPEG-4 Config: Unknown (0x38) Stream - ObjectTypeIndication 0xe0
Synchronized on stream 3Bummer!
leowai
8th May 2006, 08:52
I am curious about the compatibility of the vobsub video created by latest mp4box build by falcon and the Nero certified standalone players.
Did anyone who owns one of the device tried that?
SeeMoreDigital
8th May 2006, 10:02
I am curious about the compatibility of the vobsub video created by latest mp4box build by falcon and the Nero certified standalone players.
Did anyone who owns one of the device tried that?Yes... I've have one person test an encode with 2no AAC audio and 1No VOBsub track and it worked....
I'm going to ask another guy with a different player to test a YAMB re-muxed sample with 2no AAC audio and 2No VOBsub tracks.... And will report back.
That said... the YAMB re-muxed samples VOBsub track are longer than the video track (as reported above) so it might not work!
ndss - Nero Digital Standard
ndsc - Nero Digital Cinema
Seems to be offtopic, but here I can make the quote.
Standalones compatibility:
I have 2 different standalones with MTK chipsets and ND support. With original firmware if inside the resulted MP4 I have ndsc, the file cannot be played because it thinks is Cinema Profile and because this profile support more than 720x576, the firmware have some restriction in it and the file cannot be played. With Recode, Cinema Profile can have 5.1 CH but with Standard Profile only 2 CH. So, what to do if I want to have 5.1 CH on my standalone?
- If I change with Ultraedit for example ndsc into ndss the file can be played. We don't have to worry if the Cinema Profile made by user is with more than 720x576, because if it is, only the audio will be played. But if is under 720x576 we can have 5.1 CH.
- I can modify the ARM Code from the firmware player to ignore the ndsc, but how many users can do that?
- I can search on internet if somebody modified the firmware for my player, but what to do if I want to stay with original firmware or nobody modified it?
- I have the resulted file with ndss inside it.
Because of that I'm thinking about some "option" in YAMB or programs which can make MP4 to save the file with ndss inside it. Is better to have it from the start because maybe in some day the user will have a standalone with ND support or the firmware maker will never exclude the ndsc restriction.
Or, even the resulted MP4 file is with 5.1CH inside it, to have ndss.
On topic: regarding subtitles and standalone compatibility only the subtitles made with Recode can be displayed at this moment. Discussion here. (http://forum.doom9.org/showthread.php?p=824829#post824829) < SMD you can read it and give me also some examples.
enjoy,
Mtz
Kurtnoise
8th May 2006, 10:59
Because of that I'm thinking about some "option" in YAMB or programs which can make MP4 to save the file with ndss inside it. Is better to have it from the start because maybe in some day the user will have a standalone with ND support or the firmware maker will never exclude the ndsc restriction.
Or, even the resulted MP4 file is with 5.1CH inside it, to have ndss.
There is a switch to remove brand name under MP4Box. So, I can add it into Yamb. But a question remains : when the firmware will be updated to support this, what about utility of this option ?
To avoid more OT, try to reply directly into the Yamb thread...
Hey, Falco, thanks for the marvelous job you've done! I've been waiting for a breakthrough like this for some time and certainly it was not wasted! What I really love is the ability to import VobSub tracks by their IDs and to assign them languages and detailed names in the MP4 container. It's just splendid.
Display of the embedded subtitles is a bit different matter though, because there are so many possible combinations of different tools. I've been using Haali (Matroska) MP4 splitter (no VSfilter) and the VobSub display facility in MPC or ffdshow, mostly without troubles.
However I noticed that ffdshow is processing the subtitles correctly only when MPC's output is directed to Overlay. When VMR7/9 or Haali output is used in MPC, just some textual garbage is displayed. But in this case the MPC's subtitles function works fine. The Haali/ffdshow filter combination works for me even in other applications like the AverTV video player.
But if it wasn't for the small above mentioned glitch (possibly ffdshow problem), I'll just have absolutely nothing to complain about. Really great!
guerreiro2
9th May 2006, 14:32
How to rip subtitles from .mp4 to .srt?
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.
* 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
Please a little help about this subject.
Regards
Hi currently, now it is not possible to demux vobsub subpictures from mp4. Currently I'm working on demuxing from mp4 into idx/sub vobsub format.
Falco
How to rip subtitles from .mp4 to .srt?
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.
* 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
Please a little help about this subject.
Regards
@cera, will mp4box create MP4 like Nero Recode does with subtitles that can be viewed in standalones? I don't know where are the differences between the output between MP4box and Recode, but only the Recode subtitles can be viewed on standalone. I have standalones with MTK chipsets.
enjoy,
Mtz
@cera, will mp4box create MP4 like Nero Recode does with subtitles that can be viewed in standalones? I don't know where are the differences between the output between MP4box and Recode, but only the Recode subtitles can be viewed on standalone. I have standalones with MTK chipsets.
enjoy,
Mtz
Hi Mtz,
the answer for your question is "Yes". This is a main goal of my patch. Why only subtitles from Recode is displayed on standalones? This is because the subtitles from Recode is not stored in textual form but they are bitmaps like DVD subpictures. The MPEG-4 defines subtitles in textual form but they are not supported by standalones because of missing font rendering engine on them. So Ahead selected the existing format (DVD) of subtitles/subpictures and made the extension to MPEG-4 format that is not standardized. But their subtiles format is a part of Nero Digital and manufacturers of standalones follow it. So it's main goal of my modification of the mp4box because there is no other application than Nero Recode that is capable to create movie in MP4 format with subtitles supported by standalones.
Falco aka Cera
SeeMoreDigital
10th May 2006, 09:54
Hi Falco,
Have you been able to determine why re-muxed VOBsubs are longer in duration than the original?
As mentioned here: -
http://forum.doom9.org/showthread.php?p=824208#post824208
Cheers
SeeMoreDigital
10th May 2006, 10:13
So it's main goal of my modification of the mp4box because there is no other application than Nero Recode that is capable to create movie in MP4 format with subtitles supported by standalones.It's a shame then that "non" NeroDigital Certified players did not go down the same VOBsub route as Ahead and design their players to support VOBsubs within AVI ;)
If they had done, there wouldn't have been any need to have all these different subtitle formats :eek:
Hi Falco,
Have you been able to determine why re-muxed VOBsubs are longer in duration than the original?
As mentioned here: -
http://forum.doom9.org/showthread.php?p=824208#post824208
Cheers
Yes, I found a bug in my code. There should be set the last sample duration. I will fix it.
JoeBG
19th May 2006, 13:43
Yes, I found a bug in my code. There should be set the last sample duration. I will fix it.
Any news in this topic?
SeeMoreDigital
22nd May 2006, 19:04
Apparently VOBsub support has been officially integrated into the cvs today ;)
However, when I tried Kurt's latest MP4Box compile (http://kurtnoise.free.fr/mp4tools/) I still obtain the same VOBsub subtitle stream over-run issue.
Cheers
chipzoller
29th May 2006, 05:17
This doesn't have much to do with vobsubs in mp4...but I'm wondering in adjusting them before muxing in mp4. If you needed a global delay of a certain period (i.e. all sub time codes adjusted by amount X) do you use 'time offset' or 'delay'? My understanding is that 'delay' is used for individual time codes, but I'm not sure.
thanks for any help
mellon
29th May 2006, 14:35
One can use a separate "delay" for every track specified in the .IDX file. All entries (timecodes) of this track will be shifted by the specified amount after the occurence of "delay".
chipzoller
29th May 2006, 14:47
Something like this?:
# English
id: en, index: 0
delay: -00:01:21:900
# Decomment next line to activate alternative name in DirectVobSub / Windows Media Player 6.x
# alt: English
# Vob/Cell ID: 1, 17 (PTS: 4245465)
timestamp: 01:12:59:208, filepos: 000000000
timestamp: 01:13:01:744, filepos: 000001800
etc.
etc.
etc.
mellon
30th May 2006, 19:06
Yes. Just try it.
emmel
2nd June 2006, 21:54
First of all, the mp4box vobsub import seems to work perfectly, thanks.
Then, a question:
Any tools for extracting and stripping the vobsubs from mp4?
I just muxed some vobsubs into the container, realizing later that they were much too long with respect to the av tracks. As a result, players like mpc and vlc fail drastically in the end of this file. And now the original vobsub-files are gone, and I'd like to fix the problem... Any suggestions?
SeeMoreDigital
2nd June 2006, 22:03
I just muxed some vobsubs into the container, realizing later that they were much too long with respect to the av tracks. As a result, players like mpc and vlc fail drastically in the end of this file. And now the original vobsub-files are gone, and I'd like to fix the problem... Any suggestions?It's a known problem... which hopefully will be fixed soon, as and when new MP4box builds become available ;)
emmel
2nd June 2006, 22:40
Ok, thanks. I'll be patient and check for the updates.
KRUSADER
26th June 2006, 18:48
I tryed to download Yamb for mp4box(that support VobSub) but link is broken, may somebody post it or tell me how to mux VobSub files with command line. Thanks.
Sorry for my sucks english :(
Kurtnoise
26th June 2006, 21:48
Check out the last link in YAMB's thread...
KRUSADER
27th June 2006, 11:44
Thank you very much man.
I just wanna ask one more quistion, is it possible to show any kind of subtitles muxed in mp4 in MPlayer and if it's possible which command I shoud use?
Kurtnoise
27th June 2006, 14:09
I don't think that mplayer is able to display vobsub muxed in mp4 files. Maybe I'm wrong because I don't use this player anymore on my *nux box. However with VLC, this works perfectly. ;)
cera
13th July 2006, 07:16
Any news in this topic?
Hi, I put into CVS the patch that fixes the situation that the
vobsub stream was too long. The extracting of the vobsubs will be available in the near future (hopefully tomorrow or on Monday).
Falco
Dayvon
13th July 2006, 07:32
Hi, I put into CVS the patch that fixes the situation that the
vobsub stream was too long. The extracting of the vobsubs will be available in the near future (hopefully tomorrow or on Monday).
Falco
Just in time for my MP4 backup of FF:Advent Children... excellent!!! :thanks:
cera
13th July 2006, 12:32
Hi all,
sorry for delay, I have too much work in a company. But I have one good message. Today I finally implemented vobsub extraction. I sent appropriate patch to Jean, he will integrate it into CVS. I tested the extraction and works well for me. The extraction has one small limitation. It is possible to extract only one track into .idx/.sub file. In other words if you extract more than one track, every will have own .idx/.sub file. For impatient people I have built a binary for Win32. You can download it as usual:
http://www.cera.cz/gpac/mp4box-20060713.zip
Regards Falco
Release notes:
mp4box - with vobsub support
============================
- Based on current CVS sources of GPAC
- Statically linked with SpiderMonkey 1.5 and zlib 1.2.3
- Supports .idx/.sub VobSub files
- Exporting back to VobSub (idx/sub) is already implemented ;-)
TODO
====
- Setting of correct brand info according content (Nero Digital profiles) - not a VobSub task but nice to have
Version: 0.4.0.88 - 20060713
============================
- [FEATURE] - Raw extracting of vobsub track into .idx/.sub files implemented
Version: 0.4.0.10 - 20060622
============================
- [BUGFIX] - problems with incorrect subpic track duration fixed
Version: 0.4.0.3 - 20060505
===========================
- [FEATURE] - possibility to export VobSub track as single track MP4 file and reimport into new MP4 file
- [FEATURE] - delay parameter from .idx file is now processed
- [BUGFIX] - problems with incorrect colors in Nero ShowTime and MPC fixed
emmel
14th July 2006, 08:42
Great. Thank you. Works like a charm.
Kurtnoise
14th July 2006, 16:30
Hey Falco,
Could you share the patch of the last feature ? I would like to test this on my Linux distro. Thank you. :)
cera
18th July 2006, 06:43
Hey Falco,
Could you share the patch of the last feature ? I would like to test this on my Linux distro. Thank you. :)
Hi Kurt, I'm sending the appropriate patch. It is against CVS.
Falco
Kurtnoise
19th July 2006, 02:39
Thanks...Anyway, Jean seems to have commit your patch in th cvs.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.