Log in

View Full Version : Mux ac3 and xvid into .mov


Thomas31388
6th October 2008, 21:12
Hello Doom9

I have looked for a solution to this problem everywhere so I really hope you can help me!

What I am looking for is GUI/CLI tool that will mux a xvid video and ac3 audiostream into a compliant .mov file, and then add a H264 and ACC stream to the front of it. (Really mux any video/audio format to a .mov)

I am trying to acomplish this:
http://wiki.awkwardtv.org/wiki/How_to_get_iTunes_to_sync_other_video_formats_to_Apple_TV

I am running a windows vista computer so will need tools that are compliant with that.

Hope you have a fast and easy solution for me.

BR
Thomas

crypto
6th October 2008, 22:57
Hi, that wiki page seems to be outdated. Since version 2.0 ATV supports AC3 in MP4 (renamed to M4V) out of the box.

Thomas31388
7th October 2008, 12:05
ok I see that but it still doesn't solve my problem with muxing xvid/divx and the like into a .mov container.

Kurtnoise
7th October 2008, 13:11
try this :
ffmpeg -i video.avi -vcodec copy -i audio.ac3 -acodec copy output.mov

but mov "compliancy" is not garanteed...

Thomas31388
7th October 2008, 14:05
tryed that problem is that ffmpeg has problems dealing with (packed) b-frames any other ideas?

crypto
7th October 2008, 17:52
ok I see that but it still doesn't solve my problem with muxing xvid/divx and the like into a .mov container.

I am still not sure what you are trying to do. Do you really want to add two video streams a DivX and a H.264 stream plus two audio streams AC3 and AAC into the MOV container?

On the wiki page you mentioned, I found no reference to AC3 and I thought you were going for on old workaround to get AC3 running on ATV.

Thomas31388
8th October 2008, 19:40
Hey

AC3 was just an example. I need a program/script(whatever) that will create a .mov file like this:

[track 1]
stream 0.1: H.264 video (just some blank video)
stream 0.2: ACC (just some muted audio)

[track 2] From an input file I specify (ex. movie.avi)
stream 0.3: video ala xvid/divx
stream 0.4: Audio ala mp3/AC3

The reason for doing this is that I need to "trick" my appleTV into thinking it's a compatible file so it will sync/stream through itunes. iTunes only checks the 1'st track of a .mov file and since h.264+acc is compatible it will allow the sync. I have hacked my appleTV with Perian so it actualy CAN decode xvid,divx and so on.

See what I mean now? If not write back and I will try to explain further.

Thomas

crypto
8th October 2008, 19:47
See what I mean now? If not write back and I will try to explain further.

Thomas
Yeah, now its clear. I thought that you could somehow use mp4creator for this, because ATV also accepts mp4 (as m4v). But now I see, its not that easy.

Thomas31388
9th October 2008, 18:54
Anybody have other ideas? Come on guys this is supposed to be the premier video know-how site. :rolleyes:

cacepi
9th October 2008, 20:45
Anybody have other ideas? Come on guys this is supposed to be the premier video know-how site.
If muxmovie from QTCoffee (http://www.3am.pair.com/QTCoffee.html) can't do it then it probably can't be done.

Thomas31388
9th October 2008, 23:39
Runnning a Win Vista machine, that program is for OSX, so no dice.