View Full Version : Got artefacts when encoding
colargol7
21st June 2009, 16:53
Hello
Here's a strange problem again :
When I record HD movies from TV (french DVB-T, h264, eac3), they play fine in MPC.
But when I encode them with Megui, I got artefacts all over the video :
I never had this probleme until last week, and I didn't changed anything in my settings.
I use "x264 dxva HD extra quaoity" profile, but the result is the same whatever the profile I use.
I use DGAVCDec 1.09 as frameserver, and my avs is very short :
LoadPlugin("C:\video\dgavcdec109\DGAVCDecode.dll")
AVCSource("D:\HD\Caravaggio\1.dga")
BicubicResize(1280,720)
I don't know where this problem comes from, do you have an idea of what happened?
(some friends have the same troubles)
Thx for your help!!!
As usual, a sample :
http://www.mediafire.com/?ymwmmml22tj
http://thumbnails8.imagebam.com/3972/7fdfe539716881.gif (http://www.imagebam.com/image/7fdfe539716881)
LoRd_MuldeR
21st June 2009, 16:56
1. What build of x264 do you use?
2. What decoder do you use to check the resulting H.264 stream?
3. Did you check the input AVS script for artifacts in VirtualDub or a similar app?
4. Did you check your system with Prime95 and Memtest86+ ???
poisondeathray
21st June 2009, 17:08
Known issue with interlaced h.264 and DGAVCdec (still based on older version of libavcodec) . You will see similar artifacts with h.264 DVB .ts, and AVCHD transport streams when using DGAVCdec
Workaround is to use DGNVTools, or DirectShowSource/DSS2 + CoreAVC , or Divx h.264 , or recent ffdshow build
LoRd_MuldeR
21st June 2009, 17:15
Known issue with interlaced h.264 and DGAVCdec (still based on older version of libavcodec) . You will see similar artifacts with h.264 DVB .ts, and AVCHD transport streams when using DGAVCdec
Then the artifacts must appear also when he checks the input AVS script in VirtualDub (not only in the encoded video).
Colargol7, did you check this ???
Workaround is to use DGNVTools, or DirectShowSource/DSS2 + CoreAVC , or Divx h.264 , or recent ffdshow build
What about FFVideoSource?
colargol7
21st June 2009, 17:20
Thanks for replies.
You're right that's not an encoding problem.
The result is the same in virtualdubmod
If I use DirectShowSource, the video is ok.
(I use CoreAVC or ffdshow to decode)
I don't know FFVideoSource.
Should I use FFVideoSource or DirectShowSource instead?
poisondeathray
21st June 2009, 17:23
What about FFVideoSource?
I've always had difficulties with .ts and ffvideosource() , could never get it to work properly on my end. Theoretically it should work, as libav was updated in one of the recent betas by myrsloik (it's only the older libav versions that have problems with interlaced h.264)
LoRd_MuldeR
21st June 2009, 17:26
Doesn't FFVideoSource use Haali's TS parsing code?
Should I use FFVideoSource or DirectShowSource instead?
Use what works for you. DirectShowSource needs suitable DirectShow splitters+decoders to be available on your system. Also it has some problem with frame accuracy.
FFVideoSource should work "out of the box", but has some problems itself. At least FFVideoSource uses a much newer libavcodec version than DGAVCSourece...
poisondeathray
21st June 2009, 17:30
Doesn't FFVideoSource use Haali's TS parsing code?
From what I understand from the docs, I think it does.
I could never get transport streams to work with it, even .m2ts from blu-ray.
colargol7
21st June 2009, 17:47
So I'll use DirectShowSource.
But I don't understand what have changed since last 2 weeks.
I've already encoded many interlaced movies with dgavcdec without getting artefact :confused:
There have been changes in DVB-T video tracks?
Thank you again
LoRd_MuldeR
21st June 2009, 17:49
So I'll use DirectShowSource.
But I don't understand what have changed since last 2 weeks.
I've already encoded many interlaced movies with dgavcdec without getting artefact :confused:
There have been changes in DVB-T video tracks?
Thank you again
Probably you just had luck that you didn't encounter a capture, which casues DGAVCSource to fail, until now...
colargol7
21st June 2009, 18:23
Probably you just had luck that you didn't encounter a capture, which casues DGAVCSource to fail, until now...
I've already encoded at least an hundred of clips/movies with Megui/dgavcdec/x264 and I never noticed any artefact.
The problem appeared when they removed ac3 audio track from french dvb-t HD and replaced it with e-ac3.
I don't have any explication...
LoRd_MuldeR
21st June 2009, 18:30
Probably they switched their H.264 encoder at the same time or at least modified their encoder settings.
colargol7
21st June 2009, 18:39
Probably they switched their H.264 encoder at the same time or at least modified their encoder settings.It may be the reason...
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.