How mediainfo calculates "audio frame rate" ?

2 posters

Go down

How mediainfo calculates "audio frame rate" ?  Empty How mediainfo calculates "audio frame rate" ?

Post by Mohammad48 Wed Aug 23, 2017 10:43 pm

hi to all
i asked the question in the title , so how it does the calculation?

for example :

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 4 min 17 s
Bit rate                                 : 5 500 kb/s
Width                                    : 1 280 pixels
Height                                   : 544 pixels
Display aspect ratio                     : 2.35:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.329
Stream size                              : 165 MiB (77%)
Writing library                          : x264 core 120
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=5500 / ratetol=1.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 4 min 17 s
Bit rate mode                            : Constant
Bit rate                                 : 1 509 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 spf)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 46.4 MiB (21%)
Default                                  : Yes
Forced                                   : No

Mohammad48

Posts : 22
Join date : 2015-01-30

Back to top Go down

How mediainfo calculates "audio frame rate" ?  Empty Re: How mediainfo calculates "audio frame rate" ?

Post by Admin Wed Aug 23, 2017 11:03 pm

93.750 audio frames per second * 512 samples per frame = 48000 samples per second = 48 kHz sampling rate

The number of samples per frame depends on the audio format. The sampling rate is also known. From these two numbers you can calculate the audio frame rate. This value is completely unrelated to video frame rate!

Admin
Admin

Posts : 7329
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

How mediainfo calculates "audio frame rate" ?  Empty Re: How mediainfo calculates "audio frame rate" ?

Post by Mohammad48 Thu Aug 24, 2017 11:06 am

i like u, good and satisfying answer Wink
but, how do you derived 512? is it a standard for DTS audio? all DTS audio files?

Mohammad48

Posts : 22
Join date : 2015-01-30

Back to top Go down

How mediainfo calculates "audio frame rate" ?  Empty Re: How mediainfo calculates "audio frame rate" ?

Post by Admin Thu Aug 24, 2017 5:07 pm

Yes that is standard value for DTS.

Admin
Admin

Posts : 7329
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

How mediainfo calculates "audio frame rate" ?  Empty Re: How mediainfo calculates "audio frame rate" ?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum