Nicolas Jauffret wrote:
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
That's one issue which is acknowledged.
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
Here you say it does not play, you are talking about video right ?
To make it clearer (from .avi to .mov) : -vcodec copy -acodec copy => "Could not write header" error + no error code set
Yes, frame size needs to be set
-vcodec copy -acodec mp3 => compression works, but will not open in QtPlayer 7.1.5
Yes, use -vtag mp4v it will work. Patch welcome to choose more reliably codec tag.
-sameq -acodec copy => "Could not write header" error + no error code set
Yes, frame size needs to be set.
-sameq -acodec mp3 => works fine
Yes. -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA SMARTJOG S.A. http://www.smartjog.com Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA Phone: +33 1 49966312