https://bugs.kde.org/show_bug.cgi?id=457701

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
      Version First|22.04.3                     |26.08.0
        Reported In|                            |

--- Comment #10 from [email protected] ---
I can reproduce this with Elisa 26.08.0 on Fedora 44,                           
   KDE Frameworks 6.29.0 and Qt 6.11.1.                                         

   The affected files contain only an AAC-LC audio stream, but use the          
   generic MP4 brand:                                                           

   major_brand=mp42                                                             
   compatible_brands=isommp42                                                   

   KFileMetaData::MimeUtils::strictMimeType() identifies them as                
   video/mp4. Elisa's FileScanner::shouldScanFile() only accepts MIME           
   types starting with "audio/", so the files are rejected with:                

   AbstractFileListing::scanOneFile invalid mime type                           

   VLC and ffmpeg can play/decode the files normally.                           

   Losslessly remuxing them fixes the problem:                                  

   ffmpeg -i input.m4a -map 0 -c copy -brand M4A output.m4a                     

   After remuxing, the MIME type is audio/x-m4a and Elisa imports and           
   plays the files correctly.                                                   

   The sample attached to this bug appears to have the same cause:              
   it contains AAC audio only, but has major_brand=isom and is detected         
   as video/mp4.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to