PDA

View Full Version : mp4box : error with ac3 import


audyovydeo
25th March 2009, 11:09
hello.
I'm using mp4box 0.4.5 dec2008

I have :
file1.mp4 Track#1:avc Track#2:ac3.
file2.mp4 Track#1:avc

I want to add file2 before file1 (it's the titles) so :

mp4box -add file2.mp4 -add file1.mp4 -new file3.mp4

it all goes fine until mp4box starts importing file2Track2 :

error : unrecognised format ac-3.

it does not stop, it continues with the import.

This is so very strange because I have just created file1 with the same version of mp4box.

any ideas ?
thanks
audyovydeo

Kurtnoise
25th March 2009, 17:41
MP4Box is not able to concatenate files w/ ac3 streams...you have to extract each streams first and then concatenate them.

Something like:

MP4Box -raw 1 file1.mp4
MP4Box -raw 2 file1.mp4
MP4Box -raw 1 file2.mp4
MP4Box -raw 2 file2.mp4
MP4Box -add file2_video.h264 -add file2_audio.ac3 -cat file1_video.h264 -cat file1_audio.ac3 output.mp4

audyovydeo
26th March 2009, 09:07
MP4Box is not able to concatenate files w/ ac3 streams...you have to extract each streams first and then concatenate them.

Something like:

MP4Box -raw 1 file1.mp4
MP4Box -raw 2 file1.mp4
MP4Box -raw 1 file2.mp4
MP4Box -raw 2 file2.mp4
MP4Box -add file2_video.h264 -add file2_audio.ac3 -cat file1_video.h264 -cat file1_audio.ac3 output.mp4


Thanks for quick reply, I'll try this tonite.
I also just realised that file1 plays without audio a few seconds, then crashes VLC. Problem is, it didnt crash last week when I created it. I'll play around with all this & revert if needed.

merci !
audyovydeo