Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th March 2007, 10:47   #1  |  Link
fsinapsi
Registered User
 
Join Date: Dec 2006
Posts: 48
AVInaptic. Free utility which analyzes multimedia files (Linux and Windows)

Hi.
I am not sure this is the right spot to announce this, so please excuse me if I'm wrong.
I'd like to present you my program AVInaptic, a free utility which reports many technical informations about multimedia files.
Where can you download the program?
Here: http://fsinapsi.altervista.org
The page is written in Italian but the program can display messages in English, too. I hope you can understand what I mean, my English is so bad...
For Windows users: all you need to download is the file avinaptic-yyyymmdd-full.zip
(note the suffix "-full")
For Linux users: dowload the file avinaptic.tar.gz and check for missing libraries.
My program is not aesthetically pleasing, but can extract many informations from AVI, MP4, MKV, and can do a "DRF analysis" of ASP and AVC streams.
Please feel free to send me suggestions and bug reports.

Last edited by fsinapsi; 25th November 2007 at 19:13.
fsinapsi is offline   Reply With Quote
Old 6th March 2007, 11:25   #2  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
here is some image from parsing an X264+AAC+MP3 into MKV









BHH

P.S mirror link http://www.64k.it/andres/data/a/avin...70306-full.zip
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8

Last edited by buzzqw; 6th March 2007 at 12:02.
buzzqw is offline   Reply With Quote
Old 6th March 2007, 12:16   #3  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
some other analysis and nifty tools


















BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 6th March 2007, 12:25   #4  |  Link
gekan
n3w d00m u53r
 
Join Date: Dec 2006
Posts: 18
Thanks. Very useful!

Eee... what does DRF mean?
gekan is offline   Reply With Quote
Old 6th March 2007, 12:30   #5  |  Link
HeadBangeR77
Registered User
 
HeadBangeR77's Avatar
 
Join Date: Dec 2006
Location: Heidelberg (DE), Kraków (PL)
Posts: 519
Looks very promising - gonna download and check today.
cheers,
HDBR77

Update:
It's working, and it's working like charm (so far at least )! I really like the amount of information it provides - as if the most important info from G-Spot, MPEG Modifier and MediaInfo (debugging mode) was put together in just one application. Many, many thanks!

Example:
Code:
[ About file ]

Name: Full-2pass-D6of9-VHQ4.avi
Date: 3/03/2007 17:24:20
Size: 185,117,426 bytes

[ Generic info ]

Play duration: 00:04:51 (291.332708 s)
Container type: AVI OpenDML
Number of streams: 1
Type of stream nr. 0: video
Audio streams: 0
JUNK: VirtualDub build 27021/release

[ About quality ]

Resolution: VERY HIGH (1024 x 432)
Width: multiple of 16 (GOOD)
Height: multiple of 16 (GOOD)
Average DRF quality: MEDIUM (3.342734)
Standard deviation quality: HIGH (0.670846)
Std. dev. weighted mean: HIGH (0.317105)

[ Video track ]

FourCC: xvid/XVID
Resolution: 1024 x 432 (*)
Frame aspect ratio: 64:27 = 2.370370 (~2.35:1)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 64:27 = 2.370370 (~2.35:1)
Framerate: 23.976023 fps
Number of frames: 6985
Stream size: 184,811,809 bytes
Bitrate: 5074.934704 kbps
Qf: 0.478486
Key frames: 188 (0; 104; 259; 379; 425; ... 6850)
Null frames: 0
Min key int: 1
Max key int: 240
Avg key int: 37.154255
Delay: 0 ms

[ About MPEG4 encoding ]

User data: DivX503b1393p
User data: XviD0046
Packed bitstream: Yes (*)
QPel: Yes (*)
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: MPEG custom (*)
Custom intra quant matrix: 
   8  10  11  12  12  13  14  15
  10  11  12  13  13  15  15  16
  11  12  12  14  15  15  16  17
  12  13  14  15  15  16  17  18
  12  13  15  15  16  17  18  19
  13  15  15  16  17  18  19  19
  14  15  16  17  18  19  19  20
  15  16  17  18  19  19  20  20
Custom inter quant matrix: 
  10  10  11  12  12  13  14  15
  10  11  12  13  14  14  15  16
  11  12  12  14  14  15  16  17
  12  13  14  14  15  16  17  18
  12  14  14  15  16  17  18  19
  13  14  15  16  17  18  19  20
  14  15  16  17  18  19  20  20
  15  16  17  18  19  20  20  20
Number of frames: 6985
Drop/delay frames: 0
Corrupted frames: 0

I-VOPs:  188 (  2.691 %) #                        
P-VOPs: 3485 ( 49.893 %) ############             
B-VOPs: 3312 ( 47.416 %) ############             
S-VOPs:    0 (  0.000 %)                          
N-VOPs:    0 (  0.000 %)                          

Max consecutive B-VOPs: 2
    1 consec: 2034 ( 76.094 %) ###################      
    2 consec:  639 ( 23.906 %) ######                   

[ DRF analysis ]

Average DRF: 3.342734
Standard deviation: 0.670846
Max DRF: 5

DRF<2:    0 (  0.000 %)                          
DRF=2:  777 ( 11.124 %) ###                      
DRF=3: 3045 ( 43.593 %) ###########              
DRF=4: 3155 ( 45.168 %) ###########              
DRF=5:    8 (  0.115 %)                          
DRF>5:    0 (  0.000 %)                          

I-VOPs average DRF: 2.792553
I-VOPs std. deviation: 0.405478
I-VOPs max DRF: 3

P-VOPs average DRF: 2.788809
P-VOPs std. deviation: 0.409557
P-VOPs max DRF: 4

B-VOPs average DRF: 3.956823
B-VOPs std. deviation: 0.214809
B-VOPs max DRF: 5

This report was created by AVInaptic (06-03-2007) on  6 mar 2007, h 13:42:56
@ buzzqw:
I really appreciate your enthusiasm for your fellow's application, but could you just copy and paste the information using code tags? Taking several snapshots of on window isn't the most efficient way of posting results.
__________________
"Only two things are infinite: the universe and human stupidity, and I'm not sure about the former."

Last edited by HeadBangeR77; 6th March 2007 at 12:52.
HeadBangeR77 is offline   Reply With Quote
Old 6th March 2007, 12:54   #6  |  Link
fsinapsi
Registered User
 
Join Date: Dec 2006
Posts: 48
Quote:
Originally Posted by gekan View Post
Eee... what does DRF mean?
DRF=Detail Removal Factor
fsinapsi is offline   Reply With Quote
Old 6th March 2007, 13:04   #7  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
@HeadBangeR77

an image is worth thousand words
i would like to show the program and varius options, i have followed the development of this software from its start and Frank had done a marvelous work !

No program so for can analyze the drf of avc stream, expecially inside mp4 or mkv container

@gekan

drf is usually a "measure of quality", the lower the better (take with a grain salt)

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 6th March 2007, 13:13   #8  |  Link
HeadBangeR77
Registered User
 
HeadBangeR77's Avatar
 
Join Date: Dec 2006
Location: Heidelberg (DE), Kraków (PL)
Posts: 519
Quote:
Originally Posted by buzzqw View Post
an image is worth thousand words
i would like to show the program and varius options, i have followed the development of this software from its start and Frank had done a marvelous work !

No program so for can analyze the drf of avc stream, expecially inside mp4 or mkv container.
True enough. For my limited uses the possibility of analysing streams inside matroska container is the greatest of virtues of this application (btw. I didn't know AVC command line options are stored in the stream! ). I don't know the guy, I haven't followed the development of this tool, but I think I'm starting to share your enthusiasm.

Quote:
drf is usually a "measure of quality", the lower the better (take with a grain salt)
Large grain of salt, since it depends on a matrix and source's characteristics. Yet if we analyse our own encodes it is very useful imo.

Example:
Average DRF quality: MEDIUM (3.342734) from my sample above is in fact a very high quality considering the matrix used.
__________________
"Only two things are infinite: the universe and human stupidity, and I'm not sure about the former."

Last edited by HeadBangeR77; 6th March 2007 at 13:15.
HeadBangeR77 is offline   Reply With Quote
Old 6th March 2007, 13:46   #9  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,462
I was just asking mean if he could include just some of this in avidemux, but this is the one to give anyone looking for raw statistics in the future. =D It even works with mkv, which is pretty rare, although per-track bitrate isn't supported, like most tools. Probably a lavf limitation. Great work, fsinapsi.

Minor design issue, the histograms are sized by dividing by the total number of frames, not the peak, so they're always very small with lots of dead space. (Avidemux has the same problem.)

The only real issues I have are in how much of a pain GTK usability can be, but that's just puff.

It'd be possible to include the matrix in the DRF quality calculation, probably, though for all the effort you can put into having a computer tell you what your eyes are going to see, you might as well just watch ten seconds of it.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.

Last edited by foxyshadis; 6th March 2007 at 13:49.
foxyshadis is offline   Reply With Quote
Old 6th March 2007, 14:07   #10  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,075
Great work fsinapsi, thanx for posting your tool
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR is offline   Reply With Quote
Old 6th March 2007, 14:27   #11  |  Link
fsinapsi
Registered User
 
Join Date: Dec 2006
Posts: 48
Quote:
Originally Posted by foxyshadis View Post
It even works with mkv, which is pretty rare, although per-track bitrate isn't supported, like most tools.
this is a part of a report, before DRF analysis:
Code:
[ Video track ]

Codec ID: V_MS/VFW/FOURCC
Resolution: 640 x 360
Frame aspect ratio: 16:9 = 1.777777
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 16:9 = 1.777777
Framerate: 23.976000 fps

[ Audio track ]

Codec ID: A_MPEG/L3
Channels: 2
Sample rate: 48000 Hz
and this is the same part, after analysis:
Code:
[ Video track ]

Codec ID: V_MS/VFW/FOURCC
Resolution: 640 x 360
Frame aspect ratio: 16:9 = 1.777777
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 16:9 = 1.777777
Framerate: 23.976000 fps
Stream size: 180,222,645 bytes
Bitrate: 1017.877805 kbps
Qf: 0.184262

[ Audio track ]

Codec ID: A_MPEG/L3
Channels: 2
Sample rate: 48000 Hz
Stream size: 28,327,680 bytes
Bitrate: 159.991641 kbps
fsinapsi is offline   Reply With Quote
Old 6th March 2007, 15:25   #12  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,462
Ah! I see now. In that case, you might enable bitrate graph for mkv, once you have the statistics.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
foxyshadis is offline   Reply With Quote
Old 6th March 2007, 15:48   #13  |  Link
Theliel
Registered User
 
Join Date: May 2006
Posts: 162
wow, very good work!! gspot work fine with avi and mpg, but for mp4,mov... dont work fine.

i was waiting time ago for a good alayzer for mp4/mov

ty.
Theliel is offline   Reply With Quote
Old 6th March 2007, 15:56   #14  |  Link
fsinapsi
Registered User
 
Join Date: Dec 2006
Posts: 48
Quote:
Originally Posted by foxyshadis View Post
Ah! I see now. In that case, you might enable bitrate graph for mkv, once you have the statistics.
ok, I'll do it
fsinapsi is offline   Reply With Quote
Old 6th March 2007, 18:32   #15  |  Link
HeadBangeR77
Registered User
 
HeadBangeR77's Avatar
 
Join Date: Dec 2006
Location: Heidelberg (DE), Kraków (PL)
Posts: 519
Quote:
Originally Posted by foxyshadis View Post
It'd be possible to include the matrix in the DRF quality calculation, probably, though for all the effort you can put into having a computer tell you what your eyes are going to see, you might as well just watch ten seconds of it.
For XviD encodes there's a matrix present in the statistics (see my sample above) - I don't know however, how much effort would it cost to implement this for AVC.

Btw. imho values like
Standard deviation quality: HIGH (0.670846)
Std. dev. weighted mean: HIGH (0.317105)
are much more interesting for me than an average DRF /quantizer.

@ fsinapsi:
Being old-fashioned guy, who still uses old Win2k theme under WinXP and doesn't like all those graphical bells & whistles, I really love the simple, compact look of your GUI!
__________________
"Only two things are infinite: the universe and human stupidity, and I'm not sure about the former."

Last edited by HeadBangeR77; 6th March 2007 at 19:03.
HeadBangeR77 is offline   Reply With Quote
Old 6th March 2007, 19:29   #16  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,183
Nice tool....

This kind of tool is really missing especially in Linux world. I'll test it as soon as possible.


Quote:
Originally Posted by buzzqw View Post
No program so for can analyze the drf of avc stream, expecially inside mp4 or mkv container
probably because it's useless...
Kurtnoise is offline   Reply With Quote
Old 6th March 2007, 19:48   #17  |  Link
Sharro
Xvid Tribalistic Fan
 
Join Date: Oct 2001
Location: Portugal
Posts: 270


Also to HeadBangeR77 that brought to my knowledge this wonderful software!
Sharro is offline   Reply With Quote
Old 6th March 2007, 21:07   #18  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
Quote:
probably because it's useless...
are you sure ???

how many times you have seen the drf analyzer log ?
personally some thousand times...

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 8th March 2007, 00:38   #19  |  Link
elguaxo
Registered User
 
elguaxo's Avatar
 
Join Date: Jun 2006
Posts: 260
Great tool!!! And works with MKV/H264. Thanks!!!
elguaxo is offline   Reply With Quote
Old 8th March 2007, 01:19   #20  |  Link
Pure
Registered User
 
Join Date: Sep 2006
Posts: 4
Thanks, checking it out!
Pure is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.