Skip to content

Instantly share code, notes, and snippets.

@zeayes
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeayes/44b12d42c30020574135 to your computer and use it in GitHub Desktop.
Save zeayes/44b12d42c30020574135 to your computer and use it in GitHub Desktop.
ffmpeg -loglevel debug -report -i recordUnity3D.mov -acodec libfaac -b:a 128k -vcodec libx264 -b:v 1200k -r 24 -flags +aic+mv4 -pix_fmt yuv420p -threads 0 -y output.mp4
ffmpeg started on 2014-09-13 at 23:11:04
Report written to "ffmpeg-20140913-231104.log"
ffmpeg version 2.3.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 14 2014 07:21:22 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'recordUnity3D.mov'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfaac'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128k'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '1200k'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '24'.
Reading option '-flags' ... matched as AVOption 'flags' with argument '+aic+mv4'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '0'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'output.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option report (generate a report) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file recordUnity3D.mov.
Successfully parsed a group of options.
Opening an input file: recordUnity3D.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9243018800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9243018800] ISO: File Type Major Brand: qt
rfps: 29.916667 0.006601
rfps: 29.916667 0.010607
rfps: 30.000000 0.001906
rfps: 30.083333 0.009568
rfps: 59.916667 0.012483
rfps: 60.000000 0.007623
rfps: 60.000000 0.017827
rfps: 29.970030 0.002172
rfps: 29.970030 0.013362
rfps: 59.940060 0.008686
rfps: 59.940060 0.011075
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9243018800] Before avformat_find_stream_info() pos: 3151401 bytes read:56656 seeks:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9243018800] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9243018800] After avformat_find_stream_info() pos: 48962 bytes read:122192 seeks:2 frames:49
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'recordUnity3D.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2014-09-12 08:16:31
Duration: 00:00:29.08, start: 0.000998, bitrate: 867 kb/s
Stream #0:0(und), 1, 1/600: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1136x640, 1/1200, 805 kb/s, SAR -1:1 DAR -71:40, 29.85 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata:
rotate : -0
creation_time : 2014-09-12 08:16:31
handler_name : Core Media Data Handler
encoder : H.264
Side data:
displaymatrix: rotation of 0.00 degrees
Stream #0:1(und), 48, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
Metadata:
creation_time : 2014-09-12 08:16:31
handler_name : Core Media Data Handler
Successfully opened the file.
Parsing a group of options: output file output.mp4.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument libfaac.
Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option b:v (video bitrate (please use -b:v)) with argument 1200k.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 24.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Successfully parsed a group of options.
Opening an output file: output.mp4.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Setting 'video_size' to value '1136x640'
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Setting 'time_base' to value '1/600'
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Setting 'pixel_aspect' to value '-1/1'
[buffer @ 0x7f92427002a0] Value -1.000000 for parameter 'pixel_aspect' out of range [0 - 1.79769e+308]
Last message repeated 1 times
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Setting 'frame_rate' to value '30/1'
[buffer @ 0x7f92427002a0] Value -1.000000 for parameter 'pixel_aspect' out of range [0 - 1.79769e+308]
Last message repeated 1 times
[buffer @ 0x7f92427002a0] Error setting option pixel_aspect to value -1/1.
[graph 0 input from stream 0:0 @ 0x7f92427003a0] Error applying options to the filter.
Error opening filters!
[AVIOContext @ 0x7f9242602120] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x7f9242501c20] Statistics: 122192 bytes read, 2 seeks
ffprobe recordUnity3D(已转换).mov
ffprobe version 2.3.2 Copyright (c) 2007-2014 the FFmpeg developers
built on Aug 14 2014 07:21:22 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'recordUnity3D(已转换).mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2014-09-12 09:24:23
encoder : Mac OS X v? (AVF 651.12.1, CM 1273.54, x86_64)
encoder-eng : Mac OS X v? (AVF 651.12.1, CM 1273.54, x86_64)
Duration: 00:00:29.08, start: 0.000000, bitrate: 2484 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 1136x640 [SAR 1:1 DAR 71:40], 2419 kb/s, 29.71 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata:
creation_time : 2014-09-12 09:24:23
handler_name : Core Media Data Handler
encoder : H.264
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
Metadata:
creation_time : 2014-09-12 09:24:23
handler_name : Core Media Data Handler
ffprobe recordUnity3D.mov
ffprobe version 2.3.2 Copyright (c) 2007-2014 the FFmpeg developers
built on Aug 14 2014 07:21:22 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'recordUnity3D.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2014-09-12 08:16:31
Duration: 00:00:29.08, start: 0.000998, bitrate: 867 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1136x640, 805 kb/s, SAR -1:1 DAR -71:40, 29.85 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata:
rotate : -0
creation_time : 2014-09-12 08:16:31
handler_name : Core Media Data Handler
encoder : H.264
Side data:
displaymatrix: rotation of 0.00 degrees
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
Metadata:
creation_time : 2014-09-12 08:16:31
handler_name : Core Media Data Handler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment