Skip to content

Instantly share code, notes, and snippets.

@db0company
Created July 21, 2014 07:47
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 db0company/4746587f08e31c928233 to your computer and use it in GitHub Desktop.
Save db0company/4746587f08e31c928233 to your computer and use it in GitHub Desktop.
db0s-MacBook-Pro:Downloads db0$ ./ffmpeg -i "かぐや姫の物語 サウンドトラック.m4a" -ss 00:40:55 -t 00:00:59 kaguya.m4a
ffmpeg version 2.3-tessus Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 17 2014 22:19:03 with clang version 3.3 (tags/RELEASE_33/final)
configuration: --cc=/opt/local/bin/clang-mp-3.3 --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
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
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x103800600] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'かぐや姫の物語 サウンドトラック.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2013-11-19 11:19:38
encoder : refalac 1.13, Apple Lossless Encoder
Duration: 00:52:44.85, start: 0.000000, bitrate: 622 kb/s
Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 621 kb/s (default)
Metadata:
creation_time : 2013-11-19 11:19:38
Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg), 640x624, 90k tbr, 90k tbn, 90k tbc
File 'kaguya.m4a' already exists. Overwrite ? [y/N] y
[ipod @ 0x103003600] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
No pixel format specified, yuvj444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x10381fe00] MB rate (140400000) > level limit (2073600)
[libx264 @ 0x10381fe00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x10381fe00] profile High 4:4:4 Predictive, level 5.2, 4:4:4 8-bit
[libx264 @ 0x10381fe00] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, ipod, to 'kaguya.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
encoder : Lavf55.48.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj444p, 640x624, q=-1--1, 90k fps, 90k tbn, 90k tbc
Metadata:
encoder : Lavc55.69.100 libx264
Stream #0:1(und): Audio: aac (libvo_aacenc) (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s (default)
Metadata:
creation_time : 2013-11-19 11:19:38
encoder : Lavc55.69.100 libvo_aacenc
Stream mapping:
Stream #0:1 -> #0:0 (mjpeg (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (alac (native) -> aac (libvo_aacenc))
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 Lsize= 934kB time=00:00:59.01 bitrate= 129.7kbits/s
video:0kB audio:923kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.155132%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment