Advertisement
Guest User

m4aからの変換

a guest
Aug 13th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.73 KB | None | 0 0
  1.  
  2. ■ffmpegのバージョン: Zeranoeビルドの3.3.3
  3.  
  4. ■元ファイル test.m4a
  5.  
  6. ■ffmpeg -i test.m4a
  7.  
  8. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\AAC-Test\test.m4a':
  9. Metadata:
  10. major_brand : M4A
  11. minor_version : 512
  12. compatible_brands: isomiso2
  13. encoder : Lavf57.71.100
  14. Duration: 00:59:59.95, start: 0.000000, bitrate: 47 kb/s
  15. Stream #0:0(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
  16. Metadata:
  17. handler_name : SoundHandler
  18.  
  19.  
  20. ■ffmpeg -y -loglevel debug -i test.m4a -vn -c:a copy test.m4a.copy.m4a
  21.  
  22. ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  23. built with gcc 7.1.0 (GCC)
  24. configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  25. libavutil 55. 58.100 / 55. 58.100
  26. libavcodec 57. 89.100 / 57. 89.100
  27. libavformat 57. 71.100 / 57. 71.100
  28. libavdevice 57. 6.100 / 57. 6.100
  29. libavfilter 6. 82.100 / 6. 82.100
  30. libswscale 4. 6.100 / 4. 6.100
  31. libswresample 2. 7.100 / 2. 7.100
  32. libpostproc 54. 5.100 / 54. 5.100
  33. Splitting the commandline.
  34. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
  35. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
  36. Reading option '-i' ... matched as input url with argument 'D:\AAC-Test\test.m4a'.
  37. Reading option '-vn' ... matched as option 'vn' (disable video) with argument '1'.
  38. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
  39. Reading option 'D:\AAC-Test\test.m4a.copy.m4a' ... matched as output url.
  40. Finished splitting the commandline.
  41. Parsing a group of options: global .
  42. Applying option y (overwrite output files) with argument 1.
  43. Applying option loglevel (set logging level) with argument debug.
  44. Successfully parsed a group of options.
  45. Parsing a group of options: input url D:\AAC-Test\test.m4a.
  46. Successfully parsed a group of options.
  47. Opening an input file: D:\AAC-Test\test.m4a.
  48. [NULL @ 0000000002802ae0] Opening 'D:\AAC-Test\test.m4a' for reading
  49. [file @ 0000000002803ee0] Setting default whitelist 'file,crypto'
  50. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
  51. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] ISO: File Type Major Brand: M4A
  52. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] Unknown dref type 0x206c7275 size 12
  53. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] Processing st: 0, edit list 0 - media time: 0, duration: 172797600
  54. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] Before avformat_find_stream_info() pos: 21357317 bytes read:382686 seeks:1 nb_streams:1
  55. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] All info found
  56. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002802ae0] After avformat_find_stream_info() pos: 292 bytes read:415454 seeks:2 frames:1
  57. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\AAC-Test\test.m4a':
  58. Metadata:
  59. major_brand : M4A
  60. minor_version : 512
  61. compatible_brands: isomiso2
  62. encoder : Lavf57.71.100
  63. Duration: 00:59:59.95, start: 0.000000, bitrate: 47 kb/s
  64. Stream #0:0(und), 1, 1/48000: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
  65. Metadata:
  66. handler_name : SoundHandler
  67. Successfully opened the file.
  68. Parsing a group of options: output url D:\AAC-Test\test.m4a.copy.m4a.
  69. Applying option vn (disable video) with argument 1.
  70. Applying option c:a (codec name) with argument copy.
  71. Successfully parsed a group of options.
  72. Opening an output file: D:\AAC-Test\test.m4a.copy.m4a.
  73. [file @ 0000000002808040] Setting default whitelist 'file,crypto'
  74. Successfully opened the file.
  75. Output #0, ipod, to 'D:\AAC-Test\test.m4a.copy.m4a':
  76. Metadata:
  77. major_brand : M4A
  78. minor_version : 512
  79. compatible_brands: isomiso2
  80. encoder : Lavf57.71.100
  81. Stream #0:0(und), 0, 1/48000: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
  82. Metadata:
  83. handler_name : SoundHandler
  84. Stream mapping:
  85. Stream #0:0 -> #0:0 (copy)
  86. Press [q] to stop, [?] for help
  87. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  88. size= 15339kB time=00:44:51.53 bitrate= 46.7kbits/s speed=5.38e+003x
  89. No more output streams to write to, finishing.
  90. size= 20857kB time=00:59:59.90 bitrate= 47.5kbits/s speed=5.45e+003x
  91. video:0kB audio:20515kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.665921%
  92. Input file #0 (D:\AAC-Test\test.m4a):
  93. Input stream #0:0 (audio): 84367 packets read (21007359 bytes);
  94. Total: 84367 packets (21007359 bytes) demuxed
  95. Output file #0 (D:\AAC-Test\test.m4a.copy.m4a):
  96. Output stream #0:0 (audio): 84367 packets muxed (21007359 bytes);
  97. Total: 84367 packets (21007359 bytes) muxed
  98. 0 frames successfully decoded, 0 decoding errors
  99. [AVIOContext @ 0000000002808100] Statistics: 30 seeks, 84400 writeouts
  100. [AVIOContext @ 000000000280c020] Statistics: 21419742 bytes read, 2 seeks
  101.  
  102.  
  103. ■ffmpeg -i test.m4a.copy.m4a
  104.  
  105. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\AAC-Test\test.m4a.copy.m4a':
  106. Metadata:
  107. major_brand : M4A
  108. minor_version : 512
  109. compatible_brands: isomiso2
  110. encoder : Lavf57.71.100
  111. Duration: 00:59:59.95, start: 0.000000, bitrate: 47 kb/s
  112. Stream #0:0(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
  113. Metadata:
  114. handler_name : SoundHandler
  115.  
  116.  
  117. ■ffmpeg -y -loglevel debug -i test.m4a -vn -c:a copy test.m4a.copy.aac
  118.  
  119. ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  120. built with gcc 7.1.0 (GCC)
  121. configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  122. libavutil 55. 58.100 / 55. 58.100
  123. libavcodec 57. 89.100 / 57. 89.100
  124. libavformat 57. 71.100 / 57. 71.100
  125. libavdevice 57. 6.100 / 57. 6.100
  126. libavfilter 6. 82.100 / 6. 82.100
  127. libswscale 4. 6.100 / 4. 6.100
  128. libswresample 2. 7.100 / 2. 7.100
  129. libpostproc 54. 5.100 / 54. 5.100
  130. Splitting the commandline.
  131. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
  132. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
  133. Reading option '-i' ... matched as input url with argument 'D:\AAC-Test\test.m4a'.
  134. Reading option '-vn' ... matched as option 'vn' (disable video) with argument '1'.
  135. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
  136. Reading option 'D:\AAC-Test\test.m4a.copy.aac' ... matched as output url.
  137. Finished splitting the commandline.
  138. Parsing a group of options: global .
  139. Applying option y (overwrite output files) with argument 1.
  140. Applying option loglevel (set logging level) with argument debug.
  141. Successfully parsed a group of options.
  142. Parsing a group of options: input url D:\AAC-Test\test.m4a.
  143. Successfully parsed a group of options.
  144. Opening an input file: D:\AAC-Test\test.m4a.
  145. [NULL @ 00000000027e2ae0] Opening 'D:\AAC-Test\test.m4a' for reading
  146. [file @ 00000000027e3ee0] Setting default whitelist 'file,crypto'
  147. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
  148. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] ISO: File Type Major Brand: M4A
  149. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] Unknown dref type 0x206c7275 size 12
  150. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] Processing st: 0, edit list 0 - media time: 0, duration: 172797600
  151. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] Before avformat_find_stream_info() pos: 21357317 bytes read:382686 seeks:1 nb_streams:1
  152. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] All info found
  153. [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000027e2ae0] After avformat_find_stream_info() pos: 292 bytes read:415454 seeks:2 frames:1
  154. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\AAC-Test\test.m4a':
  155. Metadata:
  156. major_brand : M4A
  157. minor_version : 512
  158. compatible_brands: isomiso2
  159. encoder : Lavf57.71.100
  160. Duration: 00:59:59.95, start: 0.000000, bitrate: 47 kb/s
  161. Stream #0:0(und), 1, 1/48000: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
  162. Metadata:
  163. handler_name : SoundHandler
  164. Successfully opened the file.
  165. Parsing a group of options: output url D:\AAC-Test\test.m4a.copy.aac.
  166. Applying option vn (disable video) with argument 1.
  167. Applying option c:a (codec name) with argument copy.
  168. Successfully parsed a group of options.
  169. Opening an output file: D:\AAC-Test\test.m4a.copy.aac.
  170. [file @ 00000000027e80a0] Setting default whitelist 'file,crypto'
  171. Successfully opened the file.
  172. Output #0, adts, to 'D:\AAC-Test\test.m4a.copy.aac':
  173. Metadata:
  174. major_brand : M4A
  175. minor_version : 512
  176. compatible_brands: isomiso2
  177. encoder : Lavf57.71.100
  178. Stream #0:0(und), 0, 1/24000: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
  179. Metadata:
  180. handler_name : SoundHandler
  181. Stream mapping:
  182. Stream #0:0 -> #0:0 (copy)
  183. Press [q] to stop, [?] for help
  184. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  185. size= 17216kB time=00:48:58.28 bitrate= 48.0kbits/s speed=5.87e+003x
  186. No more output streams to write to, finishing.
  187. size= 21092kB time=00:59:59.90 bitrate= 48.0kbits/s speed=5.86e+003x
  188. video:0kB audio:20515kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.811248%
  189. Input file #0 (D:\AAC-Test\test.m4a):
  190. Input stream #0:0 (audio): 84367 packets read (21007359 bytes);
  191. Total: 84367 packets (21007359 bytes) demuxed
  192. Output file #0 (D:\AAC-Test\test.m4a.copy.aac):
  193. Output stream #0:0 (audio): 84367 packets muxed (21007359 bytes);
  194. Total: 84367 packets (21007359 bytes) muxed
  195. 0 frames successfully decoded, 0 decoding errors
  196. [AVIOContext @ 00000000027e8160] Statistics: 0 seeks, 84367 writeouts
  197. [AVIOContext @ 00000000027ec020] Statistics: 21419742 bytes read, 2 seeks
  198.  
  199.  
  200. ■ffmpeg -i test.m4a.copy.aac
  201.  
  202. [aac @ 00000000006a2800] Estimating duration from bitrate, this may be inaccurate
  203. Input #0, aac, from 'D:\AAC-Test\test.m4a.copy.aac':
  204. Duration: 00:50:31.29, bitrate: 57 kb/s
  205. Stream #0:0: Audio: aac (HE-AAC), 48000 Hz, stereo, fltp, 57 kb/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement