News:

--

Main Menu

Error encoding video with x264

Started by Trepak, July 06, 2013, 05:44:29 PM

Previous topic - Next topic

bernd_b

There is something weird with test2.mkv:
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Original frame rate                      : 50.000 fps

Mediainfo shows it to be a 50 fps stream, but the container reports 25 fps.

I reencoded both of your files with avidemux r-8711.  I cannot see any distortion- even when I apply your settings.

But I don't understand why you are using vdpau deinterlacer, the source material looks to me already to be progressive and the reencode works for me without it.

Trepak

The problem is with this test.ts

Jan Gruuthuse used vdpau deinterlacer to resize 1440x1080 to 1280x720 (720p) only.

Test2.ts and test3.ts no problem,only test.ts

Jan Gruuthuse

When re-encoding test.ts ,source file, with avidemux: playing the saved video in VLC  you should notice some nasty flashing. Best noticed if you play original and new file alongside in 2 different VLC sessions.
Either avidemux is misreading some data in original video or something else is going on. All 3 look similar
One and two are interlaced?
QuoteWidth                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : MBAFF
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.128
Stream size                              : 32.9 MiB (91%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Three is progressive?
QuoteWidth                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : MBAFF
Bits/(Pixel*Frame)                       : 0.125
Stream size                              : 4.39 MiB (77%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

@mean, there seems to be a known intel MSDK issue with decoding MBAFF streams stumbled across this, no idea if related at all with this topic?

Jan Gruuthuse

stream: good frame


stream: bad frame (one keyboard arrow to the right press)


using x11 video display, vdpau shows less of these errors.
see the pixelation occurring in second shot. Even playing in VLC you can notice some flashing in original source file. My guess some flaws in the recorded stream, vlc and ffmpeg handle these different: perhaps dropping/not using bad parts.

Wild guessing: could also be fox hd is doing something to prevent recording and this has more effect in avidemux.

click on both images for enlarged view