Is this expected or am I doing something wrong? The last two lines from the DGI file
Code: Select all
96.62% FILM
ORDER 2
Code: Select all
96.62% FILM
ORDER 2
Code: Select all
LoadPlugin("E:\MultiMediaTools\DGDecNV\DGDecodeNV.dll")
DGSource("Stargate SG-1.S01E01.Children of the Gods (1 and 2).dgi",fieldop=1)
converttoyv12()
Shoot, I hate to hear that. So you just kept the original mpeg-2. I do use madVR too but I only preview on the PC and stream to my Blu-ray player to watch on TV. I only re-encode to save space but I have noticed some DVD sources can be a real pain.Nick007 wrote:SG-1 sadly cannot be inverse telecined to 23.976 fps without any side effects. It would require variable framerate to remove all interlacing and keep all frames. VFR (playback at 60 Hz TV frequency) isn't very suitable for fluidness, though.
Plus it has a lot of grain and encodes would need huge bitrate, so I just remuxed it and with madVR's force film mode it works good enough.
Hey, have you had a chance to look at the clip? Any insight? Thanks.neuron2 wrote:It's hard to say without seeing an unprocessed sample from the stream. Can you cut 50MB containing some frames like that and upload it somewhere for me. You can cut the VOB with DGSplit.
I could start speculating but I prefer to see the stream and go straight to the correct answer.
The usual term used is "combing".
Code: Select all
"Handbrakecli.exe" -i "Stargate SG-1.S01E01.Children of the Gods (1 and 2).mkv" -t 1 --angle 1 -o ".\output\Stargate SG-1.S01E01.Children of the Gods (1 and 2).mkv" -f mkv --detelecine -w 720 --loose-anamorphic --modulus 2 -e x264 -b 2909 -2 -T -r 24000/1001 --cfr -a 1 -E copy -6 auto -R Auto -B 0 -D 0 --gain 0 --audio-fallback ffac3 --x264-preset=veryslow --x264-profile=main --h264-level="4.1" -x open-gop:colorprim=smpte170m:transfer=smpte170m:colormatrix=smpte170m --verbose=1
Yes, I tried all sorts of settings and combinations from doing the research on this and none of the results were acceptable. I was only able to accomplish one or the other but not both, i.e., combing gone but output is too jagged or output is smooth but a lot of combing.Aleron Ives wrote:Have you tried downloading Decomb from the main site? Telecide ought to handle all of those problems.
That would be great if you have the time. Let me upload a little bigger sample that includes the start of the episode. It's the first 3+ minutes and may be around 160MB. I'll upload it later when I get home.Aleron Ives wrote:I can take a stab at it I guess if you link me to your sample, since admin hasn't been online since Saturday.
Code: Select all
LoadPlugin("...\DGDecodeNV.dll")
LoadPlugin("...\Decomb.dll")
DGSource("sg1.dgi")
AssumeBFF()
Telecide(guide=1,post=2,vthresh=45)
Decimate()
Crop(8,0,-8,-0)
Quick question: how were you able to load this script without the order parameter in Telecide without getting the error stating that you must set the order parameter? My encoding code sets the order parameter but when I removed it to mirror your script to preview it I received the error.Aleron Ives wrote:...
Here's the script I used:
Code: Select all
LoadPlugin("...\DGDecodeNV.dll") LoadPlugin("...\Decomb.dll") DGSource("sg1.dgi") AssumeBFF() Telecide(guide=1,post=2,vthresh=45) Decimate() Crop(8,0,-8,-0)
It's a necessary step for determining what vthresh to use. You simply set:AYColumbia wrote:I'll take a look at Telecide's debug to see how that works because I had not used this feature.
Code: Select all
Telecide(post=3,show=true)
I determined the field order using Don's advice in the Telecide manual: use AssumeTFF().SeparateFields() and step through a scene with motion to see if it moves smoothly or backwards and forwards. The scene where the officer walks up the ramp to the StarGate moved back and forth with TFF but only forward with BFF, so I knew BFF was correct. I'm not sure if DGIndexNV will always report the correct field order, so I wanted to be sure, as I hadn't looked at any SG-1 DVD clips before.AYColumbia wrote:BTW, I found one other issue in that I use MediaInfo to determine field order and it reports TFF, however, after looking at your scripts I noticed you use BFF. I checked the DGI file and sure enough it reports ORDER 2 (BFF). Not sure how MediaInfo determines this but it's wrong in this case.
I don't understand what you mean. AssumeTFF() and AssumeBFF() are AviSynth commands; Telecide doesn't have a field order parameter of its own. If you omit the field order, DGDecodeNV will tell Telecide what it thinks the field order is, and DGDecodeNV may or may not be correct, so it's best to check and set it yourself, AFAIK.AYColumbia wrote:how were you able to load this script without the order parameter in Telecide without getting the error stating that you must set the order parameter?
Thanks for the tutelage and documentation that have made my meager contribution possible.neuron2 wrote:Thanks for helping out, Aleron. I've been rather busy lately. It looks like you have it nailed.
I'm using 2.5.8 right now. I probably should upgrade to 2.6 but it's still in alpha right? Here's the full script (I added the hints parameter):Aleron Ives wrote:What's your full script? Are you using AviSynth 2.5 or 2.6? I'm using 2.6, which may or may not make a difference in this case.
Code: Select all
LoadPlugin("E:\MultiMediaTools\megui32\tools\avisynth_plugin\ColorMatrix.dll")
LoadPlugin("E:\MultiMediaTools\megui32\tools\avisynth_plugin\decomb.dll")
LoadPlugin("E:\MultiMediaTools\DGDecNV\DGDecodeNV.dll")
DGSource("Clip325.dgi")
AssumeBFF()
Telecide(guide=1,order=0,post=2,hints=true,vthresh=45)
Decimate()
converttoyv12()