Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on July 20, 2015, 09:16:34 PM

Title: incomplete frames after vdpau (x264) encoding
Post by: Jan Gruuthuse on July 20, 2015, 09:16:34 PM
I'm not certain about my finding?
When using vdpau for encoding, image parts of video is missing in each frame?
Just wondering if this is related to this change:

c551b44     [Image/core] If the image is decoded by hw, make sure we clone it to ââ,¬Â¦

Download zip 12.4 MB

_____________________________________________
Avidemux v2.6.10 (c551b44)
_____________________________________________
Compiler: GCC 4.8.4
cmake: 2.8.12.2
Build Target: Linux (x86-64)
User Interface: Qt (4.8.6)
_____________________________________________
Kernel: Linux 3.13.0-57-generic (x86_64) (linux-image-3.13.0-57-generic   3.13.0-57.95)
Distribution: Linux Ubuntu 14.04.2 LTS (Trusty)

Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 32 GB ram

Desktop: Unity 7.2.5
Display Server: X Server 1.15.1
Display Driver: NVIDIA 349.16
OpenGL: 4.3.0


OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 960/PCIe/SSE2 2048MB (1227/3600MHz)
OpenGL: 4.5.0 NVIDIA 349.16


- vdpauinfo:API version: 1   NVIDIA VDPAU Driver Shared Library  349.16
- x264 0.146.2538 121396c
- x265 [info]: HEVC encoder version 1.5+1-32d72a0285e0
_____________________________________________
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: mean on July 27, 2015, 06:47:59 PM
I dont have my nvidia card at the moment, cant look into it
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: Jan Gruuthuse on July 28, 2015, 08:29:12 AM
OK, will currently not use vdpau encoding.
Please put this on your to do list, when you have access again to nvidia card, thanks.
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: Jan Gruuthuse on September 02, 2015, 05:39:13 AM
Just checked. Missed that one in my 1st report
updated:The artefacts/missing image parts even do show when on both Play and [v] Play filtered with Video Decoder VDPAU with whatever selected Video Output.
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: mean on September 02, 2015, 06:35:21 AM
To be sure i got it :
* Not using VDPAU decoding => fine
* Using VDPAU => corrupted

I just tried with pure lavcodec decoding, no problem
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: Jan Gruuthuse on September 02, 2015, 07:55:19 AM
Correct lavcodec decoding, no problem. Occurs while using VDPAU decoding:

attached resized to 50%: notice degraded colour. (and stripping not showing up due to resizing):
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: Jan Gruuthuse on September 02, 2015, 08:25:17 AM
additional info: does not happen with avc video
mpeg video somehow misinterpreted by VDPAU?
Title: Re: incomplete frames after vdpau (x264) encoding
Post by: mean on September 02, 2015, 10:47:55 AM
More like decoding interlaced content or similar