Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > One click suites for DVD backup and DVD creation

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th September 2009, 18:38   #981  |  Link
ummus
Registered User
 
Join Date: Mar 2008
Posts: 8
Sir, I am trying to make a DVD from an AVI file. Fully converted into a DVD. But the audio is not matched with the video. Here is the log file. Please suggest me.

<09/06/2009 3:16:29 PM>
START PROCESS
<>

<09/06/2009 3:16:29 PM>
PROJECT SETTINGS

DVD Video Standard: PAL
DVD Titles number: 1
DVD Size: 4435/4435 MB (100%)
DVD Output Setup: DVD Folder
DVD Label: DVD
DVD Menu: No Menu
Output Folder: C:\Users\katheeja\Documents
Save Log file: Yes
Delete Temp Process Files: Yes
Delete Working Files: Yes
Edit Command Parameters: No
Post Process Task: Show Progress Status window

<>

<09/06/2009 3:16:29 PM>
TITLE 1 SOURCE FILES
Video: F:\New Folder\Movies\Tamil\SivaKaasi - Bo$$.avi
Info: XviD - 1687 kbps - 640x288 - DAR 2.222 - 23.976 fps - Progressive - 2:55:36 hours - 252625 frames
Audio: F:\New Folder\Movies\Tamil\SivaKaasi - Bo$$.avi
Info: MPEG-1/2 L3 - 128 kbps - - 48000Hz - 2ch - 2:56:24 hours
Subs:
[MediaInfoLib - v0.7.19]
<>

<09/06/2009 3:16:29 PM>
AVISYNTH SCRIPT
Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")

Video = A2DVideoSource("F:\New Folder\Movies\Tamil\SivaKaasi - Bo$$.avi", CacheFolder = "C:\Users\katheeja\AppData\Local\Temp")
Audio = A2DAudioSource("F:\New Folder\Movies\Tamil\SivaKaasi - Bo$$.avi", CacheFolder = "C:\Users\katheeja\AppData\Local\Temp")

Video = Video.ConvertToYV12
#Using DGPulldown to upsize FPS
Video = Video.AddBorders(0,36,0,36)
Video = Video.Lanczos4Resize(720,576)


AudioDub(Video, Audio)
<>

<09/06/2009 3:16:29 PM>
START VIDEO ENCODING OPERATIONS
Encoding Profile: HCenc VBR 2-pass
Target Video FileSize: 4042.2 MB
HCenc Parameters: -ini "C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$.HCenc.ini"
HCenc ini file:
*INFILE C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$.avs
*AVSRELOAD
*OUTFILE C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.m2v
*LOGFILE C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$.HCenc.log
*MAXBITRATE 9000
*BITRATE 3218
*PROFILE BEST
*ASPECT 16:9
*PROGRESSIVE
*BIAS 30
*DC_PREC 8
*MATRIX MPEG
*AQ 1
*LUMGAIN 0
*SMP
*PRIORITY IDLE
*WAIT 2
<>

<09/06/2009 6:00:41 PM>
END VIDEO ENCODING OPERATIONS
A2DVideoSource: AVISource
Created File: C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.m2v (4044 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 3273 kbps - 720x576 - DAR 1.778 - 23.976 fps - Progressive - 2:55:26 hours - 252372 frames
<>

<09/06/2009 6:13:27 PM>
END PULLDOWN OPERATIONS
DGPulldown executed on File: C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.m2v (4044 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 3270 kbps - 720x576 - DAR 1.778 - 24 fps - Progressive (2:2:2:2:2:2:2:2:2:2:2:3 Pulldown) - 2:55:36 hours - 252877 frames
<>

<09/06/2009 6:13:31 PM>
START AUDIO ENCODING OPERATIONS
Wavi+Aften Parameters: "C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$.avs" - | "C:\Program Files\AVStoDVD\Aften\aften.exe" -b 192 - "C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.ac3"
<>

<09/06/2009 6:20:28 PM>
END AUDIO ENCODING OPERATIONS
A2DAudioSource: DirectShowSource
Created File: C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.ac3 (241.2 MB)
OUTPUT AUDIO INFO: AC3 - 192 kbps - CBR - 48000Hz - 2ch - 2:55:36 hours
<>

<09/06/2009 6:20:29 PM>
START DVD AUTHORING OPERATIONS
BatchMux Parameters: -arglist "C:\Users\katheeja\AppData\Local\Temp\DVD_1_BatchMux.ini"
BatchMux ini file:
-d "C:\Users\katheeja\Documents\DVD_1\VIDEO_TS"
-mxp "C:\Users\katheeja\AppData\Local\Temp\DVD_1_MuxMan.mxp"
-l "C:\Users\katheeja\AppData\Local\Temp\DVD_1_MuxMan.log"
-muxman "C:\Program Files\AVStoDVD\MuxMan"
-prio LOW
-v "C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.m2v"
-vidmode LB
-a1 "C:\Users\katheeja\Documents\DVD_1_SivaKaasi - Bo$$.ac3"
-a1lang en
-cellfr "C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$_MuxMan.txt"
-progfr "C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$_MuxMan.txt"
-chapfr "C:\Users\katheeja\AppData\Local\Temp\DVD_1_SivaKaasi - Bo$$_MuxMan.txt"

<>

<09/06/2009 6:28:57 PM>
END DVD AUTHORING OPERATIONS
Created Folder: C:\Users\katheeja\Documents\DVD_1 (4397.2 MB)
<>

<09/06/2009 6:28:58 PM>
Log file created by AVStoDVD Release 2.2.1
<>
ummus is offline   Reply With Quote
Old 9th September 2009, 22:59   #982  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by MrC View Post
Since the DVD bitrate could be around 8500 kbps:

350/900*8500 = 3305 MB

It's OK



Bye
But, there are 4 AVI files, does that still work?
Richardw322 is offline   Reply With Quote
Old 10th September 2009, 20:11   #983  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
@ummus

what do you mean "the audio is not matched with the video"? That the audio is out of sync with video? I can see one peculiarity in your input file: video has a length of 2:55:36 hours and audio has a length of 2:56:24 hours. Is ok input video playback?


@Richardw322

please post the log file.




Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 10th September 2009, 23:43   #984  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
I think I attached a zip file, I hope so.
Looks like I did! Did seem a little small.
Attached Files
File Type: zip Season 3 Disk 1_0.zip (2.5 KB, 20 views)
Richardw322 is offline   Reply With Quote
Old 12th September 2009, 21:02   #985  |  Link
davidcw
Registered User
 
Join Date: Sep 2005
Posts: 26
Conversion of 1280x720 to DVD resolution

Hi,
I just converted the download of "Home" from Azureus ( It is also available from YouTube at a slightly higher bitrate ) and here is the the AviSynth Script I used:

LoadPlugin("c:\Program Files\AviSynth 2.5\plugins\Msharpen.dll")
LoadPlugin("c:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll")

Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")

Video = A2DVideoSource("C:\Documents and Settings\oem\My Documents\Azureus Downloads\HOME.mkv", CacheFolder = "C:\DOCUME~1\oem\LOCALS~1\Temp")
Video = Video.ConvertToYV12
Video = Video.ColorMatrix(mode="Rec.709->Rec.601")
#Using DGPulldown to upsize FPS
Video = Video.Lanczos4Resize(720,576)
Video = Video.Msharpen(8,60,true,false,false)

Audio = A2DAudioSource("C:\Documents and Settings\oem\My Documents\Azureus Downloads\HOME.mkv", CacheFolder = "C:\DOCUME~1\oem\LOCALS~1\Temp")
Audio = Audio.SSRC(48000)

AudioDub(Video, Audio)

Using HC with AQ=1 and Lumigain=1 and Fox2 matrix, it gave suprisingly good results with slight jerking due to the PAL conversion, but the extra 96 lines are worth having.

I used convert ColorMatrix as I assumed it came from a BD disc.
Do I have "Video = Video.ColorMatrix(mode="Rec.709->Rec.601")"
in the right place?

Last edited by davidcw; 12th September 2009 at 21:22.
davidcw is offline   Reply With Quote
Old 14th September 2009, 20:17   #986  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
@Richardw322

Send me the log file via email (avstodvd@gmail.com), 'cause attachment approval is usually a bit long.

@davidcw

it sounds a little OT: copyrighted material download and AviSynth script editing...



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 14th September 2009, 23:09   #987  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
OK I'll shoot it right off. Hope gmail accepts zip files!!

Last edited by Richardw322; 14th September 2009 at 23:11.
Richardw322 is offline   Reply With Quote
Old 15th September 2009, 20:45   #988  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
There is a problem with title 1: HCenc encoded only 50 seconds and then it stopped.

You can try following list:

- Verify the AVI file is not corrupted (does it play fine from beginning to end? You can use AVStoDVD Preview Clip to check)
- Retry the project (if you have not done yet)
- Try to force DirectShowSource instead of A2DSource (FIRST go to 'Preferences'/'Encoding'/'AVS Source Filter' and select 'DirectShowSource', THEN load your project)
- Use QuEnc instead of HCenc (FIRST load your project, then go to 'Title Edit'/'Video'/'Video Encoding Profile' and select 'QuEnc CBR 1-pass)

Let me know



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 16th September 2009, 00:07   #989  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
Darn, I never checked that one that!! The second one is the one with the "oddball fps, and I jumped straight to that. I am going to try all and see what happens. BTW, I checked in MPC-HC with both internal decoder and FFDshow, and it played well. Now we have a problem I tried to play it in Preview clip and I get audio and no video. Is that right? Tried a couple of the titles, same thing. No video, only audio. Is that normal?
Richardw322 is offline   Reply With Quote
Old 16th September 2009, 02:00   #990  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
Think I found the answer, at least I think so. I tried changing to directshow source first, and it came to 68700. The next file was at 80000, so I aborted. Changed back to default, and tried qenc, and the first title was only 1200!! Checked in Virtual Dub, and the first video has 68700 frames!! So the key was using directshow source. At least I think so. I just started the new encode and I'll know for sure when it writes the ISO.
Richardw322 is offline   Reply With Quote
Old 18th September 2009, 21:45   #991  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
OK, finally had a chance to tewst out the DVD. It worked great when I changed the source from A2D to Directshow. Any idea why? The first AVI acts just like the others in MPC-HC both with and without FFDshow, and virtual dub complained about the audio but nothing else. (Virtual Dub complaigns about the audio in every file I throw at it) Any ideas? I kepyt the log from the new run if it will help.
Richardw322 is offline   Reply With Quote
Old 19th September 2009, 14:10   #992  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
Well, just a guess. A2DSource tries first to use AVISource to open the file, if it fails it shifts to DirectShowSource and finally to FFMpegSource. Probably the first AVI (at least the beginning of it) goes thru AVISource but after 50 seconds it quits. Maybe a not properly encoded XviD.

You can confirm by selecting AVISource as default and then try to convert again the "problematic" XviD. Just to know, where did you get it?



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 19th September 2009, 22:36   #993  |  Link
nozuul
Registered User
 
Join Date: Apr 2008
Posts: 28
Heya MrC!

Will the newest release of FFDShow affect your program at all? Latest version: r3078 2009-09-17 (Sep 17, 2009)
nozuul is offline   Reply With Quote
Old 20th September 2009, 14:21   #994  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
@noozul

really do not know. I usually download and use only ffdshow "stable" releases. Latest stable release is ffdshow_beta6_rev2527_20081219.exe (Dec 2008).

BTW, if you want to make a compatibility check, your effort will be surely appreciated



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 20th September 2009, 14:29   #995  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by MrC View Post
Well, just a guess. A2DSource tries first to use AVISource to open the file, if it fails it shifts to DirectShowSource and finally to FFMpegSource. Probably the first AVI (at least the beginning of it) goes thru AVISource but after 50 seconds it quits. Maybe a not properly encoded XviD.

You can confirm by selecting AVISource as default and then try to convert again the "problematic" XviD. Just to know, where did you get it?



Bye
It's a TV cap of Mad Men, in AVI format. Maybe when the comercials were cut out it screwed up.
Richardw322 is offline   Reply With Quote
Old 20th September 2009, 14:31   #996  |  Link
Richardw322
Registered User
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by MrC View Post
@noozul

really do not know. I usually download and use only ffdshow "stable" releases. Latest stable release is ffdshow_beta6_rev2527_20081219.exe (Dec 2008).

BTW, if you want to make a compatibility check, your effort will be surely appreciated



Bye
I am using FFDshow version 3029 and have had no problem (except as above) .
Richardw322 is offline   Reply With Quote
Old 21st September 2009, 19:05   #997  |  Link
carlmart
Carlos Martinez
 
Join Date: Aug 2005
Posts: 288
I have a DVD that was released in letterbox 4:3 AR NTSC. The original image is 1.66.

When I load it into AVStoDVD, in order to resize it to full 16:9 AR with black pillars on the sides, the program crops the image on all sides.

This is the script it suggests:

Video = Video.ConvertToYV12
Video = Video.ChangeFPS(25)
Video = Video.Spline16Resize(720,576,0,66,0,-66)

To start with I don't know why it's changing it to PAL, because the file is NTSC and I want to keep it that way.

Which is the proper way to load it and set the values?
carlmart is offline   Reply With Quote
Old 21st September 2009, 20:24   #998  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
@carlmart

1. If you selected PAL as default video standard, then any project will be set to follow PAL standards (resolution and framerate)

2. A 1.66 letterboxed to 4:3 DAR DVD should be kept as it is, without trying to force it as widescreen. Anyway if you want to force it, AVStoDVD by default will crop top and bottom to reach 16:9 proportion, as you have seen. If you want to have left and right black pillars, then you have to play with AviSynth:
- Crop() top/bottom
- Resize()
- AddBorders() left/right
- Resize() again

Check it out by yourself. If you are smart enough, you can have just one resize. Good scripting!



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum

Last edited by MrC; 21st September 2009 at 20:28. Reason: More hints
MrC is offline   Reply With Quote
Old 21st September 2009, 20:44   #999  |  Link
carlmart
Carlos Martinez
 
Join Date: Aug 2005
Posts: 288
Quote:
Originally Posted by MrC View Post
1. If you selected PAL as default video standard, then any project will be set to follow PAL standards (resolution and framerate)

Of course I am not selecting PAL. I go to Preferences > Audio/Video and deselected it there.

But I do have two descriptions for the file I am loading, which is an m2v demuxed from my DVD:

1) In Source/titles it's listed as 720x480 29.97.

2) In View/Edit Title settings is listed as 720 x 576 PAL. It doesn't matter is is I set as NTSC in Preferences.

Why is that?

Quote:
2. A 1.66 letterboxed to 4:3 DAR DVD should be kept as it is, without trying to force it as widescreen.
Why would that be? At least I eliminate the horizontal bars, even if I keep the pillars. At least the latter are considerably smaller than if there's a 4:3 image inside my 16:9 plasma screen.

Quote:
Anyway if you want to force it, AVStoDVD by default will crop top and bottom to reach 16:9 proportion, as you have seen. If you want to have left and right black pillars, then you have to play with AviSynth:
- Crop() top/bottom
- Resize()
- AddBorders() left/right
- Resize() again

Check it out by yourself. If you are smart enough, you can have just one resize. Good scripting!
I am trying to learn a way to compute that for less than 1.77 aspect ratios. Can you tell me how can I do it in one resize or tell me where to find that out?

Thanks!

Edit: just went have a look at another French film of mine I had also resized, with excellent results. The combo script used crop() and resize().

In my present case I ended up with:

Crop(0,44,0,-44)
Lanczos4Resize(720,480)

It looks very good.

Last edited by carlmart; 21st September 2009 at 21:31.
carlmart is offline   Reply With Quote
Old 21st September 2009, 22:34   #1000  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
1.
Are you sure you have selected FIRST 'Preferences'/'AudioVideo'/'Video Standard' (as NTSC) and THEN you load your input title?

2.
A 1.66 letterboxed to 4:3 DAR DVD should be kept as it is because that does not involve any re-encoding, while going to 16:9 does. Remember that every time you re-encode, you loose quality. I think you can always adjust your plasma screen DAR settings without much pain.

3.
I would not give you a ready-to-copy AviSynth script. I would like you to play a little bit with AviSynth (basic) functions to write a working script by yourself. Don't be lazy, my friend! Just try, I can assure that your satisfaction will be great.



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.