[FFmpeg-user] Confusion between PAR and SAR

Massimo Battistel battistel at gmail.com
Wed May 22 12:36:33 CEST 2013


Hello,
maybe this has already been discussed here:

https://ffmpeg.org/trac/ffmpeg/ticket/1776

but I think there is still something wrong.
I think ffmpeg confuses PAR with SAR.
See the output below. The video is an SD 16:9, DAR is correct, but 64:45 is
the PAR.
SAR is 720/576=1.25.

ffmpeg and ffprobe show the same behaviour.

ffplay version N-50442-g4f0d4ac Copyright (c) 2003-2013 the FFmpeg
developers
  built on Mar  2 2013 15:33:19 with gcc 4.7.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass
--enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm
--enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.102 / 54. 63.102
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 41.100 /  3. 41.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg @ 0000000000601b40] max_analyze_duration 5000000 reached at 5000000
microseconds
Input #0, mpeg, from 'SPOT BANDA LARGA 3M.mpg':
  Duration: 00:02:59.32, start: 0.193189, bitrate: 6184 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR
64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s


-- 
Massimo Battistel.


More information about the ffmpeg-user mailing list