I have a friend who has shot some Sony Nex-7 .MTS footage and needs editing.
Does anyone know what the best Avisynth source plugin to use?
I have tried the following:
Loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
but the results are not good (lots of noise in shadow area)
Any pointer will be appreciated!
+ Reply to Thread
Results 1 to 23 of 23
Greetings jagabo! His large screen plasma TV (about 60inches) seems to reproduce quite well the typical lighting of the restaurant.
It is too good for the APSC sensor & I was vy impressed with it. He used HDMI out from the Nex-7 directly into the TV.
But then when I loaded it up in avisynth, the story is totally different and am quite disappointed!
Not only the noise is more, the resolving power is not there either.
Is it the noise reduction algorithm of the TV that made it pass for a fine figure?
Thanks a lot!
It seems more likely to me that the TV is applying noise reduction and sharpening filters. In theory, all h.264 decoders should output the same. I haven't used DgAVCDecode in a very long time but I doubt it's causing the noise -- unless it's having problems decoding the video. But then you would expect very gross errors, not a little noise in dark areas. You can try the ffmpeg source plugin as an alternative (ffVideoSource() or FFmpegSource2()). Even DirectShowSource() if you have DirectShow filters installed for playing the video.
Can you upload a small sample of the video?
Love to but not sure I can upload it without my friend's consent. And also there r too many guests in the clip so model release is another issue.
All I can say is that the quality I can see in my PC is 10x worse than in his TV.
Beyond what jagabo has already said, there's also the variabilities of what happens to the clip after it is frameserved, which you don't mention at all. "AVISynth" is not an endpoint, it is a partial pipeline. What about the remainder of that pipeline?
BTW, it is just an amateur video for an Anniversary dinner. All auto and handheld. Quality set to 1080p, 30fps
So AvspMod, Virtualdub. Both of those might use a Windows rendering engine (VMR, EVR, etc) and then the driver for the card, and then you are what? - Showing it on the Monitor? or are you watching it via HDMI through to the same TV? and with the proper Range settings (0-255 vs. 16-235)?
It's like Apples vs. Oranges, until you clarify.
AvspMod and VirtualDub. My display also passed the following test:
My friend's preview was on his TV with HDMI connection directly to Nex-7. (vy good quality)
I know what u mean Scott. I will double check if I had crushed black. Thanks!
The following Avisynth script worked fine for Sony Nex-7 video:
Video = LWLibavVideoSource("00016.mts")
# Separates the interlaced images and places them in individual frames
Video = SeparateFields (Video)
# Recreates the full frame by placing the lines to the original position
Video = Bob (Video)
The DLL download info here:
You can reduce that script to:
LoadPlugin("C:\Virtualdub32\LSMASH\LSMASHSource.dll") LWLibavVideoSource("00016.mts") Bob() converttorgb32(matrix="rec601")
So that script gives a different picture than your earlier AVCSource()? Can you show some example images?
Tks for the tip about the short cut jagabo!
I think I wasn't aware of the fact that the nex-7 video I was given was interlaced and that caused a lot of problems.
I hv not compared the 2 sources again after I figured that out. No, the noise problem is still there and
the AVCsource may just give the same results. The video was about 0.5-0.8 stop under exposed because the background was quite bright.
Well it is an amateur video with full auto on shot by a non-videographer.
Just tried the AVCsource again and somehow it is not working any more... sorry I know that's not the answer u r looking for...
"The input file is not a DGA project file".
same error with the .DGA file sitting there. Not sure why I had a .DGA file.
My memory is really faulty... I have forgotten where I got the AVCsource in the first place... can't find the downloaded file...
can u pls post a download link again? tks! To be honest, I am not sure I wanna edit my friend's video any more, since it was handheld and had too much abrupt
panning... I am getting dizzy lol...
Tks jagabo for the link! It is working now... Let me do some comparisons then... Off the bat, AVCSource doesn't look that bad after bob() deinterlace.
The raw video is bad, however.
Better than Bob(): TDeint(mode=1), Yadif(mode=1), or QTGMC(). All are third part filters. QTMGC() is usually the best but is hard to set up the first time (because it relies on several other third party filters) and is the slowest. At it's default settings QTGMC() is 1/50 the speed of the other two. Try QTGMC(preset="fast") or some of the other presets for better performance.
Tks jagabo for the good info! Will give that a try...