Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chorstmann

macrumors newbie
Original poster
Jan 1, 2010
1
0
I have a bunch of .mpg (MPEG-2) files created using a sony camcorder and am trying to use my iMac to convert them to .mov files so that I can work with them in iMovie.

I installed ffmpegX (I believe correctly), but when I execute the file conversion, I keep getting empty files. I have tried checking and unchecking the "invert mapping" box.

As an aside, The ffmpegX "MPlayer" is able to Play the MPG file video, but it does not play the audio (I'm not sure if this is a relevant observation).

Here is the log:

FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
Input #0, mpeg, from '/Users/craigdh75/Movies/20081224180626.mpg':
Duration: 00:01:25.5, start: 0.220133, bitrate: 9146 kb/s
Stream #0.0[0x20]: Subtitle: dvdsub
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 256 kb/s
Stream #0.2[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 720x480, 9100 kb/s
Codec type mismatch for mapping #0.1 -> #0.0
Fri Jan 1 22:34:56 CST 2010


Any help would be greatly appreciated!
 
Did you try other formats like .mpeg4 or something else iMovie can recognize. I guess I personally would recommend one of these over .mov because its a little proprietary.
 
It seems your camera records in SD (Standard Definition - you use obviously NTSC) and compresses the video with MPEG-2.
Any compressed file is not good for video editing, for example, MPEG-2 only stores every 15th frame, the images in between are approximations.

Your camera records with the MPEG-2 codec and uses .mpg as a container.
.mov is also also a container for a variety of codecs like H264 or DV or AIC or ... .

So as your video is SD you could use the (Apple) DV codec to export to, but I don't know if ffmpegX can do that.

There is also MPEG Streamclip to convert many video formats (container and codec) to many other formats, but it needs the QuickTime MPEG-2 component to play any MPEG-2 encoded video (video DVDs also use MPEG-2). It costs around 20USD.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.