Hi,
I have a little issue I'm hoping someone can help me resolve. Basically, I need to take a photo slideshow created in iView Media Pro and compress it to make it smaller (to send to clients). A 720x480 .mov file, with audio, comes out of iView at 156MB, not acceptable to e-mail to someone.
I brought that into ffmpegx and tried to run it out several different ways. Sometimes I get an error, other times it works, but with no audio. The file that did work (with no audio), was 32 MB, better (still maybe not ideal, but better). Could someone please let me know how you think I might be able to get this to work? I've included a pic of the "movie inspector" in quicktime, so you can see the parameters of the iView movie has.
Here's the result default target of avi DivX which stops after a second:
The h option must be an integer: 480
Option vop: Error while parsing scale parameter h (480
Tue May 13 23:55:10 PDT 2008
MEncoder dev-CVS-051126-18:35-3.3 (C) 2000-2005 MPlayer Team
Mac OSX static build for ffmpegX
AltiVec found
CPU: PowerPC
Exiting... (error parsing cmdline)
Here's what happened when I tried a .mp4:
Encoding started on Tue May 13 23:55:45 PDT 2008
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, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/admin/Desktop/slide_show_test/test2_iView.mov':
Duration: 24:00:00.0, start: 0.000000, bitrate: 15 kb/s
Stream #0.0(eng), 0.00 fps(r): Video: mjpeg, yuvj422p, 720x480
Stream #0.1(eng), 30.00 fps(r): Video: mjpeg, 720x480
Stream #0.2(eng), 30.00 fps(r): Video: mjpeg, 720x480
Stream #0.3(eng): Audio: mp2, 44100 Hz, stereo
Stream #0.4(eng), 0.01 fps(r): Video: mjpeg, 720x480
Incorrect frame rate
The one that works is DVD mpeg2enc, but there's no audio in the resulting mpg. Here's the log:
Encoding started on Wed May 14 00:32:04 PDT 2008
INFO: [yuvscaler] yuvscaler 1.9.0 (15-02-2004) is a general scaling utility for yuv frames
INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiquard@free.fr>, yuvscaler -h for help, or man yuvscaler
INFO: [mpeg2enc] SETTING AltiVec for MOTION!
INFO: [mpeg2enc] SETTING AltiVec for TRANSFORM!
INFO: [mpeg2enc] SETTING AltiVec for PREDICTION!
movtoy4m
Copyright 2002-2006 Johan Lindström
All rights reserved..
++ WARN: [yuvscaler] Could not infer norm (PAL/SECAM or NTSC) from input data (frame size=720x480, frame rate=24000:1001 fps)!!
INFO: [yuvscaler] input: frame size: 720x480 pixels (518400 bytes)
INFO: [yuvscaler] input: chroma: 4:2:0 JPEG/MPEG-1 (interstitial)
INFO: [yuvscaler] input: frame rate: 24000/1001 fps (~23.976024)
INFO: [yuvscaler] input: interlace: none/progressive
INFO: [yuvscaler] input: sample aspect ratio: 1:1
INFO: [yuvscaler] from 720x480, take 720x480+0+0, NOT_INTERLACED/PROGRESSIVE
INFO: [yuvscaler] scale to 720x480, 720x480 being displayed
INFO: [yuvscaler] Scaling uses the RESAMPLE algorithm,
INFO: [yuvscaler] frame rate: 23.976 fps
INFO: [yuvscaler] Scaling ratio for width is 1 to 1
INFO: [yuvscaler] and is 1 to 1 for height
INFO: [yuvscaler] Specific downscaling routing number 4
INFO: [yuvscaler] output: frame size: 720x480 pixels (518400 bytes)
INFO: [yuvscaler] output: chroma: 4:2:0 JPEG/MPEG-1 (interstitial)
INFO: [yuvscaler] output: frame rate: 24000/1001 fps (~23.976024)
INFO: [yuvscaler] output: interlace: none/progressive
INFO: [yuvscaler] output: sample aspect ratio: 1:1
INFO: [mpeg2enc] Selecting DVD with dummy navigation packets output profile
INFO: [mpeg2enc] Assuming norm NTSC
INFO: [mpeg2enc] Encoding MPEG-2 video to /Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.m2v
INFO: [mpeg2enc] Horizontal size: 720 pel
INFO: [mpeg2enc] Vertical size: 480 pel
INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
INFO: [mpeg2enc] Frame rate code: 1 = 24000.0/1001.0 (NTSC 3:2 pulldown converted FILM)
INFO: [mpeg2enc] Bitrate: 4000 KBit/s
INFO: [mpeg2enc] Quality factor: 3 (Quantisation = 3) (1=best, 31=worst)
INFO: [mpeg2enc] Field order for input: none/progressive
INFO: [mpeg2enc] New Sequence every 9999 Mbytes
INFO: [mpeg2enc] Assuming non-video stream of 0 Kbps
INFO: [mpeg2enc] Search radius: 16
INFO: [mpeg2enc] DualPrime: no
INFO: [mpeg2enc] Using one-pass rate control
INFO: [mpeg2enc] GOP SIZE RANGE 7 TO 15
INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
INFO: [mpeg2enc] Progressive format frames = 1
INFO: [mpeg2enc] Using default unmodified quantization matrices
INFO: [mpeg2enc] SETTING AltiVec for QUANTIZER!
INFO: [mpeg2enc] PAR = 1
INFO: [mpeg2enc] Creating worker thread 0
INFO: [mpeg2enc] Worker: getting
INFO: [mpeg2enc] NEW GOP INIT length 15
INFO: [mpeg2enc] Working: stripe 0/1 1
INFO: [mpeg2enc] Worker: stripe 0 done
INFO: [mpeg2enc] Worker: getting
INFO: [mpeg2enc] Enc1 0 0( 0) I q=3.00 [100% Intra]
INFO: [mpeg2enc] Working: stripe 0/1 1
INFO: [mpeg2enc] Worker: stripe 0 done
INFO: [mpeg2enc] Worker: getting
INFO: [mpeg2enc] Enc1 1 1( 1) P q=3.00 [3% Intra]
INFO: [mpeg2enc] Working: stripe 0/1 1
INFO: [mpeg2enc] Worker: stripe 0 done
INFO: [mpeg2enc] Worker: getting
...
INFO: [mpeg2enc] Enc1 4454 4454( 6) P q=3.00 [0% Intra]
INFO: [yuvscaler] End of stream!
INFO: [yuvscaler] Normal exit: end of stream with frame number 4457!
INFO: [mpeg2enc] Working: stripe 0/1 1
INFO: [mpeg2enc] Worker: stripe 0 done
INFO: [mpeg2enc] Worker: getting
INFO: [mpeg2enc] Enc1 4455 4455( 7) P q=3.00 [0% Intra]
INFO: [mpeg2enc] Signaling last frame = 4456
INFO: [mpeg2enc] Working: stripe 0/1 1
INFO: [mpeg2enc] Worker: stripe 0 done
INFO: [mpeg2enc] Worker: getting
INFO: [mpeg2enc] Enc1 4456 4456( 8) P q=3.00 [0% Intra]
INFO: [mpeg2enc] Sequence end inserted
INFO: [mpeg2enc] Guesstimated final muxed size = 28349318
INFO: [mpeg2enc] SHUTDOWN worker
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal 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-pthreads --enable-x264
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Apr 15 2006 08:41:02, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
Input #0, wav, from '/Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.wav':
Duration: 00:03:05.8, start: 0.000000, bitrate: 1411 kb/s
Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Output #0, ac3, to '/Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.ac3':
Stream #0.0: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 91kB time=1.7 bitrate= 448.0kbits/s
size= 159kB time=2.9 bitrate= 448.0kbits/s
size= 226kB time=4.1 bitrate= 448.0kbits/s
size= 301kB time=5.5 bitrate= 448.0kbits/s
size= 382kB time=7.0 bitrate= 448.0kbits/s
size= 466kB time=8.5 bitrate= 448.0kbits/s
size= 530kB time=9.7 bitrate= 448.0kbits/s
size= 602kB time=11.0 bitrate= 448.0kbits/s
size= 672kB time=12.3 bitrate= 448.0kbits/s
size= 747kB time=13.7 bitrate= 448.0kbits/s
size= 836kB time=15.3 bitrate= 448.0kbits/s
size= 912kB time=16.7 bitrate= 448.0kbits/s
size= 990kB time=18.1 bitrate= 448.0kbits/s
size= 1087kB time=19.9 bitrate= 448.0kbits/s
size= 1166kB time=21.3 bitrate= 448.0kbits/s
size= 1246kB time=22.8 bitrate= 448.0kbits/s
size= 1332kB time=24.4 bitrate= 448.0kbits/s
size= 1412kB time=25.8 bitrate= 448.0kbits/s
size= 1491kB time=27.3 bitrate= 448.0kbits/s
size= 1566kB time=28.6 bitrate= 448.0kbits/s
size= 1650kB time=30.2 bitrate= 448.0kbits/s
size= 1727kB time=31.6 bitrate= 448.0kbits/s
size= 1813kB time=33.2 bitrate= 448.0kbits/s
size= 1899kB time=34.7 bitrate= 448.0kbits/s
size= 1979kB time=36.2 bitrate= 448.0kbits/s
size= 2054kB time=37.6 bitrate= 448.0kbits/s
size= 2138kB time=39.1 bitrate= 448.0kbits/s
size= 2202kB time=40.3 bitrate= 448.0kbits/s
size= 2278kB time=41.7 bitrate= 448.0kbits/s
size= 2356kB time=43.1 bitrate= 448.0kbits/s
size= 2438kB time=44.6 bitrate= 448.0kbits/s
size= 2529kB time=46.2 bitrate= 448.0kbits/s
size= 2622kB time=47.9 bitrate= 448.0kbits/s
size= 2707kB time=49.5 bitrate= 448.0kbits/s
size= 2786kB time=50.9 bitrate= 448.0kbits/s
size= 2863kB time=52.4 bitrate= 448.0kbits/s
size= 2945kB time=53.9 bitrate= 448.0kbits/s
size= 3020kB time=55.2 bitrate= 448.0kbits/s
size= 3108kB time=56.8 bitrate= 448.0kbits/s
size= 3190kB time=58.3 bitrate= 448.0kbits/s
size= 3267kB time=59.7 bitrate= 448.0kbits/s
size= 3355kB time=61.3 bitrate= 448.0kbits/s
size= 3440kB time=62.9 bitrate= 448.0kbits/s
size= 3512kB time=64.2 bitrate= 448.0kbits/s
size= 3560kB time=65.1 bitrate= 448.0kbits/s
size= 3617kB time=66.1 bitrate= 448.0kbits/s
size= 3678kB time=67.3 bitrate= 448.0kbits/s
size= 3752kB time=68.6 bitrate= 448.0kbits/s
size= 3822kB time=69.9 bitrate= 448.0kbits/s
size= 3906kB time=71.4 bitrate= 448.0kbits/s
size= 3983kB time=72.8 bitrate= 448.0kbits/s
size= 4067kB time=74.4 bitrate= 448.0kbits/s
size= 4098kB time=74.9 bitrate= 448.0kbits/s
size= 4162kB time=76.1 bitrate= 448.0kbits/s
size= 4219kB time=77.2 bitrate= 448.0kbits/s
size= 4289kB time=78.4 bitrate= 448.0kbits/s
size= 4331kB time=79.2 bitrate= 448.0kbits/s
size= 4394kB time=80.4 bitrate= 448.0kbits/s
size= 4470kB time=81.7 bitrate= 448.0kbits/s
size= 4529kB time=82.8 bitrate= 448.0kbits/s
size= 4571kB time=83.6 bitrate= 448.0kbits/s
size= 4644kB time=84.9 bitrate= 448.0kbits/s
size= 4702kB time=86.0 bitrate= 448.0kbits/s
size= 4767kB time=87.2 bitrate= 448.0kbits/s
size= 4839kB time=88.5 bitrate= 448.0kbits/s
size= 4896kB time=89.5 bitrate= 448.0kbits/s
size= 4958kB time=90.7 bitrate= 448.0kbits/s
size= 5012kB time=91.6 bitrate= 448.0kbits/s
size= 5070kB time=92.7 bitrate= 448.0kbits/s
size= 5145kB time=94.1 bitrate= 448.0kbits/s
size= 5203kB time=95.1 bitrate= 448.0kbits/s
size= 5280kB time=96.5 bitrate= 448.0kbits/s
size= 5362kB time=98.0 bitrate= 448.0kbits/s
size= 5432kB time=99.3 bitrate= 448.0kbits/s
size= 5509kB time=100.7 bitrate= 448.0kbits/s
size= 5582kB time=102.1 bitrate= 448.0kbits/s
size= 5658kB time=103.5 bitrate= 448.0kbits/s
size= 5784kB time=105.8 bitrate= 448.0kbits/s
size= 5934kB time=108.5 bitrate= 448.0kbits/s
size= 6036kB time=110.4 bitrate= 448.0kbits/s
size= 6170kB time=112.8 bitrate= 448.0kbits/s
size= 6286kB time=114.9 bitrate= 448.0kbits/s
size= 6444kB time=117.8 bitrate= 448.0kbits/s
size= 6542kB time=119.6 bitrate= 448.0kbits/s
size= 6680kB time=122.1 bitrate= 448.0kbits/s
size= 6808kB time=124.5 bitrate= 448.0kbits/s
size= 6965kB time=127.4 bitrate= 448.0kbits/s
size= 7080kB time=129.5 bitrate= 448.0kbits/s
size= 7242kB time=132.4 bitrate= 448.0kbits/s
size= 7404kB time=135.4 bitrate= 448.0kbits/s
size= 7570kB time=138.4 bitrate= 448.0kbits/s
size= 7719kB time=141.2 bitrate= 448.0kbits/s
size= 7882kB time=144.1 bitrate= 448.0kbits/s
size= 8055kB time=147.3 bitrate= 448.0kbits/s
size= 8195kB time=149.9 bitrate= 448.0kbits/s
size= 8356kB time=152.8 bitrate= 448.0kbits/s
size= 8517kB time=155.7 bitrate= 448.0kbits/s
size= 8680kB time=158.7 bitrate= 448.0kbits/s
size= 8797kB time=160.9 bitrate= 448.0kbits/s
size= 8836kB time=161.6 bitrate= 448.0kbits/s
size= 8913kB time=163.0 bitrate= 448.0kbits/s
size= 9006kB time=164.7 bitrate= 448.0kbits/s
size= 9132kB time=167.0 bitrate= 448.0kbits/s
size= 9226kB time=168.7 bitrate= 448.0kbits/s
size= 9396kB time=171.8 bitrate= 448.0kbits/s
size= 9520kB time=174.1 bitrate= 448.0kbits/s
size= 9622kB time=175.9 bitrate= 448.0kbits/s
size= 9725kB time=177.8 bitrate= 448.0kbits/s
size= 9824kB time=179.6 bitrate= 448.0kbits/s
size= 9977kB time=182.4 bitrate= 448.0kbits/s
size= 10090kB time=184.5 bitrate= 448.0kbits/s
size= 10145kB time=185.5 bitrate= 448.0kbits/s
size= 10164kB time=185.9 bitrate= 448.0kbits/s
video:0kB audio:10164kB global headers:0kB muxing overhead 0.000000%
INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
INFO: [mplex] File /Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.m2v looks like an MPEG Video stream.
INFO: [mplex] File /Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.ac3 looks like an AC3 Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (/Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 4:3 display
INFO: [mplex] Picture rate : 23.976 frames/sec
INFO: [mplex] Bit rate : 4000000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: AC3 Audio stream 00 (/Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.ac3)
INFO: [mplex] AC3 frame size = 1792
INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 57344 bytes/sec (448 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 4551400
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in delay = 7507 Video delay = 7507 Audio delay = 11261
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000
INFO: [mplex] Scanned to end AU 4456
INFO: [mplex] STREAM e0 completed @ frame 4456.
INFO: [mplex] STREAM bd completed @ frame 5807.
INFO: [mplex] Multiplex completion at SCR=16712557.
INFO: [mplex] Video e0: buf= 4375 frame=005784 sector=00014072
INFO: [mplex] Audio bd: buf= 14336 frame=005807 sector=00005163
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 28349318 bytes
INFO: [mplex] Sequence headers: 298
INFO: [mplex] Sequence ends : 1
INFO: [mplex] No. Pictures : 4457
INFO: [mplex] No. Groups : 298
INFO: [mplex] No. I Frames : 298 avg. size 36670 bytes
INFO: [mplex] No. P Frames : 4159 avg. size 4188 bytes
INFO: [mplex] No. B Frames : 0 avg. size 0 bytes
INFO: [mplex] Average bit-rate : 1220000 bits/sec
INFO: [mplex] Peak bit-rate : 4341200 bits/sec
INFO: [mplex] BUFFERING min 21 Buf max 206049
INFO: [mplex] AUDIO_STATISTICS: bd
INFO: [mplex] Audio stream length 10407936 bytes.
INFO: [mplex] Frames : 5808
INFO: [mplex] BUFFERING min 35 Buf max 1603
INFO: [mplex] MUX STATUS: no under-runs detected.
mkdir: /Users/admin/Desktop/slide_show_test/test2_iView.mov.ff.mpg.DVD/: File exists
Any thoughts?
Thanks!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Your MOV file has multiple video streams. I think you need QuickTime to decode this correctly, as your file is build on features unique to QuickTime. The DVD mpeg2enc preset defaults to Decoding with QT (a setting in the Options tab), which is why that one does convert, where other presets fail.
As for the missing audio, could it be that your viewing the output file in QuickTime Player? QuickTime Player has a limitation that it will not output AC3 audio in muxed MPEG-2 files. The audio may be okay, it could be that this player just won't let you hear it. The log from mpeg2enc shows a successful audio conversion.
You could try changing the audio conversion codec to MP2 instead of AC3, which is more playback friendly to QuickTime Player.
Most of the presets that use the ffmpeg engine (notably not the mencoder presets) allow for Decoding with QuickTime, which may help converting the video.
The most foolproof would be QuickTime Pro, though.
Small files at full resolution won't happen. I would suggest H.264/AAC at reduced size with a limited bitrate. -
Great, thanks very much for the advice. I'll try that stuff asap....
Similar Threads
-
.MOV conversion to .AVI and .MOV HD quality query
By Peewitisland in forum Newbie / General discussionsReplies: 3Last Post: 31st May 2011, 11:22 -
Need Some Help with MOV Please
By LegendaryLero in forum Newbie / General discussionsReplies: 2Last Post: 20th May 2011, 00:10 -
How to convert a 1.83 GB .mov to 1000 MB .mov?
By moiz in forum Newbie / General discussionsReplies: 6Last Post: 31st Mar 2010, 15:31 -
mencoder wont convert the complete file, mov to avi|mov
By bjornieB in forum Video ConversionReplies: 2Last Post: 19th Nov 2009, 07:42 -
.mov help!!!
By leftykonashred in forum EditingReplies: 4Last Post: 25th Oct 2009, 04:31