Dear: Hi,this is the bug of mov.c The following patch will hack it! Please try again: ffmpeg -i pict005.mov -ar 44100 pict005.flv =================================================================== RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v retrieving revision 1.78 diff -u -r1.78 mov.c --- mov.c 30 Mar 2005 00:36:30 -0000 1.78 +++ mov.c 21 Apr 2005 13:33:35 -0000 @@ -1146,6 +1146,8 @@ st->codec.codec_id = CODEC_ID_PCM_S8; /* fall */ case CODEC_ID_PCM_U8: + if(st->codec.bits_per_sample == 16) + st->codec.codec_id = CODEC_ID_PCM_S16BE; st->codec.bit_rate = st->codec.sample_rate * 8; break; default:
Griff Hamlin wrote:
Hi Mike, Thanks for the info. The command: ffmpeg -i pict005.mov -ar 44100 pict005.flv
produces audio, so that's an improvement. But the audio is white noise. Here's the output from ffmpeg that produces the white noise audio:
[...]
If I convert to a ".avi" file using: ffmpeg -i pict005.mov -ar 44100 pict005.avi
I also get white noise audio.
Are you sure that the original .mov file has valid audio and not white noise? Maybe you were filming at the beach with crashing waves in the background?
-- -Mike Melanson
//---------------------------------------- "Like any human language, C++ provides a way to express concepts. If successful, this medium of expression will be significantly easier and more flexible than the alternatives as problems grow larger and more complex."
Hello QuickTime, Thanks for the patch. That fixed it. I really appreciate everyone's help with my problem. Is there a way my small company can make a small contribution to the 'ffmpeg' cause? Griff On Thu, 21 Apr 2005 21:41:08 +0800 QuickTime <ffmpeg at gmail.com> wrote:
Dear: Hi,this is the bug of mov.c The following patch will hack it! Please try again: ffmpeg -i pict005.mov -ar 44100 pict005.flv
Dear Griff: My pleasure! the mov.c and movenc.c need rewrite in my own opinion! Best! On 4/22/05, Griff Hamlin <griff at quik.com> wrote:
Hello QuickTime, Thanks for the patch. That fixed it. I really appreciate everyone's help with my problem. Is there a way my small company can make a small contribution to the 'ffmpeg' cause?
Griff
On Thu, 21 Apr 2005 21:41:08 +0800 QuickTime <ffmpeg at gmail.com> wrote:
Dear: Hi,this is the bug of mov.c The following patch will hack it! Please try again: ffmpeg -i pict005.mov -ar 44100 pict005.flv
-- //---------------------------------------- "Like any human language, C++ provides a way to express concepts. If successful, this medium of expression will be significantly easier and more flexible than the alternatives as problems grow larger and more complex."
participants (2)
-
ffmpeg@gmail.com -
griff@quik.com