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 14th November 2013, 18:03   #2361  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
Quote:
Originally Posted by MrC View Post
I assume you are administrator of your Win8 system, aren't you?



Bye
Yes

But if I right click on "AVStoDVD.exe" and run as admin.... it does works fine
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"

Last edited by Fishman0919; 14th November 2013 at 18:20.
Fishman0919 is offline   Reply With Quote
Old 14th November 2013, 20:25   #2362  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
Quote:
Originally Posted by Fishman0919 View Post
Yes

But if I right click on "AVStoDVD.exe" and run as admin.... it does works fine
Noted. Thanks for the feedback.



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 18th November 2013, 19:49   #2363  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
There is a regression in AVStoDVD which started with version 2.71...

I remember that v. 2.70 had a bug that an edited AviSynth script was shown in red, but was not actually used. This was fixed in v. 2.71, but obviously this fix broke another feature.

Starting with v. 2.71 it is no longer possible to trim the source visually by using the preview. The trim points show up in the script window, but they do not get added to the script.

http://i39.tinypic.com/6j0eo5.png

The only workaround I found is to note down the trim points, uncheck trimming and check it again using the noted trim points.


Cheers
manolito

Last edited by manolito; 18th November 2013 at 19:57.
manolito is offline   Reply With Quote
Old 19th November 2013, 10:47   #2364  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
@manolito

thanks for the bug report. You know: 3 steps forward, 2 steps backword... that's the hard path of one-man programming. My luck is to have you all as great supporters.

Hotfix



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum

Last edited by MrC; 19th November 2013 at 21:12. Reason: Added hotfix link
MrC is offline   Reply With Quote
Old 19th November 2013, 22:01   #2365  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Beautiful, thanks so much...

Did two short tests using the hotfix, and everything works perfectly. Trimming using the preview works, and the old bug that the edited AviSynth script was not used did not come back either. Perfect!

So this is 2 steps forward, 0 steps backward.


Thanks again
manolito
manolito is offline   Reply With Quote
Old 17th December 2013, 20:18   #2366  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Hi MrC,

I hope you are fine and not too stressed from preparations for Xmas...

This time I have a feature request for AVStoDVD: I would like to have an alternative routine for frame rate conversions.

Let me explain...
Right now I do a couple of DVDs from Live Music shows (YouTube). Many of these clips are 29.97fps, sometimes 30fps, and they are progressive. Even if my DVD player can play NTSC, I prefer to create PAL DVDs (better quality with my setup).

For this frame rate conversion to 25fps AVStoDVD uses ChangeFPS(25), and this method skips whole frames. The result is that parts with horizontal motion look very juddery.

Of course I could just treat the source as interlaced, in this case AVStoDVD uses LeakKernelDeint to bob deinterlace the clip. The result looks fine, but using a bobber makes this method slow. For a progressive source a script like this is faster:
Code:
Video = Video.ConvertToYV12()
Video = Video.AssumeTFF()
Video = Video.Spline36Resize(720,576)
Video = Video.ChangeFPS(50)
Video = Video.SeparateFields()
Video = Video.SelectEvery(4,0,3)
Video = Video.Weave()
Of course the result will be interlaced, so a little more bitrate is required, and the encoder must be set to interlaced. But horizontal motion is much smoother.

I use this method manually, and I like the results. It would be real nice if AVStoDVD could offer this frame rate conversion method as an alternative to the plain ChangeFPS() method.



Cheers
manolito
manolito is offline   Reply With Quote
Old 18th December 2013, 11:29   #2367  |  Link
harrylentil
Registered User
 
Join Date: Dec 2013
Posts: 1
No luck with subtitles

Hello MrC, first time user and newbie here.

I am having no luck creating DVDs with subtitles, on any software I try, DEVEDE, DVDflick, AVI2DVD or AVS2DVD. I have tried with about five subtitled movies. Here is an example where AVS2DVD authored the file structure, finished, no errors. The project had the .SRT file in it, definitely. But there's no subs on the movie (.VOB) played with a software player (VLC Player, PotPlayer, subs on) or burned onto disk and played on my Sony DVD player, and if I drop the 1st .VOB file into a new project in AVS2DVD, there's only video and audio found. The .SRT files have the proper structure and are in ASCII (opened and saved with Notepad), or in UTF-8 and are in English anyway, so no >Ascii127 characters. I opened this last .SRT file in SubtitleCreator no problems. MkvToolNix is installed. I am using Windows XP SP 3.
First I was using ver 1.5.1, now 2.7.2. The job created 2 log files, DVD_0.log:


<11/12/2013 11:37:49>
Log file created by AVStoDVD Release 2.7.2


and that is all there is in there. DVD_1.log is:


<11/12/2013 11:38:04>
START PROCESS
<>


<11/12/2013 11:38:04>
PROJECT SETTINGS


DVD Video Standard: PAL
DVD Titles number: 1
DVD Size: 4449/4450 MB (100%)
DVD Output Setup: DVD Folder
DVD Label: DVD
DVD Menu: No Menu
Output Folder: C:\movie
Delete Temp Assets Files: No
Delete Temp Working Files: No
Edit Command Parameters: No
Post Process Task: Show Progress Status window


PREFERENCES


MultiThread: 1
AVS Video Source Filter: A2DSource
AVS Audio Source Filter: A2DSource
AVS UpSize/DownSize Filter: Lanczos4Resize/Spline16Resize
Frame Adjust Strategy: 1
PAL SpeedUp: 0
Video Resolution: 0
Video BitRate Min: 2500
Video BitRate Level 1: 2500
Video Profile Level 2: 2500
Video BitRate Max: 8500
Keep DVD Compliant Video: 1
AC3 Audio Encoder: 0
Force FFmpeg for Long Audio: 1
DVD Audio Format: 0
DVD Audio BitRate: 192
Keep DVD Compliant Audio: 1
Normalize Audio: 0
Auto Delay Audio: 1
DVD Audio Language (Primary): EN - English
DVD Audio Language (Secondary): EN - English
DVD Subs Language (Primary): EN - English
DVD Subs Language (Secondary): EN - English
DVD Subs Font: Tahoma 16pt (255,255,255)
Chapters Interval: 5
Use Source Chapters: 1
DVD Burning Drive: E: LITE-ON DVDRW SHW-160P6S PS01
DVD Burning Speed: 4x
Auto Erase DVD RW: 1
Unload ActiveMovie library: 0
Adjust ffdshow at runtime: 1
Save General Settings: 0
<>


<11/12/2013 11:38:04>
TITLE 1 SOURCE FILES
Video: G:\Movies\Borgen series 2 part 1.avi
Info: XviD - 1374 kbps - 720x320 - DAR 2.25 - 23.976 fps (CFR) - Progressive - 2:05:12 hours - 180120 frames
Audio 1: G:\Movies\Borgen series 2 part 1.avi
Info: MPEG-1 Audio layer 3 - 128 kbps - CBR - 2 ch - 48000 Hz - 2:05:12 hours (0 ms delay) - DANSK
Subs 1: G:\Movies\Borgen series 2 part 1.srt
Info: SubRip (SRT) - G:\Movies\Borgen series 2 part 1.srt
[MediaInfoLib - v0.7.61]
<>


<11/12/2013 11:38:04>
AVISYNTH SCRIPT
Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")


Video = A2DVideoSource("G:\Movies\Borgen series 2 part 1.avi", CacheFolder="C:\DOCUME~1\t\LOCALS~1\Temp", FrameRate=23.976, VFR=false)
Audio = A2DAudioSource("G:\Movies\Borgen series 2 part 1.avi", CacheFolder="C:\DOCUME~1\t\LOCALS~1\Temp")


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


AudioDub(Video, Audio)
<>


<11/12/2013 11:38:04>
START VIDEO ENCODING OPERATIONS
Encoding Profile: FFmpeg CBR 1-pass
Target Video FileSize: 4148.5 MB
Encoding Parameters: -i "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_Borgen series 2 part 1_1.avs" -threads 1 -aspect 16:9 -c:v mpeg2video -b:v 4632k -minrate 4632k -maxrate 4632k -bufsize 2000k -dc 9 -y "C:\movie\DVD_1_Borgen series 2 part 1.m2v"
<>


<11/12/2013 13:20:13>
END VIDEO ENCODING OPERATIONS
Video Source Filter: A2DSource (AVISource)
Created File: C:\movie\DVD_1_Borgen series 2 part 1.m2v (4148.2 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 4632 kbps - 720x576 - DAR 1.778 - 23.976 fps (CFR) - Progressive - 2:05:05 hours - 179940 frames
<>


<11/12/2013 13:20:13>
START PULLDOWN OPERATIONS
DGPulldown Parameters: "C:\movie\DVD_1_Borgen series 2 part 1.m2v" -srcfps 23.976 -destfps 25 -inplace -tff
<>


<11/12/2013 13:33:56>
END PULLDOWN OPERATIONS
DGPulldown executed on File: C:\movie\DVD_1_Borgen series 2 part 1.m2v (4148.2 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 4632 kbps - 720x576 - DAR 1.778 - 24 fps (CFR) - Progressive (2:2:2:2:2:2:2:2:2:2:2:3 Pulldown) - 2:05:12 hours - 180300 frames
<>


<11/12/2013 13:33:56>
START AUDIO ENCODING OPERATIONS (Track 1)
Wavi+Aften Parameters: "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_Borgen series 2 part 1_1.avs" - | "C:\Program Files\AVStoDVD\Aften\aften.exe" -b 192 -pad 0 -dynrng 5 -bwfilter 0 - "C:\movie\DVD_1_Borgen series 2 part 1_1.ac3"
<>


<11/12/2013 13:42:33>
END AUDIO ENCODING OPERATIONS (Track 1)
Audio Source Filter: A2DSource (DirectShowSource)
Created File: C:\movie\DVD_1_Borgen series 2 part 1_1.ac3 (171.9 MB)
OUTPUT AUDIO INFO: AC3 - 192 kbps - CBR - 2 ch - 48000 Hz - 16 bit - 2:05:12 hours (0 ms delay)
<>


<11/12/2013 13:42:53>
START SUBS ENCODING OPERATIONS (Track 1)
SRT fixing routine applied (0 lines fixed).
SubtitleCreator Parameters: "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_Borgen series 2 part 1.srt" -p2 -i"C:\Program Files\AVStoDVD\SubtitleCreator\Examples\VTS_01_1.I FO"
<>


<11/12/2013 13:43:23>
END SUBS ENCODING OPERATIONS (Track 1)
Created File: C:\movie\DVD_1_Borgen series 2 part 1_1.sup (2.17 MB)
<>


<11/12/2013 13:43:23>
START DVD AUTHORING OPERATIONS
BatchMux Parameters: -arglist "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_BatchMux.in i"
BatchMux ini file:
-d "C:\movie\DVD_1\VIDEO_TS"
-mxp "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_MuxMan.mxp"
-l "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_MuxMan.log"
-muxman "C:\Program Files\AVStoDVD\MuxMan"
-prio LOW
-palette "C:\DOCUME~1\t\LOCALS~1\Temp\DVD_1_Palette.txt "
-v "C:\movie\DVD_1_Borgen series 2 part 1.m2v"
-vidmode LB
-a1 "C:\movie\DVD_1_Borgen series 2 part 1_1.ac3"
-a1lang en
-s1 "C:\movie\DVD_1_Borgen series 2 part 1_1.sup"
-s1lang en
-s1ext 1
-cellfr "C:\movie\DVD_1_Borgen series 2 part 1_Chapters.txt"
-progfr "C:\movie\DVD_1_Borgen series 2 part 1_Chapters.txt"
-chapfr "C:\movie\DVD_1_Borgen series 2 part 1_Chapters.txt"


<>


<11/12/2013 13:57:37>
END DVD AUTHORING OPERATIONS
Created Folder: C:\movie\DVD_1 (4428 MB)


CHECK DVD SIZE
DVD Folder (actual) Size: 4428 MB
vs Estimated Size: 4449 MB -> 0.5% undersize
vs Assets Size: 4322.3 MB -> Warning!
<>


<11/12/2013 13:57:37>
Log file created by AVStoDVD Release 2.7.2
<>
harrylentil is offline   Reply With Quote
Old 19th December 2013, 20:43   #2368  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
I just had an annoying issue with a source file with a width of 854. It was a regular MP4 file with AVC video and AAC audio. The a2dsource.avsi picked DirectShowSource as expected, there was no error message, but the output was total garbage.

I use ffdshow and Haali splitter, the versions are those which jdobbs endorses for BD-Rebuilder. I tested 4 different versions of AviSynth and DirectShowSource.dll, but this did not change anything.

Using ffms2 or DSS2 as source filters fixed the problem. But since DirectShowSource does not throw an error it is impossible for a2dsource.avsi to fall back on a different source filter automatically.

I posted the problem in the AviSynth thread, see here:
http://forum.doom9.org/showthread.ph...54#post1658354


Any ideas?


Cheers
manolito
manolito is offline   Reply With Quote
Old 20th December 2013, 18:57   #2369  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Here is my own idea...

This issue only happens if the source has a width which is not divisible by 4 AND if DirectShowSource is used as the source filter. (The problem has nothing to do with ffdshow, it also happens with CoreAVC as the decoder).

It should be possible to modify a2dsource.avsi to test if the source width is mod4 or not, and if it is not mod4 then just skip trying DirectShowSource and jump directly to ffmpegsource2 instead.

Does this make sense?

Maybe this approach is too radical, though. So far I had this problem only with AVC video, maybe other source formats do not require a workaround. I will do some more tests...


Cheers
manolito


//Edit//
I did a few more tests, see the results here:
http://forum.doom9.org/showthread.ph...58#post1658658
I will try to modify a2dsource.avsi to skip DirectShowSource if the source clip is not MOD4, I am just not so sure if my AviSynth scripting skills will be sufficient...

Last edited by manolito; 21st December 2013 at 00:41.
manolito is offline   Reply With Quote
Old 21st December 2013, 20:12   #2370  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
Quote:
Originally Posted by manolito View Post
Hi MrC,

I hope you are fine and not too stressed from preparations for Xmas...

This time I have a feature request for AVStoDVD: I would like to have an alternative routine for frame rate conversions.

Let me explain...
Right now I do a couple of DVDs from Live Music shows (YouTube). Many of these clips are 29.97fps, sometimes 30fps, and they are progressive. Even if my DVD player can play NTSC, I prefer to create PAL DVDs (better quality with my setup).

For this frame rate conversion to 25fps AVStoDVD uses ChangeFPS(25), and this method skips whole frames. The result is that parts with horizontal motion look very juddery.

Of course I could just treat the source as interlaced, in this case AVStoDVD uses LeakKernelDeint to bob deinterlace the clip. The result looks fine, but using a bobber makes this method slow. For a progressive source a script like this is faster:
Code:
Video = Video.ConvertToYV12()
Video = Video.AssumeTFF()
Video = Video.Spline36Resize(720,576)
Video = Video.ChangeFPS(50)
Video = Video.SeparateFields()
Video = Video.SelectEvery(4,0,3)
Video = Video.Weave()
Of course the result will be interlaced, so a little more bitrate is required, and the encoder must be set to interlaced. But horizontal motion is much smoother.

I use this method manually, and I like the results. It would be real nice if AVStoDVD could offer this frame rate conversion method as an alternative to the plain ChangeFPS() method.
Hi manolito,

surely less stress from Xmas than from my job... end of the year is awful...

The NTSC to PAL alternative conversion routine is very interesting. The only drawback, as you already pointed out, is the interlaced output. Anyway it is worth to be implemented as an option, maybe off by default.

I hope to come back to AVStoDVD in January. An alpha release has to become final since ages.



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 21st December 2013, 20:20   #2371  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
Quote:
Originally Posted by harrylentil View Post
Hello MrC, first time user and newbie here.

I am having no luck creating DVDs with subtitles, on any software I try, DEVEDE, DVDflick, AVI2DVD or AVS2DVD. I have tried with about five subtitled movies. Here is an example where AVS2DVD authored the file structure, finished, no errors. The project had the .SRT file in it, definitely. But there's no subs on the movie (.VOB) played with a software player (VLC Player, PotPlayer, subs on) or burned onto disk and played on my Sony DVD player, and if I drop the 1st .VOB file into a new project in AVS2DVD, there's only video and audio found. The .SRT files have the proper structure and are in ASCII (opened and saved with Notepad), or in UTF-8 and are in English anyway, so no >Ascii127 characters. I opened this last .SRT file in SubtitleCreator no problems. MkvToolNix is installed. I am using Windows XP SP 3.
The log file is ok, the subs should be at their place.

Take note that, by default, subs are not on, you have to activate them either with your soft player or with the DVD remote controller.



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 21st December 2013, 20:33   #2372  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
Quote:
Originally Posted by manolito View Post
I just had an annoying issue with a source file with a width of 854. It was a regular MP4 file with AVC video and AAC audio. The a2dsource.avsi picked DirectShowSource as expected, there was no error message, but the output was total garbage.

I use ffdshow and Haali splitter, the versions are those which jdobbs endorses for BD-Rebuilder. I tested 4 different versions of AviSynth and DirectShowSource.dll, but this did not change anything.

Using ffms2 or DSS2 as source filters fixed the problem. But since DirectShowSource does not throw an error it is impossible for a2dsource.avsi to fall back on a different source filter automatically.

I posted the problem in the AviSynth thread, see here:
http://forum.doom9.org/showthread.ph...54#post1658354
Quickly tested the mp4 file. Win7 64bit system with AviSynth 2.5.8 and ffdshow 1.3.4500.

DSS + ffdshow = garbage
DSS + MS DTV-DVD Video Decoder = no garbage
FFMS2 + ffdshow = no garbage

First time that MS garbage is not responsible of more garbage... I have not tried CoreAVC.

There must be a nasty combination of DSS and ffdshow when width is not mod4. Fortunately "not mod4" is very rare and I think it can be handled by implementing the check in A2DSource.avsi you have proposed.

Thanks for the continuous and valid support to our vintage AVStoDVD.



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 22nd December 2013, 00:49   #2373  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Hi MrC,

no rush for a final release, you sure deserve a little relaxing after the end of year job stress...

Quote:
Fortunately "not mod4" is very rare
Not so rare here... Of my last 5 YouTube downloads 3 had a frame size of 854x480.

(In case someone has an issue with "YouTube downloads", I did ask in the "The Rules Explained" thread, and it should be OK to discuss YouTube downloads here once they have been online for some time. See here: http://forum.doom9.org/showthread.ph...38#post1658338 )

In the meantime I just had to get the modified version of a2dsource.avsi ready. Works nicely on my computer now, but I could sure use some feedback...

Link:
http://www.sendspace.com/file/vj9l01

I made two modded versions of the script. The first version just skips DirectShowSource if the source is not MOD4 and jumps directly to ffmpegsource2. The second version adds the DSS2 source filter to the script. Requires that the Haali splitter is installed and that avss.dll is copied from the Haali folder to the AVS2DVD\lib folder.

I am not sure yet if DSS2 or ffmpegsource2 has the edge. With ffms2 the indexing takes some time, but the actual linear decoding seems to be a little faster on my machine than DSS2.

For both versions of the script I left the AVISource part unmodified. I have AviSynth 2.57 installed (any newer version is not compatible with DVD2SVCD which I still use all the time). And with this AviSynth version AVISource does decode NON-MOD4 AVI files without problems. But when I had installed the latest AviSynth 2.60 alpha version, AVISource would also garble NON-MOD4 AVI files.

So I have included a NON-MOD4 AVI file in the download, and I would appreciate some feedback from other AVS2DVD users. Does AVStoDVD handle this source file without problems or not, and which Windows version and AviSynth version are you using? It might be necessary to also branch from AVISource to a different source filter if the source is NON-MOD4.


The implementation of the changes did cause some headaches for me, mainly because I am not too experienced with AviSynth scripting. The thing which is not very elegant is that in order to determine the width of the source clip within an AviSynth script, I have to load the source clip first. This means invoking DirectShowSource early in the script and possibly disregarding it later. But I have not found a way to access the MediaInfo information about the clip properties from within the AVS script. Something for the AviSynth gurus...


Alright, Happy Holidays for everybody, Merry Xmas and all my best wishes for the new year...


Cheers
manolito

Last edited by manolito; 22nd December 2013 at 00:55.
manolito is offline   Reply With Quote
Old 22nd December 2013, 21:53   #2374  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
Hi manolito

the script works (good job!), there is just a coding "inelegance" when invoking DSS at the beginning to find out the clip's width: if the clip cannot be opened by DSS, then MOD4 variable will be always 0

Code:
DirectShowSource(VideoSource)
MOD4 = width() % 4
It is true that if DSS cannot open the clip, we do not care about the mod2 issue, and FFMS2 will be returned.

A more "elegant" way would be to test every time the Video.width property and, if fails mod4, to jump to the next source filter. Not sure if the integration with the Try...Catch control structure is easy (or even possible).

I'm thinking about handling the issue within AVStoDVD (in the AVS script generation routine) where I have all the Mediainfo properties available: if the width is not mod4, then skip A2DSource and go directly with FFMpegSource.
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum

Last edited by MrC; 22nd December 2013 at 21:57.
MrC is offline   Reply With Quote
Old 23rd December 2013, 00:49   #2375  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Thanks MrC for the kind words...

I knew my solution was not too elegant, but your hints were right on the money (as usual). So here is my latest effort, and this is as elegant as it can possibly get. It requires just 1 additional line in the a2dsource.avsi.

The DSS section now looks like this:
Code:
Try {
	SourceStr = "A2DVideoSource: DirectShowSource"
	Video = DirectShowSource(VideoSource, fps = FrameRate, convertfps = VFR, audio = false)
	Video = (Width(Video) % 4 == 0) ? Video : Error
	}
What did the trick was setting the "Video" variable to "Error" in case of a non-mod4 source. I had tried setting it to "0" before, but that did not work. This was pure trial and error (or call it intuition), I did not find anything about the "Try...Catch" details in the AviSynth documentation.

Whatever, this version works perfectly on my computer.
Quote:
I'm thinking about handling the issue within AVStoDVD (in the AVS script generation routine)
I don't think that this would be necessary, and just modifying the a2d source script has the additional advantage that users can add their own preferred source filters to the script. (I really like DSS2...)

BTW did you have a chance to test if the non-mod4 AVI works on your system using AVISource?

Anyways, I promise I won't bug you any more before next year...


Cheers
manolito
manolito is offline   Reply With Quote
Old 23rd December 2013, 13:48   #2376  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
No bugging, this is support!

The version #2 is brilliant and elegant, just one more code line. Beautiful! I would add the 'Video = (Width(Video) % 4 == 0) ? Video : Error' line also in the AVISource section because, on my system, it outputs the same garbage as DSS.

I agree that, with the solution you proposed to A2DSource.avsi, I do not need to change the AVStoDVD routines.

Thanks again and have a nice Xmas and all the best for 2014



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 24th December 2013, 18:52   #2377  |  Link
yab_tater
Registered User
 
yab_tater's Avatar
 
Join Date: Jun 2012
Posts: 11
Menu Editor: Choosing Text Outline Color

Happy holidays!

I was curious if any progress had been made regarding adding the ability to choose the outline color of text in the Menu Editor? I know your to-do list is long, so its all good either way.
yab_tater is offline   Reply With Quote
Old 25th December 2013, 13:43   #2378  |  Link
yab_tater
Registered User
 
yab_tater's Avatar
 
Join Date: Jun 2012
Posts: 11
Custom Chapters: Bad Timing

I thought I would be fancy for my current project and set custom chapter breaks in my DVDs. I counted out the frames using Avidemux and Vitualdub, unchecked "Use Source Chapter List" in my preferences, set the Chapter Interval to 999, and then opened my View/Edit Title Settings, went to Chapters, deleted any previous auto generated chapter breaks, and added new breaks with my frame counts. Unfortunately, the frame values were resulting in bad (too short) times. In one example a chapter break at frame 31893 corresponded to a time stamp of 0:22:10.205 in Virtualdub, but in the custom chapters window of AVStoDVD, frame 31893 was showing a time stamp of 00:17:44.164. Obviously, this mistiming is thoroughly throwing off my chapter breaks when I play the DVD. Not surprisingly, the automatically generated chapter breaks have similarly messed up timing, for example the auto generated chapter break for frame 18000 shows a time stamp of 10:00.601 where in my source videos, frame 18000 corresponds to a time stamp of 12:30.751. And if you are at this point wondering, my source material clocks in at 23.976 fps.

Aside from whatever is the root cause of this issue, it seems entering custom chapter breaks via time stamp (something, for example DVD Styler can do) would be a straightforward way of sidestepping the issue. It would also allow an easy way to add "close enough" chapter break values without having to open up a specialized application in order to count frames.

Thanks for your attention.

PS -- After working on this some more this morning, the problem is indeed caused by my source material being 24fps where AVStoDVD is assuming it is 30fps. I can work around the problem to a certain extent by taking my frame count and multiplying it by 1.25. This stops working if I try to put a chapter break near the end of a video as my multiplication can produce a number of frames larger than contained in the file, and the too large value gets flagged as an invalid figure. So, there you are.

Last edited by yab_tater; 25th December 2013 at 18:52. Reason: updated information
yab_tater is offline   Reply With Quote
Old 25th December 2013, 21:53   #2379  |  Link
MrC
AVStoDVD Dev
 
MrC's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 1,302
@yab_tater

unfortunately no progress so far on text outline color in DVD Menu. But do not give up hope...

About chapters position when source is NTSC-film based (23.976 fps), you have to consider that the output will be at 29.97 fps (2:3 pulldown), hence the output frames "seen" by Muxman will be more than the source frames. This effect is considered in AVStoDVD. If you want a chapter flag at 10:00 minutes, put 18000 fps and you will have it in the output DVD. I suggest you to use the 'Preview Clip' option, you will have the possibility to easily insert the chapters flags using a proper button in a visual context. AVStoDVD will take care to do all the timestamps-to-frames conversions.

I may agree with you that switching from frames to timestamps in the manual insert routine would be less confusing. Another item in the ToDo list.



Bye
__________________
MrC

AVStoDVD Homepage
AVStoDVD @ Doom9 Forum
MrC is offline   Reply With Quote
Old 25th December 2013, 23:08   #2380  |  Link
yab_tater
Registered User
 
yab_tater's Avatar
 
Join Date: Jun 2012
Posts: 11
Quote:
Originally Posted by MrC View Post
@yab_tater

unfortunately no progress so far on text outline color in DVD Menu. But do not give up hope...
Oh well, something to look forward to in the future.

Quote:
About chapters position when source is NTSC-film based (23.976 fps), you have to consider that the output will be at 29.97 fps (2:3 pulldown), hence the output frames "seen" by Muxman will be more than the source frames. This effect is considered in AVStoDVD.
This is a puzzling statement as the working bits of AVStoDVD are very happy taking 24p as input and outputting the same. My ISO files/DVDs are still in 24p, there is no 2:3 pulldown to 30fps. This was in fact the reason I stopped using DVD Styler as it always outputs at 29.97fps and I wanted to retain 24p. Perhaps this is the problem, the custom chapter code is taking into account 2:3 pulldown when it is not taking place.

Quote:
If you want a chapter flag at 10:00 minutes, put 18000 fps and you will have it in the output DVD. I suggest you to use the 'Preview Clip' option, you will have the possibility to easily insert the chapters flags using a proper button in a visual context. AVStoDVD will take care to do all the timestamps-to-frames conversions.
I am sorry I was not clear in describing my problem, which is that, to use your example, putting in 18,000 frames does not result in a break at 10:00 in my DVDs, but one at 8:00. To get a chapter break at 10:00, I would need to enter a frame count of 22,500. Interestingly, the frame counter of the AVStoDVD preview window shows the correct fps in relation to time, so this may be another work around to the problem.

Quote:
I may agree with you that switching from frames to timestamps in the manual insert routine would be less confusing. Another item in the ToDo list.
It is good to have things with which to stay busy.
yab_tater 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 17:41.


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