PDA

View Full Version : MP4 Box/ Why doesnīt it work?


Bauzi
14th December 2006, 18:16
After killing my h.264 by mistake on sunday I reinstalled it and now I need it.
Ok I can enocde the pure video without problems into mp4, but I canīt add the audio stream with MP4Box.

Uhm... here is my simpel script:
Code:
MP4Box.exe -add C:\enc\Condamn.mp4#video" -fps 25 -add "C:\enc\Condam-Audio.mp3" "C:\enc\alles.mp4"
PAUSE
EXIT

(the add-commands and so on are in the same row...)

And all I get is this:

http://img245.imageshack.us/img245/1175/unbenanntkj8.png

huh? Sad
Whatīs wrong? What are my alternatives for muxing or maybe for the complete encode?

Sharktooth
14th December 2006, 18:26
where's the -new switch?

Bauzi
14th December 2006, 18:56
Ok that was missing, but there is still the same console window with the same sentences on it, like on the screen.

New Code:

MP4Box.exe -add C:\enc\Condamn.264#video" -fps 25 -add "C:\enc\Condam-Audio.mp3" -new "C:\enc\alles.mp4"
PAUSE
EXIT

EDIT:
There was " missing. Damn... I hate syntax errors. Sry for the thread!

Kurtnoise
14th December 2006, 19:03
After killing my h.264 by mistake on sunday I reinstalled it and now I need it.
Ok I can enocde the pure video without problems into mp4, but I canīt add the audio stream with MP4Box.

Uhm... here is my simpel script:
Code:
MP4Box.exe -add "C:\enc\Condamn.mp4#video" -fps 25 -add "C:\enc\Condam-Audio.mp3" "C:\enc\alles.mp4"
PAUSE
EXIT

Whatīs wrong? What are my alternatives for muxing or maybe for the complete encode?
#video add-on is dedicated to avi files and/or raw asp streams. So, if you want to keep only video stream from your input mp4 file, you need to specify the trackID. Plus, we can't specify an fps switch for mp4 files. So, you must have something like that:

MP4Box.exe -add "C:\enc\Condamn.mp4#1" -add "C:\enc\Condam-Audio.mp3" "C:\enc\alles.mp4"

or

MP4Box.exe -add "C:\enc\Condamn.h264#1:fps=25.000" -add "C:\enc\Condam-Audio.mp3" "C:\enc\alles.mp4"


where's the -new switch?
Not needed...