0
votes

I tried with the following code to read the file:

from pydub import AudioSegment
filename = "test.m4a"
audio = AudioSegment.from_file(filename)

This throwed the following error:

[mov,mp4,m4a,3gp,3g2,mj2 @ 000001a101b24980] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!

[mov,mp4,m4a,3gp,3g2,mj2 @ 000001a101b24980] moov atom not found

test.m4a: Invalid data found when processing input

Any help would be much appreciated!

1
first google answer saying us: it indicates your file has not been downloaded/uploaded properly and has turned corruptrzlvmp
second answer gives us detailsrzlvmp
The error and warnings seem to be cause by ffmpeg. See also this untrunc fixhc_dev

1 Answers

0
votes

I found the solution. The file was corrupted so I replaced it and it worked! Thank you the quick responses @rzlvmp and @hc_dev