Hello Nicolas, NJ:=Nicolas Jauffret NJ> On Thu, 29 Mar 2007 19:21:59 +0200, Baptiste Coudurier NJ> <baptiste.coudurier at smartjog.com> wrote: NJ> NJ> >Nicolas Jauffret wrote: NJ> > >On Thu, 29 Mar 2007 18:34:50 +0200, Baptiste Coudurier NJ> > ><baptiste.coudurier at smartjog.com> wrote: NJ> > > NJ> > > >Nicolas Jauffret wrote: NJ> > > > >On Thu, 29 Mar 2007 15:06:27 +0200, Andrea Barbieri NJ> > > > ><andrea.barbieri at movingimageresearch.com> wrote: NJ> > > > > > NJ> > > > > >try the conversion without video essence: NJ> > > > > >ffmpeg -i foo.avi -acodec mp3 out.mov NJ> > > > > NJ> > > > > => Readable with mplayer (no sound without "-demuxer lavf" NJ> > > > > => parameter) NJ> > > > > => Readable with MacOS QtPlayer 7.1.5 NJ> > > > > NJ> > > > >So the problem seems well to come from the "copy" codec. NJ> > > > NJ> > > >No, problem might come from mplayer demuxer, if Quicktime plays it, NJ> > > >file has great chances to be correct. NJ> > > NJ> > >The fact is, Quicktime does not play its sound, if "-vcodec copy" is used NJ> > >to generate the mov file. NJ> > > NJ> > >With MacOs Quicktime 7.1.5 : NJ> > >- from a jpg sequence => all is Ok. NJ> > >- from an avi file => the "-vcodec copy" causes a sound reading problem. NJ> > NJ> >I thought -vcodec copy failed because of "frame size not set". Are you NJ> >sure ? NJ> >If not, I'd like to check that avi file. NJ> NJ> I have brought different issues in this mailing list : NJ> NJ> The first one : NJ> ffmpeg -i from_jpg.avi -vcodec copy -acodec copy from_avi.mov NJ> => [mov @ 0x84f4340]track 1: codec frame size is not set NJ> Could not write header for output file #0 (incorrect codec parameters ?) NJ> => Error code=0 NJ> NJ> The second one: NJ> compression works when setting -acodec mp3, instead of copy codec, NJ> but then, can not be played with MacOS Quicktime Player 7.1.5 NJ> NJ> To make it clearer (from .avi to .mov) : NJ> -vcodec copy -acodec copy => "Could not write header" error + no error code NJ> set NJ> -vcodec copy -acodec mp3 => compression works, but will not open in QtPlayer NJ> 7.1.5 NJ> -sameq -acodec copy => "Could not write header" error + no error code set NJ> -sameq -acodec mp3 => works fine NJ> as mentioned in many postings... raise just one issue per email/subject otherwise bad things can happen :) cheers, andrea -- Andrea Barbieri Moving Image Research http://www.movingimageresearch.com/ The Workshop, Hampton Lane, Bristol, BS6 6LE, UK Tel: +44 117 9732200 FAX: +44 117 9732210 PGP ID=0x034DFD5A KeyFingerprint=C168EA9A7189538D214F1281A7529F32034DFD5A