We are using FFMpeg (version SVN-r22063) command line for transcoding of video - i have run into this issue ONLY when attempting to transcode the new HD video from the iPhone 4, a video is made on the phone and then uploaded to our api which passes the video to a transcoding server. the command that is run on the transcoding server is this:
ffmpeg -i '/home/apps/kontain.com/www.kontain.com/ugc/tmp/2d598b14-e813-4788-bd98-720735246df2/2d598b14-e813-4788-bd98-720735246df2.tmp' -b 819200 -an -vcodec libx264 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -coder 0 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 5 -me_range 16 -g 10 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -s 640x360 -vfilters "rotate=90,pad=640:480:0:60" -r 25 -threads 4 -y '/home/apps/kontain.com/www.kontain.com/ugc/tmp/2d598b14-e813-4788-bd98-720735246df2//temp.2d598b14-e813-4788-bd98-720735246df2.video.mp4' 2>/tmp/transcode_output_b2qpbuiwsyotdsp5ve3tk1o5kkrex5.txt
and the resulting error is this:
Result: FFmpeg version SVN-r22063, Copyright (c) 2000-2010 the FFmpeg developers built on Mar 1 2010 04:22:44 with gcc 4.1.2 20080704 (Red Hat 4.1.2-46) configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-nonfree --enable-libfaad --enable-libfaac --enable-libvorbis --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libdc1394 --disable-ffserver --disable-ffplay --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 libavutil 50. 9. 0 / 50. 9. 0 libavcodec 52.55. 0 / 52.55. 0 libavformat 52.54. 0 / 52.54. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.17. 0 / 1.17. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 30.00 (30/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/apps/kontain.com/www.kontain.com/ugc/tmp/2d598b14-e813-4788-bd98-720735246df2/2d598b14-e813-4788-bd98-720735246df2.tmp': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt date : 2010-09-01T11:40:00-0400 date-eng : 2010-09-01T11:40:00-0400 Duration: 00:00:04.34, start: 0.000000, bitrate: 10560 kb/s Stream #0.0(und): Video: h264, yuv420p, 1280x720, 10494 kb/s, 29.97 fps, 30 tbr, 600 tbn, 1200 tbc Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16, 63 kb/s [scale @ 0xac29980]w:640 h:360 fmt:yuv420p [pad @ 0xac0efc0]w:640 h:480 x:0 y:60 color:0x00808000[yuva] [pad @ 0xac0efc0]Input area 0:60:360:700 not within the padded area 0:0:640:480 or zero-sized Error opening filters!
might anyone have a suggestion on this? if there is a better forum to ask this question, could someone let me know where to find it? thanks in advance!
- jon