Hi,

On Sat, Sep 18, 2010 at 8:03 AM, Santhosh Kumar Janardhanam
<[email protected]> wrote:
> 1. ffmpeg -i input.wav input.aac
> ---encodes an audio .wav to aac.
>
> 2. ffmpeg -i input.aac -acodec copy -vn input.mp4
> ---packs the aac stream in mp4 container format.
>
> The resulted input.mp4 does not plays in Quicktime player, I tried one more 
> thing
>
> 3.ffmpeg input.wav input_ffmpeg.mp4
> ---encodes to aac & packs to mp4 format.
>
> The resulted input_ffmpeg.mp4 plays in Quicktime player.

As you say below, one has a global header, one doesn't. Quicktime
requires the global header to play MP4 files.

> The aac header ff f1 50 80 05 7f fc was missing in media data box of 
> input_ffmpeg.mp4. Is it unnecessary to pack these header in MP4 Container? I 
> want the stream generated by first method(input.mp4) to play in quicktime. Do 
> i need to give some more parameters while muxing aac stream. Can anyone help 
> me in this issue?

Try -flags global_header, it may help but I'm not sure...

Ronald
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to