Log in

View Full Version : H.264 in .MOV -> AVI/MP4


Pages : 1 [2]

hellfred
17th January 2006, 14:34
You already faild to understand the process once, and now you fail again. It is about renaming the mov to mp4, opening it with mp4box and remuxing the just-renamed mov to a real mp4. SeeMoreDigital, LoRd_MulderR and vlix report having succeeded in converting some moves this way here (http://http://forum.doom9.org/showthread.php?t=102064&page=2).
But to quote yourself:
so this tells me that renaming mov to mp4 is not always possible as is remuxing mov to mp4 in mp4box
(From this message (http://http://forum.doom9.org/showthread.php?p=733113#post733113)).
Important word is not always, which is not the same as "plain nonsense"!

Hellfred

chros
17th January 2006, 22:33
passtrough in qt works fine on the trailer here

I have redownloaded the trailer (perhaps apple had put up another), but the result is the same.

So the last question: which player, filters do you use ?
(my setup: MPC latest, Halii's splitter/MPC mp4 builtin splitter, ffdshow)

And a favour : can you upload the transformed mp4 to anywhere ?(eg. rapidshare)

Thanx

chros
17th January 2006, 23:26
I have managed to do this tricky trailer with YAMB/mp4box:
I have extracted the raw video-audio from the orig mov/mp4, then muxed with this command:
MP4Box.exe -fps 23.976 -add v.h264 -add a.aac 1.mp4

The video/audio desync was caused by the default 25 fps muxing.

But now I have another problems, so I'll move to this thread (thanks hellfred):
http://forum.doom9.org/showthread.php?t=102064

thanks for helping, this thread can be closed now.

chros
17th January 2006, 23:40
I have came from this thread:
http://forum.doom9.org/showthread.php?p=770101

I have read this topic and have a question:
you have claimed that mp4box can mux the movs into "good" mp4 on the fly:
@SeeMoreDigital: all you have to do is change the .MOV file extension to .MP4, load/import/add the file into YAMB and hit the "Mux" button..... And you'll end up with a perfectly re-muxed (and seemingly) compliant MP4 file!

try these files with MPC built in MP4 filter: the duration time is not perfect !
(Hallii's splitter works fine with these mp4s) But if I have extracted the raw video-audio from the orig mov/mp4, then have muxed with this command:
MP4Box.exe -fps 23.976 -add v.h264 -add a.aac 1.mp4
everything is fine !

It can mean 2 things:
- Gabest mp4 splitter is broken
- these files work with Halii's splitter, because it parses movs !!! -> so these are not standard mp4 files !

The source of the problem can be the magic 3rd stream in movs: tmcd , which is included in the 1st muxing method, but not present in the 2nd.
(I have tried 6 different hdmovs from apple)

bond
18th January 2006, 00:08
ok i now tried it myself:

1) no need to change the extension from .mov to .mp4!!! mp4box also handles files with .mov extension...
2) mp4box seems to remux aac from .mov to .mp4 fine (aac is stored differently in both containers, thats also one reason why you cant simply rename the extension for creating a .mp4 file from a .mov one)
3) the duration is indeed wrong in the .mp4 created by mp4box. seems to be a mp4box bug
i made a bug report here (http://sourceforge.net/tracker/index.php?func=detail&aid=1408596&group_id=84101&atid=571738)

edit: threads merged

chros
18th January 2006, 00:33
@bond: thanks for the confirm

I have tried Quicktime Player Pro with passthrough converting to mp4:
- the resulted mp4 file doesn't contain the magic 3rd stream: tmcd !!!
- have you noticed that apple doesn't allow 6ch audio passthrough ? :) Gggrrrr ... :devil:

If it will sometimes work in mp4box, than YAMB should allow to select mov files to mux.

hellfred
19th January 2006, 20:30
ok i now tried it myself:

1) no need to change the extension from .mov to .mp4!!! mp4box also handles files with .mov extension...
2) mp4box seems to remux aac from .mov to .mp4 fine (aac is stored differently in both containers, thats also one reason why you cant simply rename the extension for creating a .mp4 file from a .mov one)
3) the duration is indeed wrong in the .mp4 created by mp4box. seems to be a mp4box bug
i made a bug report here (http://sourceforge.net/tracker/index.php?func=detail&aid=1408596&group_id=84101&atid=571738)

edit: threads merged
Funny thing is, I faild with the two trailers I have tryed. (NASA Space Schuttle and BBC Motion Gallery Reel) Looks like I am really good in choosing the wrong ones. :D
Even building latest mp4box from current csv under linux did not help to remux those two. But I lost interesst in this, as splitting these files with Haali works well for playback.

Stefan

saratoga
20th January 2006, 18:58
No luck useing MP4box with this trailer:

http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/warren_miller_m1080p.mov

But it works great with the Serenity 1080p one. Any ideas what I can do (aside from buy QT)?

hellfred
21st January 2006, 14:33
You can try it with graphedit under win32.
There was one graph listed in the thread that i inked to in message #51. I did not want to install the filters listed there. I did open the movs/renamed mp4s with Haalis Splitter (Just insert the splitter and it will ask you for the file to open), but I failed to dump/write the stream to a fail before I lost interest.

Hellfred

bond
21st January 2006, 16:37
No luck useing MP4box with this trailer:

http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/warren_miller_m1080p.movwhat does mp4box say if you try to remux?

SeeMoreDigital
21st January 2006, 18:26
As I mentioned earlier....

Not all the QuickTime AVC samples appear to be suitable, especially the early ones....

Maybe they were slightly borked to begin with - which would not be too surprising!

slow4mula
24th January 2006, 10:54
even with the latest version of quicktime pro converting to uncompressed avi/pcm audio doesn't work all the time...

i agree some of the trailers just seem screwed...

right now im exporting from quicktime pro into uncompressed avi/pcm, the resulting avi's sometime don't open in any other application. if i open them in virtualdub it has to rebuild the avi index blocks (?). then after doing that if i save with direct stream copy i can convert them into whatever i want with divx, xvid, etc...

what a pain in the a@#...

i just think a fair amount of the trailers are screwed to being with...

chros
6th February 2006, 14:32
Have you noticed that not just the HD trailers are encoded in h264-aac ?

Check those trailers which name has the 'h' letter (not the 'm') before the resulotion (eg. *h480.mov, *h640w.mov) :)
So we can use ffdshow to decode these files too !!!

And here are 2 links for the updated trailers (if anybody is interested):
movie-list.com forum1 (http://www.movie-list.com/forum/showthread.php?t=13778)
movie-list.com forum2 (http://www.movie-list.com/forum/showthread.php?t=13978)

bond
6th February 2006, 14:35
apple uses h.264/aac for everything except livestreaming now it seems

Elias
6th February 2006, 14:36
Have you noticed that not just the HD trailers are encoded in h264-aac ?

Check those trailers which name has the 'h' letter (not the 'm') before the resulotion (eg. *h480.mov, *h640w.mov) :)
So we can use ffdshow to decode these files too !!!Yeah, it's great that Apple has finally upgraded to AVC/AAC now... if only they could use the mp4 container too :) Ah well, nothing we can't fix ourselves with MP4Box :D

bond
6th February 2006, 14:40
if apple would use mp4, noone would use quicktime anymore ;)

Elias
6th February 2006, 14:41
if apple would use mp4, noone would use quicktime anymore ;)That's the best part of it :D

Inventive Software
7th February 2006, 13:54
Quicktime doesn't work on Windows, they should have stuck to the Mac platform and developed their userbase there. QT DOESN'T BELONG ON WINDOWS!!!

Kurtnoise
7th February 2006, 15:29
QT DOESN'T BELONG ON WINDOWS!!!
This is not true with QT 7.xxx. Their player has been completely rewritten for windows plateform.

Elias
7th February 2006, 15:30
This is not true with QT 7.xxx. Their player has been completely rewritten for windows plateform.And it still sucks.

bond
7th February 2006, 15:47
This is not true with QT 7.xxx. Their player has been completely rewritten for windows plateform.i guess they will use the windows version as a base for the new intel-based macs?

Kurtnoise
7th February 2006, 19:02
And it still sucks.
I'm not a quicktime fan but it doesn't suck really...Not very efficient for avc files for sure but not bad for other things.

And keep in mind that this is also an A/V editor...

i guess they will use the windows version as a base for the new intel-based macs?
Dunno...

Elias
7th February 2006, 20:50
I'm not a quicktime fan but it doesn't suck really...Not very efficient for avc files for sure but not bad for other things.

And keep in mind that this is also an A/V editor...It's a bad video editor as well. Doesn't handle many codecs inputs. However, it has lots of codecs/containers outputs.

QT has its pros and cons, but I think it's a bad player/AV editor considering that it comes from a huge company like Apple; they can do better.