找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 104|回复: 0

FFMpeg无损合并视频音频

[复制链接]

983

主题

83

回帖

5万

积分

管理员

积分
53122
发表于 2023-8-13 11:28:16 | 显示全部楼层 |阅读模式
Use -h to get full help or, even better, run 'man ffmpeg'
9 C; u2 m8 q1 h0 A; A, O! j& x2 [4 J" U
F:\VAM\Saves>ffmpeg -f concat -i 1.txt -c copy output.mp4" J1 X6 r; m, f8 a
ffmpeg version 2022-08-29-git-f99d15cca0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers( u7 o; Y3 c" Z! }8 p+ P3 v
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project); p: }9 C; u, k' b- R6 X
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint6 x8 g: {- P& Z7 a7 {
  libavutil      57. 34.100 / 57. 34.100
5 K5 i$ s# C! M2 s5 x& Q: b  libavcodec     59. 42.103 / 59. 42.103( l! l7 d' a  C8 G5 I6 f) `( F. [
  libavformat    59. 30.100 / 59. 30.100/ H5 U" ~7 P' z) I2 @
  libavdevice    59.  8.101 / 59.  8.101" A/ B+ |, ]" e: y) ?
  libavfilter     8. 46.103 /  8. 46.1031 S" y2 o! i$ r/ p
  libswscale      6.  8.104 /  6.  8.104
) q7 W, g9 Y+ V6 o4 D* n. U6 C. K  libswresample   4.  9.100 /  4.  9.100
2 Y( N( @6 t4 q# S  libpostproc    56.  7.100 / 56.  7.100; m1 T( k4 T3 Y! ~  ]( ?
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001790d3e4380] Auto-inserting h264_mp4toannexb bitstream filter
  _: m3 N* v$ k9 K0 zInput #0, concat, from '1.txt':
0 r7 }- e8 _3 c# I$ E: Z  Duration: N/A, start: 0.000000, bitrate: 11425 kb/s9 U7 }& J" [7 |5 E  X8 ~" \
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 11425 kb/s, 60 fps, 60 tbr, 15360 tbn
5 d: M7 t% l" \% P    Metadata:
8 E0 T& e# C9 F- y  q2 J: J      handler_name    : VideoHandler
- K& h. s2 I, T3 q8 U6 O# a  O$ m      vendor_id       : [0][0][0][0]2 S& S) U8 V  M7 L! M# \+ _) H7 G
Output #0, mp4, to 'output.mp4':
. ~. m+ T' d, q& Q6 [8 T  Metadata:' y4 S: L# [; [7 M" c0 m! ?
    encoder         : Lavf59.30.100  B: h0 f7 y( m/ ]3 G/ N' G4 B3 _
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 11425 kb/s, 60 fps, 60 tbr, 15360 tbn
3 r# H8 |6 r0 i    Metadata:0 d# E  i2 {) u" p
      handler_name    : VideoHandler4 E9 w, Y: m( Y( [# E
      vendor_id       : [0][0][0][0]
2 q, F4 ~7 F# N( `  z  JStream mapping:  C. _% _( i& s+ ^+ \; T
  Stream #0:0 -> #0:0 (copy)
, b  R" s) \( p4 a2 Y6 MPress [q] to stop, [?] for help
- y3 {1 q8 w) ][mov,mp4,m4a,3gp,3g2,mj2 @ 000001790d3f0600] Auto-inserting h264_mp4toannexb bitstream filter
" u4 n, l; H2 [2 o7 Tframe=10926 fps=0.0 q=-1.0 Lsize=  264293kB time=00:03:02.05 bitrate=11892.8kbits/s speed= 950x
* p+ m# v2 u8 G) J1 e  _- `video:264186kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.040647%- x; e0 s/ q% b1 ?/ \* Q

- @& n6 p$ E' X4 O" A' N) u& z( NF:\VAM\Saves>ffmpeg -i output.mp4 -i "F:\vmd_dance\KARD RTA\waw.wav" -c:v copy -c:a aac "KARD RTA.mp4"8 ]! M% i, d) K: D
ffmpeg version 2022-08-29-git-f99d15cca0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers# P3 r9 T% }# w! |' z- {* G4 I# M  c
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)) z2 n* ^3 k0 m0 P9 x
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint6 y5 _3 m9 x5 j
  libavutil      57. 34.100 / 57. 34.100
! }# ^- Q. A6 \; ]' B' y0 c  libavcodec     59. 42.103 / 59. 42.103- s  n' M+ L  X/ l7 Q( P
  libavformat    59. 30.100 / 59. 30.100
4 N# u7 U! _& i5 U6 H  q8 X  libavdevice    59.  8.101 / 59.  8.101/ ~# H, j3 M# j" u
  libavfilter     8. 46.103 /  8. 46.103( C+ a  \# |4 o1 t1 L# k; E
  libswscale      6.  8.104 /  6.  8.104$ A' O! |  N1 ?! _$ X& P8 S' T
  libswresample   4.  9.100 /  4.  9.100, @, y% S) _' ]4 D" e
  libpostproc    56.  7.100 / 56.  7.100( c4 c' m9 H# u- {( A- [
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
( ?  O  @# i9 b  Metadata:
+ s2 H4 x6 a7 |( \/ B9 `( Q    major_brand     : isom; \+ |7 @& B6 r, T' V: x
    minor_version   : 512
' G* ?  H0 J( l; w- X" D- M+ k    compatible_brands: isomiso2avc1mp41
: @, @# |* z1 F7 I) [7 p, _7 O    encoder         : Lavf59.30.100
7 }3 K* @- r  r  Duration: 00:03:02.10, start: 0.000000, bitrate: 11889 kb/s0 b7 Z& h7 B% r" p8 q/ u5 u! G
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 11884 kb/s, 60 fps, 60 tbr, 15360 tbn (default), {$ l6 z. o1 j; l# X* P
    Metadata:
$ z( N$ @2 y- p1 L# _, t      handler_name    : VideoHandler
9 T3 \3 a: r3 M0 b      vendor_id       : [0][0][0][0]
/ X' j- N. H1 RGuessed Channel Layout for Input Stream #1.0 : stereo
, e7 J+ w7 S& \6 J* d2 l/ O3 s. _& S  }Input #1, wav, from 'F:\vmd_dance\KARD RTA\waw.wav':
! O3 u# M; e# p. }, Y  Metadata:# z0 t3 v  m* Z/ [6 A% F
    encoder         : Lavf58.12.100, d5 ^  Z  U6 t7 g# h: a
  Duration: 00:03:04.25, bitrate: 1411 kb/s. E( L/ R! G5 R# P% z- o2 W
  Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
3 W4 a' `+ R  L3 q( g0 hStream mapping:
4 E1 Q3 M( ^+ Y( X- k* ]& S  Stream #0:0 -> #0:0 (copy)
% `' D& ~9 B6 e  Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
' q& c) K& F) i4 L- S7 vPress [q] to stop, [?] for help
4 d! s5 V- C  L2 F! h7 G) o  x2 UOutput #0, mp4, to 'KARD RTA.mp4':
+ E7 t0 h: w& _" V% d  Metadata:
# W8 E  Q( e5 ]+ r9 X; e; J    major_brand     : isom
- O9 r% |, R$ }    minor_version   : 512
* v8 E& e3 V) ?8 k; ~& h# D- f! R& S    compatible_brands: isomiso2avc1mp41
+ K) }3 _- ?) W) i$ N- v9 {& Q# F    encoder         : Lavf59.30.1002 l0 R) I1 u* U# t8 c* ^$ r, o
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 11884 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
. q( x1 s. s* J* l* v. w    Metadata:3 Z0 z1 w1 l6 `- H: L# Q: {
      handler_name    : VideoHandler' k. |5 S) k$ e6 {2 r
      vendor_id       : [0][0][0][0]
6 _3 j, a* G1 J/ `4 k/ w+ W( P9 A  Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s6 n! f3 e- u" C7 K
    Metadata:
% l+ q: a( o# X/ A2 q+ \( `      encoder         : Lavc59.42.103 aac
2 W" k8 d' Q, K" }frame=10926 fps=3028 q=-1.0 Lsize=  267393kB time=00:03:04.22 bitrate=11890.1kbits/s speed=51.1x, @( u; y- S, J& h/ s* m
video:264186kB audio:2939kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.100501%
" n' M' ~2 I/ X& m1 l' r0 d[aac @ 000001da1c0e5f00] Qavg: 520.148

/ U7 B0 ?" h" M; R# y! p+ Y4 Q6 q  V% {8 |0 C7 K

6 R* R: U/ C: }0 U0 j9 f; |6 d

1.txt

56 Bytes, 下载次数: 3

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|返回首页

GMT+8, 2024-12-23 21:03 , Processed in 0.090600 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表