MinimServer Forum
unexpected audio type avc1 - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: unexpected audio type avc1 (/showthread.php?tid=6564)



unexpected audio type avc1 - dhaigh - 23-03-2022 22:43

Hi Simon
Since the introduction of mp4 in Minimserver I'm getting the following log message when rescanning:

------------------------------------------
Warning: unexpected audio type 'avc1' in file Mendelssohn/Mendelssohn - The Complete String Quartets/Recording Octet.mp4 (length 296292369)
MinimServer internal error: expected offset 295929278, stream offset 300647774 in file Mendelssohn/Mendelssohn - The Complete String Quartets/Recording Octet.mp4 (length 296292369)
com.minimserver.reader.FileReader$FileReadException: expected offset 295929278, stream offset 300647774

remaining log java messages removed to get through 403 block
------------------------------------

Regards
David


RE: unexpected audio type avc1 - simoncn - 23-03-2022 23:58

Is it just one file that produces this message? If it is happening with more than one file, what is the length of the smallest file that does this?


RE: unexpected audio type avc1 - dhaigh - 24-03-2022 11:24

Simon
This is the only file which produces this message. It is a video associated with an album so I keep them together.
I have attached the full log file which hopefully helps.
Regards
David


RE: unexpected audio type avc1 - simoncn - 24-03-2022 18:47

Thanks for this log file. It is useful but unfortunately it doesn't contain enough information for me to find and fix the problem.

If possible, please upload this mp4 file to my FTP server so that I can look at the contents of the file. I will send you a PM with the server details. Many thanks for your help with this.


RE: unexpected audio type avc1 - thempel - 26-03-2022 00:44

This happens on any mp4 files encoded using H.264, a lot of youtube videos are in that format. I can send you lots of examples.
For example, https://www.youtube.com/watch?v=ddoyDzcBqd4 .
tom


RE: unexpected audio type avc1 - simoncn - 26-03-2022 10:20

Thans for sending the file. Having looked at this file and another smaller file selected randomly from YouTube, I understand why this isn't working. I am working on a fix that will enable MinimServer to read the audio portion of a file like this without also trying to read the video portion. I will post back here when a fix is available. Many thanks for your help with this.


RE: unexpected audio type avc1 - dhaigh - 26-03-2022 12:37

Thanks Simon


RE: unexpected audio type avc1 - simoncn - 29-03-2022 17:55

This problem should be fixed now in MinimServer update 215.


RE: unexpected audio type avc1 - dhaigh - 30-03-2022 21:42

Message gone. Thanks Simon