Yeah, it's more safe to type parameter names directly (although there is some chance the right ones will be used, in newer versions of Decomb the first parameter in the list is field order, the next one is guide). And of course no deinterlace filter should be used afterwards since progressive is expected and at this point the script should be tested (maybe with both field order values) and adjusted (telecide either left or removed - if it doesn't return progressive).
Manono, which methods are mainly used for interlacing film to PAL? Is it something like hard pulldown? I remember doing a trick to recover inserts from progressive PAL DVD that had been interlaced into NTSC broadcast (bob-deintelaced those parts and tdecimated to 25 with cycle 12). So if here it happens to be interlaced this way, some similar approach could help.
+ Reply to Thread
Results 31 to 50 of 50
-
-
As for where I get my scripts from, I've been basically modifying previous scripts of mine that have worked.
I burned the subtitles in because it had only just occurred to me to try adding subtitle=64 to the beginning of each chapter selection. Previously, I just added it to the play command but when I selected a scene from the scene selections menu (sometimes I cap the ones from the original disc, sometimes I create new ones), I'd have to turn the subs back on with my remote.
I left Tdeint in accidentally. I read up on the telecide command to see whether or not to deinterlace but forgot to delete it from the script.
How does this look?
loadplugin("c:\program files\avisynth 2.5\plugins\dgdecode.dll")
loadplugin("c:\program files\avisynth 2.5\plugins\decomb.dll")
mpeg2source("d:\one\video_ts\vts_01_1.demuxed.d2v" )
assumebff()
Telecide(0,2)
lanczos4resize(720,480)
I always check the file information in VirtualDub to see the running time and it is correct before encoding. When I open it after the encoding, that's when the running time is inflated. Strangely, the Divx decoder in Virtualdub lets me scan through the entire file (including the extra bits) while the file always freezes DGIndex (not only that but when I close the DGIndex window, its still open as a process and stays at around 99% of CPU usage until I open up the task manager and close the process).
These are the HCEncGUI settings:
profile=fast
aspect ratio=16:9
all frames
average bitrate (calculated with videocalc-1.1.)
autogop=15(as recommended for PAL though should I change it since I'm resizing it for NTSC?)
dc prec=10 (as recommended by the guide for DVDs)
CPU=auto
One question, I usually rip the files to my second harddrive and process them in there. Should I I have files on my main harddrive with the program? Could something be happening as its working across harddrives? I've noticed that with DVDAuthorGUI that processing is significantly slower if the m2v and ac3 files are in one harddrive but the final DVD folder is to be written to another drive. -
in newer versions of Decomb the first parameter in the list is field order
Manono, which methods are mainly used for interlacing film to PAL?
I burned the subtitles in because it had only just occurred to me to try adding subtitle=64 to the beginning of each chapter selection.
autogop=15(as recommended for PAL though should I change it since I'm resizing it for NTSC?) -
If they are all chapters from the same movie (?) that shouldn't be at all necessary. And if you're not encoding them all separately, but the subtitles stop playing after each chapter, then something's wrong with your authoring program, or how you're using it. This doesn't happen to other people.
-
My friend's DVD player picked up the English subtitle track always on a DVD I made but that was probably because of a player setup option rather than something in the file structure.
After the authoring is done, it's a fairly simple matter to turn on the subs using PGCEdit. Here's a guide:
http://download.videohelp.com/r0lZ/pgcedit/third_party/2cool/subtitles/subtitles_on_de...lt_pgcedit.htm
It looks complicated, but there's only a little that has to be understood. After doing it a couple of times, it'll take all of about 15 seconds to have the subs play automatically. Ordinarily you just add a simple precommand to the menu.
Sorry, then. I misunderstood the problem you were having. -
Before I can do that, however, I have to find out what's adding those extra bits at the end of the file. It does not appear to be the assumefps(23.976). I'm not using Tdeint here but I had used that before on successful projects. I also used lanczos4resize without a problem. Since it already is yv12 then the convert to yv12 shouldn't have caused the problem either, right?
-
Originally Posted by ecc
Can you get a different DGDecode.dll and DGIndex and make a fresh D2V? Maybe first try the most recent DGMPGDec 1.5.0 beta 13 if you don't have it already. I'm fairly certain it's somehow DGIndex/DGDecode related. Without any evidence at all on which to base that hunch.
Failing that, do you have a different encoder you can use, to rule out the fault being HCEnc's? -
The previous d2v file I did with the older DGIndex with .dll #13 says 100% video. I did another one with a newer DGIndex (.dll #16) and it looks the same though for some reason the file size is larger (the older is 773KB and the newer 798KB).
Of course, using this d2v, VirtualDub has an error saying DGIndex/DGDecode mismatch. Do I have to copy the .dll from the new DGIndex to Avisynth's plugins folder? -
error loading Avisynth script, MPEG2Source: DGIndex/DGDecode mismatch. You are picking a version of DGDecode, possibly from your plugins directory, that does not match the version of DGIndex used t
-
I ran it through FreeEnc and it encoded fine EXCEPT for the low bitrate. I entered the same average bitrate and maximum bitrate that I would've used in HCEncGUI and subtracted 1500 from the average bitrate (as per one of the threads) for the minimum bitrate and somehow wound up with a file well below single layer size: 2.91 GB instead of ~4.4 GB. What gives?
I'm guessing that's an issue with FreeEnc but I guess it shows that some setting in HCEncGUI is to blame since the avs went through FreeEnc without issue but I really do like the HC GUI since it offers a visual preview and this bitrate thing in FreeEnc is annoying. Other than 16:9, progressive, and the birates, there's not a lot of control in FreeEnc (which may or may not be a good thing).
The only thing I noticed that I forgot to mention yesterday regarding the last HCEnc encode was that the m2v file was originally 4.95 GB and I had used a bitrate calculated in vcalc for a single layer disc size but the resulting encode was also 4.95 GB. For some reason, is HC encoding the movie itself for the single layer size and then for some reason adding more video at the end to get back to the original size?
Looking back at the previous conversions I had done, they were all single layer disc size to start with. Does HCEnc have a problem reducing a video file by a certain amount? -
I receive this error when I try to load the .avs script now.
Does HCEnc have a problem reducing a video file by a certain amount? -
apply pulldown afterwards using DGPulldown set for its default 23.976->29.97. That'll serve the same purpose as the AssumeFPS(23.976fps) in the script.
What happened there?
Also, the resulting file out of FreeEnc says in the DGIndex profile that its MPEG1 even though its 720x480. I thought FreeEnc was an mpeg2 encoder. -
I haven't watched it but the PAL running time was 1:49:07.76 but the running time after pulldown is 1:31:01.92.
-
The PAL running time I get from just playing the disc. The NTSC running time I get from opening the file information tab after opening the AVS in VirtualDub.
Its got to be something with DGIndex/DGDecode. I downloaded some .avi short films off the internet in PAL (720x576 at 25fps) and created Avisynth scripts with assumefps(23.976) and ran them through HCEncGUI and they all came out flawlessly (even at the low bitrates I set for the m2v to match the original size of the avi. -
The NTSC running time I get from opening the file information tab after opening the AVS in VirtualDub.
The reason I ask is that the ratio of 1:49:07.76 to 1:31:01.92 is exactly the same as that of 29.97fps to 25fps (1.1988). That is, it's the length you'd get taking your original 25fps PAL DVD and speeding it up to 29.97fps. I don't think this is just a coincidence. So, did you feed HCEnc a 29.97fps AVS? Or perhaps you encoded for 29.97fps and hadn't applied Pulldown yet? I'm getting just a little tired about having to guess the reasons for your latest screwups.
Did you solve your D2V problem? Do you now get M2Vs without the extra footage? And I'll ask again. Did you run the MPV (or M2V) through DGPulldown and actually mux it with the audio to find whether or not they're in synch? -
When I was inserting the assumefps(23.976) into the script, I would check the file info with VirtualDub and confirm the running time when I opened the avs in HCEnc.
After I was instructed to use DGPulldown to do 23.976 to 29.976 instead of assumefps, I of course would have a pal running time before and after the initial HC encode. The NTSC running time I was expecting was that of the ac3 that I changed the framerate from 25 to 23.976.
The PAL running time was 1:49:07.76. The NTSC running time based on the ac3 file should have been 1:53:46.
So, no I did not feed a 29.97 script into HCEnc. I left the fps as 25fps with the expectation of changing it afterwards with DGPulldown from 23.976 to 29.97 as advised.
And I have not yet figured out why those extra bits end up at the end of the processed m2v. The D2V files that both DGIndexes have spat out are 100% video since they encoded it as interlaced 25 fps instead of just speeding up the progressive stream.
I also haven't been able to open the d2v file made with the newer DGIndex even using the newer .dll's file path in the script. -
I also haven't been able to open the d2v file made with the newer DGIndex even using the newer .dll's file path in the script.
-
I think I have to give it up too. I uninstalled Avisynth, HCEncGUI, and DGIndex and downloaded all of the new ones all over again and ran the file through and I still ended up with the extra bits that brought the m2v back to its original size. Once again, there is an "exception during decoding" at the end of the film itself before the extra bits so I can't chop that stuff out.
I have no idea why this doesn't work for me since HCEncGUI handled the avi files I converted nicely.
Can HCEncGUI accept avs files from video demuxed with other demultiplexer programs? -
I encoded the avs script (with assumefps) in FreeEnc after adjusting the ini file to get a higher bitrate. The file had the right NTSC running time in GSpot at 23.976 and then after I used DGPulldown. When I plugged it into DVDAuthorGUI, I got the error "too many dropped frames -exiting". Just muxing it with Imago Muxer didn't bring up an error but it quit at approximately the same place.
Can this be fixed? I'm about ready to give up.
Similar Threads
-
(HCenc) WARNING, small source mismatch found in pass 2, ...
By KKPHM in forum Authoring (DVD)Replies: 13Last Post: 19th Dec 2015, 08:37 -
Virtual Dub 1st & 2nd Pass Encoding
By OrchestraAndChoir in forum Video ConversionReplies: 10Last Post: 22nd Jul 2012, 07:20 -
HCenc 2nd pass, what to do about: "*** INFO, adjusting average bitrate..."?
By jclampy in forum Newbie / General discussionsReplies: 14Last Post: 5th Jan 2012, 14:30 -
2nd pass encode fail
By john920 in forum Blu-ray RippingReplies: 19Last Post: 18th Mar 2010, 06:58 -
Problem doing two pass encoding
By ss30 in forum SVCD2DVD & VOB2MPGReplies: 2Last Post: 6th Dec 2007, 13:37