Есть стрим, в котором нет некоторых частей, соответственно ffmpeg выдает такие ошибки
pts has no value This may result in incorrect timestamps in the output file.
Ffprobe:
Duration: 01:46:24.20, start: 889.898667, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 600000
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 864x480 [SAR 1:1 DAR 9:5], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 600000
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 600000
Stream #0:2: Data: scte_35
Metadata:
variant_bitrate : 600000
Program 1
Metadata:
variant_bitrate : 1000000
Stream #0:3: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 1000000
Stream #0:4: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 1000000
Stream #0:5: Data: scte_35
Metadata:
variant_bitrate : 1000000
Program 2
Metadata:
variant_bitrate : 2000000
Stream #0:6: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 2000000
Stream #0:7: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 2000000
Stream #0:8: Data: scte_35
Metadata:
variant_bitrate : 2000000
Unsupported codec with id 98305 for input stream 2
Unsupported codec with id 98305 for input stream 5
Unsupported codec with id 98305 for input stream 8
При попытке сохранить - работает только 12 минут видео.
ffmpeg -i ./28.12/test-1-r-25.mp4 -vcodec copy -an ./28.12/test-copied-ffmpeg.mp4
Можно ли как-то удалить неработающие стримы или исправить ситуацию по другому?