Open EdsionYeh opened 1 year ago
@EdsionYeh the msg you're posting as an error message seems to be a warn only, what was the output?
with
sp.copy_video = 1;
I got a bunch of such msgs and then Segmentation fault
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
[aac @ 0x5633867f8a80] nb_samples (1152) > frame_size (1024)
Segmentation fault
The output file size looks reasonable, but it is not playable, It is very likely that av_write_trailer
didn't get a chance to be called.
with
sp.copy_video = 0;
I got
[aac @ 0x561f16315600] nb_samples (1152) > frame_size (1024)
[aac @ 0x561f16315600] nb_samples (1152) > frame_size (1024)
[aac @ 0x561f16315600] nb_samples (1152) > frame_size (1024)
[mp4 @ 0x561f15f32280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 512 >= 0
LOG: Error -22 while receiving packet from decoder: Invalid argument
The output video file is only 48 bytes in size
I tried 3_transcoding.c to transcode audio.
The format of the input video file is as below.
when transcoding from mp3 to aac, I got the error msg