View Full Version : 1080i TS > DVD. Please Help!
glen8
18th October 2005, 19:33
Hi Guys,
I am in need of some advice please :-)
I am trying to convert a 1080i TS file so I can burn it to a DVD-R
This is the method I am using
1. Strip the Video and Audio from the TS file using DGIndex v1.4.6b1
2. Run the AC3 audio through besweet to correct the delay
3. Import the following script into CCE SP v2.70.02.00
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
MPEG2Source("C:\small5x01\smallville5x01.d2v")
SelectEven().Decimate(cycle=5)
Crop(0,0,-4,0)
LanczosResize(720,480)
convertToYUY2()
AVISynth is v2.5.6
DGDecode.dll came from DGIndex v1.4.6b1
4. The resulting video and audio files will get imported to DVD Maestro for DVD creation, then burnt with IMGTool (Nero7 backbone).
Can anyone see any problems with this before I spend the next 6hours encoding?
Cheers.
glen8
18th October 2005, 20:42
ARGH!
Problem :-(
When I imported the script into CCE the time said 00:20:44
I know for a fact the video is over 50mins
any ideas?
Guest
18th October 2005, 22:08
What's the frame rate of the original? It's probably 29.97, in which case, just remove the SelectEven() call. You may need Telecide(), unless you have frame duplications. Of course, if it's interlaced, that's another ball of wax. The Decimate() call implies you are trying to restore film material.
If that is not the solution then:
Post the top part of the D2V file.
Serve the script into VirtualDub and check the length there.
Change the script to remove everything after MPEG2Source() and then serve it into VirtualDub and check the length.
Post your results.
glen8
19th October 2005, 08:15
Thanks for the reply, I'll give that a go tonight.
Just out of interest (to see the results really) I stripped the streams with ProjectX and loaded them into Tmpgenc Pro. Converted them to CBR8000 10bits and then put back together in DVD Maestro.
I guess I could then use DVD Rebuilder to encode with CCE
The quality from Tmpgenc was excellent :-)
The source TS file is 1080i so I guess I'll have to modify my script.
Cheers.
f@chance
19th October 2005, 09:45
I used your identical software versions plus identical script minus the last convert line and it does an excellent job on ABC 720p 59.94 FPS HDTV broadcast.
I have not done 1080i material YET, but you don't need DVD Rebuilder to do the CCE encoding just feed the AVS file into the CCE take the DGIndex demuxed audio and create a sync audio track in DVD Maestro works for me.
glen8
19th October 2005, 13:42
That was my original plan but got errors when loading in the script. I have some changes to make tonight so I'll see how I get on. I think if my source was 720p it would work fine.
The only reason why I mentioned rebuilder was because I thought about encoding three episodes with tmpgenc at 8000CBR and then mastering that will DVD Maestro. This would have resulted in a massive DVD-R so rebuilder would be the perfect way of shrinking it down to 4.5gb
I know the best way is all through CCE, just hope it will take the script tonight :-)
glen8
19th October 2005, 19:29
No, still no luck guys. Here's the top part of my d2v file. Hope you experts can work it out ;-)
DGIndexProjectFile12
1
C:\small5x01hdtv\XZD.Smallville.5.01.Arrival.0000.0000.ts
Stream_Type=2
MPEG2_Transport_PID=11,14
MPEG_Type=2
iDCT_Algorithm=6
YUVRGB_Scale=1
Luminance_Filter=0,0
Clipping=0,0,0,0
Aspect_Ratio=16:9
Picture_Size=1920x1088
Field_Operation=0
Frame_Rate=29970
Location=0,0,0,296E9F
Guest
19th October 2005, 20:55
You're not being clear. First you say CCE takes the script but the time is too short. Then you say it won't take the script.
The frame rate is 29.97, so delete the SelectEven() call.
Also, you'd better not encode without knowing if the video is interlaced, 3:2 pulled-down, frame duplicated, etc.
glen8
19th October 2005, 21:05
It will take the script but the time is WAY too short. Tried messing about with different versions and changing bits in the script but it's still the same.
How can I tell about the interlaced, 3:2 and frame dup?
Guest
19th October 2005, 23:11
Did you remove the SelectEven() call and do the other things I mentioned, e.g., serve the script into VirtualDub and check the length there?
glen8
21st October 2005, 08:24
Yes I did that neuron and it said it was 41mins long which is about right.
I gave it another go and this time it worked ;-) CCE said it was 41min so I encoded it which took HOURS. I don't know what was going on earlier in the week as I havent changed any settings or put new versions on????
Checked it this morning and it looks GREAT
Still dont know if its interlaced or needs the pulldown but as it looks fine i'm just going to burn it.
CCE at 5 pass VBR looked to me as good as Tmpgenc 8000CBR
Can fit three episodes on a DVD now :-)
Thanks for your help guys.
glen8
21st October 2005, 08:46
I'm thinking now rather than use the AC3 file that DGIndex gave me, I'll split the audio from the TS using ProjectX. Seems to handle the sync much better :-)
I'm gonna write a wicked guide on this when I'm all done
Guest
21st October 2005, 14:00
I'm thinking now rather than use the AC3 file that DGIndex gave me, I'll split the audio from the TS using ProjectX. Seems to handle the sync much better That's just because you don't know how to do it properly. :) If you feed the AC3 directly to CCE, you'd have to apply the delay correction contained in the filename (if CCE has a function for that). Or correct the AC3 file first with BeSweet, AC3DelayCorrector, etc. Or serve the audio via Avisynth and correct the delay there. Or convert to WAV in DGIndex, which corrects the delay. It sounds like you did nothing.
I'm gonna write a wicked guide on this when I'm all done Please acquaint yourself with all the details first. Don't assume everyone's video is like yours. As I mentioned, it could be 3:2, interlaced, hybrid, etc.
glen8
22nd October 2005, 10:41
Read my very first post, number 2 ;-)
Guest
22nd October 2005, 13:58
Oh yeah, I remember that. :)
Yes, if your stream is errored, preprocessing with ProjectX can improve things.
glen8
22nd October 2005, 17:40
I really appreciate you taking the time to help me.
I mastered the DVD and it all looks great (picture and sound) but one last problem....
The aspect ratio is wrong.
I know the source is 16:9 but really the video looks like 2.11:1 to me. Anyway I encoded with CCE selecting the 16:9 option and also selected this in DVD Meastro but the resulting DVD is full screen. It's probbaly 16:9 but without the black borders.
Just out in interest, if I encode with TMPGenc selecting 1:1 ratio it's fine
any ideas?
glen8
23rd October 2005, 10:45
This MUST be it........
LoadPlugin("C:\dvd tools\dgindex\DGDecode.dll")
LoadPlugin("C:\dvd tools\dgindex\Decomb.dll")
MPEG2Source("C:\HDTV Smallville TS\DGIndex\small5x01.d2v")
LanczosResize(720,420)
AddBorders(0,30,0,30)
convertToYUY2()
f@chance
23rd October 2005, 12:19
I presume the Smallville is from a.b.hdtv and when encoding it does not need AddBorders. Make sure that the movie track in Maestro has selected 16:9 LB/PS and then change the resize to 720,480 and do away with the AddBorders(0,30,0,30) and you should be fine for an anamorphic W.S. picture.
glen8
23rd October 2005, 19:02
I selected 16:9 LB/PS and also removed the addborders but it's still full screen. Its weird because the mpv file from CCE looks perfect so dvdmaestro must be doing something to it.
f@chance
23rd October 2005, 19:29
go get the MPEG parser from www.ddv-logic.com run the mpeg stream through it and it will tell you if the stream is 16:9 or 4:3 you can do the same with parsing the VOB and it likewise will tell you the A.R. then take it from there.
Krawhitham
7th November 2005, 08:12
That's just because you don't know how to do it properly. :) If you feed the AC3 directly to CCE, you'd have to apply the delay correction contained in the filename (if CCE has a function for that). Or correct the AC3 file first with BeSweet, AC3DelayCorrector, etc. Or serve the audio via Avisynth and correct the delay there. Or convert to WAV in DGIndex, which corrects the delay. It sounds like you did nothing.
are you talking about re-encoding the AC3 file?
f@chance
9th November 2005, 01:33
AC3DelayCorrector allows you cut frames from the beginning ot add silence at the beginning. It deals with the AC3 frames no re-encoding needed. Either cut frames or add frames containing silence.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.