On Thu, 29 Mar 2007 19:21:59 +0200, Baptiste Coudurier <baptiste.coudurier at smartjog.com> wrote:
Nicolas Jauffret wrote:
On Thu, 29 Mar 2007 18:34:50 +0200, Baptiste Coudurier <baptiste.coudurier at smartjog.com> wrote:
Nicolas Jauffret wrote:
On Thu, 29 Mar 2007 15:06:27 +0200, Andrea Barbieri <andrea.barbieri at movingimageresearch.com> wrote:
try the conversion without video essence: ffmpeg -i foo.avi -acodec mp3 out.mov
=> Readable with mplayer (no sound without "-demuxer lavf" parameter) => Readable with MacOS QtPlayer 7.1.5
So the problem seems well to come from the "copy" codec.
No, problem might come from mplayer demuxer, if Quicktime plays it, file has great chances to be correct.
The fact is, Quicktime does not play its sound, if "-vcodec copy" is used to generate the mov file.
With MacOs Quicktime 7.1.5 : - from a jpg sequence => all is Ok. - from an avi file => the "-vcodec copy" causes a sound reading problem.
I thought -vcodec copy failed because of "frame size not set". Are you sure ? If not, I'd like to check that avi file.
I have brought different issues in this mailing list : The first one : ffmpeg -i from_jpg.avi -vcodec copy -acodec copy from_avi.mov => [mov @ 0x84f4340]track 1: codec frame size is not set Could not write header for output file #0 (incorrect codec parameters ?) => Error code=0 The second one: compression works when setting -acodec mp3, instead of copy codec, but then, can not be played with MacOS Quicktime Player 7.1.5 To make it clearer (from .avi to .mov) : -vcodec copy -acodec copy => "Could not write header" error + no error code set -vcodec copy -acodec mp3 => compression works, but will not open in QtPlayer 7.1.5 -sameq -acodec copy => "Could not write header" error + no error code set -sameq -acodec mp3 => works fine Best regards, Nicolas