| 1 | ffmpeg started on 2015-12-08 at 19:20:18
|
|---|
| 2 | Report written to "ffmpeg-20151208-192018.log"
|
|---|
| 3 | Command line:
|
|---|
| 4 | ffmpeg -v 9 -loglevel 99 -report -i video.mp4 -f lavfi -i "amovie=filename=audio.mp3:loop=0" -map 0:v -map 1:a -shortest -c:v copy output.mp4
|
|---|
| 5 | ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
|
|---|
| 6 | built with Apple LLVM version 7.0.0 (clang-700.1.76)
|
|---|
| 7 | configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
|
|---|
| 8 | libavutil 54. 31.100 / 54. 31.100
|
|---|
| 9 | libavcodec 56. 60.100 / 56. 60.100
|
|---|
| 10 | libavformat 56. 40.101 / 56. 40.101
|
|---|
| 11 | libavdevice 56. 4.100 / 56. 4.100
|
|---|
| 12 | libavfilter 5. 40.101 / 5. 40.101
|
|---|
| 13 | libavresample 2. 1. 0 / 2. 1. 0
|
|---|
| 14 | libswscale 3. 1.101 / 3. 1.101
|
|---|
| 15 | libswresample 1. 2.101 / 1. 2.101
|
|---|
| 16 | libpostproc 53. 3.100 / 53. 3.100
|
|---|
| 17 | Splitting the commandline.
|
|---|
| 18 | Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
|
|---|
| 19 | Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
|
|---|
| 20 | Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
|
|---|
| 21 | Reading option '-i' ... matched as input file with argument 'video.mp4'.
|
|---|
| 22 | Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
|
|---|
| 23 | Reading option '-i' ... matched as input file with argument 'amovie=filename=audio.mp3:loop=0'.
|
|---|
| 24 | Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:v'.
|
|---|
| 25 | Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1:a'.
|
|---|
| 26 | Reading option '-shortest' ... matched as option 'shortest' (finish encoding within shortest input) with argument '1'.
|
|---|
| 27 | Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
|
|---|
| 28 | Reading option 'output.mp4' ... matched as output file.
|
|---|
| 29 | Finished splitting the commandline.
|
|---|
| 30 | Parsing a group of options: global .
|
|---|
| 31 | Applying option v (set logging level) with argument 9.
|
|---|
| 32 | Applying option loglevel (set logging level) with argument 99.
|
|---|
| 33 | Applying option report (generate a report) with argument 1.
|
|---|
| 34 | Successfully parsed a group of options.
|
|---|
| 35 | Parsing a group of options: input file video.mp4.
|
|---|
| 36 | Successfully parsed a group of options.
|
|---|
| 37 | Opening an input file: video.mp4.
|
|---|
| 38 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
|
|---|
| 39 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] ISO: File Type Major Brand: isom
|
|---|
| 40 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] rfps: 24.833333 0.016704
|
|---|
| 41 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] rfps: 24.833333 0.016704
|
|---|
| 42 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] rfps: 24.916667 0.005769
|
|---|
| 43 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] rfps: 25.000000 0.013134
|
|---|
| 44 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] Before avformat_find_stream_info() pos: 27707231 bytes read:54403 seeks:1
|
|---|
| 45 | [h264 @ 0x7fd809018c00] no picture
|
|---|
| 46 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] All info found
|
|---|
| 47 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd809010600] After avformat_find_stream_info() pos: 153954 bytes read:240572 seeks:2 frames:2
|
|---|
| 48 | Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
|
|---|
| 49 | Metadata:
|
|---|
| 50 | major_brand : isom
|
|---|
| 51 | minor_version : 512
|
|---|
| 52 | compatible_brands: isomiso2avc1mp41
|
|---|
| 53 | encoder : Lavf56.40.101
|
|---|
| 54 | Duration: 00:00:30.51, start: 0.000000, bitrate: 7265 kb/s
|
|---|
| 55 | Stream #0:0(eng), 1, 1/50000: Video: h264 (Main), 3 reference frames (avc1 / 0x31637661), yuv420p(tv, left), 960x1280 [SAR 1:1 DAR 3:4], 1/50, 7082 kb/s, 24.63 fps, 24.92 tbr, 50k tbn, 50 tbc (default)
|
|---|
| 56 | Metadata:
|
|---|
| 57 | handler_name : VideoHandler
|
|---|
| 58 | Stream #0:1(eng), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
|
|---|
| 59 | Metadata:
|
|---|
| 60 | handler_name : SoundHandler
|
|---|
| 61 | Successfully opened the file.
|
|---|
| 62 | Parsing a group of options: input file amovie=filename=audio.mp3:loop=0.
|
|---|
| 63 | Applying option f (force format) with argument lavfi.
|
|---|
| 64 | Successfully parsed a group of options.
|
|---|
| 65 | Opening an input file: amovie=filename=audio.mp3:loop=0.
|
|---|
| 66 | detected 8 logical cores
|
|---|
| 67 | [Parsed_amovie_0 @ 0x7fd808d00740] Setting 'filename' to value 'audio.mp3'
|
|---|
| 68 | [Parsed_amovie_0 @ 0x7fd808d00740] Setting 'loop' to value '0'
|
|---|
| 69 | [mp3 @ 0x7fd809806e00] Format mp3 probed with size=16384 and score=51
|
|---|
| 70 | [mp3 @ 0x7fd809806e00] id3v2 ver:3 flags:00 len:8784
|
|---|
| 71 | [mp3 @ 0x7fd809806e00] Skipping 0 bytes of junk at 8794.
|
|---|
| 72 | [mp3 @ 0x7fd809806e00] Before avformat_find_stream_info() pos: 8794 bytes read:32768 seeks:0
|
|---|
| 73 | [mp3 @ 0x7fd809806e00] All info found
|
|---|
| 74 | [mp3 @ 0x7fd809806e00] Estimating duration from bitrate, this may be inaccurate
|
|---|
| 75 | [mp3 @ 0x7fd809806e00] After avformat_find_stream_info() pos: 30298 bytes read:32768 seeks:0 frames:50
|
|---|
| 76 | [Parsed_amovie_0 @ 0x7fd808d00740] seek_point:0 format_name:(null) file_name:audio.mp3 stream_index:-1
|
|---|
| 77 | [out @ 0x7fd808f002a0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_amovie_0' and the filter 'out'
|
|---|
| 78 | [AVFilterGraph @ 0x7fd808e00620] query_formats: 2 queried, 0 merged, 3 already done, 0 delayed
|
|---|
| 79 | [auto-inserted resampler 0 @ 0x7fd808f0a920] picking s16 out of 5 ref:s16p
|
|---|
| 80 | [auto-inserted resampler 0 @ 0x7fd808f0a920] [SWR @ 0x7fd80a817400] Using s16p internally between filters
|
|---|
| 81 | [auto-inserted resampler 0 @ 0x7fd808f0a920] ch:2 chl:stereo fmt:s16p r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
|
|---|
| 82 | [lavfi @ 0x7fd809806800] All info found
|
|---|
| 83 | Input #1, lavfi, from 'amovie=filename=audio.mp3:loop=0':
|
|---|
| 84 | Duration: N/A, start: 0.000000, bitrate: 1411 kb/s
|
|---|
| 85 | Stream #1:0, 1, 1/44100: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
|
|---|
| 86 | Successfully opened the file.
|
|---|
| 87 | Parsing a group of options: output file output.mp4.
|
|---|
| 88 | Applying option map (set input stream mapping) with argument 0:v.
|
|---|
| 89 | Applying option map (set input stream mapping) with argument 1:a.
|
|---|
| 90 | Applying option shortest (finish encoding within shortest input) with argument 1.
|
|---|
| 91 | Applying option c:v (codec name) with argument copy.
|
|---|
| 92 | Successfully parsed a group of options.
|
|---|
| 93 | Opening an output file: output.mp4.
|
|---|
| 94 | Successfully opened the file.
|
|---|
| 95 | [graph 0 input from stream 1:0 @ 0x7fd808e02360] Setting 'time_base' to value '1/44100'
|
|---|
| 96 | [graph 0 input from stream 1:0 @ 0x7fd808e02360] Setting 'sample_rate' to value '44100'
|
|---|
| 97 | [graph 0 input from stream 1:0 @ 0x7fd808e02360] Setting 'sample_fmt' to value 's16'
|
|---|
| 98 | [graph 0 input from stream 1:0 @ 0x7fd808e02360] Setting 'channel_layout' to value '0x3'
|
|---|
| 99 | [graph 0 input from stream 1:0 @ 0x7fd808e02360] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
|
|---|
| 100 | [audio format for output stream 0:1 @ 0x7fd808e02920] Setting 'sample_fmts' to value 's16'
|
|---|
| 101 | [audio format for output stream 0:1 @ 0x7fd808e02920] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
|
|---|
| 102 | [AVFilterGraph @ 0x7fd808c18d00] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
|
|---|
| 103 | [mp4 @ 0x7fd80a00e200] Codec for stream 0 does not use global headers but container format requires global headers
|
|---|
| 104 | Output #0, mp4, to 'output.mp4':
|
|---|
| 105 | Metadata:
|
|---|
| 106 | major_brand : isom
|
|---|
| 107 | minor_version : 512
|
|---|
| 108 | compatible_brands: isomiso2avc1mp41
|
|---|
| 109 | encoder : Lavf56.40.101
|
|---|
| 110 | Stream #0:0(eng), 0, 1/50000: Video: h264, 1 reference frame ([33][0][0][0] / 0x0021), yuv420p(left), 960x1280 (0x0) [SAR 1:1 DAR 3:4], 1/50000, q=2-31, 7082 kb/s, 24.63 fps, 24.92 tbr, 50k tbn, 50k tbc (default)
|
|---|
| 111 | Metadata:
|
|---|
| 112 | handler_name : VideoHandler
|
|---|
| 113 | Stream #0:1, 0, 1/44100: Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s
|
|---|
| 114 | Metadata:
|
|---|
| 115 | encoder : Lavc56.60.100 libvo_aacenc
|
|---|
| 116 | Stream mapping:
|
|---|
| 117 | Stream #0:0 -> #0:0 (copy)
|
|---|
| 118 | Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (libvo_aacenc))
|
|---|
| 119 | Press [q] to stop, [?] for help
|
|---|
| 120 | [Parsed_amovie_0 @ 0x7fd808d00740] Stream finished, looping.
|
|---|
| 121 | [libvo_aacenc @ 0x7fd80a00fa00] Queue input is backward in time
|
|---|
| 122 | [mp4 @ 0x7fd80a00e200] Non-monotonous DTS in output stream 0:1; previous: 678336, current: 832; changing to 678337. This may result in incorrect timestamps in the output file.
|
|---|
| 123 | [mp4 @ 0x7fd80a00e200] Non-monotonous DTS in output stream 0:1; previous: 678337, current: 1856; changing to 678338. This may result in incorrect timestamps in the output file.
|
|---|
| 124 | [mp4 @ 0x7fd80a00e200] Non-monotonous DTS in output stream 0:1; previous: 678338, current: 2880; changing to 678339. This may result in incorrect timestamps in the output file.
|
|---|
| 125 | ...
|
|---|
| 126 | [mp4 @ 0x7fd80a00e200] Non-monotonous DTS in output stream 0:1; previous: 1341343, current: 392000; changing to 1341344. This may result in incorrect timestamps in the output file.
|
|---|
| 127 | [mp4 @ 0x7fd80a00e200] Non-monotonous DTS in output stream 0:1; previous: 1341344, current: 393024; changing to 1341345. This may result in incorrect timestamps in the output file.
|
|---|
| 128 | [mp4 @ 0x7fd80a00e200] Non-monotonous DTS in output stream 0:1; previous: 1341345, current: 394048; changing to 1341346. This may result in incorrect timestamps in the output file.
|
|---|
| 129 | No more output streams to write to, finishing.
|
|---|
| 130 | [libvo_aacenc @ 0x7fd80a00fa00] Trying to remove 448 more samples than there are in the queue
|
|---|
| 131 | frame= 750 fps=3.2 q=-1.0 Lsize= 269729kB time=00:00:30.43 bitrate=72591.2kbits/s
|
|---|
| 132 | video:26331kB audio:240789kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.976499%
|
|---|
| 133 | Input file #0 (video.mp4):
|
|---|
| 134 | Input stream #0:0 (video): 750 packets read (26963148 bytes);
|
|---|
| 135 | Input stream #0:1 (audio): 1 packets read (505 bytes);
|
|---|
| 136 | Total: 751 packets (26963653 bytes) demuxed
|
|---|
| 137 | Input file #1 (amovie=filename=audio.mp3:loop=0):
|
|---|
| 138 | Input stream #1:0 (audio): 589934 packets read (2718415872 bytes); 589934 frames decoded (679603968 samples);
|
|---|
| 139 | Total: 589934 packets (2718415872 bytes) demuxed
|
|---|
| 140 | Output file #0 (output.mp4):
|
|---|
| 141 | Output stream #0:0 (video): 750 packets muxed (26963148 bytes);
|
|---|
| 142 | Output stream #0:1 (audio): 663675 frames encoded (679603200 samples); 663675 packets muxed (246568325 bytes);
|
|---|
| 143 | Total: 664425 packets (273531473 bytes) muxed
|
|---|
| 144 | 589934 frames successfully decoded, 0 decoding errors
|
|---|
| 145 | [AVIOContext @ 0x7fd808e01d40] Statistics: 60 seeks, 665004 writeouts
|
|---|
| 146 | [AVIOContext @ 0x7fd808c191a0] Statistics: 27761586 bytes read, 2 seeks
|
|---|
| 147 | [AVIOContext @ 0x7fd808d00a80] Statistics: 246159375 bytes read, 1001 seeks
|
|---|