我有一个包含多个流的视频。一些数据和一个视频。
我需要提取视频流,更改帧速率,将其重新嵌入视频中(或将所有流合并回输出文件)
如果需要,这是现有流的列表:
我只需要将流 0 和 5(两个视频流)转换为 2 FPS。还有流 3,它是 gpmd,我需要保留一些不相关的数据格式。
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\temp\video.360':
Metadata:
major_brand : mp41
minor_version : 538120216
compatible_brands: mp41
creation_time : 2020-09-08 16:35:49
Duration: 00:00:28.13, start: 0.000000, bitrate: 66559 kb/s
Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30036 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro H.265
encoder : GoPro H.265 encoder
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro AAC
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro TCD
Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro MET
Stream #0:4(eng): Data: none (fdsc / 0x63736466), 20 kb/s (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro SOS
Stream #0:5(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30019 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro H.265
encoder : GoPro H.265 encoder
Side data:
displaymatrix: rotation of nan degrees
Stream #0:6(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, 4 channels, s32, 6144 kb/s (default)
Metadata:
creation_time : 2020-09-08 16:35:49
handler_name : GoPro AMB