Skip to content

Instantly share code, notes, and snippets.

@greatseth
Created March 6, 2009 15:31
Show Gist options
  • Select an option

  • Save greatseth/74943 to your computer and use it in GitHub Desktop.

Select an option

Save greatseth/74943 to your computer and use it in GitHub Desktop.
Ffmpeg Pass 1: ffmpeg -y -i /encodes/dinner_180_919.3g2 -pass 1 -vcodec libx264 -b 1500k -bt 1500k -s 604x540 -padleft 178 -padright 178 -padtop 0 -padbottom 0 -padcolor 000000 -r 15 -ar 44100 -an -threads 0 -coder 1 -flags +loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -me_method dia -subq 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 16 -refs 1 -directpred 1 -bidir_refine 0 -trellis 0 -flags2 -bpyramid-wpred-mixed_refs-dct8x8+fastpskip -f mp4 /dev/null 2>&1
Ffmpeg Pass 1: FFmpeg version SVN-r17587, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr/local --disable-vhook --enable-pthreads --enable-shared --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-nonfree --enable-libamr-nb --enable-libamr-wb
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.19. 0 / 52.19. 0
libavformat 52.30. 0 / 52.30. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Feb 25 2009 11:43:00, gcc: 4.0.1 (Apple Inc. build 5490)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/encodes/dinner_180_919.3g2':
Duration: 00:03:36.00, start: 0.000000, bitrate: 241 kb/s
Stream #0.0(eng): Audio: qcelp, 8000 Hz, mono, s16
Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 15 tbr, 500 tbn, 15 tbc
Output #0, mp4, to '/dev/null':
Stream #0.0(eng): Video: libx264, yuv420p, 960x540 [PAR 11:16 DAR 11:9], q=10-51, pass 1, 1500 kb/s, 90k tbn, 15 tbc
Stream mapping:
Stream #0.1 -> #0.0
[libx264 @ 0x1803a00]width or height not divisible by 16 (960x540), compression will suffer.
[libx264 @ 0x1803a00]using SAR=11/16
[libx264 @ 0x1803a00]using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
[libx264 @ 0x1803a00]profile Main, level 3.1
Press [q] to stop encoding
frame= 19 fps= 0 q=22.0 size= 25kB time=10000000000.00 bitrate= 0.0kbits/s
Ffmpeg Pass 1: duration: 216.0seconds
Ffmpeg Pass 1: progress: 10000%
Ffmpeg Pass 1: [libx264 @ 0x1803a00]error, non monotone timestamps 13 >= 13
av_interleaved_write_frame(): Error while opening file
Ffmpeg Pass 2: ffmpeg -y -i /encodes/dinner_180_919.3g2 -pass 2 -vcodec libx264 -ab 128k -b 1500k -bt 1500k -s 604x540 -padleft 178 -padright 178 -padtop 0 -padbottom 0 -padcolor 000000 -r 15 -ar 44100 -acodec libfaac -ac 2 -threads 0 -coder 1 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method umh -subq 8 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 16 -refs 4 -directpred 3 -trellis 1 -flags2 +bpyramid+wpred+mixed_refs+dct8x8+fastpskip -f mp4 /encodes/919/dinner_180_1500.mp4 $2 2>&1
Ffmpeg Pass 2: FFmpeg version SVN-r17587, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr/local --disable-vhook --enable-pthreads --enable-shared --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-nonfree --enable-libamr-nb --enable-libamr-wb
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.19. 0 / 52.19. 0
libavformat 52.30. 0 / 52.30. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Feb 25 2009 11:43:00, gcc: 4.0.1 (Apple Inc. build 5490)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/encodes/dinner_180_919.3g2':
Duration: 00:03:36.00, start: 0.000000, bitrate: 241 kb/s
Stream #0.0(eng): Audio: qcelp, 8000 Hz, mono, s16
Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 15 tbr, 500 tbn, 15 tbc
Output #0, mp4, to '/encodes/919/dinner_180_1500.mp4':
Stream #0.0(eng): Video: libx264, yuv420p, 960x540 [PAR 11:16 DAR 11:9], q=10-51, pass 2, 1500 kb/s, 90k tbn, 15 tbc
Stream #0.1(eng): Audio: libfaac, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
[libx264 @ 0x1803a00]width or height not divisible by 16 (960x540), compression will suffer.
[libx264 @ 0x1803a00]using SAR=11/16
[libx264 @ 0x1803a00]using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
[libx264 @ 0x1803a00]ratecontrol_init: can't open stats file
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Ffmpeg Pass 2: duration: 216.0seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment