[FFmpeg-user] differend par / dar output made by ffmpeg compared to divx plus converter

Hans-Christian Willibald hcwilli at hcwilli.at
Wed Aug 3 20:24:12 CEST 2011


ive installed the latest Versions from divx Plus Converter
and ffmpeg on windows 7.

i tried to reproduce the output from divx plus converter because i think
its most compatible (with hardware solutions) and for pcs

ive digitized some home videos with an dvd recorder,
and renamed the .vob files in .mpg
then i converted the mpg with divx plus converter and ffmpeg.

analyzing the videos with ffmpeg,theres the output[1] [2] [4]

i am confused about the differend par / dar output made by ffmpeg,
(with the options [3])
[PAR 67:66 DAR4:3]

is the output generated by ffmpeg ok, or is there an error?

thanks in advance for answering

[1]>>>>>>>>output  for the vob, renamed in in.mpeg <<<<<<<<<<<<<<<
Input #0, mpeg, from 'in.mpg':
  Duration: 00:30:30.92, start: 0.218044, bitrate: 4691 kb/s
    Stream #0.0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 16:15 DA
R 4:3], 8860 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
[buffer @ 01C5FF80] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param:
[scale @ 02F33E20] w:720 h:576 fmt:yuv420p -> w:720 h:540 fmt:yuv420p flags:0x4

[2]>>>>>>output  for the divx, made by the divx plus converter:<<<<<<<<<
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (300
00/1) -> 25.00 (25/1)
Input #0, avi, from 'divxplusconverter.divx':
  Duration: 00:30:30.84, start: 0.000000, bitrate: 1261 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 704x536 [PAR 1:1 DAR 88:67], 25 fps, 25
tbr, 25 tbn, 30k tbc
      title           : Video
    Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
      title           : Audio

[3] >>>>>>>>>>>>ffmpeg commandline<<<<<<<<<<<<<<<

c:\ffmpeg\bin\ffmpeg -i in.mpg  -t 120 -mbd rd -flags +mv4+aic
-trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1 -aspect 4:3 -deinterlace
-vtag DIVX -f avi -vcodec mpeg4  -s 704x536  -b 996000 -acodec ac3 -ab
256000 -ar 48000 -pass 1 out.divx

[4] >>>>>>>>>>>output for the divx, made by ffmpeg<<<<<<<<<<<<

this leads to the following divx:

Input #0, avi, from 'out.divx':
    encoder         : Lavf53.6.0
  Duration: 00:02:00.00, start: 0.000000, bitrate: 1274 kb/s
    Stream #0.0: Video: mpeg4 (Simple Profile), yuv420p, 704x536 [PAR 67:66 DAR
4:3], 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s

More information about the ffmpeg-user mailing list