[Ffmpeg-devel] [Ffmpeg-devel-old] Re: avi out is buggy
Erik Slagter
erik
Mon May 9 14:11:31 CEST 2005
On Mon, 2005-05-09 at 11:24 +0000, Thomas Herrmann wrote:
> > stream copy from mpeg to avi isnt synchronizable, mpeg has timestamps, avi
> > does not, so frame drop / audio resampling might be needed but its not
> > possible with stream copy
> >
> > -> bug closed / invalid
>
> Ok, but your answer does not help me to generate usable video file.
>
> I was asking what output format and/or ffmpeg options should I use to transcode
> a MPEG file containing a MPEG2 video stream and an AC3 audio stream to a video
> file (avi, mpg, mov, ... ???) containing a h264 video stream and a ac3/aac
> audion stream?
>
> I tried:
>
> ffmpeg -i sample_w_ac3.mpg -vcodec h264 -acodec copy -sameq -hq out.avi
>
> which leads to asynchronous output, so does:
>
> ffmpeg -i sample_w_ac3.mpg -vcodec h264 -acodec aac -sameq -hq out.avi
How about using mp4 output container (which does understand timestamps).
More information about the ffmpeg-devel
mailing list