I get the same error with the version of ffmpeg from macports. I
hadn't tried this version before, since I had ffmpegX, and I knew it
would take a long time to compile it. Sorry if I implied that I had
tested both versions.
It looks like the macports version (SVN-r15261) is a few thousand
commits behind trunk (r17576), but still newer than the ffmpegX
version. I'm not sure what is causing the problem, however, I noticed
that ffmpeg from macports is recognizing the audio as 'mp3' and using
libmp3lame for output. The ffmpegX version recognizes the audio track
as 'mp2', and uses 'mp2' for output.
I tried forcing the framerate, but that doesn't seem to work. I would
just download ffmpegX[1] and use ffmpeg from the bundle. Note that you
don't even need to install the app, just mount the disk image and
sudo cp -p /Volumes/ffmpegX_0.0.9y/ffmpegX.app/Contents/Resources/
ffmpeg /usr/local/bin
Brian
[1]: ftp://ftp2.ffmpegx.com/ffmpegx/ffmpegX.dmg
On Feb 24, 1:57 pm, Patrick Crowley <[email protected]> wrote:
> > I just used ffmpeg that was bundled with ffmpegx. I couldn't figure
> > out how to do this with the gui, but this command worked:
>
> > /Applications/ffmpegX.app/Contents/Resources/ffmpeg -i guy_raw.mov -vn
> > -acodec copy guy_raw.mp3
>
> > Open source, FTW!
>
> Thanks, Brian. Looks like that's the workaround we need.
>
> I've installed ffmpeg via MacPorts, but I'm getting this error:
>
> FFmpeg version SVN-r14381, Copyright (c) 2000-2008 Fabrice Bellard, et
> al.
> configuration: --prefix=/opt/local --disable-vhook --mandir=/opt/
> local/share/man --enable-shared --enable-pthreads --disable-mmx --
> cc=gcc-4.0 --enable-gpl --enable-liba52
> libavutil version: 49.7.0
> libavcodec version: 51.60.0
> libavformat version: 52.18.0
> libavdevice version: 52.0.0
> built on Feb 20 2009 12:47:13, gcc: 4.0.1 (Apple Inc. build 5490)
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1002400]edit list not starting at 0, a/v
> desync might occur, patch welcome
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1002400]edit list not starting at 0, a/v
> desync might occur, patch welcome
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1002400]edit list not starting at 0, a/v
> desync might occur, patch welcome
>
> Seems stream 0 codec frame rate differs from container frame rate:
> 2997.00 (2997/1) -> 29.97 (30000/1001)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'guy_raw.mov':
> Duration: 00:12:14.10, start: 0.000000, bitrate: 678 kb/s
> Stream #0.0(eng): Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR
> 4:3], 29.97 tb(r)
> Stream #0.1(eng): Audio: mp3, 11025 Hz, mono, 32 kb/s
> Output #0, mp2, to 'guy_raw.mp3':
> Stream #0.0(eng): Audio: .mp3 / 0x33706D2E, 11025 Hz, mono, 32 kb/s
> Stream mapping:
> Stream #0.1 -> #0.0
> Press [q] to stop encoding
> [NULL @ 0x100c600]error, non monotone timestamps 28212 >= 28212
> av_interleaved_write_frame(): Error while opening file
>
> Any ideas?
>
> -- Patrick
--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---