FFMpeg无损合并视频音频
Use -h to get full help or, even better, run 'man ffmpeg'F:\VAM\Saves>ffmpeg -f concat -i 1.txt -c copy output.mp4
ffmpeg version 2022-08-29-git-f99d15cca0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
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-chromaprint
libavutil 57. 34.100 / 57. 34.100
libavcodec 59. 42.103 / 59. 42.103
libavformat 59. 30.100 / 59. 30.100
libavdevice 59.8.101 / 59.8.101
libavfilter 8. 46.103 /8. 46.103
libswscale 6.8.104 /6.8.104
libswresample 4.9.100 /4.9.100
libpostproc 56.7.100 / 56.7.100
Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from '1.txt':
Duration: N/A, start: 0.000000, bitrate: 11425 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 , 11425 kb/s, 60 fps, 60 tbr, 15360 tbn
Metadata:
handler_name : VideoHandler
vendor_id :
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf59.30.100
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 , q=2-31, 11425 kb/s, 60 fps, 60 tbr, 15360 tbn
Metadata:
handler_name : VideoHandler
vendor_id :
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press to stop, [?] for help
Auto-inserting h264_mp4toannexb bitstream filter
frame=10926 fps=0.0 q=-1.0 Lsize=264293kB time=00:03:02.05 bitrate=11892.8kbits/s speed= 950x
video:264186kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.040647%
F:\VAM\Saves>ffmpeg -i output.mp4 -i "F:\vmd_dance\KARD RTA\waw.wav" -c:v copy -c:a aac "KARD RTA.mp4"
ffmpeg version 2022-08-29-git-f99d15cca0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
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-chromaprint
libavutil 57. 34.100 / 57. 34.100
libavcodec 59. 42.103 / 59. 42.103
libavformat 59. 30.100 / 59. 30.100
libavdevice 59.8.101 / 59.8.101
libavfilter 8. 46.103 /8. 46.103
libswscale 6.8.104 /6.8.104
libswresample 4.9.100 /4.9.100
libpostproc 56.7.100 / 56.7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf59.30.100
Duration: 00:03:02.10, start: 0.000000, bitrate: 11889 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 , 11884 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id :
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, wav, from 'F:\vmd_dance\KARD RTA\waw.wav':
Metadata:
encoder : Lavf58.12.100
Duration: 00:03:04.25, bitrate: 1411 kb/s
Stream #1:0: Audio: pcm_s16le ( / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press to stop, [?] for help
Output #0, mp4, to 'KARD RTA.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf59.30.100
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 , q=2-31, 11884 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id :
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc59.42.103 aac
frame=10926 fps=3028 q=-1.0 Lsize=267393kB time=00:03:04.22 bitrate=11890.1kbits/s speed=51.1x
video:264186kB audio:2939kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.100501%
Qavg: 520.148
页:
[1]