[MEncoder-users] avi h264 to mp4 (without transcoding)

Phil Sturges pssturges at gmail.com
Thu Jul 28 02:02:27 CEST 2011


Andrew Berg <bahamutzero8825 <at> gmail.com> writes:


> If MP4Box will accept the AC3 that way (I can't remember if it will),
> then yes.
> 


Firstly, there was a bug with the recent builds of mp4box that caused it to
ignore fps option. That has now been fix.

I have been trying to implement the process you have suggested and it all goes
well until the final muxing of everything together. The problem is using the ac3
in the avi container. The command I'm using is like so:
MP4Box -add video_video.h264:fps=25:nodrop:packed:par=142192:100000 -add
video.m4a -add video.avi#audio -new video.mp4

I have tried variations based on the gpac documentation such as
video.avi#trackID=2 and video.avi#2. All these seem to add the h264 and the
aac/m4a no problem but then fail with the ac3/avi. Perhaps I'm doing something
wrong or perhaps it's not supported. The output is below:

AVC-H264 import - frame size 704 x 528 at 25.000 FPS
Adjusting AVC SizeLength to 16 bits
Adjusting AVC SizeLength to 32 bits      | (04/100)
AVC Import results: 155233 samples - Slices: 1163 I 63301 P 90769 B - 0 SEI -
1133 IDR
IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
Unsupported AVI audio format                              
Error importing /storage/scratch/movietest/video.avi#audio: Feature Not Supported


Perhaps its time to move this discussion to a more appropriate forum. This has
gotten way off the subject of mencoder. I'll probably ask further questions on
the gpac sourceforge forum.

Cheers
Phil



More information about the MEncoder-users mailing list