View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006782 | MMW v4 | Codec | public | 2010-12-01 23:36 | 2011-06-05 01:46 |
Reporter | peke | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 4.0 | ||||
Target Version | 4.0 | Fixed in Version | 4.0 | ||
Summary | 0006782: Files with incorect extensions are not added to Library | ||||
Description | Some H.264/MPEG-4 AVC file Re not imported due the Error while reading File Info: These are reported by SPlayer (Shooter Player) and MPC (MediaPlayer Clasic) which play these files normally: --- Video: MPEG4 Video (H264) 960x540 29.97fps [GPAC ISO Video Handler] Audio: AAC 44100Hz stereo 150Kbps [GPAC ISO Audio Handler (eng)] Video resolution? 960 x 540 (Aspect ratio 16:9) General Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 779 MiB Duration : 36mn 53s Overall bit rate : 2 953 Kbps Encoded date : UTC 2010-11-07 08:56:36 Tagged date : UTC 2010-11-07 08:56:36 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.2 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 36mn 53s Bit rate mode : Variable Bit rate : 2 798 Kbps Maximum bit rate : 4 175 Kbps Width : 960 pixels Height : 540 pixels Display aspect ratio : 16/9 Frame rate mode : Constant Frame rate : 29.970 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.180 Stream size : 738 MiB (95%) Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Format settings, SBR : No Codec ID : 40 Duration : 36mn 53s Bit rate mode : Variable Bit rate : 150 Kbps Maximum bit rate : 170 Kbps Channel(s) : 2 channels Channel positions : L R Sampling rate : 44.1 KHz Resolution : 16 bits Stream size : 39.6 MiB (5%) Language : English --- Video: MPEG4 Video (H264) 960x540 29.97fps [MP4 Video Media Handler (eng)] Audio: AAC 48000Hz stereo 156Kbps [MP4 Sound Media Handler (eng)] Video resollution? 960 x 540 (Aspect ratio 16:9) General Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 444 MiB Duration : 20mn 58s Overall bit rate : 2 961 Kbps Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.2 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 20mn 57s Bit rate mode : Variable Bit rate : 2 800 Kbps Width : 960 pixels Height : 540 pixels Display aspect ratio : 16/9 Frame rate mode : Constant Frame rate : 29.970 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.180 Stream size : 420 MiB (95%) Language : English Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Format settings, SBR : No Codec ID : 40 Duration : 20mn 58s Bit rate mode : Variable Bit rate : 156 Kbps Maximum bit rate : 480 Kbps Channel(s) : 2 channels Channel positions : L R Sampling rate : 48.0 KHz Resolution : 16 bits Stream size : 23.5 MiB (5%) Language : English | ||||
Tags | No tags attached. | ||||
Fixed in build | 1369 | ||||
duplicate of | 0007737 | closed | michal | AAC / Video codec plugin | Files with incorect extensions are not added to Library |
related to | 0006416 | closed | jiri | MMW v4 | MP3 files that uses RIFF format structure are not playable |
related to | 0007178 | closed | michal | MMW v4 | Tagging non-MP4 file with MP4 extension destroys the file. |
|
Note: both files had .MPEG extensions so if I Change extension to .MP4 files are imported Correctly. My guess is that this is same/similar issue as 0006416 where around MP3 file user writes RIFF header. As pointed in 0006416 http://www.ventismedia.com/mantis/view.php?id=6416#c20514 MM should be able to detect right CODEC/Format according to headers and not assume correct format based on Extension. Additionally to not lose time that should be done on the end scanning with or without dialog that will notify user about nature of error and that MM will try to determine right format. |
|
The file is not MPEG1, nor MPEG2, so the extension is wrong (evidently, the file is normal MP4). I plan some "detect wrong extension" feature, which should resolve this problem I think. MM detect format using file headers, but, without right file extension, it cannot choose right format plugin for detecting this format... |
|
Exactly my point, I'm thinking that Format plugins should have small function to return RAW header or FOURCC ID so that MM can after initial scan and in error dialog ask user to try to check/detect correct file format. That way I think we will not lose on scan speed and we will get feature to fix such issues for them due the fact that trying each file against each format plugin is high risk and CPU/MEM intensive. |
|
Format plugins now returns error "-2", when the given file is not in the expected format they know. I think, only in this case should MM try to detect file type (container) by reading some data from it, the function is already in f_video plugin, the question is only the MM side, how to handle it from user's view (e.g. collect all such wrong files during scanning and show some dialog after scanning for easy renaming a rescanning?). |
|
Fixed in build 1368. If the format plugin refuses some video file, application tries to detect the right extension and uses appropriate other format plugin. |
|
Reopening. There are still problems with playback of some files with incorrect extension. Reported here: http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=57433 |
|
Fixed in build 1369. I've tried F4V, FLV, MPG and AVI renamed to MP4 and it seems ok already. |
|
User indicates there are still some problems in 1369: http://www.mediamonkey.com/forum/viewtopic.php?p=296334#p296334 |
|
Fixed in codec pack 1.11. F_aac_codec.dll was fixed, but not released. |
|
Verified 1384 and Codec Pack 1.12 |