An attempt to create an MP4 using an AAC file and a H.264 file produced the
correct output but the volume of the audio was set to 0 in the track header
box. This value is probably not used by many players, but QTKit on the Mac
definitely uses it (so I heard no audio but the video was fine).
This was my fix:
AACTrackImpl audioTrack = new AACTrackImpl(aacIn.getChannel());
audioTrack.getTrackMetaData().setVolume(1.0f);
Not a big deal to correct, but in my view all audio tracks should have a
sensible default volume (which I am assuming is 1.0f).
Original issue reported on code.google.com by antonmar...@gmail.com on 25 Mar 2013 at 1:38
Original issue reported on code.google.com by
antonmar...@gmail.com
on 25 Mar 2013 at 1:38