in

How to resolve codec issues when combining video and audio files in ffmpeg?


Command-line options: -hide_banner, -nostdin, -i, C:UsersUserAppDataLocalTemp703_a.mp4, -i, C:UsersUserAppDataLocalTemp550_a.m4a, -c, copy, C:UsersUserDesktopa-1.mp4
10:28:33 PM[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029a28a0] Could not find codec parameters for stream 0 (Video: none (av01 / 0x31307661), none(tv, bt709), 2048x1152, 6 kb/s): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options
10:28:33 PMInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:UsersUserAppDataLocalTemp703_a.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6av01mp41 creation_time : 2021-09-16 11:33:58 Duration: 00:04:12.00, start: 0.000000, bitrate: 3840 kb/s Stream #0:0(und): Video: none (av01 / 0x31307661), none(tv, bt709), 2048x1152, 6 kb/s, 25 fps, 25 tbr, 12800 tbn (default) Metadata: creation_time : 2021-09-16 11:33:58 handler_name : ISO Media file produced by Google Inc.
10:28:33 PMInput #1, mov,mp4,m4a,3gp,3g2,mj2, from 'C:UsersUserAppDataLocalTemp550_a.m4a': Metadata: major_brand : dash minor_version : 0 compatible_brands:
10:28:33 PM iso6mp41 creation_time : 2021-09-25 21:21:30 Duration: 00:04:12.05, start: 0.000000, bitrate: 129 kb/s Stream #1:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 5 kb/s (default) Metadata: creation_time : 2021-09-25 21:21:30 handler_name : ISO Media file produced by Google Inc.
10:28:33 PM[mp4 @ 00000000029ed780] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
10:28:33 PM Last message repeated 1 times [mp4 @ 00000000029ed780] Could not find tag for codec none in stream #0, codec not currently supported in container Output #0, mp4, to 'C:UsersUserDesktopa-1.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6av01mp41
10:28:33 PM
10:28:33 PM encoder : Lavf57.36.100 Stream #0:0(und): Video: none (av01 / 0x31307661), none(tv, bt709), 2048x1152, q=2-31, 6 kb/s, 25 fps, 25 tbr, 12800 tbn (default) Metadata: creation_time : 2021-09-16 11:33:58 handler_name : ISO Media file produced by Google Inc.
10:28:33 PM Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 5 kb/s (default) Metadata: creation_time : 2021-09-25 21:21:30 handler_name : ISO Media file produced by Google Inc. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 **(copy) Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument**
10:28:33 PMSomething went wrong; {"cmd":"spawn","code":1}



Source: https://stackoverflow.com/questions/70538802/how-to-resolve-codec-issues-when-combining-video-and-audio-files-in-ffmpeg

a tool used to quickly generate stimuli souces of hspice format

pybind11 class method return pointer runtime failed