[FFmpeg-trac] #1776(FFprobe:closed): ffprobe shows PAR as SAR

FFmpeg trac at avcodec.org
Sat Sep 29 11:35:28 CEST 2012


#1776: ffprobe shows PAR as SAR
-------------------------------------+-------------------------------------
             Reporter:  henry        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  FFprobe
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
  ffprobe,PAR,SAR                    |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by saste):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:3 henry]:
 > according to http://en.wikipedia.org/wiki/Pixel_aspect_ratio : PAR =
 DAR/SAR [[BR]]
 > so for first " Stream #0:1(eng): Video: h264 (Constrained Baseline)
 (avc1 / 0x31637661), yuv420p, 160x120 [SAR 1:1 DAR 4:3], 224 kb/s, 23.97
 fps, 23.97 tbr, 2397 tbn, 47.94 tbc"
 > ** SAR=1:1 , and PAR=(4:3)/(1:1)=4:3 **
 > for second Stream #0.1(eng): Video: h264, yuv420p, 160x120 [PAR 1:1 DAR
 4:3], 224 kb/s, 23.97 fps, 23.97 tbr, 2397 tbn, 47.94 tbc
 > ** PAR=1:1 , and SAR=DAR/PAR=(4:3)/(1:1)=4:3 **

 > though i use different version ffprobe/ffmpeg, but i get different PAR
 and SAR value , ** which value i can trust or which version i can trust ?
 **

 No, for FFmpeg:
 Sample Aspect Ratio (SAR) == Pixel Aspect Ratio (PAR) (same thing with
 different names)
 Display Aspect Ration (DAR) = SAR * w / h

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1776#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list