[Libav-user] problem with ffmpeg on mac vs win
Craig Murray
craigmurray100 at gmail.com
Wed Apr 25 12:08:22 CEST 2012
I've done my best to get ffmpeg building on mac with
--enable-libaacplus --enable-nonfree.... the build seemed to work as
far as I can tell. But now when I run the same command I'm getting a
different problem.
/ffmpeg -i test.avi -y test.mov
ffmpeg version N-40106-g8f89954 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 25 2012 11:27:12 with gcc 4.0.1 (Apple Inc. build 5493)
configuration: --enable-libaacplus --enable-nonfree
libavutil 51. 47.100 / 51. 47.100
libavcodec 54. 15.100 / 54. 15.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.100 / 2. 72.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
Input #0, avi, from 'test.avi':
Duration: 00:00:19.99, start: 0.000000, bitrate: 5094 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 320x240,
60 tbr, 60 tbn, 60 tbc
Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 8000 Hz, 1
channels, u8, 64 kb/s
[buffer @ 0xe01290] w:320 h:240 pixfmt:yuvj422p tb:1/1000000 sar:0/1
sws_param:flags=2
[buffersink @ 0xe01490] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 0xe01690] w:320 h:240 fmt:yuvj422p sar:0/1 -> w:320 h:240
fmt:yuv420p sar:0/1 flags:0x4
Incompatible sample format 'u8' for codec 'libaacplus', auto-selecting
format 's16'
[mpeg4 @ 0x100c400] timebase 8333/500000 not supported by MPEG 4
standard, the maximum admitted value for the timebase denominator is
65535
Output #0, mov, to 'test.mov':
Stream #0:0: Video: mpeg4, yuv420p, 320x240, q=2-31, 200 kb/s, 90k
tbn, 60 tbc
Stream #0:1: Audio: none, 8000 Hz, 1 channels, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> mpeg4)
Stream #0:1 -> #0:1 (pcm_u8 -> libaacplus)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
On Wed, Apr 25, 2012 at 1:21 AM, Craig Murray <craigmurray100 at gmail.com> wrote:
> So is there a way to get ffmpeg.dmg to use the correct codec without
> rebuilding it from source?
>
> On Wed, Apr 25, 2012 at 2:04 AM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
>>
>>
>>
>> On Wed, Apr 25, 2012 at 4:10 AM, Craig Murray <craigmurray100 at gmail.com>
>> wrote:
>>>
>>> I'm having some problems getting ffmpeg to behave the same on windows as
>>> opposed to mac. Mac seems to have some codec problems, where the windows
>>> version is fine. Here is my output:
>>>
>>
>> Your Windows version is compiled with libvo_aacenc as the AAC Encoder,
>> which works just fine.
>> However, your Mac version does not have the libvo_aacenc support compiled
>> in, and it trys to use avcodecs native AAC encoder, which is still
>> experimental, resulting in the error quoted above.
>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
More information about the Libav-user
mailing list