Page 1 of 1

MediaInfo 0.7 (was "x264")

Posted: 2005-10-21 15:20:20
by elman
Just found a codec MediaInfo can't recognize correctly - x264. Already posted them a note.

So now I have 3 formats, which are not improrted as they should be (x264, DivX6, WMVHD).

Posted: 2005-10-21 15:23:23
by antp
For divx 6, if it is a .avi file, it may be the fault of AMC rather than MediaInfo (depending on the settings that you have: did you disable the option "Use internal engine..." ?)

Posted: 2005-10-24 07:23:13
by elman
It is an avi file with .divx extension and I only tried internal engine for import. I'll try MediaInfo DLL and let you know.

Ok, so I checked it and it did the same thing.
- video format is detected as 'DivX 5', all divx5 movies are detected as 'DivX 5.x'
- video kbps is not detected at all
- audio is detected as 'MPEG1/2 L3', all others as 'MPEG Layer 3 (MP3)'
- audio kbps and resolution is OK
- frame rate is detected as '23.98', all others as '23,976'

header seems pretty standard

Code: Select all

FILE_SIZE                      734,469,284
CONT_BASETYPE                  AVI(.AVI)
CONT_SUBTYPE                   OpenDML (AVI v2.0), 
CONT_INTERLEAVE_TIME           42
CONT_INTERLEAVE_PRELOAD        522
CONT_INTERLEAVE_ALIGN          Split
CONT_TOTAL_BITRATE             0
CONT_BYTES_MISSING             0
CONT_AUDIO_STREAM_COUNT        1
VIDEO_CODEC_TYPE               DX50/divx
VIDEO_CODEC_NAME               DivX 5.0
VIDEO_CODEC_STATUS             Codec(s) are Installed
VIDEO_DURATION                 01:38:26
VIDEO_FRAME_COUNT              141602
VIDEO_QF                       0.206
VIDEO_SIZE_X                   640
VIDEO_SIZE_Y                   272
VIDEO_DISPLAY_SIZE_X           
VIDEO_DISPLAY_SIZE_Y           
VIDEO_ASPECT_DECIMAL           
VIDEO_ASPECT_FRAC              
VIDEO_PICS_PER_SEC             23.976
VIDEO_FRAMES_PER_SEC           23.976
VIDEO_FIELDS_PER_SEC           
VIDEO_BITRATE                  860
VIDEO_MPEG4                    MPEG-4
VIDEO_MPEG4_BVOP               B-VOP
VIDEO_MPEG4_NVOP               N-VOP
VIDEO_MPEG4_QPEL               
VIDEO_MPEG4_GMC                
VIDEO_H264                     
VIDEO_SAR                      
VIDEO_DAR                      2.353
VIDEO_MPEG2                    
VIDEO_MPEG2_I_L                
VIDEO_MPEG2_PROG               
VIDEO_MPEG2_TFF                
VIDEO_MPEG2_BFF

Re: x264

Posted: 2005-12-09 14:22:02
by Zenitram
elman wrote:So now I have 3 formats, which are not improrted as they should be (x264, DivX6, WMVHD).
x264 and WMVHD codecs will be added in next versions of MediaInfo, maybe 0.7.0.5
(Antp --> with 0.7.x versions, you can safely use MediaInfo.dll for AVIs, it is rewritten from begining for AVI parser, should be very stable)

For DivX6, I need a example there is a DivX6 codec, the only DivX 6 files I have got use DivX5 codec ("DX50"), not another one... DivX 6 is more a container than a codec (version 0.7.x recognizes this container)

Posted: 2005-12-09 14:57:17
by antp
Thanks, I forgot to check for new versions. I'll upgrade the MediaInfo DLL included with AMC ;)

Re: x264

Posted: 2005-12-09 15:08:59
by barfly
Zenitram wrote: (Antp --> with 0.7.x versions, you can safely use MediaInfo.dll for AVIs, it is rewritten from begining for AVI parser, should be very stable)
Hi,
I just tried to get the latest MediaInfo.dll from the release site and replaced it with the current one I'm using but got an error saying: MediaInfo.dll: wrong version, expected "0.5" but found "0.7.0.3"
Seems like there is a setting checking the version of mediainfo.dll. How can I change it?
Thanks

Posted: 2005-12-09 16:06:57
by antp
When the first or second digit changes, it means that the interface may have been changed. In this case, the version 0.7 breaks the compatibility so I will have to modify AMC to handle this new DLL.

Posted: 2005-12-10 09:59:17
by barfly
antp wrote:When the first or second digit changes, it means that the interface may have been changed. In this case, the version 0.7 breaks the compatibility so I will have to modify AMC to handle this new DLL.
Thanks antp.
Patiently waiting for a new release of AMC. :)
Best.

Posted: 2005-12-10 11:45:52
by antp
Here is a build of the current "under development" version 3.5.1.0 including MediaInfo 0.7.0.3:
http://www2.antp.be/antp/software/temp/amc3510b1.rar
The File -> Import window does not work at 100% since I was working on it, and the translation files may have some problems too.
Please test it and report problems ;)

Posted: 2005-12-11 11:27:43
by barfly
Great! Viva la AMC!

Posted: 2005-12-13 16:15:52
by elman
Excellent, I'll give it a try.
Thanks a lot.

As to mention DivX6, I only have DivX5 codec in DivX6 container. So if support for DivX6 container was added, that should work fine with me.

Posted: 2005-12-14 08:42:01
by elman
So I checked x264 and divx6 yesterday and here is the result:
- x264 is not recognized (codec = unknown(0))
- divx6 works just fine. Maybe before I was confused that it actually writes different data to fields, than internal import does. Like

DivX 5.x vs. DivX 5
MPEG Layer 3 (MP3) vs. MPEG1/2 L3
25 fps vs. 25.000 fps

and so on. But all codecs and bitrates are detected OK. So Antoine maybe you could transform MediaInfo results to match infos from internal engline. Mostly floating-point notation should be used from local settings. Also I noticed that if internal engine can't detect file info, it fallbacks into MediaInfo. Is that right? Because I get same results for x264 and DivX6 with both enabled and disabled internal engine.

And one more thing. When importing data via MediaInfo, field Language is deleted. When using internal engine, value is kept.

I will keep using and testing 3.5.1 version.

Elman

Posted: 2005-12-14 09:18:11
by antp
OK I will try to use the same format than before. Or at least leave that possibility using a .ini file like what is done for the internal engine.

The internal engine only imports from .avi files (maybe .divx also ?) so other extensions always use external mediainfo.

Posted: 2005-12-14 13:59:19
by elman
Okie, modifying values in .ini sounds fair.

My x264 sample has .mp4 extension, divx6 has .divx and I believe it always used MediaInfo. So probably only .avi works with internal engine.