is there a workaround to get HCencoder to accept frameserve from Virtualdubmod ?
Trying to convert some interlaced Pal dvds to Ntsc, and tried Lordsmurfs guide (Virtualdubmod frameserve to Tmpgenc Plus). I only have Tmpgenc Express. Did a sample, and while it played fine, it looked poor. Thought HCenc might be an improvement over Tmpgenc Express.
I'd like to slow down the PAL (rather than keeping the same duration) to get the audio pitch back to normal (using Timewarp in Goldwave). So before trying Avisynth, wondering if I could get Virtuadubmod to work with HCenc.
+ Reply to Thread
Results 1 to 30 of 105
-
-
Donadagohvi (Cherokee for "Until we meet again")
-
Donadagohvi (Cherokee for "Until we meet again")
-
Thanks again! The good news is to works.
Bad news (slight tangent to my original post) is the HC results look similar to the Tmpgenc encode - a weird kind of bad compression - blocky but running along horizontal lines; noticeable when objects move up/down. FAVC did a perfect job of converting it (but I don't have a log of what it did), so obviously I'm not using the right filters in Virtualdubmod. The video source is interlaced PAL home recording and looks okay. Maybe I need a different deinterlace filter ? -
I couldn't tell you. I haven't ever done an interlaced pal to ntsc conversion. Hopefully someone else can chime in.
You might just try the conversion with just straight avisynth
check this link
https://forum.videohelp.com/topic90816.html#244808Donadagohvi (Cherokee for "Until we meet again") -
I've tried some other deinterlacers but the problem persists, so it must be some other issue. I don't know if Avisynth would do anything different until I figure out what filters to add.
Here's a link to a demuxed video sample if anyone wants to diagnose it. I have some other PAL videos I'll try in the meantime.
http://www.megaupload.com/?d=LZ7D3SR0 -
It's not interlaced; it's phase-shifted. Realign the fields and it's progressive again:
TFM(PP=0)#the field matcher part of TIVTC
LanczosResize(720,480)#or your favorite resizer
AssumeFPS(23.976)#or just keep it at 25fps and not have to slow the audio.
Deinterlacing it is the worst thing you can do to it. Forget frameserving out of VDub and learn how to do it right. It may actually be possible to do it in VDub by separating the fields, dropping the first field, and then weaving it back together into frames. But I don't use VDub for such things. -
I forgot to specify Lanczos3 in the "resize" filter; that improved the result so it's almost as good as the FAVC. Unfortunately my dvd player doesn't play PAL dvds, so I can only compare the original with the reencode sample on the PC.
I'll try to get Avisynth running and run that script. So Virtualdubmod isnt like a GUI for Avisynth? I only planned on doing a couple types of things (PAL conversion, and maybe logo removal) and figured it would be easier than scripting. -
Originally Posted by spiritgumm
http://www.afterdawn.com/guides/archive/avisynth_tutorial.cfm
AviSynth has good logo removal filters also. They can be tricky to set up, but the pure VDub ones aren't all that easy either. And the easy ones aren't any good. -
manono, I ran Avsedit and AvsP to help with the process. The TFM filter wasn't in my Avisynth folder, so downloaded the TIVTCv105 filter set and copied the DLL into Avisynth plugin folder. I ran the script below but the whole clip wasn't getting processed. Any idea why?
DirectShowSource("C:\VTS_01_1.demuxed.m2v")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
TFM(PP=0)
LanczosResize(720,480)
AssumeFPS(23.976)
I read that I could get the audio converted by adding "true" to "AssumeFPS" filter: "AssumeFPS(23.976, true)".
I changed the source to the original un-demuxed clip, and played in MPC. While it wasn't in sync (sample was clipped with Dvdshrink & maybe the delay isn't incorporated in the avysinth output?), the audio was appropriately slowed down. Slowing the audio is one my goals since the pitch in PAL is noticeably off.
[I suppose I could just do the Pulldown conversion method, keeping the video duration the same, demux the audio and change the pitch without changing the audio duration in Goldwave.]
Thought the "true" setting would save me a step when I eventually did the whole movie, but forgot HC doesn't process audio (I suppose another encoder would?). When I encoded this (with and without the "true" added), I got the entire video clip, unlike the demuxed clip above. Does that mean when I do the whole movie, I should use the complete muxed video?
Sample looked good in the PC, but not as good on TV when I burned it along with my VDub & FAVC conversions for comparison. What looks like a slight horizontal hiccup in the original video (about every 5 seconds) looks like a vertical hiccup now. You see horizontal lines (like interlaced) - Burr seems to jump at 5 seconds, and again at 10 seconds. So I might need another filter for that?
Wondering if there's an Avisynth/AVSedit equivalent to GSpot? I'm curious how you figured the video wasn't interlaced (Gspot, DGindex and visual inspection indicated it was interlaced). Of my other PAL movies, one is retail and shows as interlaced (an old American film); the other (which may have been retail) shows as progressive (a 1960's British film). I'd like to make certain before attempting converting them. Also wondering which situations require framerate to be 24 fps versus 23.976. -
Sorry, but I don't use DirectShowSource myself and don't recommend you use it. Get the DGMPGDec package and follow the instructions in the excellent included docs (make a D2V project file and use MPEG2Source):
LoadPlugin("C:\Path\To\DGDecode.dll")
LoadPlugin("C:\Path\To\TIVTC.dll")
MPEG2Source("C:\Path\To\Movie.d2v")
TFM(PP=0)
LanczosResize(720,480)
With PP=0 I disabled the post-processor. The encoding goes faster without it and it shouldn't be needed. However, if you cut out commercials and don't take care how you do it, or if there are cadence breaks, the result mught be some stray interlacing. If so, remove the PP=0 part of TFM()
I ran the script below but the whole clip wasn't getting processed. Any idea why?
DirectShowSource("C:\VTS_01_1.demuxed.m2v")
I process the audio separately from the video and bring them together when authoring, although it's certainly possible to handle the audio within the script. But someone else will have to help with that. You don't want your MPEG-2 encoder to handle the audio anyway, and many can't even if you wanted them to. HCEnc doesn't process audio (I don't think - never tried actually). In any event, Muxman requires the audio and video not be muxed.
I do the audio by first slowing it and making WAV file(s) using BeSweet and then reencoding for AC3. I believe the more 'modern' way is to use eac3to and its GUI to do the whole thing at one crack.
So I might need another filter for that?
I'm curious how you figured the video wasn't interlaced
Also wondering which situations require framerate to be 24 fps versus 23.976. -
Only thing I've been processing is the demuxed (M2V) 30 second clip. The "VTS" source was the original AV of that clip, used when I checked the audio filter. There are no commercials so I won't be editing (tho I'd like to get rid of the omnipresent watermark, and some brief onscreen text at the start of the movie). I usually mux with Muxman (but for clip testing, I use TDA since I'll get IFO at the same time).
This was a more general question, and it sounds like since I'm converting Pal to Ntsc, I should preferable use 23.796 (not 24 fps), correct?
Originally I didn't have the DGdecode. dll loaded, so I got an error when scripting with D2V. I followed the AvsP demo of "inserting source" video directly, and it utilized Directshow. Since that script worked, I went with it.
DGdecode.dll is now loaded so script works with D2V file, and ran clip with TFM(). Unexpected good news, the video plays a little smoother than previous tests. Also the spots at the horizontal hiccups/bumps don't look interlaced which made image seemingly jump up. Still would be nice to eliminate bumps altogether. Would "bobbing" those spots would be helpful to determine what filter to use?
I use Belight for wave<>ac3. However, I see (after converting a longer clip from my other progressive PAL movie) that slowed-down audio (in Goldwave) to the new video length, and syncing near the start of the clip, won't guarantee it's synced thruout. That clip kept getting more unsynced over time. Hopefully there are some methods/tips to process audio so it's more easily synced? For example (and I'm just brainstorming), if it's possible to output audio-only in VDUBmod using AssumeFPS(23.976, true), would that audio be overall synced (after the initial correction)?
Current script:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
MPEG2Source("C:\New Folder (7)\VTS_01_1.d2v", cpu=0)
TFM()
LanczosResize(720,480)
AssumeFPS(23.976) -
Originally Posted by spiritgumm
I should preferable use 23.796 (not 24 fps), correct?
Still would be nice to eliminate bumps altogether. Would "bobbing" those spots would be helpful to determine what filter to use?
Hopefully there are some methods/tips to process audio so it's more easily synced?
There are no commercials so I won't be editing (tho I'd like to get rid of the omnipresent watermark, and some brief onscreen text at the start of the movie) -
My mistake, dunno why I associate Muxman with outputting plain vob without ifo/bups; maybe because most of my other wares do so. I mux the big, finished files in Muxman. I mux short test clips in TDA because I can preview them, and combine with other clips to compare after burning.
I should mention the watermark is semitransparent. It's in the top left thru entire movie. Would you need another clip (as you described, with dark background or scene change), or is the current uploaded clip enough to work from? Or I can experiment with Vdubmod's included logo remover (or another one written for it). I only just started using Vdubmod and don't know much about it. I stopped using it when you and Freebird recommended Avisynth.
The text at the beginning of the movie is over the opening credits, so it too needs to be "removed" rather than edited out.
Inre audio, the Pal>Ntsc guide (Vdubmod, Goldwave, Tmpgenc) I used only indicated entering the new duration in Goldwave. Maybe it's suppose to get synced when Tmpgenc encodes the avi, and since I was using HC & Muxman instead, it didn't sync correctly.
Followed your suggestion to change framerate in BeSweet (first tried BeLight but duration oddly stayed same). Duration increased, but volume decreased. Did a couple runs, tweaking gain and boost settings but can't keep the volume same. Any recommendations to do that? Does a PC only use one ac3 decoder, and I need to configure that instead?
In the original uploaded clip, two examples of the horizontal bump are at frames 125-126-127, and 513-514-515 (frame numbers according to Vdubmod viewer):
1) Bottom half of frame shifts slightly left, 2) then top half shifts left, 3) then the whole frame shifts right and back to "normal." -
Originally Posted by spiritgumm
https://forum.videohelp.com/topic333648.html
It can work with translucent logos, but I think that LogoTools is better with them, and for that one you need as black a background behind the logo as possible. Even one frame is enough.
The text at the beginning of the movie is over the opening credits, so it too needs to be "removed" rather than edited out.
Did a couple runs, tweaking gain and boost settings but can't keep the volume same. Any recommendations to do that?
In the original uploaded clip, two examples of the horizontal bump are at frames 125-126-127, and 513-514-515 (frame numbers according to Vdubmod viewer):
1) Bottom half of frame shifts slightly left, 2) then top half shifts left, 3) then the whole frame shifts right and back to "normal." -
I checked the frames you mentioned. Good find. Leaving off the post-processing allows interlacing to slip through. Making it:
TFM()
fixes them. There are still slight jumps there, but you can see that the film shifts for a frame. Something happened in the capture to digital or something. I don't understand that stuff very well.
Here's an XviD of the sample using XLogo. I think I could probably do a better job of it with LogoTools, but AlanHK is really the expert with this logo remover.
xlogo.avi -
I wanted to see how well the framerate-adjusted audio would sync, so I converted one of my other PAL dvds (it's already progressive, possibly retail, so was an easier project), and the audio synced up perfectly!
Kind of shocking - expected at least some minor sync issue. I used Ac3-Ac3 to change framerate in BeSweet, but I'll try Ac3-Wave and boost volume in a wave editor.
I uploaded a 10 second clip from the beginning of the movie with watermark and onscreen text. Watermark is on a blackish background. The clip ends when the onscreen text fades out. The text is on same black background, so blurring will be fine. The sample you did looked pretty darn good.
http://www.megaupload.com/?d=HTYI1ZUI
I'll check out the logo removing instructions in the next couple days when I get a chunk of time.
Thanks a million for your help!! -
Thanks for the new sample, but I couldn't come up with anything better. Here's the script I used on the earlier AVI. The crop/resize/addborders have been changed for the NTSC DVD:
LoadPlugin("C:\Path\To\DGDecode.dll")
LoadPlugin("C:\Path\To\TIVTC.dll")
LoadPlugin("C:\Path\To\XLogo.dll")
MPEG2Source("C:\Path\To\Test.d2v")
TFM()
XLogo("LogoFinal_x_32_y_24_2.bmp", X=32, Y=24, alpha=40)
Crop(20,0,-8,-6)
LanczosResize(700,480)
Tweak(Bright=3,Cont=0.90,Coring=False)
AddBorders(10,0,10,0)
AssumeFPS(23.976)
#ConvertToYUY2()#use for CCE, not for HCEnc
logofinal_x_32_y_24_2.zip
Unzip it and stick it in the same folder as the movie files, adjust the paths at the top of the script, and everything should work right out of the box. You can get the XLogo filter and a nice doc here:
http://avisynth.org/warpenterprises/
If you were talking about removing the word 'Subtitles' from the video, I decided an overlay would be simpler than a logo remover. I added this to the bottom of the script:
A=Trim(0,54)
B=Trim(55,145)
C=Trim(146,0)
D=B.Crop(610,0,0,-444)
E=Overlay(B,D,X=484,Y=50)
A+E+C
xlogo.m2vLast edited by manono; 26th Jan 2010 at 20:20.
-
Wow, thanks for all the work you've done on this! It'll give me a big head-start for when I review the logo-removal instructions. I was actually still stuck on the audio volume problem (think I finally solved it by using AftenGUI).
Dunno if this is a temporary or permanent result of today's site update, or my server, but your BMP and M2V links aren't working for me. -
They work now. Try again.
Last edited by manono; 26th Jan 2010 at 20:20. Reason: The links were made available
-
-
yep, got them. I heard the links were offline from a plasma leak in the port nacelle.
Backtracking before I get into the logo removal, I'm hoping you can instruct (or direct) me on bobbing to determine interlace or telecine formats. I've seen a couple guides (one on Doom9 using Virtdubmod) but they didn't mention bobbing, and by their reckoning, my video appears to be interlaced rather than field-shifted. They recommended the Telecide filter (there's no TFM() filter for Virtdubmod).
There's 3 other movies I'd like to work on, and I'd like to figure out their true video properties. Hopefully these attachments will work.
Appears to be progressive Pal:
omnibus.m2v
Appears to be interlaced Pal:
obsession.m2v
Appears to be interlaced Ntsc. It's a dark, poor multi-generation copy, all edges have lines:
Bus_stop.m2v -
I'm hoping you can instruct (or direct) me on bobbing to determine interlace or telecine formats.
They recommended the Telecide filter
Omnibus is progressive.
Obsession is progressive.
There's not enough movement in the Bus Stop sample to be entirely sure, but I'm fairly certain it's field-blended from an NTSC source and has to be unblended:
Yadif(Mode=1,Order=1)
SRestore(Frate=23.976)
With a better sample I'd know for sure. -
I converted the Omnibus and Obsession PAL videos successfully, but haven't done the first PAL video with logo yet. I needed some small triumphs before the slightly tougher ones.
Couple stupid questions: how does interlaced video look when Separatefields() is used?- do you see "lines" (horizontal gaps)?
If you don't see lines, but objects in motion in the video appear to go back and forth while advancing fields, what does that mean? No matter what the source, will Separatefields always produce images that are half in height?
I have uploaded another sample of "Bus stop." Just a reminder, this video is Ntsc (not Pal):
VTS_01_1.demuxed.m2v
You can see some motion near the end as the seated man stands up. My goal is mainly to brighten the dark video. I also cleaned up bottom of frame, even though it's not visible on TV. Thought it would be good practice for me.
Will the audio have to be framerate-changed if it's being deblended? If deblending isn't correct, how would I know?
Here's the script with your suggestions:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools-26.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\srestore.avs")
MPEG2Source("C:\Documents and Settings\Dave\Desktop\bus samp\VTS_01_1.d2v", cpu=0)
tweak(0,1,50,3)
crop(0,0,0,-12)
addborders(0,0,0,12)
Yadif(Mode=1,Order=1)
SRestore(Frate=23.976) -
If you're talking about something shot using interlaced 30fps video cameras, then during movement, after separating the fields, every field is unique. Although I've seen it a few times, the fields themselves aren't supposed to have any interlacing. You only get interlacing when 2 fields from 2 different points in time are woven back together.
If you don't see lines, but objects in motion in the video appear to go back and forth while advancing fields, what does that mean?
Just a reminder, this video is Ntsc (not Pal):
Will the audio have to be framerate-changed if it's being deblended?
If deblending isn't correct, how would I know?
will Separatefields always produce images that are half in height? -
When I ticked thru the "Bus stop" clip, I couldn't really tell if it was blended or if each field was unique (ie interlaced). It seemed like the latter. I know you've said it's uncommon for PAL dvd to be interlaced, but since this was an Ntsc, how common is interlacing here? Would a homemade dvd recording be interlaced? I have no idea how common (or what typically generates) interlacing here.
Inregards to converting progressive Pal (for those 2 videos I did), I only changed framerate & resize. Did I omit a filter?
Separate question, and let me know if I should edit out and post elsewhere:
Have a Pal progressive xvid (25 fps) in 704x288 (2.40:1). No borders around it. This was converted from a Pal dvd, but the movie was originally from USA and now 4% faster. I'd like to restore to correct slower run time, and burn for Ntsc dvd. The audio was mp3, so I used Belight to convert to wav, then framerate to 23976, then to ac3.
The film DAR is suppose to be 2.35:1, but I've read sometimes people round it to 2.40 when converting to avi (they apparently used Virtualdub). I went thru old threads and cobbled together this script:
Addborders(8,96,8,96) #fill out to 720x480
LanczosResize(720,480)
BlindPP(quant=8, cpu2="xxxxxx", moderate_h=45, moderate_v=55) #someone used this to reduce macroblocking
AssumeFPS(23.976)
I did a couple samples in HC (set to 16:9 - well, made sense at the time), and it looked okay. I noticed the sides got slightly cut off until adding the "8" to borders. Any script suggestions/corrections? -
I already told you what it is and the script to use on it.
I know you've said it's uncommon for PAL dvd to be interlaced, but since this was an Ntsc, how common is interlacing here?
Would a homemade dvd recording be interlaced?
Inregards to converting progressive Pal (for those 2 videos I did), I only changed framerate & resize. Did I omit a filter?
The film DAR is suppose to be 2.35:1, but I've read sometimes people round it to 2.40 when converting to avi
Your script is all wrong. That's not how it's done. Use FITCD to find the correct Resize/AddBorders. -
Here's the resizing script from Fitcd. I did a sample and it looked okay.
BicubicResize(688,256,0,0.6,0,0,704,288 )
AddBorders(16,112,16,112)
For my own knowledge, I researched but couldn't figure what the last 4 entries in BicubicResize do (specifically "0,0,704, 288"). That is, what does "src" mean and what's being done to these parameters src_left, top, height, width? They can't be cropping as in Bilinearesize, can they?
When encoding, when does it really matter to set HCenc to 16:9 or 4:3? I tried both for the sample clip I did above, and they looked the same on TV, regardless of dvd player setup.
When I ticked thru the "Bus stop" clip, I couldn't really tell if it was blended or if each field was unique (ie interlaced). It seemed like the latter.
I already told you what it is and the script to use on it.I was stating I still couldn't detect interlacing/blending for myself, and the questions that followed were so I could get a mental checklist to deduce it when I can't see the difference. I don't want to keep nagging you (and the board) with every iffy video I need to fix.
Similar Threads
-
HCenc and PanScan
By Comp360 in forum Video ConversionReplies: 2Last Post: 14th Mar 2011, 17:35 -
Problem with HCenc 0.24.
By HolyFries in forum Video ConversionReplies: 2Last Post: 17th Jun 2010, 18:03 -
Problem with HCenc 0.24.
By HolyFries in forum Newbie / General discussionsReplies: 0Last Post: 17th Jun 2010, 13:18 -
Frameserve from VirtualDubMod to TMPGEnc
By pchan in forum DVD RippingReplies: 1Last Post: 25th Aug 2007, 08:13 -
HCEnc
By Belfour in forum DVD RippingReplies: 1Last Post: 28th Jun 2007, 09:57