Audio 如何在不重新编码的情况下合并视频和音频?
有两个文件:Audio 如何在不重新编码的情况下合并视频和音频?,audio,video,ffmpeg,mp4,codec,Audio,Video,Ffmpeg,Mp4,Codec,有两个文件: General Complete name : D:\TEMP\videofile.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (avc1/mp42/dash) F
General
Complete name : D:\TEMP\videofile.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (avc1/mp42/dash)
File size : 5.93 GiB
Duration : 1 h 49 min
Overall bit rate : 7 776 kb/s
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Format settings, GOP : M=4, N=50
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 h 49 min
Bit rate : 7 773 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.150
Stream size : 5.93 GiB (100%)
Title : Anvato eDASH 2.1
Codec configuration box : avcC
Text #1
ID : 1-CC1
Format : EIA-608
Muxing mode : SCTE 128 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 49 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
CaptionServiceName : CC1
Text #2
ID : 1-CC4
Format : EIA-608
Muxing mode : SCTE 128 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 49 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
CaptionServiceName : CC4
及
音频文件Mediainfo:(移动到Pastebin,因为SOF不允许在一个问题中使用“这么多代码”)
当我在中打开它们时,我可以观看视频(不过,它打开的时间相当长,最长可达40秒)。但我想将这2个文件合并为1个,我尝试使用ffmpeg:
ffmpeg.exe -i videofile.mp4 -i audiofile.mp4 -map 0:v -map 1:a -c copy -y output.mp4
它制作的视频只有33分钟长。如何在不重新编码的情况下合并这些视频和音频?共享完整日志。@Gyan确定。未加工(57MB):和压缩(3MB):