P
P
Perzh2014-07-25 10:54:27
Video processing
Perzh, 2014-07-25 10:54:27

Why is the compression quality different (ffmpeg and x264vfw.dll)?

Hello.
There is a program that captures video from the screen. Frames are compressed by vfw-codec (you can choose dll). I installed x264vfw from here and also installed ffmpeg. I use ffmpeg to compress an already finished video (which was recorded without quality loss) and it compresses well and looks decent. And with the help of x264vfw.dll, the video is compressed on the fly already during the recording process, and the compression quality leaves much to be desired (at a larger size). Those. the situation is this: the bitrate is the same, on the fly (x264vfw) - poor quality and compression, finished video (ffmpeg.exe) - good quality and compression. Tell the fool why?
mediainfo (by x264vfw):

General
Complete name                            : x264vfw.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 4.39 MiB
Duration                                 : 12s 100ms
Overall bit rate                         : 3 041 Kbps

Video
ID                                       : 0
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Format settings, GOP                     : N=1
Codec ID                                 : H264
Duration                                 : 12s 100ms
Bit rate                                 : 3 037 Kbps
Nominal bit rate                         : 1 500 Kbps
Width                                    : 1 254 pixels
Height                                   : 864 pixels
Display aspect ratio                     : 3:2
Frame rate                               : 10.000 fps
Original frame rate                      : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.280
Stream size                              : 4.38 MiB (100%)
Writing library                          : x264 core 130 r2273kMod b3065e6
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x13 / me=umh / subme=7 / psy=1 / fade_compensate=0.00 / 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=2 / lookahead_threads=2 / sliced_threads=1 / slices=2 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=abr / mbtree=0 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

mediainfo (by ffmpeg):
General
Complete name                            : ffmpeg.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 904 KiB
Duration                                 : 15s 480ms
Overall bit rate                         : 479 Kbps
Writing application                      : Lavf55.48.101

Video
ID                                       : 0
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:4:4 [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : H264
Duration                                 : 15s 480ms
Bit rate                                 : 471 Kbps
Width                                    : 1 280 pixels
Height                                   : 919 pixels
Display aspect ratio                     : 1.393
Frame rate mode                          : Variable
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:4:4
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.016
Stream size                              : 890 KiB (98%)
Writing library                          : x264 core 142 r2431 ac76440
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / 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=4 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

UPD:
In the codec settings, the bitrate was set to 1000kb / s and 25 fps. In the media info we see what we got as a result.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan, 2014-07-25
@L3n1n

Where did you see the same bitrate?
In the first one I see
Bit rate : 3 037 Kbps
In the second one
Bit rate : 471 Kbps
The Frame rate also strongly influences.. In the first one you have fps =10. It's like very little 10 frames / sec ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question