VideoHelp Forum




Results 1 to 8 of 8
  1. Member
    Join Date
    Dec 2005
    Location
    United States
    Search Comp PM
    I haven't used ffmpeg for awhile. I used it awhile back and it made me a hero. I saw the new upgrade on Versiontracker and wanted to try out the new iPod presets. The older version I had wasn't a pay version and I wouldn't mind paying if I can get this problem solved. When I updated, I just overwrote the old one. I tried to update the mencoder and mplayer and that seems fine, but when I tried to update the mpeg2enc I had problems. The file would download as text(.txt). I tried again the other day and it came up differently but still not like the others (a Unix file) rather a document with no application assoicated. I tried to use it as a binary and no error message. So, I then tried to convert a few files and no luck. The file created would be only 4KB and nothing played back. The files I tried to convert are from iMovie and saved as mjpeg files. I don't know what to do next. I used to keep the binaries in a folder my Movies folder. I have tried moving them into ffmpeg folder in Application support. I can see several places where I could have done things smarter but I don't know where to go from here. Is the issue the mpeg2enc file? What should I do? Just a note, the play button in ffmpeg works fine but preview does nothing when i try it.

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by drgnflyz
    I tried again the other day and it came up differently but still not like the others (a Unix file) rather a document with no application assoicated. I tried to use it as a binary and no error message.
    The 188,524 bytes file is the right one. The installer will copy it and turn it into a Unix Executable File.

    Originally Posted by drgnflyz
    I used to keep the binaries in a folder my Movies folder. I have tried moving them into ffmpeg folder in Application support.
    After the installer is done with them, you may delete the downloaded binaries.

    Originally Posted by drgnflyz
    Is the issue the mpeg2enc file?
    The mpeg2enc engine is only used for MPEG-1/-2 encodings, not the iPod presets.

    Originally Posted by drgnflyz
    So, I then tried to convert a few files and no luck.
    More information is needed. Like the Log output ().

    Originally Posted by drgnflyz
    preview does nothing when i try it.
    Only functional while encoding.

  3. Member
    Join Date
    Dec 2005
    Location
    United States
    Search Comp PM
    Hey Case,
    Thanks for your reply! I verified my mpeg2enc and I appear to have the right one. Here is log that you mentioned: Encoding started on Mon Dec 5 17:52:06 PST 2005
    x264 [info]: using cpu capabilities Altivec
    mp4 [info]: initial delay 0 (scale 29970)
    ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX static build for ffmpegX
    configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
    built on Dec 1 2005 03:50:24, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
    Seems that stream 1 comes from film source: 2997.00 (2997/1) -> 30.00 (30/1)
    Input #0, mov,mp4,m4a,3gp,3g2, from '/Users/tbarclay/Desktop/AutumnBirthday.mov':
    Duration: 00:02:38.1, start: 0.000000, bitrate: 7787 kb/s
    Stream #0.0: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1, 30.00 fps: Video: mjpeg, yuvj420p, 640x480
    Output #0, yuv4mpegpipe, to 'pipe:':
    Stream #0.0, nan fps: Video: rawvideo, yuvj420p, 320x240, q=2-31, 200 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    [yuv4mpegpipe @ 0x45a0e4]ERROR: yuv4mpeg only handles yuv444p, yuv422p, yuv420p, yuv411p and gray pixel formats. Use -pix_fmt to select one.
    Could not write header for output file #0 (incorrect codec parameters ?)
    x264 [info]: final ratefactor: 48.33
    ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX static build for ffmpegX
    configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
    built on Dec 1 2005 03:50:24, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
    /Users/tbarclay/Desktop/AutumnBirthday.mov.ff.mov.video.mp4: could not find codec parameters

    Hope this helps.

  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    The default decoder seems to trip over the mjpeg video. Try setting Decode with Quicktime in the Options tab, before hitting Encode.

  5. Member
    Join Date
    Dec 2005
    Location
    United States
    Search Comp PM
    I tried again twice also from another Mac. The other Mac was fine but the file it was changing from was already H264 but a .mov file. when I tried the one I was working on it seemed to create 2 files. One 0KB the other 5.4MB when I tried to play it back nothing played. The player looked like it was just playing an audio file, no picture window. Here is the log created: Encoding started on Tue Dec 6 18:31:31 PST 2005
    x264 [info]: using cpu capabilities Altivec
    mp4 [info]: initial delay 0 (scale 29970)
    movtoy4m
    Copyright 2002-2005 Johan Lindstr??m
    All rights reserved. Used in ffmpegX under license.
    x264 [info]: slice I:25 Avg QP:15.12 size: 17964 PSNR Mean Y:51.37 U:53.66 V:54.07 Avg:52.01 Global:48.59
    x264 [info]: slice P:4714 Avg QP:17.72 size: 1106 PSNR Mean Y:46.56 U:48.04 V:47.92 Avg:46.87 Global:44.56
    x264 [info]: mb I I16..4: 15.8% 0.0% 84.2%
    x264 [info]: mb P I16..4: 2.2% 0.0% 2.0% P16..4: 50.5% 0.0% 0.0% 0.0% 0.0% skip:45.3%
    x264 [info]: final ratefactor: 21.34
    x264 [info]: PSNR Mean Y:46.589 U:48.074 V:47.955 Avg:46.892 Global:44.574 kb/s:286.41
    encoded 4739 frames, 59.34 fps, 287.67 kb/s
    ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX static build for ffmpegX
    configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
    built on Dec 1 2005 03:50:24, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
    Seems that stream 0 comes from film source: 29970.00 (29970/1) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2, from '/Users/tbarclay/Desktop/AutumnBirthday.mov.ff.video.mp4':
    Duration: 00:02:38.1, start: 0.000000, bitrate: 288 kb/s
    Stream #0.0, 29.97 fps: Video: h264, yuv420p, 320x240
    Seems that stream 1 comes from film source: 2997.00 (2997/1) -> 30.00 (30/1)
    Input #1, mov,mp4,m4a,3gp,3g2, from '/Users/tbarclay/Desktop/AutumnBirthday.mov':
    Duration: 00:02:38.1, start: 0.000000, bitrate: 7787 kb/s
    Stream #1.0: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    Stream #1.1, 30.00 fps: Video: mjpeg, yuvj420p, 640x480
    Codec type mismatch for mapping #1.1 -> #0.0

  6. Enable "Invert mapping".

  7. Member
    Join Date
    Dec 2005
    Location
    United States
    Search Comp PM
    Thanks for the response. It worked. However, I didn't think so at first. Couple things I think are odd. 1st, the percentage on the encoding went up to 121%, 2nd it still created 2 files at first, one labelled video the second audio. I tried to play and same old results but then a few seconds later the familiar done chime came through and the files merged into one. It played fine. I'm wondering if I was patient before and if all the changes mentioned really did the trick.

    Major please don't take this as griping. I think this is what I want for an app. I want to be able to keep full quality files for my originals and then just a quick encode to my iPod. The idea of fine tuning is great for some situations but for the most part I just want presets to drag and drop into for my everyday needs. I'm really surprised Apple hasn't built presets into iMovie or QT Pro. Maybe, that is how they will get people to upgrade to the next iLife. In the end, my check will be in the mail to Paypal.

  8. Very easy to use presets will be present in version 1.0.0 which is currently in development.




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!