View Full Version : Another plugin for DVD2SVCD: miniDVD & DVD authoring


jsoto
10th February 2003, 01:02
Updated on 26-Oct-2005 to include the link
Download from: mDVDAuth043.exe (http://jsoto.posunplugged.com/mDVDAuth/mDVDAuth043.exe)

Updated on 13-Oct-2004 to include the link
Download from: mDVDAuth042.exe (http://jsoto.posunplugged.com/mDVDAuth/mDVDAuth042.exe)
-----------------------------------------------------------------
Current features (mdvdauth043):
- mDVD & DVD authoring (using IfoEdit)
- ac3 to ac3 transcoding (using BeSweet) to save bitrate
- subtitles using VobEdit or VobSup+SubToSup
- up to two audio tracks
- supports mp2 or ac3 2.0 low rate output tracks
- Frame selection support (only one selection)
- ac3 error fixing and delay correction
- GUI & installer
- audio pitch conversions in NTSC to PAL
------------- ORIGINAL POST ------------------------------------
In a miniDVD (DVD format in CD media) you can use all the features of the standard DVD, as ac3 sound, menus, subtitles, "true" navigation, etc

NOTE: I've writen this script to author miniDVDs, but it also can be used to author DVDs (There is a variable to choose between DVD and miniDVD)

I´ve been surprised, but many "new" and cheap DVD players are able to play miniDVDs. I have succesfully checked the following ones:

- LENCO D-204
- CYBERHOME 505 (hacked, unhacked I do not know...)
- YUKAI 560
- ABOSS DS-8319

Also, I've found a lot which are not be able to play them..
- THOMSON 4200
- THOMSON DTH-5200
- LG-3351
- PS2 (I´m not sure about the version I've tested)

The reading of the following threads is recommended:
dvd2svcd DVD to DVD-R in later versions
http://forum.doom9.org/showthread.php?s=&threadid=28017
ac3 reencoding too quiet
http://forum.doom9.org/showthread.php?s=&threadid=52263

PLUGIN:
-------
This plugin is based in Autoit and uses IfoEdit 0.95 as authoring tool. It is my first script with Autoit, so probably it is not efficient and also could have many bugs. So, there is room for improvement ;-)

I have a main issue related with Audio Delay:
Currently I'm not sure about the direction of the delay adjustment
The value reported by dvd2svcd is usually negative and I use two options
- BeSweet with -ota( -d value_msecs ), value has the same sign than dvd2svcd reports
- BeSplit with -split ( value_secs ), value has the same sign than dvd2svcd reports
I really do not know if I have to change or not the sign. Any feedback will be very appreciated.

I still didn't test so much the script (I don't have much free time), so please be patient if it fails....


README.TXT
====================================================================
miniDVD authoring plugin for DVD2SVCD
by jsoto

Version 0.1.1
09 Feb 2003

1.- SOFTWARE NEEDED
-------------------
dvd2svcd (obvious!)
BeSweet1.4 (for ac3 transcoding)
BeSplit (for delay adjustments)
IfoEdit 0.95 (for authoring)

2.- WHAT IS IT
--------------

There are some players (the newest and cheapest ones) which are able
to play miniDVDs, that means DVDs in CD media, but, as far as I know,
there is not an automatic tool to generate them. The main advantage of
a miniDVD is that all DVD features are supported, including ac3 sound.

This tool is a plugin for DVD2SVCD, and allows to create a set
of miniDVDs automatically. It uses IfoEdit 0.95 for authoring

For more information about miniDVDs go to www.doom9.org

It also is valid to authoring DVDs, containing the movie only, with no extras

3.- HOW IT WORKS
----------------

This plugin, is actually an executable launched instead of VCDXBuild.

Also, a "fakebbmpeg" executable is provided, to avoid wasting time and
disc space in mpg muxing processes.

For audio processing, there are two choices, (selected with the executable)
- Runbesplit: With this exe, no recoding will be done, only delay adjustment.
- transcodeac3: Transcode the ac3 to the selected bitrate

4.- INSTALLATION & USAGE
------------------------

1) Create "mdvdauth" under your DVD2SVCD dir.
(e.g. "C:\Program Files\DVD2SVCD\mdvdauth")

2) Extract all files to that directory.

3) Double-click mdvdauth.ini file and edit necessary settings:
Path to ifoedit 0.95
Path to dvd2svcd
Path to BeSweet 1.4
Path to BeSplit
mdvdauth: Variable to choose between dvd and minidvd

4) Launch DVD2SVCD, and follow the instructions:

- Audio tab:
A) If you do not want to convert audio, only delay adjustments
Select the same bit rate than the original one and select executable
..\DVD2SVCD\mdvdauth\runBeSplit.exe in BeSweet path
Trick: You can use audio stream 2 at 64 kbit/s. It will be ignired, but
the space will be taken in account by dvd2svcd, so selecting 384 in
audio stream 1, a space equivalent to 448 will be reserved to audio 1
B) Transcode ac3 (change bit rate and gain)
Select gain in dvd2svcd (in the case of autodetect, gainini will be used)
Select bitrate in one or both audio streams (MUST be higher than 224)
Select the executable
..\DVD2SVCD\mdvdauth\transcodeac3.exe in BeSweet path
Be aware of the gain bug in BeSweet/ac3enc

- bbmpeg tab
use executable ..\DVD2SVCD\mdvdauth\fakebbmpeg.bat
- bitrate tab
Select CDs of 685 MB (for 700 MB/80 min) (May be 690 will be more accurate)
Select CDs of 645 MB (for 650 MB/74 min) (May be 640 will be more accurate)
Select One CD of 4300 MB for DVDs (Not tested)
- CDImage
select VCXBuild but use executable
..\DVD2SVCD\mdvdauth\mdvdauth.exe in VCXbuild path


- When dvd2svcd launches Besweet, audio delay adjustments or transcoding+delay
will be done
- When dvd2svcd launches bbmpeg, some fake files will be generated
in few seconds.

- When dvd2svcd launches VCDXBuild, the DVD authoring process is started
using IfoEdit. Please note that VCDXBuild is launched once per any CD, but
mdvdauth do all the job when it is called with CD1 as parameter and exits
in all the other cases.

- After DVD authoring is finished, a new folder (DVD) in the movie directory
is created, containing :
DVDauthoring: A temporal folder and a ROOT folder containing the movie
miniDVDauthoring: ROOT folder, a temporal folder and four CD folders.
Not all CD folders are valid, only the number of selected CDs (bitrate tab)
contain the movie, the rest should be empty; at least, this is the
expected behavior;-).

It is highly recommended to use ImgTool to generate a DVD image. Then, mount it
with daemon-tools, test it with your favorite DVD player SW and burn it with
your burning tool (CD to CD copy)

5.- KNOWN ISSUES
----------------
Do not touch the keyboard or mouse during the authoring. Autoit waits
for some windows to be active or non-active

Audio Language: In the images, the language is not specified.

Audio Delay: Maximum delay supported between 999 msecs and -999 msecs
Also, In the case of BeSplit, I'm not sure if I am correcting
it in the right direction or if I am duplicating the delay.....

6.- FEATURES
------------
- Subtitles are not supported
- Up two audio streams are supported
- Original DVD or fixed chapters are supported. (Selected in CDImage tab)

7.- CHANGES
-----------

0.1.1 ----

First beta

8. CREDITS
----------

Thanks to dacow for the idea of using autoit.

Thanks to AutoIt author for this great scripting language.
http://www.hiddensoft.com/AutoIt/

Thanks to Derrow, DSPGuru and dvd2svcd for their powerful tools

================================================================


ZIP FILE:
----------
And, finally, the zip file:


Cheers

markrb
10th February 2003, 03:39
Moved to the advanced forum.

There doesn't appear to be an attachment. I went to approve it and there is nothing there.

Mark

jsoto
10th February 2003, 22:57
I don't know what happened, so I will try again.

BTW, I've fixed a couple of bugs, may be it is still too buggy, there is another bug not fixed in chapters.

I've also changed the readme.txt

Cheers

jsoto
11th February 2003, 00:37
I deleted the file (although it now was uploaded...) because I find a major bug. (IfoEdit can be resized and the script does not work as expected)

I´ve fixed it, but I prefer to do a complete run this night before publish it. Please be patient with me...

DSPguru
11th February 2003, 06:25
in fact, mp2&ac3 positive/negative delay correction is also possible using the 'payload' mode of BeSweet v1.5

jsoto
12th February 2003, 00:07
Hi again,

I´ve done some tests more and no issues found, so here is the zip file

I am still unsure about a previous “random” behaviour in chapters on the final folders. Sometimes they are fully ok, sometimes fails only one CD, and other (rarely) both.
Seems that value 0 is not valid for Ifoedit, so I have removed it, but I’m not confident in this point.. May be something is not very inicialized, so I also set many values of Ifoedit.ini

Please read the readme.txt included in the file, there are some new remarks

@dspguru:
I knew your proposal, but I’ve not tested it. I still have to test more the transcoding tools, it seems that the new ac3enc included in BeSweet1.5b13 (the one distributed by dvd2svcd) has lower gain than the one included in BeSweet1.4, but, do not take this in account, I only have tested it once...
BTW, I am using bsplay to test the final ac3, and I do not have the required ac3 HW on my computer, so tests are not so good...

Cheers

Edit to delete the attachment. It was an old version.

Clixo
12th February 2003, 11:06
@ jsoto : sory but where is the zip file i cant see it :( please can you send it by mail ? clixomano@hotmail.com

thanks

jsoto
12th February 2003, 22:01
Zip file is in my fourth post of this thread (11th-Feb). At least, I can see it editing the post. Seems it is not approved yet.

@markrb
Is there any problem with it again?.

@Clixo
As you probably know, I´ve sent it to you.

Cheers

jsoto
13th February 2003, 00:12
After some tests in audio transcoding and delay adjustments, I think the plugging only works fine (taking in account gain issue) in the case of using BeSweet (transcodeac3) and negative or cero delay adjustments. Using runbesplit the delay is duplicated or simply nothing is compensated.

@DSPGuru
I need your help in some points, but first of all I would like to give you my personal congratulations for your job. I´m really an addict of your tools (Great!),

Well, I have the following problems:
A) BeSplit was initially designed to split audio streams, so it can compensate “positive” delays, but it cannot do nothing with negative ones, is it true?
i.e., the following command:
BeSplit.exe -core( -input <filein> -prefix <fileout> -type ac3 -ending ) -split( -2 )

Will produce the same output. Isn´t it?

B) Following your indications, I am changing to BeSweet (-payload) also for delay adjustment (and no transcoding). Well, I have as source one minute ac3 track. I am not sure about the command syntax (see logfiles) but I obtain good results in the case of negative and cero delay, but not in the case of positive delay. I am not able to reproduce the track neither with bsplayer nor DVDplayer.
So, I try another useful tool, BeSliced, and after that, I was able to reproduce it, but it seems no delay is included.

Logfiles: BeSweet, BeSliced of BeSweet output and of BeSweet input

BeSweet v1.5b15 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using AC3enc.dll v0.21 by Fabrice Bellard (http://ffmpeg.org).

Logging start : 02/12/02 , 23:11:23.

c:\Archivos de programa\besweet1.5b15\BeSweet.exe -core( -input D:\SVCD_CD1\tests\Extracted_1_min.ac3 -output D:\SVCD_CD1\tests\besweet_pos_1.ac3 -logfile D:\SVCD_CD1\tests\BeSweet_1.log -payload ) -ota( -d 2000 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\SVCD_CD1\tests\Extracted_1_min.ac3
[00:00:00:000] | Output: D:\SVCD_CD1\tests\besweet_pos_1.ac3
[00:00:02:000] +------- AC3ENC ------
[00:00:02:000] | Bitrate method : CBR
[00:00:02:000] | AC3 bitrate : 384
[00:00:02:000] | Channels Mode : 5.1
[00:00:02:000] | Error Protection: Yes
[00:00:02:000] +---------------------
[ 2975232] Conversion Completed !
[00:00:01:000] <-- Transcoding Duration
Logging ends : 02/12/02 , 23:11:24.

BeSplit v0.9b4 by DSPguru.
--------------------------

Logging start : 02/12/02 , 23:19:27.

C:\Archivos de programa\BeSplit\BeSplit.exe -core( -input D:\SVCD_CD1\tests\besweet_pos_1.ac3 -fix -logfile C:\DOCUME~1\jsoto\CONFIG~1\Temp\BeSliced.txt -type ac3 -output D:\SVCD_CD1\tests\besweet_pos_1_Fixed.ac3 ) -profile( BeSliced v0.3 )

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : D:\SVCD_CD1\tests\besweet_pos_1.ac3
[00:00:00:032] Stream error : Sync found after 95232 bytes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Channels Count: 5, Bitrate: 384kbps
[00:00:00:000] | Output : D:\SVCD_CD1\tests\besweet_pos_1_Fixed.ac3
[00:00:00:000] +---------------------
[00:00:00:032] Stream error : Sync found after 95232 bytes
[00:01:00:000] | Writing D:\SVCD_CD1\tests\besweet_pos_1_Fixed.ac3
[00:01:00:000] +---------------------
[00:01:00:000] Operation Completed !
[00:00:00:000] <-- Process Duration
Logging ends : 02/12/02 , 23:19:27.


BeSplit v0.9b4 by DSPguru.
--------------------------

Logging start : 02/12/02 , 23:20:08.

C:\Archivos de programa\BeSplit\BeSplit.exe -core( -input D:\SVCD_CD1\tests\Extracted_1_min.ac3 -fix -logfile C:\DOCUME~1\jsoto\CONFIG~1\Temp\BeSliced.txt -type ac3 -output D:\SVCD_CD1\tests\Extracted_1_min_Fixed.ac3 ) -profile( BeSliced v0.3 )

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : D:\SVCD_CD1\tests\Extracted_1_min.ac3
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Channels Count: 5, Bitrate: 384kbps
[00:00:00:000] | Output : D:\SVCD_CD1\tests\Extracted_1_min_Fixed.ac3
[00:00:00:000] +---------------------
[00:01:00:000] | Writing D:\SVCD_CD1\tests\Extracted_1_min_Fixed.ac3
[00:01:00:000] +---------------------
[00:01:00:000] Operation Completed !
[00:00:00:000] <-- Process Duration
Logging ends : 02/12/02 , 23:20:08.

Thanks in advance.

I also obtain the same results in the case of ac3 transcoding (of the same source).

jsoto

EDIT:
About ac3enc, the results I am now obtaining are the same with the dll included in BeSweet1.4 and the one included in 1.5b15. I was wrong, as I suposed.

DSPguru
13th February 2003, 20:41
a. true :)
b. yeap. your logfiles prooves there's a problem. i'll check it out whenever possible.

jsoto
15th February 2003, 20:40
@DSPguru
Many thanks for the information.
If you need some for testing, please ask me. I do not have much free time, but be sure I will find it.

Cheers

TherapyClown
17th February 2003, 12:34
i think one of my wishes just came true with this plugin,
looking forward to test it (I have an exam on friday so i'm waiting for the weekend)
this looks like a great plugin for those who can't afford a DVD-R but want to take advantage of AC3 sound with their rips.
thnx alot for your work
TherapyClown

jsoto
7th March 2003, 23:05
Hi all,

I've finished a more elaborated script. Tests are not completely finished, but may be someone would like to help me in the testing process, so here it is a new zip file

This is the changelog (included in readme.txt)

0.2.1 :
- Improvement: Change all mouse clicks for keyboard inputs. Using mouse coordinates results in a non portable script (it was depending on PC font size, PC display resolution ...)
- Improvement: Subtitles are supported. Extraction is done using VobEdit.
- Improvement: Original subpicture attributes (colours, etc) are copied. Even if aspect ratio is different from the original, a reference to the subpicture stream in the new aspect ratio PGC is included
- Improvement: Audio attributes are kept in the final CD images.
- Bug Fix: Delay correction is now OK. I’ve written a small program to add/cut ac3 frames (The same idea than ac3 delay corrector)

Add. tools: Two additional tools included, used in the process
- copyifoattr. Similar to IfoUpdate, only command line and less powerfull but customized for this application.
- delayac3. Similar to ac3 delay corrector, but only command line and ac3 format.

Zip file (only exe because of file size limitation):

Edit: Deleted Zip file, new version available in this thread

jsoto
7th March 2003, 23:07
Now, the sources:

Edit: Zip deleted, new version available

Holomatrix
19th March 2003, 19:29
What about the way the DVD is ripped. Do we need to rip the whole DVD to the hard drive to be able to get all the extra's?
Thanks

jsoto
20th March 2003, 23:21
@Holomatrix
Sorry, extras are NOT supported.
For ripping, I use Smartripper (although it is not recommended in d2s guides), but I think using dvd2svcd ripper (vStrip) the plug also works fine. Please note subpictures are extracted from ripped VOBs, so they must be in the HardDisk.

I have a new version (only bug fixing), so I was going to delete the old ones in this thread, but I am not able to upload new attachments, because quota is full (http://forum.doom9.org/showthread.php?s=&threadid=48265)

Thanks to Marcel and Manuel for helping me in the testing process.
This is the changelog (included in readme.txt):
------------------------------------------------------------------
0.2.2:
- Bug Fix: D2S uses a trailing slash in audio folder when you select a folder structure. It was not taken in account and mdvdauth fails!
- Bug Fix: Strange behaviour in Ifoedit: Confirmation windows sometimes are titled as "IfoEdit" and sometimes as "Ifoedit" (The same window!!). Because Autoit is CASE SENSITIVE, it provokes a malfunction in mdvdauth. A Workaround has been done to do not use this Window Title.
- Bug Fix: Compatibility with dvd2svcd 1.0.9. (It uses an older version of Besweet, and command line parsing fails). Not really a bug, and fixed but not tested.
------------------------------------------------------------------

Cheers.

Edit to include the reason of no attachments

jsoto
2nd April 2003, 23:13
I put the zip in a free web, and now it can be downloaded
mdvdauth022.zip (http://www.iespana.es/jsoto/mdvdauth022.zip)

Cheers

Dropbear
4th April 2003, 01:27
Hi!

I tried your script.... I did not get an Encoded_audio*.ac3 file, I got an Extracted_audio*.ac3 file. After renaming extracted to encoded, I reran the SVCD creation stage and the utility worked fine.

Unfotunately it seems my XMS-750 (chinese no name DVD player) does not like MINI-DVD's, as it came back with "BAD DISK" when I tried to play a burned disk.. (The disk played fine in my PC.. PowerDVD played it ok)..

I'm wondering ... The DVD images you produce do not have a menu on them.. Would this be something that may confuse DVD players?? Do they have an instruction in the VTS file to jump to the first vob?? (Sorry I don't know the technicalities of DVD authoring)..

trying to work out why my DVD player doesn't like them, and whether they can be possibly made more "DVD compliant", if that's not an offensive suggestion.

jsoto
5th April 2003, 00:40
Hi Dropbear,

I did not get an Encoded_audio*.ac3 file, I got an Extracted_audio*.ac3 file

Probably readme.txt is not clear enough: If you select a bit rate lower than 224 k and the input ac3 is a 5.1, audio is not processed at all (in both tracks, first and second). Could this be your problem?. Please check mdvdauth_log.txt; if this is the case, a trace like the following should be logged. If not, please post this part of your mdvdauth_log.txt and also tell me your audio settings.

--------------------------------------------------------
transcodeac3: starting transcodeac3 at 01:05:23
--------------------------------------------------------
transcodeac3: Executing "C:\Archivos de programa\DVD2SVCD\mdvdauth\delayac3.exe" -info "Extracted_audio_1.ac3"
transcodeac3: Ac3mode=3/2 and bitrate =192 exiting without processing...


I'm wondering ... The DVD images you produce do not have a menu on them.. Would this be something that may confuse DVD players?? Do they have an instruction in the VTS file to jump to the first vob?? (Sorry I don't know the technicalities of DVD authoring)..

A playable menu is an option in DVD standard. It is not needed to be fully standard. In fact, IfoEdit uses a Pre command to jump directly to Title.


... possibly made more "DVD compliant", if that's not an offensive suggestion

Not offending at all. I am just a learner, not an expert, but the only thing, AFAIK, which is not standard in the miniDVD produced by this script (IfoEedit does all the job) is the resolution (if you have used dvd2svcd in "normal" mode); that means 480x576 pixels instead of one of the four officially supported. But, in my experience, this is not a problem in any settop able to play miniDVDs.
Looks like your settop does not support miniDVDs. In fact, I only can see other possibility, because, as you say, powerDVD plays it: If the miniDVD is not correctly burned, and sectors are not OK, PowerDVD could still be able to read it, and a settop cannot; but if you are using Coujo's Image Tools (Classic or Burning, whichever you want) this is not the case.

Hope it helps.

dvd2svcd
5th April 2003, 08:05
@dropbear:
Only a very very very few dvd players support minidvd's (dvd format on cd's). As jsoto says in his initial post some of the new megacheap once does but in the past you should be more than lucky to find one that supported it. You can get some advice on which does support it on vcdhelp's homepage.

Dropbear
7th April 2003, 00:25
If the miniDVD is not correctly burned, and sectors are not OK, PowerDVD could still be able to read it, and a settop cannot; but if you are using Coujo's Image Tools (Classic or Burning, whichever you want) this is not the case.


Actually... (blush) I just used nero to create a straight blank ISO, copied the AUDIO_TS and VIDEO_TS directories and went with that.. is that not a proper way to "burn" a mini-dvd?

jsoto
7th April 2003, 22:47
@dropbear

I am sure there are some threads taking about problems with nero, but currently search button is not working (at least for me).

Although in the past I tried to follow Derrows' guide to burn directly with Nero, I had no success (sure I've did something wrong, may be Nero's version), so I always use the following procedure, which also allows to test before burn:
a) Create an Image with Coujo's Classic Tool
b) Mount it with Daemon-tools
c) Test with powerDVD
d) Burn with Nero (CD to CD copy)

But, remember, there are few players able to play miniDVDs.

BTW, could you give me some feedback about the status of your audio problem?

Cheers.

jsoto
17th April 2003, 00:24
Hi all,

I have done some tests with frame selection. As I said in other thread (Autoit problems under winXP (http://forum.doom9.org/showthread.php?s=&threadid=50949) ), I’ve never used it before, but it is a very nice feature.

Unfortunately it is not so easy to manage this feature in mdvdauth, because it is possible to select two or three or even more clips. Audio is (obviously) also split in the selected number of files, so it should be taken into account.

So, at least for the moment, do not use frame selection with mdvdauth.

Cheers

Dropbear
17th April 2003, 00:37
For interests sake, the mini-DVD's work fine on an XBOX with XBOX media player 2.3

THXex
21st April 2003, 15:37
your plugin seems not to work for me :(

i installed everthing like the readme said but its not authoring the minidvd, there are no created disk1, 2, 3 folders

Holomatrix
21st April 2003, 16:54
Originally posted by Dropbear
For interests sake, the mini-DVD's work fine on an XBOX with XBOX media player 2.3

Well that's good to know :) Thanks for sharing. I was contemplating on either getting an XBOX or PS2 and since we're on the subject :) Does anyone know if they play on the PS2?

jsoto
21st April 2003, 18:21
@THXex
Please look into mdvdauth_log.txt. If you are not able to not see the problem, please post it.

@Holomatrix
As I said in my first post, I've had NO success in a PS2. But there are some different models, and may be the mod chips change the default behaviour...
The PS2 I test is a SCPH-30004, without any mod chip.

Cheers

winxi
29th April 2003, 18:56
Hi jsoto!

Today i´ve tried out your plugin, but it doesn´t seem to work properly. At the point, IfoEdit ís closed, mdvdauth.exe stops and simply doesn´t continue. The root folder contains the correct video_ts folder, but the cdx folders are empty. I´ve tested it with just the first chapter of a DVD. Since my player supports miniDVDs it would be great to make it run. Here are the logs:

[mdvdauth_log.txt]:
--------------------------------------------------------
transcodeac3: starting transcodeac3 at 17:59:51
--------------------------------------------------------
transcodeac3: Executing "F:\DVDRip\DVD2SVCD\mdvdauth\delayac3.exe" -info "Extracted_audio_1.ac3"
transcodeac3: Processing delay=0 gain=max ac3mod=3/2 from bitrate=448 to bitrate=384 transcode=0
transcodeac3: Copying F:\DVDRip\test8\Extracted_audio_1.ac3 to F:\DVDRip\test8\Encoded_audio_1.ac3
transcodeac3: Finished with ERRORLEVEL=0

--------------------------------------------------------
transcodeac3: starting transcodeac3 at 18:00:06
--------------------------------------------------------
transcodeac3: Executing "F:\DVDRip\DVD2SVCD\mdvdauth\delayac3.exe" -info "Extracted_audio_2.ac3"
transcodeac3: Processing delay=0 gain=max ac3mod=3/2 from bitrate=448 to bitrate=384 transcode=0
transcodeac3: Copying F:\DVDRip\test8\Extracted_audio_2.ac3 to F:\DVDRip\test8\Encoded_audio_2.ac3
transcodeac3: Finished with ERRORLEVEL=0

----------------------------------------------------
mdvdauth: starting mdvdauth at 18:07:29
----------------------------------------------------
mdvdauth: Calculating chapters using fixed chapters of 30 secs...

mdvdauth: Starting VobEdit in F:\DVDRip\test8
mdvdauth: at time: 18:07:32
mdvdauth: Finished VobEdit at time: 18:08:06

mdvdauth: Starting IfoEdit in F:\DVDRip\test8
mdvdauth: Starting muxing at time: 18:09:37


[delayac3.log]:
[ac3info]
Bitrate=448
Fsample=48.0
AC3mode=3/2
FileSize=16051389
BytesPerFrame=1792
TotalFrames=8957
FrameDuration=32.26
OriginalDuration=00:04:46.631
[Fixedac3info]
NotFixedDelay=0.00
FixedDuration=00:04:46.631
StartFramesAdded=0
EndFramesAdded=0
Rest= Error: There are uncomplete frames


[CellTimes.txt]:
750
1500
2250
3000
3750
4500
5250
6000
6750

Another thing:
Your plugin comes with the file mdvdauth_cd.ini. I edited it and renamed it to mdvdauth.ini, but it didn´t work, because of the typo

: CopyVideoAttr=1 means copy video IFO attr. All other value means do not copy.

Instead of the ':' it should be ';'.
Also, i think, the line

IfoEditTitle=IfoEdit v0.95

(under Window Titles) should be

IfoEditTitle=IfoEdit v0.94

because it´s the window name of IfoEdit095. Suggestion for the future: Why don´t automate the process of making images?

greets, winxi

THXex
29th April 2003, 19:15
to jsoto:
it would be very useful to know which versions of the dvd2svcd program you´ve used and which versions of the supporting (included) programs like besweet and ... you have used.

it´s still not working for me.

with the newest version of dvd2svcd there´s almost nothing happening very much after starting to proceed the software got stuck and nothings going on any more.

therefore i tried the older version but still there´s no creating of the subfolders disk1 and disk2 and there is no authoring at all, ifoedit is not starting.

jsoto
30th April 2003, 00:05
First af all, thanks for your reports.

@winxi

A few comments about your audio logs:

A) Seems you have selected “Audio downsamole 48->44.1”, which means do not transcode, and you have selected two tracks. The “problem" is that the original bitrate is 448 and dvd2svcd will calculate file sizes with 384 (the maximum bit rate available in the combo box), so you will have to take it (manually) into account in the CD size, if not, the resulting files will not fit in the CDs.

B) Unfortunately delayac3.log is overwritten during the processing of the second track, so we do not know if Extracted_audio_1.ac3 is OK or not. But, there is a problem in the second track (or may be a bug of delayac3.exe…)

FileSize=16051389
BytesPerFrame=1792
TotalFrames=8957
Rest= Error: There are uncomplete frames
Seems there is an uncomplete frame at the end of the ac3 file. It is not so important. Moreover, you are using just the same file, (because you have selected no transcoding and delay is cero, so nothing has to be comnpensated).
For your info: delayac3 reads the file size, and the file header to know the bitrate. Then, it calculates the framesize according to the standard (fixed with fsample and bitrate). So file_size/framesize MUST be an exact integer (this is not your case)

Please verify if FileSize=16051389 bytes is your file size reported in windows (To be sure if there is a bug in delayac3.exe or not) Also you can check your file with ac3 delay corrector (http://www.doom9.org/Soft21/Audio/ac3delay_all.zip) in order to see if reflects the same values...

C) Are you testing with a 5 minutes PGC?. Really? (16MB at 448k less than 5 minutes…). Celltimes.txt gives the same result…


: CopyVideoAttr=1 means copy video IFO attr. All other value means do not copy.
Instead of the ':' it should be ';'.
Ooops, sorry. You are right.


IfoEditTitle=IfoEdit v0.95
(under Window Titles) should be
IfoEditTitle=IfoEdit v0.94
No, 0.95 is correct (and the only one supported).
There is a “bug/mistery” in Ifoedit 0.95. Sometimes it starts with a title 0.94, Read this (http://forum.doom9.org/showthread.php?s=&threadid=39410)

I believe your main problem is the last one (Ifoedit title)

About your suggestion: I´ve started to do this job, but currently it is in the TODO list (create an image takes only a few time with Coujo's tools).

@THXex
I am using the last dvd2svcd release 1.1.3 build 2, but , in the recent past I´ve used 1.1.1 build 2.
Also, I`ve got the same results with BeSweet 1.4 (release) and 1.5 (several betas), so now, I am using the one included in the bundle 1.5b16, but be aware about gain bug in ac3enc (you can compensate it a litle bit adding some gain like 12 or 18, but, probably, azid output will be saturated in some points).

Please post your mdvdauth_log.txt. If you do not find it, please post your mdvdauth.ini

Greets.

winxi
30th April 2003, 10:12
Hello!

I tried the suggestion of the linked thread and deleted c:\windows\ifoedit.ini and changed the line in your ini back to
IfoEditTitle=IfoEdit v0.95.
Now it worked fine. Maybe a option in your program to delete c:\windows\ifoedit.ini before starting it would be quite helpful.

Btw, I checked the file size of the audio file and it was ok, so it isn´t a bug in delayac3.exe.

Thanks for the plugin!

greets, winxi

jsoto
30th April 2003, 21:17
EDIT 4 May
The right sentence seems to be (with two backslash)
IfNotEqual,CharRight, \\ , Goto, DoNotTrim
--------------------------------------------------------------------
Adge has found (and solved) one bug in mdvdauth. Thanks Adge!!
Seems it is time to produce a new release...

The code introduced in 0.22 to solve the backslash issue does not work. So do not select "folder structure" in Misc tab, or correct and recompile the scripts

Here is his mail
---------------------------------------------------------------------
Jesus,

My apologies for mailing to you directly, but the Doom9 forum will not allow me to post for another 5 days.

I am using your miniDVD plugin for DVD2SVCD (for a cheap Pacific 1020 DVD player - plays everything) but I am a little puzzled.

At first it would not work at all: as soon as it got to "transcodeac3.exe", AutoIt would give an error message saying that it could not execute the file. It suggested that slashes may be the problem.

So I downloaded AutoIt to learn how to use it, and decompiled your scripts (yes, I know you included them but I wanted to be sure there was no mistake). And I think I've found a bug in mdvdauth.

In both transcodeac3 and mdvdauth you have the following code:

IniRead, Folder_read, %dvd2svcd%\\dvd2svcd.ini,
Folders, Audio Folder
SetEnv, WorkingDir, %Folder_read%
StringRight,CharRight,Folder_read,1
IfEqual,CharRight, \ , Goto, DoNotTrim
StringTrimRight, WorkingDir, Folder_read, 1
DoNotTrim:

I guess that this is to handle the trailing '\' that sometimes appears on the folder in dvd2svcd.ini. But is seems to me to be the wrong way round. If there is a '\' detected it should invoke StringTrimRight, but as you can see above it only trims if the '\' is NOT present!

I believe the fourth line above should be

IfNotEqual,CharRight, \ , Goto, DoNotTrim

I have changed mine, recompiled and it now works - and I have made some excellent miniDVDs.

What puzzles me, however, is how it ever worked at all. Other respondents seem not to have a problem. Or are they using old versions? (you seem to suggest that this code was introduced in 0.2.2).

Or have I got it completely wrong?

Anyway, thanks for a great plugin to a great tool.

BTW, another teeny bug: line 489 of mdvdauth.aut says
; Focus on Get VTS sectors DVD\TEMP\VIDEO_TS
.. I think it should be VD\ROOT\VIDEO_TS

Adge

jsoto
4th May 2003, 22:41
Hi all,

I have finished a new release, still not deeply tested, but because some users are affected by the backslash issue, here it is. Please download from mdvdauth023.zip (http://www.iespana.es/jsoto/mdvdauth023.zip)

I am still a little bit unsure about:
- “folder structure” in D2S.
- delayac3 error fixing …

Any feedback will be appreciated.

This is the changelog (included in readme.txt, as usual):
0.2.3:
- Bug Fix: Backslash issue when trimming folder names (second attempt)
- Improvement: Check & fix CRC errors in delayac3 (using part of Fabrice Bellard code)
- Improvement: Check & fix uncompleted frames in delayac3
- Improvement: Complete support of folder structure (Misc Tab in dvd2svcd GUI)
- Improvement: Create images with ImgTool Classic 0.90. CDLabel is taken as VOLUME ID and destination folder is selected in CD Image tab.
- Improvement: Increase ifoedit & Vobedit speed using progress window position trick by Y coordinate setting in mdvdauth.ini
- Others: Do not check Vobedit presence if Subs=0
- Others: delayac3.log renamed to delayac3_%number%.log and delayac3_info_%number%.log
- Others: Correction of a wrong comment in mdvdauth.aut
- Others: Delete key WD in Ifoedit.ini, to avoid Ifoedit starting with Ifoedit 0.94 title.
- Others: Correction of a wrong character in mdvdauth_cd.ini

@dvd2svcd
Could you clarify me the following point?.
In dvd2svcd.ini there is a key in “settings” group for each folder of “folder structure”, but in “Folders” group there are some different keys. Specifically, I would like to know where the following files will be located:
dvd2svcd project file.d2s
dvd2svcd.ini (the one in the movie folder)
dvd2svcd chapters file.ini
I assume they will be located in “Source Folder”, but I can not find the appropriate key in “Folders” group, so I am using “DVD2AVI Folder” as the location of these files.

Cheers.

jsoto
6th May 2003, 20:24
Hi again

Following a user suggestion, I am trying to include mp2 or ac3 2.0 support in mdvdauth, mainly for the second track. For this feature, low bitrates will be used, so the trick of using a bitrate lower than 224 in the second track (in order to keep the accuracy of D2S bitrate calculator) will be incompatible.

@dvd2svcd
Could be possible to add 448k (an usual bitrate in ac3 5.1) as a selectable value in D2S audio tab?. I know it is not a SVCD standard, but may be in "advanced" mode...

Thanks in advance.

adge
8th May 2003, 09:54
There is a small bug in transcodeac3.exe. If you have a delay error (such as after a split VOB) then it will show up and abort the script.

In transcodeac3.aut, line 244 reads

Goto, TranscodeStart:

.. the ':' should not be there.

Until a new level is released, I have recompiled the script and you can find it (link removed - no longer needed).

Adge

jsoto
9th May 2003, 19:44
Thanks, Adge

As you have provided a link, I will not deliver another version until more bugs or features will be included.

Regards

jsoto
18th May 2003, 19:18
Hi all,

Just a minor update, to include ac3 2/0 and mp2 support (mainly for second track).
mdvdauth024.zip (http://www.iespana.es/jsoto/mdvdauth024.zip)

This is the changelog:
-------------------------------------------------------------------
0.2.4 (18-May-2003):
- Bug Fix: Second audio track not always detected.
- Improvement: Programmable action in the case of ac3 crc errors
- Improvement: Support of ac3 2/0 and mp2 transcoding (mainly for the second track)
- Bug Fix: transcodeac3 fails if delayac3 detects errors
-------------------------------------------------------------------

Cheers.

mic_ef
22nd May 2003, 13:50
Thanks for great Plug-In.
Works fine with SAMPO DVE-612(N) Standalone DVD.

THXex
11th June 2003, 21:32
at last i got it to work. :D

just like always the only fault is the idiot sitting before the machine :rolleyes:

the ini was not correct - stupid user :p



So thanks for the great Programm jsoto
when will there be a newer version?
i was wondering if there could be a better solution for the sound than besweet which seems to me is always a little bit more buggy and to quiet.

One thing remains: I still can´t make it work with subtitles - is there a known bug? Or am i still to stupid?

jsoto
11th June 2003, 23:26
@THXex

Ini_file: Sorry, I know to have the settings in an ini file is not the best solution, but I do not have too much experience in programming...

Audio: I was working with BeSweet/ac3enc, and, yes, there is a gain bug (in my tests, a 6 dB gain loss), but it is not so critical if you use autodetect max gain (at least it works fine for me). But, I have a very bad experience with WinDVD decoders (may be my installation is not good). Seems they do not work properly with ac3 generated by Besweet, not sure. In any case, encoded ac3 files sound well in PowerDVD and also in my settop (Yukai 560), so I suppose the problem is in WinDVD or, more probably, in my installation.

New release: I am currently very busy in my professional life and I do not have free time, but be sure any suggestion will be taken into account (the question could be if my knowledge will be enough to develop it; remember, mdvdauth is only a script, not really a "program").

Subtitles: I was not able to do them work fine in SW players using 480x576 (SVCD resolution), but they work fine in my settop and other settops I've tested. Please describe what is your problem with them and post your logfile mdvdauth_log.txt.

Cheers

andref4
22nd June 2003, 13:03
hy jsoto,

try the new besweet 1.5 b18. there is noc ac3enc bug in this version and v1.4. i tested v1.5b18 with 3 ac3 files an no one became lower volume.

jsoto
23rd June 2003, 00:52
Hi andref4,

Sorry, but I believe ac3enc.dll is the same (same lenght, same date) in 1.5b16 and 1.5b18. Also in 1.5b19 (which is available in Audio forum).

Please note you have to use "-g 0db" or "-g 1", in order to assure no extra gain is added by BeSweet. If you are using "-g max" or "-g 0" (without db), the maximum gain before saturation will be applied. As I said before, -g max works fine for me, I am happy with it.

In my tests, I use azid to measure the peak level of each channel before and after ac3 transcoding
You can find my results here (http://www.iespana.es/jsoto/results.zip). They are using BeSweet1.5b16, but I get exactly the same values with 1.5b18

Cheers.

doktor motte
11th July 2003, 23:44
@jsoto:

I post my mdvdauth.log to hope you can help me with my prob.

I have all pathes in the mdvdauth.ini route to the right directory and dvd2svcd 1.1.3 build 2 installed properly under win xp prof.

But as you can see in the log your plugin won't work for me.

I hope you can help me to become your plug working.

----------------------------------------------------
mdvdauth: starting mdvdauth at 04:33:13
----------------------------------------------------
mdvdauth: AudioFolder=ERROR= WorkingFolder==
mdvdauth: SourceFolder=ERROR= ImageFolder=ERROR=
mdvdauth: Correcting number of Audio tracks to 1
mdvdauth: cannot find ERROR\dvd2svcd.ini: exiting...

jsoto
14th July 2003, 23:19
Hi doktor motte,

Sorry for the delay in my answer, but this month I am not online during weekends...

Seems something is wrong in your ini file. Please post your mdvdauth.ini--> dvd2svcd value is not set.

Another point is that there are no traces of transcodeac3. It should trace before mdvdauth in the same log file... Are you using this exe?

Cheers

doktor motte
15th July 2003, 20:13
@jsoto:

As asked to me here comes the mdvdauth_cd.ini:

[General]
; dvd2svcd: Default DVD2SVCD installation path, no trailing slash!
dvd2svcd=E:\Programme\DVD2SVCD
; Windir: Only needed if environment variable not set (rare)
Windir=E:\Windows

[mDVDAuth]
; Path to Ifoedit & Vobedit, no trailing slash!
ifoedit=E:\Programme\DVD2SVCD\mdvdauth\IfoEdit
vobedit=E:\Programme\DVD2SVCD\mdvdauth\VobEdit
imgtool=E:\Programme\DVD2SVCD\mdvdauth\ImgTool
; Window Titles (CASE SENSITIVE!!!)
VobEditTitle=VobEdit v0.6
IfoEditTitle=IfoEdit v0.95
ImgToolTitle=ImgTool classic
; mdvdauth= 1 means minidvd. Any other value means DVD
mdvdauth=1
; Subs=1 means all subpictures. Any other value means no subs
Subs=0
; Imgs=1 means make Images. Any other value means no Image Creation
; DVD images need a NTFS file_system, if size is higher than 4 GB
Imgs=1
; CopyVideoAttr=1 means copy video IFO attr. All other value means do not copy
CopyVideoAttr=1
; Use this to increase VobEdit and IfoEdit speed, but be careful.
; It is a NON-PORTABLE value and progress windows MUST be INSIDE the ; screen.
; You can find your optimum value running manually and
; moving the progress window near the bottom of the screen, with only the
; upper part of the vindow visible. Then read windir\ifoedit.ini or
; windir\vobedit.ini: Y value in Settings field is the right one for you.
; If you are unsure, comment the line (a value 200 will be used, which is a safe one)
;YSetting=735

[Audio]
; Path to BeSweet, if not present, DVD2SVCD\BeSweet will be used. No trailing slash!
;besweet=E:\Programme\DVD2SVCD\mdvdauth\BeSplit

; fixcrc: Action in the case of crc errors in ac3: {ignore, fix, skip, silence}. Default:ignore
; ignore: keeps the frame as it is
; fix: keeps the frame, but changes crc to the right value
; silence: replaces the frame with a silence one
; skip: deletes the frame
fixcrc=silence

;lowrate: Audio Format for lowrates ( less than 224k): {ac3,mp2}
; ac3: Uses ac3 2/0
; mp2: Uses mpeg1 layer 2
lowrate=ac3

All pathes are, in my opinion, correct set.
DVD2SVCD 1.1.3 Build 2 is correctly installed and also inside DVD2SVCD the pathes were set like you mentioned in your readme.txt.

About your question with the transcodeac3 i have been using besplit to only fix the delay with the ac3-stream but not transcode it. Also in the way you mentioned in your readme.txt.

doktor motte
15th July 2003, 20:21
@jsoto

At the moment I have seen that path in mdvdauth.ini for besweet was not set, i have corrected these but came into the same error message in the log like this:

besweet=E:\Programme\DVD2SVCD\mdvdauth\BeSplit

without the leading ;

Perhaps you can tell me the way you start ifoedit so i can do this by hand.

I love miniDVD as my Cyberhome 505 plays them 100%.
So i hope i become your plug working, cause it runs fully automatic.

jsoto
15th July 2003, 22:24
Hi again, doktor motte

Two small and very simple things. Excuse me if they are too simple, but I have some dudes..

a) Did you copy mdvdauth_cd.ini to mdvdauth.ini?. mdvdauth.ini is not distributed and must exist. mdvdauth_cd.ini is only a template...

b)Besplit is not used anymore, mainly because it can not compensate positive delays.
Although you do not want to transcode the audio you must select in dvd2svcd Audio tab the executable
..\DVD2SVCD\mdvdauth\transcodeac3.exe
in BeSweet path box. Checking the downsample box, no transcoding will be done, but delay compensation will be executed (if needed)
- transcodeac3 must trace before mdvdauth in the same log file.

I am still confused. In which path is located mdvdauth_log.txt?.

And finally, if all is Ok from your point of view, please send me by email the following files (zip format, please), just after a failure:
- dvd2svcd.ini (under dvd2svcd installation path)
- dvd2svcd project file.d2s, under movie folder
- mdvdauth.ini (if it is different from the one you have post)
I will try to reproduce your problem using your environment.

Cheers

doktor motte
16th July 2003, 20:40
Hi jsoto,

thnx lot for your help.

I think i found now my minor fault. As often the error was in front of the machine :confused:

I haven't checked out that i have to save the mdvdauth_cd.ini after setting all pathes and the switches as mdvdauth.ini.

So i go to try it this time in the right way and post you tomorrow evening if i had success. I also will take the transcodeac3.exe instead of the BeSplit.exe to do the delay thing as you mentioned.

So till then cheers to you and much thnx for your convenience with me and your help. :cool:

doktor motte
19th July 2003, 20:13
Hi jsoto,

first sorry for the delay. Caused by temperature probs my CCE crashed lot of times.

But now i tested again your plug and now it worked.

The fault was the not-renaming your mdvdauth_cd.ini to mdvdauth.ini.

I renamed it and now it worked perfectly. Also with transcodeac3.exe

things were fine.

So again i say thnx for your help and being patient with me.

:cool: :D

build
7th September 2003, 11:50
G'day,
Third try to create a mDVD, still no result. This is my mdvdauth log, can you see my stupidity?
tia
build
The last one, at the bottom, I included others from earlier attempts too.
--------------------------------------------------------
transcodeac3: starting transcodeac3 at 00:10:37
--------------------------------------------------------
transcodeac3: Executing "E:\PROGRAM FILES\DVD2SVCD\MDVDAUTH\delayac3.exe" -info "Extracted_audio_1.ac3"
transcodeac3: Error parsing command line exiting...
transcodeac3: Processing delay=0 gain=2 ac3mod=2/0 from bitrate=192 to bitrate=unknown transcode=1 stereo=0
transcodeac3: Executing "E:\PROGRAM FILES\DVD2SVCD\MDVDAUTH\delayac3.exe" -start 0 -fixcrc silence -same Extracted_audio_1.ac3
transcodeac3: Finished OK
transcodeac3: Executing "E:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input Extracted_audio_1_fixed.ac3 -output "F:\myDVD\audio\Encoded_audio_1.ac3" -logfile "F:\myDVD\audio\BeSweet_1.log" -substream SubS ) -azid( -g 2 -c normal ) -ac3enc( -b unknown )
transcodeac3: Finished WITH ERROR see BeSweet_1.log ReturnValue= 74

----------------------------------------------------
mdvdauth: starting mdvdauth at 08:22:29
----------------------------------------------------
mdvdauth: AudioFolder=F:\myDVD\audio= WorkingFolder=F:\myDVD=
mdvdauth: SourceFolder=F:\myDVD\source= ImageFolder=F:\myDVD=
mdvdauth: cannot find C:\Program Files\VobEdit\Vobedit.exe: exiting...

--------------------------------------------------------
transcodeac3: starting transcodeac3 at 11:21:10
--------------------------------------------------------
transcodeac3: Executing "C:\PROGRAM FILES\DVD2SVCD\MDVDAUTH\delayac3.exe" -info "Extracted_audio_1.ac3"
transcodeac3: Error parsing command line exiting...
transcodeac3: Processing delay=0 gain=2 ac3mod=2/0 from bitrate=192 to bitrate=unknown transcode=1 stereo=0
transcodeac3: Executing "C:\PROGRAM FILES\DVD2SVCD\MDVDAUTH\delayac3.exe" -start 0 -fixcrc silence -same Extracted_audio_1.ac3
transcodeac3: Finished OK
transcodeac3: Executing "C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input Extracted_audio_1_fixed.ac3 -output "J:\myDVD\audio\Encoded_audio_1.ac3" -logfile "J:\myDVD\audio\BeSweet_1.log" -substream SubS ) -azid( -g 2 -c normal ) -ac3enc( -b unknown )
transcodeac3: Finished WITH ERROR see BeSweet_1.log ReturnValue= 74

----------------------------------------------------
mdvdauth: starting mdvdauth at 20:08:53
----------------------------------------------------
mdvdauth: AudioFolder=J:\myDVD\audio= WorkingFolder=J:\myDVD=
mdvdauth: SourceFolder=J:\myDVD\source= ImageFolder=J:\myDVD=
mdvdauth: cannot find J:\myDVD\audio\Encoded_audio_1.ac3 neither J:\myDVD\audio\Encoded_audio_1_mp2.mp2 : exiting...

//*******************************
& BeSweet log

BeSweet v1.5b19 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using AC3enc.dll v0.22 by Fabrice Bellard (http://ffmpeg.org).

Logging start : 09/07/03 , 11:22:03.

C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input Extracted_audio_1_fixed.ac3 -output J:\SpiderMan\audio\Encoded_audio_1.ac3 -logfile J:\SpiderMan\audio\BeSweet_1.log -substream SubS ) -azid( -g 2 -c normal ) -ac3enc( -b unknown )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : Extracted_audio_1_fixed.ac3
[00:00:00:000] | Output: J:\SpiderMan\audio\Encoded_audio_1.ac3
[00:00:00:000] | Floating-Point Process: No
Error 74: Bad configuration for AC33enc. Couldn't initialize.
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 09/07/03 , 11:22:03.
//************************
cheers

jsoto
7th September 2003, 23:19
@build,

Seems you are using the last dvd2svcd release. Sorry, but I have not tested it yet and as you logfile shows, seems there is a bug besweet command parsing (bitrate=unknown)

Try with dvd2svcd 1.1.3 or wait a couple of days... I am just going to update the pluging.

@all,
As everybody knows, D2S has included DVD authoring in his program, and he also has promised IFOEDIT (freeware) support, so in some time this plug will not be interesting for DVD authoring. Anyway, I've finally got a DVD burner and I've been done my last DVD2DVD backups with dvd2svcd + mdvdauth. It works fine (PAL, obviously), with only a minor problem, which will be fixed in the next version:
*.BUP files and *.IFO files are identical, but their date are different, so Nero does not pass the integrity check. You have to copy manually the IFOs to BUPs.

Cheers.

build
7th September 2003, 23:43
G'day Jsoto,
I'll try the earlier version now.
My Audio settings are:
[on left]
transcodeac3.exe
pubenc.exe
/myDVD/audio
madplay.exe
English
[empty]
384
downsample [not checked]

[on right]
Do not convert [un checked]
Autodetect Azid [checked]
Mpeg 5.1
Audio 2 [checked]
English
[empty]
64
downsample [not checked]

do these seem OK? (I don't really know what they all mean)
tia
Lindsay

jsoto
8th September 2003, 00:00
@biuld,

Sorry, you have one or two mistakes.

First (this could be the reason for bitrate=unknown...)
Please DO NOT select Mpeg 5.1. It is not supported. Use stereo instead

Second,
Unckecking downsample means (using mdvdauth) transcode ac3 (change bitrate), so the second audio track at 64 k will not be needed.
You have two possibilities:
a) Uncheck downsample and unselect the second audio track.
b) Check downsample (first track) and select a 64k second track. This "trick" is useful when the original first audio track is a 448 k and you want to keep it as it is (correcting the delay, of course)

Cheers.

EDIT:
There is other thing. It will work, but it is not a good idea to transcode from 192k to 384k... (see mdvdauth_log.txt)

build
8th September 2003, 00:12
G'day Jsoto,
THANK YOU for your reply.
I'm still quite confused but will read your answer carefully and try it. I don't understand any of this audio stuff, if it's not diamond in a vinyl canyon I'm lost, however I'd like to learn. Will get back to you with my results.
Thanks again,
build

jsoto
10th September 2003, 23:29
Just a minor update, useful for DVD authoring (no images are needed using Nero)
BTW, I am using a little bit old version of Nero (Nero 5.5.10.20)

This is the changelog
0.2.6 (09-Sep-2003):
- Minor upgrade:Frame selection is now supported, but with the following limitations:
a) Only one selection
b) Subpictures and original DVD chapters will be unsynchronized if StartFrame != 0
c) Not deeply tested
- Bug Fix: Dates of IFO and BUP files were not identical, but they must be in order to pass Nero compatibility tests.

Download from here (http://www.iespana.es/jsoto/mdvdauth026.zip)

Cheers
EDIT:
I've updated my D2S to 1.2.1b2 and no problems found with mdvdauth, if anybody has one, please let me know.
(Beware: SVCD output file type must be selected, even in the case of DVD authoring)

doktor motte
12th September 2003, 22:09
@jsoto
Thnx for the new version. Will test it with D2S 1.2.1 Build 2a to see if your mdvdauth for dvd works also fine as miniDVD many times did for me :D :D :D

One of the advance's of your mdvdauth is that i can "downsample" ac3-audio for e.g. from 448Kbit to 256KBit to save more bitrate for the video and also no need for scenarist (instead the great and FREE IfoEdit).

Btw: What about thinking of make an PayPal-Account to become some donation ???

jsoto
15th September 2003, 00:33
@doktor motte

Just to clarify: mdvdauth 026 is a minor update. DVD authoring was already supported in 024. I've done some DVDs with this version, and the only one problem I've found was the dates of BUP and IFO files.

Pay-Pal: I really believe my job is not enough for that (it is only a script!). If you (or anybody) want to donate, better give your money to dvd2svcd. As you can see in other thread, he has only a few donators, and he has worked a lot in his program.

Cheers

doktor motte
15th September 2003, 21:16
@jsoto:
I knew, that your mdvdauth already before the last version can made dvd. But i became last week myself an dvd-burner (NEC ND1300A) so i meant in my last post that i can now try your plugin for make some backup's of my dvd's (especially flippers like Goodfellas R2 PAL, cause it makes me crazy when i must stand up in the half of the film to "flipper" the dvd).

Anyway, i've already donated to the great work of dvd2svcd 3 times in the past, coz i think his prog makes a great job. But i also have now made 2 backups of dvd's with your mdvdauth and....
it works great.

As mentioned in my last post the thing with dvd2dvd (from dvd2svcd) is, that i can't "downsample" :confused: the audio-bitrate from eg. originally 448 to 256 KBit to save bitrate for the video. I made this to become 2 films on 1 DVDR. The quality is very impressive.

So i thought to make a donation also to you, so when you change your mind and make an paypal-account, i would be appreciate to donate you some bucks :D

jsoto
15th September 2003, 22:33
@doktor motte
I appreciate a lot your comments (many thanks!!), but, as I said before, it is not my intention to open a Pay-Pal account. I did mdvdauth as a way to learn, and, after, I share the plug for free with the intention to give something in return to this great community.

@all,
Sorry guys, I've zipped a wrong file in mdvdauth026. So please download it again from the same link and check readme.txt has 15-Sep as date of release. CD authoring fails with the previous mdvdauth026 (but DVD does not)

Cheers

Der Blob
16th September 2003, 22:45
Hi jsoto!

First of all I'd like to thank you for this outstanding plugin. It works fine for me now, but in the beginning I had some serious problems. I tried to convert some AC3 DivX movies. These were splitted in two parts. What I didn't know was that AC3Delay can't deal with the extracted audio track of the second CD. When you split an AC3 DivX file the AC3 header of the second part is lost. AC3Delay can't convert/encode those tracks. The solution is simple: You have to reencode the AC3 track with Headac3he, then remux it with the video. Otherwise it won't work and in the end you don't get your VOB file. I think this might be interesting for you.

jsoto
16th September 2003, 23:15
Hi Der Blob!

Welcome to the forum!
I never used a divx/ac3 as source. Nice to know that it works!

I guess the problem of the second CD is that the ac3 track starts in the middle of a frame, because when splitting the avi in two files no care has been taken on this.

Well, if this is the problem, I think it can be easyly fixed in delayac3, may be in a couple of days..

Just to confirm, do you get the following error
"Error: <filename> is not an ac3 stream"
in the second CD "delayac3_1.log" file?

Cheers.

EDIT: Sorry, the previous error is sent to stderr, but not to the logfile which should be empty.

andref4
17th September 2003, 13:33
i´ve encoded many avi+ac3, too. in many ac3 avis i had the same problem!
-------------

ok headac3 ist a good solution but not the easyest! use the simple cmd tool ac3fix for this!

sample

ac3fix nameofac3.ac3 nameofac3fix.ac3

the output ac3 (nameofac3fix.ac3) can be transcoded or anything else with the programms dvd2svcd or mdvdauth need. this solution ist the easyest to integrate in an automatic processing. you don´t need to delay the ac3!!!! because many of the ac3s in the avis be delayed!!

sorry abot my english, I´m from germany! ;)

Der Blob
17th September 2003, 19:45
Originally posted by jsoto
Hi Der Blob!

Welcome to the forum!


Thanks! :D

Originally posted by jsoto
Well, if this is the problem, I think it can be easyly fixed in delayac3, may be in a couple of days..


That would be nice. It took me hours to figure out what the problem was. But now it's not a problem anymore.

Originally posted by jsoto
Just to confirm, do you get the following error
"Error: <filename> is not an ac3 stream"
in the second CD "delayac3_1.log" file?


It's a little bit different. "Delayac3_1.log" is empty in most cases. This is what my "mdvdauth_log.txt" says:


--------------------------------------------------------
transcodeac3: starting transcodeac3 at 20:26:11
--------------------------------------------------------
transcodeac3: Executing "D:\Programme\DVD2SVCD\mdvdauth\delayac3.exe" -info "Extracted_audio_1.ac3"
transcodeac3: Error parsing command line exiting...
transcodeac3: Ac3mode=ERROR and bitrate =unknown transcoding to stereo tracks...
transcodeac3: Processing delay=23976 gain=max ac3mod=ERROR from bitrate=ERROR to bitrate=unknown transcode=1 stereo=1
transcodeac3: Executing "D:\Programme\DVD2SVCD\mdvdauth\delayac3.exe" -start 23976 -fixcrc silence -same Extracted_audio_1.ac3
transcodeac3: Finished WITH ERROR see delayac3.log ReturnValue=-1 exiting...



Originally posted by andref4


ok headac3 ist a good solution but not the easyest! use the simple cmd tool ac3fix for this!


Thanks for the tip, but it's very easy. You just have to chose "Source" in "Destination Format." I think the AC3 is left untouched this way. Never use BeSweet if you don't want to downsample. The sound isn't the same anymore after the conversion.

Originally posted by andref4
sorry abot my english, I´m from germany! ;)


Dann haben wir ja etwas gemeinsam. ;)

Ach übrigens: Dein miniDVD-Rip von Terminator I hat mich schwer beeindruckt... Oder verwechsle ich dich? :)

jsoto
17th September 2003, 22:56
Hi all,

Sorry for the delay... :) . It was really easy to fix. Delayac3 was able to resincronize any uncompleted frame except the first one (a little bit stupid, isn't it?).

Try this (http://www.iespana.es/jsoto/delayac3_026b.zip ) and let me know if it works.


CheersAch übrigens: Dein miniDVD-Rip von Terminator I hat mich schwer beeindruckt... Oder verwechsle ich dich?
What????

Der Blob
17th September 2003, 23:25
Originally posted by jsoto
Hi all,

Sorry for the delay... :) . It was really easy to fix. Delayac3 was able to resincronize any uncompleted frame except the first one (a little bit stupid, isn't it?).

Try this (http://www.iespana.es/jsoto/delayac3_026b.zip ) and let me know if it works.


Cheers
What????

Delay..lol! :D That was a good one.
Thanks for the hard work. I'll try it at once.

Sorry, the last part is for andref4. I think he's the one who makes excellent miniDVDs. I just commended him for his superb Terminator I rip. I won't write anything in German again, because this is an English speaking forum. Promised! ;)

It works! I think I can live with one unsynchronized frame. Thanks again. :D

jsoto
18th September 2003, 00:04
Great!
Btw, it is not really an unsynchronized frame, it is an uncompleted one. Delayac3 will skip until the first good frame header will appear. There is no other choice.
The ac3 file produced and used in DVD authoring (although no reencoding has been selected) is fixed.
Cheers

Der Blob
18th September 2003, 02:17
Originally posted by jsoto
Delayac3 will skip until the first good frame header will appear.

I hope it doesn't skip too much, or could the whole file be out of synch in the end?

Pauline1
18th September 2003, 08:37
Its nice to read, that mdvauth can works with avi/ac3. Its possible to work with a avi/mp3 or avi/wav?

Der Blob
18th September 2003, 12:00
Originally posted by Pauline1
Its nice to read, that mdvauth can works with avi/ac3. Its possible to work with a avi/mp3 or avi/wav?

No, sorry. You need an AC3 audio track for this, otherwise it won't work. But you could convert MP3 to AC3 stereo. That doesn't make much sense but it should work properly. The best solution for AVI/MP3 is an XSVCD, not miniDVD.

jsoto
18th September 2003, 23:05
@Der Blob
I hope it doesn't skip too much, or could the whole file be out of synch in the end?
ac3 is a frame based file. Each frame is usually around 30 msec. long, so if there is only one uncompleted frame (as consequence of a file split), this will be the maximum sound lost.

@Pauline1
transcodeac3 expects an input file called Extracted_audio_x.ac3, so it will not works with mp3, mp2 or even DTS. Ifoedit and DVD standard allow at least the use of mp2 and DTS (I never try IfoEdit). I think I can change the code to support it (using BeSweet, of course), but I wrote mdvdauth mainly for 5.1 sound in CD media, so I never thought on it.

Currently I am focussed on subpictures, which cause "too many frame drops" in IfoEdit in certain Titles. I've done a full search on the forum about this topic and I am trying to find an easy to code solution.

Cheers

Der Blob
20th September 2003, 12:49
Originally posted by jsoto
@Der Blob

ac3 is a frame based file. Each frame is usually around 30 msec. long, so if there is only one uncompleted frame (as consequence of a file split), this will be the maximum sound lost.



I think this is only at the end of a splitted avi. Or am I wrong? 30 msec. isn't much, and I probably wouldn't notice the delay.

ErazorTT
21st September 2003, 15:30
hi i have the following problem with your 0.24.
When you want to encode an NTSC Divx to a PAL DVD the ac3 track is not computed correctly. instead of changing the frame rate (23976 -> 25000) the track is delayed 750 frames, so you have to change it manually with besweet.
Please correct me if thats not true.

erazortt

jsoto
21st September 2003, 23:58
@erazortt
NTSC to PAL conversions, in general, are not supported, mainly because I do not have any NTSC source... The "problem", as you said, is in pitch translation which is not managed by transcodeac3
BTW, it is not so easy to manage all the posibilities used by dvd2svcd in a script, but I can try to do it (or may be I could write a very small program), so please post transcodeac3 command line (from dvd2svcd_log.txt) to see the parameters and its order used by d2s.

@Der Blob
In delayac3_x.log you will find which and how many frames are lost.
Yes, in an uncontrolled file split (assuming no errors), you will loose only one frame (part of it will be in the first avi file and the other part in the second). In the second file audio/video will be unsynchronized, but it will be negligible.

Cheers.

Der Blob
22nd September 2003, 16:40
Originally posted by jsoto
@Der Blob
In delayac3_x.log you will find which and how many frames are lost.
Yes, in an uncontrolled file split (assuming no errors), you will loose only one frame (part of it will be in the first avi file and the other part in the second). In the second file audio/video will be unsynchronized, but it will be negligible.

Cheers. [/B]

Thanks for the info. I think I'll have to find another way to split my avi files to avoid this. The main problem with VirtualDub are the key frames of the video itself. There's no other option to split the files without "damaging" the AC3 frames.

jsoto
24th September 2003, 23:29
Hi all,

Here (http://www.iespana.es/jsoto/mdvdauth027.zip) is a new version, mainly because subtitles issue.
Tested in WinXP. I still have to test it in Win98. There are two points where I have some dudes...

0.2.7 (22-Sep-2003):
- Bug Fix: Subpictures did not work if VTS != 01
- Improvement: Added the choice of subtitles extraction using VobSup and SubToSup. VobEdit fails in multiPGC Titles, and provoke "too many frames drop" error in IfoEdit.
- Bug fix: Bug when applying conditions from transcode to stereo
- Bug fix: delayac3 was not able to fix first ac3 frame
- Bug Fix: Audio track #1 can not be mp2
- Improvement: Support for non-ac3 inputs (Not deeply tested!).

Cheers.
EDIT: New subtitles method tested in "The Matrix" and "LOTRTT" (Both are multiPGC and fail with VobEdit). Originals are PAL (spanish).

doktor motte
25th September 2003, 20:08
@jsoto:

Cheers mate,

so I'm the first to reply, nice :D

Will take a look at the new version and also test the new subs, coz i also want to make a 1-disc-version of my LOTR 1. It makes me crazy when i have to change the dvd half of the film (I own the Extended Version).

So long jsoto and thnx again for your script/plugin :p

jsoto
25th September 2003, 22:51
Hi all,
Sorry guys, found a bug in the new Subs method, which hangs SupToSup and mdvdauth. Not always fails, because it depends on the PC speed. That's the reason it did not fail in my previous tests. (I forgot a sleep sentence to wait an OpenFile Window start)

Please download again mdvdauth027 if you are going to use the new subs method. Double click on mdvdauth.exe and the title of the warning window should be mdvdauth v0.2.7b

@doktor motte
I've also done LOTR 1 and, at least the Spanish version, has a single PGC VTS, so it should work fine with VobEdit (but I've used the new method)

BTW, I've kept the menus. It is very easy, may be you know how to do it, but if not, here it is the procedure I've used:
1. Reserve 150-200 MB for menus when select CD size in D2S (Use 4150 MB more or less)
2. Use DVDshrink to compress the menus (in fact, all the DVD) in other folder.
3. Apply IFOUpdate
3.1 Save your IFOEdit authored IFOs in a different folder
3.2 Copy all output files from DVDShrink, except the movie VTS on movie/DVD/VIDEO_TS
3.3 Run IFOUpdate
Thats all!

Cheers

EDIT: Not tested in Win98 yet.

jsoto
28th September 2003, 23:16
Hi all,

I've tested mdvdauth on Win98SE, and there was a problem in "select folder" dialog (used by VobSub). It has one button less, there isn't the button "create a new folder", so the plugin fails.

I've done a fix (checking which OS is running) and fix it in mdvdauth027c, available at the same link from today.

BTW, I do not have any WIN2k (neither¨WIN_ME) installation, so I assumed WIN98SE=WIN_ME and WIN2K=WIN_XP, but I really do not know if they will work or not.

Cheers

xp_eric
29th September 2003, 10:37
Hi Jsoto,

first of all thanks for jour great plugin !

I use it for DivX -> DVD conversions with subtitles. I have one problem, the fixed chpters don't work although the are mentioned in the readme file as supported feature. I just select it in the CDImage tab and put 300 (5 minutes) in the edit field.

Cheers,

;) Eric

doktor motte
29th September 2003, 22:32
@jsoto:

Sorry for the delay. I ran now into a prob. I've tried to backup my
2 dvd's of my extended Edition LOTR 1 to fit on 1 dvd+r.

But i haven't enough space :( on my hdd. So unlucky have to buy new greater hd (think about 160 GB) to make LOTR.

But anyway try my flipper of goodfellas to put it on to 1 dvd+r.

Last night I made Mission Impossible 1+2 onto one dvd+r and it looks so great, CCE makes it possible. Thnx again to your plugin and also that you don't stop making it even better from version 2 version. :D

Edit: Btw: Forgotten to mention that also the forced subs on MI worked fine on my cyberhome 505. ;)

jsoto
29th September 2003, 23:19
Hi all,

First of all, it must be clear I am almost a newbie in DVD authoring, (learning and learning every day), and I can do/say some mistakes, so be carefull with what I say in this matter, it could be wrong. (In SVCD I have some experience, but I have not in DVD, it is really very very complex)

About "Select folder": Arrg!!!, I've seen Win2K has a DIFFERENT dialog layout than WIN_XP, so, sure VobSub will fail when using WIN2K... Well, I need to update again the plug....

@xp_eric
DivX to DVD with subtitles?. I can not believe it works with my plugin!.
Audio may be, I'm trying to support it, even using stereo tracks, but subtitles..., sorry, but I do not know how to do it. (May be it is not so difficult, but the plugin looks for an IFO file to extract the subtitles, so it can not work)

About fixed chapters, I've been looking into the script and I do not find the reason why it not works (I usually use DVD chapters).
Please, could you post (or send it to me) your mdvdauth_log.txt?

@doktor motte
LOTR 1: What a pity!. It looks very fine at 2,75 Mbit/s with CCE.
BTW, I am not using Images, I burn directly with Nero, it saves me 4,37 GB.

Subs: Yes, I really do not know how, but they work fine, also to me. In the plugin I copy all the atributes from the original IFO, but forced attribute seems to be inside the Subs stream (I've to investigate this point, just to know...).

Cheers.

xp_eric
30th September 2003, 11:19
@jsoto: oops I forgot to mention I use permanent subs via the textsub avisynth plugin for now. It would be nice though to have an option to use an external VobSub file in combination with SubToSup. I think that should be possible ?

I'm @work right now so I will send you my mdvdauth_log.txt tonight...

thanx again,

;) Eric

xp_eric
30th September 2003, 18:21
here it is :

--------------------------------------------------------
transcodeac3: starting transcodeac3 at 19:54:17
--------------------------------------------------------
transcodeac3: Input file is not an ac3: H:\SVCD\Encoded_audio_1.mp2.wav
transcodeac3: Processing delay=0 gain=2 ac3mod=Notac3 from bitrate=unknown to bitrate=192 transcode=1 stereo=1 start=0 end=0
transcodeac3: Executing "E:\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input H:\SVCD\Encoded_audio_1.mp2.wav -output "H:\SVCD\Encoded_audio_1_mp2.mp2" -logfile "H:\SVCD\BeSweet_1.log" ) -ota( -g 2 ) -shibatch( --rate 48000 ) -2lame( -e -b 192 -m s )
transcodeac3: Finished OK

----------------------------------------------------
mdvdauth: starting mdvdauth at 20:06:10
----------------------------------------------------
mdvdauth: AudioFolder=H:\SVCD= WorkingFolder=H:\SVCD=
mdvdauth: SourceFolder=H:\SVCD= ImageFolder=H:\SVCD=
mdvdauth: Using VideoFile: H:\SVCD\Encoded_Video_CCE_PAL.mpv

mdvdauth: Calculating chapters using fixed chapters of 60 secs...
mdvdauth: Finished

mdvdauth: Starting IfoEdit in H:\SVCD
mdvdauth: Starting muxing at time: 20:06:33
mdvdauth: Finished IfoEdit in H:\SVCD
mdvdauth: at time: 20:07:24

mdvdauth: Executing: E:\DVD2SVCD\mdvdauth\copyifoattr.exe -video H:\SVCD\DVD\ROOT\VIDEO_TS\VTS_01_0.IFO
mdvdauth: Finished Copy_IFO_ATTR -video WITH ERROR: recovering from BUP..

----------------------------------------------------
mdvdauth: Finished mdvdauth at 20:07:25
----------------------------------------------------

;) Eric

doktor motte
30th September 2003, 20:53
@jsoto:

Your right with your thought that the forced "switch" is inside the subs. I've made Blade 2 (about 54 forced subs) and with vobsub they appeared as forced coz they are inside the normal subs. But with the plugin from Vobsub for Avisynth i became only the forced subs into Blade 2 (TIP: In the case that they are inside the normal subs, don't forget to activate the switch in the .idx of the subs-Files extracted by VobSub - the switch is marked as forced-subs on/off). They worked fine, are right coloured and are also in the right place on screen (tv). So with little "handhelp" i became them also with your plugin in the right way.

So keep on your good work m8 ;)

jsoto
30th September 2003, 22:12
@xp_eric
Please let me know:
-your frame_per_second (fps parameter in dvd2svcd project file.d2s). I believe the plugin will work fine only in the case of 25 (PAL source). In other case it may fail...
-your CellTimes.txt, is it empty?
-How long is your movie?
-Do you really have a playable DVD under ROOT/VIDEO_TS?. Less than 1 minute in IFOEdit authoring is too fast!.

BTW, use CopyVideoAttr=0, there is not an original IFO when using a divX source..

@doktor motte
TIP: In the case that they are inside the normal subs,
How can I know if they are or not inside?.
If I understand well, I have to change the switch in this case, but not if they aren't.

Regards

xp_eric
30th September 2003, 22:27
@jsoto:

-fps=25
-there's no celltimes.txt at all !
-I use a short DivX to test. It's only 6 minutes so the complete encoding takes only about 10 minutes :D I selected fixed chapters of 60 seconds so I expected 5 or 6 chapters...
-And yes the IfoEdit authoring takes about a minute for my test movie :D
-Thanks for the CopyVideoAttr=0 tip, I will change that.

please let me know if you need more info. I will do a test run with a complete 1h30m DivX this night.

Cheers,

;) Eric

jsoto
1st October 2003, 00:41
@xp_eric
OK, found the problem.
"Frames" parameter under [Settings] of dvd2svcd project file.d2s in case of avi has a "0" value. I've done a quick fix using Lenght of dvd2svcd.ini (it should be filled OK...). Try this (http://www.iespana.es/jsoto/mdvdauth027d.zip)

Cheers

xp_eric
1st October 2003, 14:47
@jsoto:

works like a charm !

thanks,

;) Eric

doktor motte
1st October 2003, 19:27
@jsoto:

You can take from the VobSub-Package the VobSubConfigure to rip the subs and then take SubResync (also from VobSub) to look into the ripped subtitles. If there are forced subs embedded in the normal subs they are marked "forced". But if the forced subs are alone (e.g. you have 2 subs in your language, then mostly the first or second sub of your language are the forced ones) then you only can check this by look them one by one in SubResync. Also most times you can identify them as forced subs when you look the times (e.g. in an 2 hour-movie there must be more than about 30 subs).
The switch that i mentioned is in the .idx-File of the extracted Subs and is called forced-subs on/off. You have to turn the switch off if the forced subs are in an own "subs-stream" and on if they were embedded in the normal "subs-stream".
Hope this make it a little clearer to you, sorry for my bad english.
I only have an german tutorial about the usage of vobsub (from german doom9-board) :(
Hope i can make the "magic" forced subs a little clearer to you.;)

I'm also a newbie in dvd2dvd-conversion.:confused:

xp_eric
2nd October 2003, 21:21
@jsoto:

here's the transcodeac3 command line for NTSC -> PAL conversions you requested (from erazortt but he seems to have lost interest ?) :

"E:\DVD2SVCD\mdvdauth\transcodeac3.exe" -core( -input "H:\SVCD\Encoded_audio_1.mp2.wav" -output "H:\SVCD\Encoded_audio_1.mp2" -logfile "H:\SVCD\Encoded_audio_1.log" ) -ota( -g max -r 23976 25000 ) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )

i also have a request : can you add a third subtitle option "Subs=3" which is almost the same as option 2 but except don't call VobSub to extract the subs. I want to provide de subtitles (in VobSub format) myself to add selectable subtitles do a DVD converted from a DivX

cheers,

;) Eric

jsoto
2nd October 2003, 21:58
@xp_eric

NTSC-->PAL.
Thanks, I will see what I can do, but it will take me some time.

Subs=3:
Seems easy, so I will try to add this option.

I am a little bit busy now, may be during weekend or next week I will have some free time.

Cheers

jsoto
2nd October 2003, 22:16
Hi all,

I've just re-read the thread, and I would like to clarify some points about audio ac3 transcoding:

Never use BeSweet if you don't want to downsample. The sound isn't the same anymore after the conversion
BeSweet is IMHO the more powerful audio tool available (and it is freeware!). It also supports delay correction without transcoding (frame based, like delayac3) in "-payload" mode. In fact, I've coded delayac3 just for fun and for learning, but I could use BeSweet for that (I do not know how it fixes the crc errors, uncompleted frames, which it also does). Delay adjustment accuracy, in this mode, is obviously one frame (BTW, BeSweet also supports in this mode a lot of file formats, not only ac3). In the case of transcoding (to change format, sampling frecuency, bitrate, etc) it is also able to correct delay with full accuracy.


Cheers

jsoto
6th October 2003, 00:36
@xp_eric

Could you test mdvdauth028 (http://www.iespana.es/jsoto/mdvdauth028.zip) for me?

It includes subs=3 and NTSC--> PAL pitch conversions.

I've found a DivX with fps=23,976, but it has a mono audio track and seems it does not work fine with BeSweet conversions...

BTW, I still have to fix chapter calculations. 23,976 is taken as 23 fps, so chapters will not be accurated.

Thanks in advance
jsoto.

xp_eric
8th October 2003, 11:39
@jsoto

I don't have much time this week but I already did a little test :

I converted a 23.976 fps (NTSC) DivX to 25 fps (PAL) DVD with the new 0.28 version

The result was a DVD with no sound which played way to fast (it looks like twice as fast as the original movie). I checked the files used by IfoEdit, the video was ok but the audio was not converted ok. I'm @work right now but I will post the logfiles tonight

Subs=3 I didn't test yet because the downloaded VobSub subtitle files only consist of the *.sub and no *.idx. Anyone a clue how to deal with that ???

;) Eric

xp_eric
10th October 2003, 10:53
did some more testing but could get a single DivX to work anymore (tried two short testfiles, NTSC-mp3 and PAL-ac3 and a complete movie. Tried all kind of settings but finaly I figured out the lowrate=ac3 caused the strange speedup of the final DVD image.

Have to do more testing this weekend.

I'll be back...

Eric

jsoto
10th October 2003, 22:49
See DSPGuru's opnned issues post:
ac3enc.dll
- ac3enc creates extremly low-volume tracks
- ac3enc created weird 2.0 streams
- standalone dvds freezes when trying to plaback encoded ac3 streams

jsoto

Der Blob
13th October 2003, 12:44
[QUOTE]Originally posted by jsoto

I've found a DivX with fps=23,976, but it has a mono audio track and seems it does not work fine with BeSweet conversions...


Hi jsoto,

you have to convert the audio track to stereo first, then it'll work properly.
;)

ErazorTT
13th October 2003, 15:34
for the new ifoedit (0.96) can handle negative AV delay,
i think it shold be possible to jump over the delayac3.exe!
so one step could be economized.
please check that.

ErazorTT

ps@jsoto: thnx for makeing this great plugin!!! :)

xp_eric
13th October 2003, 22:14
@jsoto : NTSC DivX with mp2 sound converted to PAL DVD worked great. Next test will be a AC3 NTSC DivX -> PAL DVD...

I'll also do a test with the new IfoEdit and the new DVD2SVCD...

;) Eric

jsoto
13th October 2003, 22:49
you have to convert the audio track to stereo first, then it'll work properly
Also in the case o mp2 output? I've to test it...
BTW, I believe a mono input seems not very good for a DVD quality..

for the new ifoedit (0.96) can handle negative AV delay,
Yes, I know, but I prefer to keep an initial filter (to fix uncompleted, unsynchronized and crc bad frames). I do not know which will be the behaviour of Ifoedit with this kind of errors and processing delay does not take so time...

NTSC DivX with mp2 sound converted to PAL DVD worked great. Next test will be a AC3 NTSC DivX -> PAL DVD
Thanks for the report.

BTW, there is other way to convert NTSC to PAL. I`ve used it in the past (only once) in a 29,9 fps to 25 fps convertion, because I wanted to keep the original sound (source was an old jazz concert and interlaced video). I did not want to change the duration (no audio pitch conversion) so I processed the video. This is a very CPU time consuming but the results in terms of sound are the best. In terms of video the results are also good (in my case the original video quality was no very good). Please note that a 23.9 to 25 fps is only 4% far, but 29,9 to 25 is 20%, and the sound changes too much.

This was my avisynth 2.0 filter (avisynth 2.08):
0=LoadPlugin("C:\Program Files\AviSynth2\plugins\SmoothDeinterlacer.dll")
1=SeparateFields()
2=Weave()
3=SmoothDeinterlace(doublerate=true)
4=ConvertFPS(50)
5=BicubicResize(480,576,^b_value,^c_value)
6=SeparateFields()
7=SelectEvery(4,1,2)
8=Weave()
^b_value=0.00
^c_value=0.60

I took it from a post in somewhere of this forum (and I saved it in my HD for the future), so if you want more information, please use the search function, I am an absolute newbie using interlaced material and in NTSC --> PAL convesions.

jsoto

Der Blob
14th October 2003, 00:06
Originally posted by jsoto
Also in the case o mp2 output? I've to test it...
BTW, I believe a mono input seems not very good for a DVD quality..



mp2 output shouldn't be a problem. When converting DivX with mono audio to MPEG2 (DVD2SVCD) you get some kind of "smurf sound". You know, those little blue people with white caps... :D
Just convert the mono track with Cool Edit Pro or dBpower AMP to stereo and you won't have any problems. Seems so that BeSweet doesn't like mono input.

xp_eric
14th October 2003, 11:42
Originally posted by jsoto
Please note that a 23.9 to 25 fps is only 4% far, but 29,9 to 25 is 20%, and the sound changes too much.

I know but most of the NTSC DivX around are 23.976 fps and for those the pitch change isn't noticable. I'll try the Avisynth script anyway...

;) Eric

xp_eric
15th October 2003, 11:53
Hi jsoto,

conversion of NTSC - AC3 DivX -> PAL - AC3 DVD also works.

tested with D2S 1.2.1 build 3, IfoEdit 0.95 and mdvdauth 0.28

next I'll try to get the Subs=3 feature to work.

Still 2 questions remain:
does anybody know what the CCE Quality factor should be for DVD encoding? The D2S default of 17 seems to be optimized for SVCD encoding. I Read somewere that 5 should be a good value ?

does anybody know how to use downloaded subtitle files (*.sub) with sub2sup which expects a *.idx along the *.sub ???


;) Eric

jsoto
15th October 2003, 23:13
@xp_eric
Many thanks for the tests..

About your questions:

CCE Quality factor for DVD encoding. Yes, a value of 5 is recommended in the guides, but it also depends on the source and average bitrate. That means, in a long movie may be a little bit higher value will be better. Read w00kiee's summary in http://forum.doom9.org/showthread.php?s=&threadid=63050

For the second, sorry but I do not have an answer.

jsoto

xp_eric
24th October 2003, 10:32
small update : conversion for both AC3 and mp3/2 audio movies to DVD goes quite well. For now I use permanent subtitles because I can't seem to get the info to convert srt to idx / sub. Maybe someone can send me a sample of those files (xp_eric@hotmail.com) to investigate furter or is there a method to convert directly to sup format ?

Used settings :
CCE : 2 pass VBR quality factor 5, bicubic resize
permanent subtitles with textsub plugin, accidentalpresidency font
fixed chapters
192 kbs for mp2, 384 for AC3

The burned DVD's (+R) work in most players but there are a few (which support +R media) who don't recognize them !?

I'm going to test some Avisynth scripts to compare quality / speed.

to summarise : thanx a lot for your great plugin jsoto ;)

Eric

xp_eric
24th October 2003, 16:01
@jsoto: Finally I found a way to convert srt to sup. Can you add a Subs=4 option which just uses a external supplied *.sup file. Filename may be fixed to AVI-name.sup located in the same folder as the AVI ?

thanx... (again)

;) Eric

jsoto
24th October 2003, 21:36
@xp_eric
Finally I found a way to convert srt to sup.Please describe the method/SW you use.
Can you add a Subs=4 option which just uses a external supplied *.sup file. I'll look into it. Give me some time.
The burned DVD's (+R) work in most players but there are a few (which support +R media) who don't recognize them !?
Are yor sure? . I do not know any issue related with IFOEdiot authoring in PAL...
jsoto

xp_eric
25th October 2003, 13:27
Hi jsoto,

I found srt2sup (http://www.afterdawn.com/software/video_software/subtitle_tools/srt2sup.cfm). I (mis)used Subs=2 to test it. I put the created sup file as VTS_01_1.20.sup in the DVD\TEMP\SUBS folder. The result was green bars when the subs should appear. Do I have to do something with colors ? I selected white subs, blue borders and black background in srt2sup.

Is it possible to change the stream ID's for the audio and / or subtitle streams to have the correct naming when playing the DVD (eg. English audio, Dutch subtitles in my case) ?

Eric

ErazorTT
26th October 2003, 00:50
Originally posted by jsoto
Please note that a 23.9 to 25 fps is only 4% far, but 29,9 to 25 is 20%, and the sound changes too much.

hi
i think this is not true. a NTSC 29,9 fps is exactely as long as a 23,9 fps film. and the pitch change is the same as from an original cinema (24 fps) to 25 fps PAL.

ErazorTT

jsoto
27th October 2003, 08:43
@xp_eric

The result was green bars when the subs should appear. Do I have to do something with colors ? I selected white subs, blue borders and black background in srt2sup.
I think you have to do some manual hex editing using IFOEdit.. May be you can copy and paste colours from other DVD, not sure..

Is it possible to change the stream ID's for the audio and / or subtitle streams to have the correct naming when playing the DVD (eg. English audio, Dutch subtitles in my case) ?
May be I do not understand well your question..
About audio tracks, they are "labeled" by IfoEdit during the authoring phase, mdvdauth sends to IfoEdit the language (if it is known, but may be it is unknown when using Avis..)
But for subpictures, the language information is taken from the original DVD, which is not available in avi files.
So, again, you will have to do some manual editing with Ifoedit. Don't worry and try, it is simple.

@ErazorTT

i think this is not true. a NTSC 29,9 fps is exactely as long as a 23,9 fps film. and the pitch change is the same as from an original cinema (24 fps) to 25 fps PAL.
Well, I do not have experience using NTSC, but as I said, I converted a NTSC 29,9 fps using pitch translation and the conversion (the resulting movie is longer and audio frecs are lower) was the opposite when you converts a 23,9 to 25 (the movie is shorter and the audio frecs are higer), so I suppose the conversion is "assuming" 25 fps and correcting the audio in the needed percentage.
jsoto

xp_eric
27th October 2003, 17:04
Originally posted by jsoto
May be I do not understand well your question..
About audio tracks, they are "labeled" by IfoEdit during the authoring phase, mdvdauth sends to IfoEdit the language (if it is known, but may be it is unknown when using Avis..)
But for subpictures, the language information is taken from the original DVD, which is not available in avi files.
So, again, you will have to do some manual editing with Ifoedit. Don't worry and try, it is simple.

That's exactly what I mean. I want to automate the process as much as possible so I want to to preset the default languages of the audio and subtitles streams (eg. in I mdvdauth.ini). Normally they are always the same when you convert AVI's to DVD.

yet another option ?

thanks again,
Eric

jsoto
27th October 2003, 22:58
@xp_eric
OK, so I understand now your new request.
Well, I'm thinking in other minor improvments, but I will keep it in my mind. The main problem is my free time...

jsoto

xp_eric
30th October 2003, 00:28
@jsoto:

Small question, I am doing a conversion were the final result has a (constant) sync problem, audio is about 300 ms too early. I tried to perform all IfoEdit steps manually and fill in a audio delay of 300 ms in the DVD author / multiplex window. I seem to forget some steps because now audio and video are way out of sync. What are the steps you perform in mdvdauth.exe ?

Eric

jsoto
30th October 2003, 21:29
@xp_eric
dvd2svcd shows the delay correction needed at the end of DVD2AVI (see d2s log file)

Because of a known issue in IFoedit095 (I believe it has been fixed in 096, not sure), this delay can not be simply translated to DVD authoring phase with IFOedit, so I previously fix the delay with "delayac3.exe", a small CLI program included in mdvdauth. This also can be done with BeSweet in -payload mode in a loseless way (framewise), which also supports many more formats.

D2S adjusts the delay with BeSweet with -ota ( -d "delay" ) which is the "lossy way" to do it (but this is the right choice when transcoding to mp2)

jsoto

xp_eric
2nd November 2003, 15:54
Originally posted by jsoto

dvd2svcd shows the delay correction needed at the end of DVD2AVI (see d2s log file)
@jsoto: DVD2AVI is not used when converting from AVI...

did you see the changelog for the upcomming DVD2SVCD ? VirtualDub instead for audio conversion and framerate conversion. Does this have impact for your plugin ???

;) Eric

jsoto
2nd November 2003, 17:29
@xp_eric
dvd2avi: You are right, sorry for my mistake. I rarely use AVIs as sources...
Well, not an expert, but with VirtualDub you can see (in File information) the skew of the audio. May be this is the delay, not sure.

About new d2d2svcd:
Currently D2S does the audio processing in two steps: First, generates a wav file with madplay and second, calls besweet to do the encoding. I think d2s is going to change the first step, but not the second. If this is the case, mdvdauth will continue working, or at maximum, a minimum update will be needed if the wav file name changes.

jsoto

xp_eric
5th November 2003, 10:49
I had to reinstall my PC last weekend. After reinstalling D2S, utils and mdvdauth plugin everything seems to work fine again. I converted a DivX and the created DVD files played fine in PowerDVD. I burned them with NERO and the DVD played ok in my PC, again with PowerDVD. But... my standalone DVD player rejected the disc as did several other players which played discs created before perfect. The disc could be processed by DVDDecrypter and DVDShrink withouth any problem so authoring doesn't seem the problem ?

Anybody an idea ?

@jsoto: in the readme of mdvdauth you describe all changes in DVD2SVCD to work with mdvdauth. But if you select SVCD as output file type in the misc. tab the CCE settings for the GOP sequence are M=3, N/M=5 and for DVD they are M=3, N/M=4, shouldn't they be changed ?

;) Eric

jsoto
6th November 2003, 00:43
I had to reinstall my PC last weekend Curious, me too. I am still installing some applications...

But... my standalone DVD player rejected the disc as did several other players which played discs created before perfect. No idea. Trying to guess...
Did you change your version of Nero?
Open your IFO with IFOEdit and GET VTS sectors. Any errored sectors?

the CCE settings for the GOP sequence are M=3, N/M=5 and for DVD they are M=3, N/M=4, shouldn't they be changed You are right, Probably to be fully DVD compliant, but I never did it...

jsoto

xp_eric
8th November 2003, 11:00
Originally posted by jsoto
Did you change your version of Nero?
I did (now using 6.0.0.19). But that wasn't the only problem. I use Kazaa Lite Codec Pack and also version 2.05 caused troubles. (switched to the new 2.10 solved it). Finaly until now I used DVD-UDF type in NERO to burn my DVD's (I really don't know why) but the new version had a "invalid type for this compilation" kinda warning so I switched to DVD-Video. Now my DVD's are more compliant (it now also plays on an old DVD Video Recoreder at work).

Last night I did Cradle of Life, results are great !!! Thanks a lot jsoto (and DVD2SVCD)

;) Eric

xp_eric
21st November 2003, 21:47
it's been a while...

@jsoto:

but i'm back. I'm still trying to find a method to add selectable subs to my DivX -> DVD project. I found a way : I use DVDSupTools (http://web.quick.cz/FKasparek/Software/DVD/DVDSupTools.htm) to create a sup file from a sub (MicroDVD text file) and place them in DVD\TEMP\SUBS\VTS_01_1.20.SUP. This adds them perfectly to my DVD. 2 things remain :

1) I have to set the colors manually in the ifo. Can't it be automated by mdvdauth or another tool ?

2) The subtitle Id is not correct. It should be "Nederlands" (Dutch), Id 0x27 instead of English Id 0x20. Can this be changed or better automated ?

Eric

jsoto
21st November 2003, 22:57
I have to set the colors manually in the ifo. Can't it be automated by mdvdauth or another tool ?
I think so. Added to my TODO list.

The subtitle Id is not correct. It should be ...
Also, I believe it can be done. It was already in my TODO list. (asked for you just some posts before).

Let me say, I am not so lazy, but really busy at work. I am waiting the end of year. In Christmas I will have some holidays...

BTW, this is my current TODO list:
1.- Rewrite in autoit 3
2.- Add a GUI
3.- Installer
4.- "Feature" improvements, like yours.

jsoto

xp_eric
24th November 2003, 12:09
@jsoto:

I understand and don't want to push you.

What are you intending with the GUI ?

Eric

jsoto
24th November 2003, 22:54
What are you intending with the GUI ?
Just a simple GUI, to allow the different options in mdvdauth.ini and may be someone more. I'm thinking to also modify dvd2svcd.ini to automatically pre-select the right options/exes (and recover the original ones after the process).

AutGUI seems to be easy to use...

jsoto

EDIT: In any case, mdvdauth will continue being compatible with D2SRoBa

ErazorTT
24th November 2003, 23:18
this function does not work for me.
i have tested it with 5.1 and stereo original streams but it simply doesn't work. what i get i a complete silenced track.
i tested with 0.27 and 0.28 but i have no idea why this happens.

jsoto
26th November 2003, 02:29
lowrate=ac3
this function does not work for me.
That's true. It's not working now, but I've tested it in the past... :confused: I've to investigate a little more..
jsoto

jsoto
27th November 2003, 00:07
lowrate=ac3
Just to confirm (but I still didn't do my homework). It works for me with BeSweet 1.5b18 (ac3enc seems to be different), included in previous D2S versions, but not with 1.5b19. It is enough to replace ac3enc.dll with the previous one and 1.5b19 also works for me
jsoto

jsoto
8th December 2003, 18:45
Hi all,
mdvdauth030 (http://www.iespana.es/jsoto/mdvdauth030.exe) is on-line, but it is still untested. All reports are welcome. It has been completely rewritten in Autoit 3, so sure it has many bugs

This is the changelog:
Bug Fix: Subpictures (subs=3) did not work
Improvement: GUI
Improvement: Installer
Improvement: Rewritten in Autoit 3 (Best management of controls)
Improvement: Presets and hacks in DVD2SVCD
Improvement: Avi input defaults
Improvement: External Subpicture
Other: Support IfoEdit 0.96

And, the TODO list:
1.- Bug fixing
2.- Create images directly with Coujo’s mkisofs (without GUI)
3.- Run everything minimized, when possible, using all possibilities of Autoit 3
4.- Default colours (palette) when Original IFO not available (AVI).

I do not know how to do the last one. Any idea will be appreciated.

Enjoy… (and do not blame me too much for the bugs)

jsoto

xp_eric
8th December 2003, 19:53
@jsoto:

I'll give it a try (with Kill Bill Volume 1 ;-)

for the subtitle colors: you can add a step in the IfoEdit part to select VTS_PGC_1 in VTS_PGCITI in VTS_01_0.IFO and manually set the colors 0 til 3 to values specified in the ini file ?

Eric

xp_eric
9th December 2003, 12:24
@jsoto:

thanks for the feature of setting the subtitle stream ID !

Installation went ok. I don't like mdvdauth using DVD2SVCD as a slave but I can still just start with DVD2SVCD and don't use the GUI (sorry ;-)

subs = 3 isn't working. I found the problem in de mdvdauth script. In line 487 you check wether $SubToSupExe exists but this isn't used for subs = 3. I removed "OR ( $Subs = 3)", re-compiled and tested it. It workes fine now.

I didn't know of the feature to start with the no subs command. thanks to the installation I turned it off now !

I noticed that the subtitle colors were not set to all zero's like in the previous version. They are now 10 80 80 for color 0 and 80 80 80 for colors 1 til 3. I don't know if this is caused by IfoEdit 0.96. I'd still like to configure my own set of colors. DVDSupEncode uses 10 80 80, 20 80 80, 80 80 80 and EB 80 80 which results in really good quality subs (I did a lot of testing in that area).

;) Eric

jsoto
9th December 2003, 20:28
Hi again

I've detected a problem with gain in transcoding ac3. It always sets the default of 2 (which is not a bad value) but not the user selected one. To be fixed in the next beta.

@xp_eric
Installation went ok. I don't like mdvdauth using DVD2SVCD as a slave but I can still just start with DVD2SVCD and don't use the GUI (sorry ;-)
Not really needed to put D2S in "slave" mode. With GUI you can select "Launch nothing", and GUI only modifies mdvdauth.ini and some settings of dvd2svcd.ini (mainly exe paths). Use the GUI, it took me some time to develop :)
I noticed that the subtitle colors were not set to all zero's like in the previous version. They are now 10 80 80 for color ....
This is done by CopyIFOAttr with -subsdef option (see your logfile). Defaults are currently "hardcoded", but my intention is to put them in the ini file. But there is a 16 colours palette, so I do not know how a user can select the right ones.
subs = 3 isn't working. I found the problem in de mdvdauth script. In line 487 you check wether $SubToSupExe exists but this isn't used for subs = 3.
Oops. I have SubToSub installed, so I didn't detect this... I'll fix it. Thanks.

jsoto

EDIT:
I didn't know of the feature to start with the no subs command. thanks to the installation I turned it off now !
Sorry, it is a new feature (minor), not reflected in the changelog...
Also, I didn't say that hacks in D2S are only "cosmetic" (changes in control labels to reflect the results of mdvdauth). See audio tab and Misc tab.

xp_eric
9th December 2003, 22:06
Originally posted by jsoto
This is done by CopyIFOAttr with -subsdef option (see your logfile). Defaults are currently "hardcoded", but my intention is to put them in the ini file. But there is a 16 colours palette, so I do not know how a user can select the right ones.

Only the first 4 are used. Configurable in the ini file would be ***REALLY*** apriciated. (It's the ONLY thing left I have to do manually now)

many, many thanks for your great work from myself and my friends.

;) Eric

jsoto
10th December 2003, 00:30
Sorry guys,

There is a MAJOR error (I have to investigate where..) when using the new feature "add precommand". Sometimes it corrupts the IFOs :(

Please do not use it in the meantime...

jsoto

jsoto
10th December 2003, 01:55
Hi all,
Here (http://www.iespana.es/jsoto/mdvdauth030a.zip) is a quick fix for the three detected bugs. It is an update only, not a installer version.

Bugs fixed (I hope)
- gain value always detected as 2
- precommand corrupts IFOs
- Subs=3 asks for SupToSup installed

jsoto

xp_eric
10th December 2003, 23:54
@jsoto:

I changed copyifoattr.cpp to set al values of the 16 colors to 0x00 and change the first to 0x10 0x80 0x80, second to 0x20 0x80 0x80, third to 0x80 0x80 0x80 and fourth to 0xEB 0x80 0x80 as specified in the documentation of DVDSupEncode. So not initializing everything to 0x80 and change Color 1, 7 and 9 as you did in the original code. Works perfect !

I would recomend DVDSupencode as the tool to do the sub 2 sup conversion...

Now my DivX -> DVD encoding is fully automated !

thanks (again ;-)

;) Eric

jsoto
13th December 2003, 16:21
mDVDAuth030b.exe (http://www.iespana.es/jsoto/mDVDAuth030b.exe) is online.

Installer version of 030a + default colours in ini file, dedicated to xp_eric (but not in GUI)

Anyone more is going to report?

jsoto
EDIT: error in URL

xp_eric
15th December 2003, 23:01
@jsoto:

there's a small bug in the transcodeac3.au3 script. In lines 315 and 317 you forgot a '&' between the first text and the string variable. This causes the audio encoding to fail even if delayac3 could fix some errors. Adding the '&' and recompiling did the job...

then I have a question : I was wondering why DVD2SVCD didn't complain anymore about the incorrect bbmpeg version with the new AutoIt 3.0 executable ?

cheers,

;) Eric

jsoto
15th December 2003, 23:49
@xp_eric
Many thanks again.. You report the bugs and the solutions. :)

then I have a question : I was wondering why DVD2SVCD didn't complain anymore about the incorrect bbmpeg version with the new AutoIt 3.0 executable ?

Je, je... You have used AT LEAST once mdvdauthGUI.. There is a "trick" in it. D2S checks the version of bbmpeg.dll not the version of the exe. MdvdauthGUI simply copies the dll from bbmpeg folder to mdvdauth folder, so D2S finds the right dll in the same folder than fakebbmpeg.exe

Cheers.

EDIT: I forgot to mention the reason for this trick. It is pretty obvious: D2S stops waiting the user's answer and this is not desirable when D2SRoBa is automatically recovering D2S. For the same reason mdvdAuthGUI "unchecks" automatically the warning about max SVCD bitrate (which is usually higher in a DVD output)

The Belgain
16th December 2003, 10:47
Right....my first post in this thread. Great little plugin, but a couple of questions/problems.

I'm using it for converting AVIs with ac3 sound to DVDs, using latest D2SRoBa plugin. The problems I am having are:

1. Authoring does not work at the end (Scenarist is launched as usual and looks for the encoded mp2 track which it would normally be muxing and which of course isn't there).

2. Error in the ac3 fixing: for every file I try, i get told there are bad frames in it. At the end of the fixing I get a dialog saying it audio may be out of synch (it never is though) which I can click OK to and the process continues.

3. The trick of selecting a second audio track at 64kbit to make the sizing calculations correct doesn't seem to work in D2SRoBa (it still just uses 384 + 0 in it's calculations.

4. For NTSC --> PAL conversions, the audio is completely out of synch (it doesn't seem to change the playback rate of the audio at all).

I apologise is some of these issues have already been addressed.

xp_eric
16th December 2003, 15:55
I use it for (mostly) NTSC DivX -> PAL DVD's. Works great !!! No problem with AC3 (or MP2)audio out of sync. Scenarist is not used for the authoring, IfoEdit is. I use only DVD2SVCD + CCE + mdvdauth...

;) Eric

The Belgain
16th December 2003, 19:16
Right...I suspect the problem may be with using D2SRoBa as well. I think it confuses this plugin and prevents the authoring stages from being launched correctly. In your NTSC DivX -> PAL DVD conversions, are you talking about conversions from DivX's with ac3 audio, and if so what happens to the ac3 audio? Does it get it's length changed at the start of the process or does that get done during the authoring phase? With me, the track does not get changed at the start of the process.

Has anyone succesfully used this plugin in conjunction with D2SRoBa to create DVDs from AVI's?

jsoto
17th December 2003, 02:03
1. Authoring does not work at the end (Scenarist is launched ... Did you change VCDXBuild.exe by mdvdauth.exe?. Remember, with his plug, you have to select SVCD output in Misc tab. All these settings should be done by mdvdauthGUI, are you using it?
Error in the ac3 fixing: for every file I try, i get told there are bad frames in it. At the end of the fixing I get a dialog saying A dialog?. I don't remember to code a dialog...IIRC, errors when fixing are only logged, but there isn't any advice to the user. May be a Scenarist advice?
3. The trick of selecting a second audio track at 64kbit to make the sizing calculations correct doesn't seem to work in D2SRoBa I didn't check it. I'll do.
4. For NTSC --> PAL conversions, the audio is completely out of synch (it doesn't seem to change the playback rate of the audio at all). Could you post your logfile mdvdauth_log.txt and the audio part of dvd2svcd_log.txt?
and if so what happens to the ac3 audio? Does transcodeac3 analyzes D2S BeSweet command and "translates" it to a similar BeSweet command but with ac3 output (instead of mp2), so pitch translations are done, like standard D2S, during audio encoding time (at least this is the intention).
Has anyone succesfully used this plugin in conjunction with D2SRoBa to create DVDs from AVI's? I didn't, sorry, I live in a PAL land, and most of the times I work with DVD inputs.
jsoto

The Belgain
17th December 2003, 10:24
Thanks for the extensive reply jsoto.


Did you change VCDXBuild.exe by mdvdauth.exe?. Remember, with his plug, you have to select SVCD output in Misc tab. All these settings should be done by mdvdauthGUI, are you using it?

My bad, stupid mistake. Thanks.


Could you post your logfile mdvdauth_log.txt and the audio part of dvd2svcd_log.txt?



--------------------------------------------------------

transcodeac3: starting transcodeac3 at 01:40:58

--------------------------------------------------------

transcodeac3: AudioFolder=D:\DVD= WorkingFolder=D:\DVD=

transcodeac3: SourceFolder=D:\DVD=

transcodeac3: Executing C:\Program Files\DVD2SVCD\mDVDauth\delayac3.exe -info D:\DVD\Extracted_audio_1.ac3

transcodeac3: Processing delay=0 gain=max ac3mod=3/2 from bitrate=448 to bitrate=384

transcodeac3: transcode=1 stereo=0 start=0 end=0

transcodeac3: Executing C:\Program Files\DVD2SVCD\mDVDauth\delayac3.exe -start 0 -fixcrc silence -same -startsplit 0 -endsplit 0 Extracted_audio_1.ac3



And the DVD2SVCD logfile (audio part):


- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 17/12/2003 01:40:54
- Free on drive D: 14580.50 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 17/12/2003 01:40:55
- Free on drive D: 14580.50 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: D:\DVD\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\mDVDauth\transcodeac3.exe" -core( -input "D:\DVD\Extracted_audio_1.ac3" -output "D:\DVD\Encoded_audio_1.mp2" -logfile "D:\DVD\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -ota( -r 23976 25000 ) -shibatch( --rate 44100 ) -2lame( -e -b 384 -m s )
Audio conversion of D:\DVD\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 17/12/2003 01:43:44



I don't understand why transcode=1 in that logfile. "Do not transcode audio" is selected in DVD2SVCD. Basically nothing ever seems to really happen to the ac3 file (length correction, delay, etc...). All these logs are for a conversion using DVD2SVCD only (if I can get all my issues fixed for this, then I'll go on to trying to use it with D2SRoBa as well.

jsoto
18th December 2003, 00:42
Hi The Belgain:

Is your post of mdvdauth_log.txt complete?

Seems delayac3 does not end. This should be the right trace:
-------------------------------------

transcodeac3: Executing C:\Archivos de programa\DVD2SVCD\mDVDauth\delayac3.exe -start 0 -fixcrc silence -same -startsplit 0 -endsplit 0 Extracted_audio_1.ac3
transcodeac3: Finished OK
transcodeac3: TranscodeTo5_1
transcodeac3: Executing C:\Archivos de programa\dvd2svcd\BeSweet\BeSweet.exe -core( -input Extracted_audio_1_fixed.ac3 -output "F:\SVCDllam\Encoded_audio_1.ac3" -logfile "F:\SVCDllam\BeSweet_1.log" -substream SubS ) -azid( -g max -c normal ) -ota( -r 23976 25000 ) -ac3enc( -b 384 )
transcodeac3: Finished OK

------------------------------------------
If this is not your case, please copy delayac3 command into a bat file and try to run manually it.

About your questions:
I don't understand why transcode=1 in that logfile
That's right. Transcode MUST be done, because pitch adjustments are required (Transcode=1 means "Run BeSweet"). But, at the end, you have found a bug. Transcode should be done to the same bitrate (you have checked "Do not transcode"), and the plugin is using 384 as output bitrate... (so, the 64k "trick" will not work, as you point out in your previous post). Try this (http://www.iespana.es/jsoto/transcodeac3_030c.zip)

Basically nothing ever seems to really happen to the ac3 file (length correction, delay, etc...).
In this particular case, delay correction is not needed. The plugin takes the required value of delay from the D2S BeSweet (changed to transcode) command line, and there is not delay on it.
Delayac3 is executed to fix any error, like CRC, uncompleted frames (if present), to avoid any problem during authoring. But if there is not any error, Extracted_audio_1_fixed.ac3 will be exactly the same than Extracted_audio_1.ac3

jsoto

The Belgain
18th December 2003, 01:31
Ok, I'll try that new version of transcodeac3.exe now. Does that fix mean that transcoding will be to 448kbit if I select 384 + 64? To be honest if the track is getting transcoded anyway, I don't really mind it getting transcoded to 384, it isn't a big problem (as long as the bitrate calculations work correctly).

That logfile was complete, which indicates that there is a problem. Also, that dialog which I said pops up in my earlier post is an AutoIt dialog. The message in it is not particularly enlightening as to what is wrong.

So if pitch adjustments need to be done, the ac3 track needs to be completely transcoded, is that right (eg for NTSC --> PAL)?

I'm continuing to do all my testing with DVD2SVCD only at the moment by the way (not using D2SRoBa).

The Belgain
18th December 2003, 10:12
Right, I think I've solved the problem...when doing NTSC --> PAL conversions, "Do not transcode audio" must be unchecked (which makes sense really). I haven't tested to see if it's possible to encode at 448 yet (I'll test on the next movie I do). I'll also test using D2SRoBa.

Thanks very much for this great plugin jsoto.

jsoto
18th December 2003, 20:23
@The Belgain

Just to confirm...

xp_eric has detected the following bug:
there's a small bug in the transcodeac3.au3 script. In lines 315 and 317 you forgot a '&' between the first text and the string variable
So, if you have one error in ac3 (it is usual to have an uncompleted frame due avi file cuts) an Autoit Error dialog will pop up. The message is a syntax error, but, probably you will see part of the message to be logged ( ac3 errors). Is this the case? Could you check your delayac3_1.log file? The error should be there...

Last fix includes both (this bug and the 384+64 one) fixed, so now, the dialog will not pop up, but the error should be there.

@all
I've found another issue in the case of DVD input. If main movie PGC is not TITLE_1 in the VTS, as VobSup starts with TITLE_1 selected by default, no subpictures will be extracted (at least not the right ones). I believed VobSup selects automatically the right PGC, but seems I was wrong.

jsoto

jsoto
4th January 2004, 02:47
mDVDAuth031.exe (http://www.iespana.es/jsoto/mDVDAuth031.exe)
This is the change log:
- Bug Fix: Subpictures didn't work if selected PGC was different to 1.
- Other: Imgtool (a GUI of mkisofs) substituted by mkisofs

And, the next ones, for full-dvd backup support (substantial but gratifying manual work is needed...)

- Other: Chapters using Celltimes.txt, if manually extracted before encoding. This allows to create a new DVD with the same cell numbers than the original (and after to use the original IFOs)
- Other Keep the original stream number in audio tracks. Useful to DVDs full-backup

Enjoy..

jsoto

jsoto
8th January 2004, 03:02
Oops, one bug in 031. I've broken Fixed Chapters...
jsoto

EDIT: Also DVD Chapters are broken.

Better wait for a new version.

xp_eric
8th January 2004, 12:38
I didn't test this one because nothing changed in AVI 2 DVD conversions. I'll guest I'd better wait for 032 :sly:

I still have a problem with 030 though : During authoring IfoEdit stops with a INTERNAL BUFFER error. Hitting the OK button continous the process and still delivers a perfectly authored DVD (as far as I can see, it plays perfectly in several standalone players). Anybody a clue ?

Eric

jsoto
18th January 2004, 02:04
mdvdauth032 (http://www.iespana.es/jsoto/mdvdauth032.exe) is online, only minor changes.
jsoto

spuddog
22nd January 2004, 01:54
Hi
I've tried the plugin, haven't had much success. The question I have is can you still make svcd's after installing the plugin? I have a dvd burner, but I use svcd for tv programs less than 40~mins

Thanks

jsoto
22nd January 2004, 23:57
I've tried the plugin, haven't had much success
Let me know which are the problems.

I have is can you still make svcd's after installing the plugin? Sure. I use SVCDs and/or DVDs..
Well, the plug (using the GUI) automatically changes some settings in D2S. If the encoding finished without any problems, it recovers the original ones (in your case, SVCD, I assume). But if something has been wrong may be you have to recover them manually. The settings to recover are:
A) the three executable paths:
Besweet (in audio tab)
Runbbmpeg (in bbmpeg tab)
vcdxbuild (in cd image tab)
B) Aspect ratio in conversion tab
C) In bitrate tab just click "Use default" (if you are not using D2SRoBa)
That's all.
jsoto

spuddog
24th January 2004, 00:28
jsoto
thank you for the reply
the reason I didn't go into the problems is because it doen't seem to be the same one each time.
I believe the main one is that infoedit is picking up the Extracted_audio_1.ac3 instead of the Extracted_audio_1_fixed.ac3
When I do it manual it seems to work. Also I have never been able to get
Imgtool to give me a good image.
as an aside I have read that infoedit and cce have problems, is this still the case?
Lastly, I am sorry if some these questions have been answer before, I try to read most of the posts and have had 99% of my questions answered there. I really appreciate the work of yourself and all of the other experts at doom9

xp_eric
25th January 2004, 23:02
@jsoto:

back from skiing and snowboarding :(

tested version 0.32. Option to not start DVD2SVCD is cool!
Two things seem to fail though when converting an AVI to DVD:

1) subtitle colors are not set anymore with values from ini file anymore.

settings in mdvdauth.ini:
Subs=3
Imgs=0
CDSize=4350
CopyVideoAttr=1

logfile shows:
mdvdauth: Executing: "E:\DVD2SVCD\mdvdauth32\copyifoattr.exe" -subsdef " " "h:\dvd\DVD\ROOT\VIDEO_TS\VTS_01_0.IFO"

mdvdauth: Finished Copy_IFO_ATTR -subsdef WITH ERROR: recovering from BUP..

2) no chapters are created anymore.

settings in mdvdauth.ini:
Celltimes=1
CellTimesFile=

logfile shows:
mdvdauth: Celltimes: does not exist.
mdvdauth: Calculating chapters using dvd chapters...
mdvdauth: Finished.

Eric

jsoto
26th January 2004, 00:44
@spuddog
The plugin uses Encoded_audio_1.ac3, not Extracted_audio_1.ac3.
Anyway, please post your mdvdauth_log.txt, just to see what happens
Imgtool to give me a good image. Manually?. Which version of ImgTool Classic are you using?
I have read that infoedit and cce have problems, Not really, Remux option in IFOedit does not work, but there is no problem in PAL authoring. There is a known problem in NTSC authoring (AFAIK, not related with CCE), but I'm a PAL user, so never pay attention to it.


@xp_eric
back from skiing and snowboarding Sorry...

Two things seem to fail though when converting an AVI to DVD: Oops, too many bugs...
Could you test this (http://www.iespana.es/jsoto/mdvdauth032b.zip) for me?
BTW, How do you get these settings?

Celltimes=1
CellTimesFile=

Manually or using the GUI?. The GUI is protected to generate these settings, I cannot get them using it. Anyway, I've changed mdvdauth.exe to do not force DVDchapters in this case.
jsoto

xp_eric
26th January 2004, 07:07
@jsoto:

BBTW, How do you get these settings?]
Celltimes=1
CellTimesFile=

Manually or using the GUI?.
manually as you know me. ;) At first I used the GUI to configure everything. When It didn't seem to work I manually edited it with these settings as they seemed the most logical to me.

How about the subtitle colors ? Did I (again manually edited) anything incorrect there ?

I'll test 32b tonight...

Eric

jsoto
26th January 2004, 08:32
@xp_eric

Sub colors: (& also precommand) had been broken, because I've quoted filenames (to allow blank spaces in the names). But using -subsdef or -precommand, there is no Ifo source file and a parameter " " was issued to copyifoattr. I hope it is fixed in 032b, but i didn't test it yet.

Celltimes=1 means an external file (CellTimesFile) should be used as chapters. Usually generated previously with IFOedit. I use it when not all Cells are chapters, so Chapters info extracted by D2S is only the chapter entry points, but not all Cell entry points. Not useful in AVI, unless you want to fix the chapters manually (remember, inside Celltimes.txt there are frame numbers, not seconds)

jsoto

xp_eric
26th January 2004, 15:05
@jsoto:

I used fixed chapters for AVI 2 DVD conversions until now (via settings in DVD2SVCD). Worked fine until now. The celltimes entries in the ini file are new so I'm not shure what to set them to to work as before.

Eric

jsoto
26th January 2004, 23:11
@xp_eric

Sub colors: (& also precommand): Did you test it?. I didn't, because I'm busy with other stuff..

Celltimes=1: Not really useful in AVI, use fixed chapters in D2S (CellTimes=0), as usual. As I said before, it is useful to me for FULL DVD backup (authoring with IFOEdit, and a lot of manual work).

jsoto

xp_eric
26th January 2004, 23:39
I was also busy : modding my xbox (and playing Prince of Persia after it worked !)

I tested version 0.32b but the results are quite the same as with 0.32 :

still no updated subtitle colors and no chapters after setting CellTimes=0

I'm off playing Project Gotham 2 now...

:D Eric

andref4
31st January 2004, 13:09
@josoto

I can´t download mdvdauth032! the mirror don´t work!

Please can you upload 032 and 032b to another mirror!?
Thanks

jsoto
2nd February 2004, 00:17
@andref4
Sorry for the delay in answering, I was off-line during weekend.
I've tested the links just now and they work. I hope you've downloaded them. In any case I haven't any mirror.

jsoto

andref4
2nd February 2004, 14:27
yes, links are working now!
thanks josoto

jsoto
5th March 2004, 00:20
mDVDAuth033.exe (http://www.iespana.es/jsoto/mDVDAuth033.exe) is out.
Some bug fixing and compatibility with next D2S version.

jsoto

xp_eric
5th March 2004, 07:05
Hi Jsoto,

I'll test version 0.33 together with the next D2S. I'm quite happy with the current (0.32) configuration. Have to do Matrix 3 and LOTR3 first ;)

Eric

ErazorTT
5th March 2004, 11:42
where can i download the "next" version and when will the next version come officially.
the last version is really old and has many bugs.

jsoto
5th March 2004, 13:17
Next D2S is under test. Be patient.

jsoto

Barix
5th March 2004, 16:00
I have a problem with A/V sync .. Of course the original AVI file is perfect.

In the final dvd image I have the audio who anticipates for about 1 sec the video.

Here my logs:

mdvdauth_log.txt:

--------------------------------------------------------

transcodeac3: starting transcodeac3 0.3.1 at 19:43:49

--------------------------------------------------------

transcodeac3: AudioFolder=D:\Movies\WIP= WorkingFolder=D:\Movies\WIP=

transcodeac3: SourceFolder=D:\Movies\WIP=

transcodeac3: Executing C:\Programmi\DVD2SVCD\mDVDauth\delayac3.exe -info D:\Movies\WIP\Extracted_audio_1.ac3

transcodeac3: Processing delay=0 gain=max ac3mod=3/2 from bitrate=384 to bitrate=384

transcodeac3: transcode=0 stereo=0 start=0 end=0

transcodeac3: Executing C:\Programmi\DVD2SVCD\mDVDauth\delayac3.exe -start 0 -fixcrc silence -same -startsplit 0 -endsplit 0 Extracted_audio_1.ac3

transcodeac3: Finished FIXING SOME ERRORS see delayac3_1.log. Audio & Video may be out of sync.

transcodeac3: RenameFile

transcodeac3: Renaming Extracted_audio_1_fixed.ac3 to Encoded_audio_1.ac3 in D:\Movies\WIP

transcodeac3: Finished OK.



--------------------------------------------------------

mdvdauth: starting mdvdauth at 01:54:51

--------------------------------------------------------

mdvdauth: AudioFolder=D:\Movies\WIP=, WorkingFolder=D:\Movies\WIP=,

mdvdauth: SourceFolder=D:\Movies\WIP=, ImageFolder=D:\Movies\WIP=



mdvdauth: Calculating chapters using fixed chapters of 60 secs.

mdvdauth: Fps=25 NumFrames=205975 MovieLength=02:17:19

mdvdauth: ChapterOffset=1500 LengthOfChapters=60

mdvdauth: Finished.



mdvdauth: Starting IfoEdit in D:\Movies\WIP

mdvdauth: at time 01:54:51

mdvdauth: Starting muxing at time: 01:55:08

mdvdauth: Finished IfoEdit at time: 02:14:23



----------------------------------------------------

mdvdauth: Finished mdvdauth at time: 02:14:23

----------------------------------------------------


delayac3_1.log:

[ac3info]
delayac3 version=0.27
Bitrate=384
Fsample=48.0
AC3mode=3/2
FileSize=395508480
BytesPerFrame=1536
TotalFrames=257492
FrameDuration=32.00
OriginalDuration=02:17:19.760
Rest= Error: There are uncomplete frames

[Fixedac3info]
NotFixedDelay=0.00
EstimatedFixedDuration=02:17:19.744
StartFramesAdded=0
EndFramesAdded=0

[FixedAndSplitac3info]
NotFixedDelay=48.00
EstimatedFixedAndSplitDuration=02:17:19.776
StartFramesAdded=0
EndFramesAdded=0

[ProcessingLog]
Time 00:00:00.000; Frame#= 1. Unsynchronized frame...FIXED.
Time 02:17:18.784; Frame#= 257463. Uncomplete frame. SKIPPED
Time 02:17:18.816; Frame#= 257464. Uncomplete frame. SKIPPED
Time 02:17:18.848; Frame#= 257465. Uncomplete frame. SKIPPED
Time 02:17:18.880; Frame#= 257466. Uncomplete frame. SKIPPED
Time 02:17:18.912; Frame#= 257467. Uncomplete frame. SKIPPED
Time 02:17:18.944; Frame#= 257468. Uncomplete frame. SKIPPED
Time 02:17:18.976; Frame#= 257469. Uncomplete frame. SKIPPED
Time 02:17:19.008; Frame#= 257470. Uncomplete frame. SKIPPED
Time 02:17:19.040; Frame#= 257471. Uncomplete frame. SKIPPED
Time 02:17:19.072; Frame#= 257472. Uncomplete frame. SKIPPED
Time 02:17:19.104; Frame#= 257473. Uncomplete frame. SKIPPED
Time 02:17:19.136; Frame#= 257474. Uncomplete frame. SKIPPED
Time 02:17:19.168; Frame#= 257475. Uncomplete frame. SKIPPED
Time 02:17:19.200; Frame#= 257476. Uncomplete frame. SKIPPED
Time 02:17:19.232; Frame#= 257477. Uncomplete frame. SKIPPED
Time 02:17:19.264; Frame#= 257478. Uncomplete frame. SKIPPED
Time 02:17:19.296; Frame#= 257479. Uncomplete frame. SKIPPED
Time 02:17:19.328; Frame#= 257480. Uncomplete frame. SKIPPED
Time 02:17:19.360; Frame#= 257481. Uncomplete frame. SKIPPED
Time 02:17:19.392; Frame#= 257482. Uncomplete frame. SKIPPED
Time 02:17:19.424; Frame#= 257483. Uncomplete frame. SKIPPED
Time 02:17:19.456; Frame#= 257484. Uncomplete frame. SKIPPED
Time 02:17:19.488; Frame#= 257485. Uncomplete frame. SKIPPED
Time 02:17:19.520; Frame#= 257486. Uncomplete frame. SKIPPED
Time 02:17:19.552; Frame#= 257487. Uncomplete frame. SKIPPED
Time 02:17:19.584; Frame#= 257488. Uncomplete frame. SKIPPED
Time 02:17:19.616; Frame#= 257489. Uncomplete frame. SKIPPED
Time 02:17:19.648; Frame#= 257490. Uncomplete frame. SKIPPED
Time 02:17:19.680; Frame#= 257491. Uncomplete frame. SKIPPED
Time 02:17:19.712; Frame#= 257492. Uncomplete frame. SKIPPED
Time 02:17:19.744; Frame#= 257493. Uncomplete frame. SKIPPED

[ProcessResults]
FixedDuration=02:17:18.752
Number of Errors= 32
Return Value= 1


delayac3_info_1.log:

[ac3info]
delayac3 version=0.27
Bitrate=384
Fsample=48.0
AC3mode=3/2
FileSize=395508480
BytesPerFrame=1536
TotalFrames=257492
FrameDuration=32.00
OriginalDuration=02:17:19.760
Rest= Error: There are uncomplete frames


I want to declare that I'm not a D2S expert.

I tried opening the avi and the MPV files in vdub and there are absolutely no delay between this 2 files.

IMHO the problem is due to the first error in the delayac3 log, but how to fix it? and how to re-author the dvd without recompressing the video? (I have all the intermediary files of course)

jsoto
5th March 2004, 21:46
IMHO the problem is due to the first error in the delayac3 log
Yes, but seems delayac3 skips too many frames...

Well, to recover your encode:
Option a)
1.- Try fixing Extracted_audio_1.ac3 with a different tool, like besliced or ac3fix.
2.- Rename fixed file to Encoded_audio_1.ac3
3.- Start D2S and recover from CD image.

Option b)
1.- Add 1 sec (or the needed delay) of silence at the begining of your fixed file (Encoded_audio_1.ac3). Simply "correct" the delay with ac3 delay corrector or with delaycut.
2.- Rename fixed file to Encoded_audio_1.ac3
3.- Start D2S and recover from CD image.

I would like to have the first 20-30 KBytes of your Extracted_audio_1.ac3, just to see what is hapening with delayac3.
Could you send them to me?

jsoto

Barix
10th March 2004, 10:31
Thanks. I will try repair the delay by hands .. I tried to process the extracted audio with besliced with the same result (same delay). Ac3fix (using his GUI) seems not work ..

jsoto
14th March 2004, 21:15
Thanks for the file, Barix.

The file is made of 30 KB of null bytes, so this is the problem because delayac3 can not detect how many bytes skips until the first good frame. Anyway, this file hangs delaycut, so it helps me to fix it. :)

jsoto

Barix
15th March 2004, 09:26
Thank you for the interest, Jsoto.

I used mDVDauth other 3 times withut any problem .. great program, very wonderful.

It's a great simplification of the (almost perfect) DVD2SVCD.

Very good work!

Der Blob
24th March 2004, 21:34
Hi jsoto!

It has been a long time since I used mdvdauth. My serious problem is that with 0.33 I never get a second or even third CD or mdvdauth hangs completely. Hours of encoding and then THIS! :mad: The program terminates normal, everything seems to be fine. Temp, Root and CD1, that's all I get in the DVD folder. Any ideas?

jsoto
25th March 2004, 00:58
@Der Blob

My apologies, I use mdvdauth in DVD mode, so I didn't notice I've broken mDVD. I'll look into it, but please post or send me mdvdauth_log.txt and also dvd2svcd_log.txt.
Hours of encoding and then THIS Do not delete any file, probably you will be able to recover from CD image and save your video encoding..


Do you have in your folder the following files?
bbMPEG_Muxed_File00.mpg
bbMPEG_Muxed_File01.mpg
bbMPEG_Muxed_File02.mpg
bbMPEG_Muxed_File03.mpg


jsoto

adge
25th March 2004, 12:30
@jsoto
My apologies, I use mdvdauth in DVD mode, so I didn't notice I've broken mDVD.

I think the problem's here (in mdvdauth.au3):

if $mdvdauth = 1 then
FileAppend ($mdvdauthlog, @CRLF & "mdvdauth: Moving and renaming files..." & @CRLF)
RunWait ( @COMSPEC & " /C move VTS_01_4.VOB ..\..\CD4\VIDEO_TS", $WorkingDir & "\DVD\TEMP\VIDEO_TS", @SW_HIDE)
RunWait ( @COMSPEC & " /C rename VTS_01_4.VOB VTS_01_1.VOB", $WorkingDir & "\DVD\CD4\VIDEO_TS", @SW_HIDE)
sleep (500)
RunWait ( @COMSPEC & " /C move VTS_01_3.VOB ..\..\CD3\VIDEO_TS", $WorkingDir & "\DVD\TEMP\VIDEO_TS", @SW_HIDE)
RunWait ( @COMSPEC & " /C rename VTS_01_4.VOB VTS_01_1.VOB", $WorkingDir & "\DVD\CD3\VIDEO_TS", @SW_HIDE)
sleep (500)
RunWait ( @COMSPEC & " /C move VTS_01_2.VOB ..\..\CD2\VIDEO_TS", $WorkingDir & "\DVD\TEMP\VIDEO_TS", @SW_HIDE)
RunWait ( @COMSPEC & " /C rename VTS_01_4.VOB VTS_01_1.VOB", $WorkingDir & "\DVD\CD2\VIDEO_TS", @SW_HIDE)
sleep (500)
RunWait ( @COMSPEC & " /C move VTS_01_1.VOB ..\..\CD1\VIDEO_TS", $WorkingDir & "\DVD\TEMP\VIDEO_TS", @SW_HIDE)
FileAppend ($mdvdauthlog, "mdvdauth: Finished moving and renaming files..." & @CRLF)
endif


You're forever trying to rename VTS_01_4.VOB, when it should be _3, _2. Later the code finds no VTS_01_1.VOB in these directories, so deletes them. If the movie spanned 4 CD's, I think you'd see the 4th, but of course not many do.

I had noticed this, but I tend to use IFOEdit's split by chapters rather than mDVDauth's split; I find that VOBs split by size have navigation errors in the subsequent VTS_01_x's.

@Der Blob
jsoto's right, you don't have to repeat the hours of coding provided you haven't deleted any files. DVD2SVCD will allow you to recover (once mDVDauth is fixed) and will just rerun the last few minutes or so.

Adge

Der Blob
25th March 2004, 13:18
@ jsoto

Thanks for your reply! ;)

@ Adge

Hehe, I'm so stupid. I didn't think of this possibility. Thanks, anyway. :)

mdvdauth_log.txt
--------------------------------------------------------

transcodeac3: starting transcodeac3 0.3.0c at 02:29:46

--------------------------------------------------------

transcodeac3: AudioFolder=G:\DVD2SVCD= WorkingFolder=G:\DVD2SVCD=

transcodeac3: SourceFolder=G:\DVD2SVCD=

transcodeac3: Executing D:\Programme\DVD2SVCD\mDVDauth\delayac3.exe -info G:\DVD2SVCD\Extracted_audio_1.ac3

transcodeac3: Processing delay=0 gain=max ac3mod=3/2 from bitrate=448 to bitrate=448

transcodeac3: transcode=0 stereo=0 start=0 end=0

transcodeac3: Executing D:\Programme\DVD2SVCD\mDVDauth\delayac3.exe -start 0 -fixcrc fix -same -startsplit 0 -endsplit 0 Extracted_audio_1.ac3

transcodeac3: Finished OK

transcodeac3: RenameFile

transcodeac3: Renaming Extracted_audio_1_fixed.ac3 to Encoded_audio_1.ac3 in G:\DVD2SVCD

transcodeac3: Finished OK.



--------------------------------------------------------

mdvdauth: starting mdvdauth at 03:20:48

--------------------------------------------------------

mdvdauth: AudioFolder=G:\DVD2SVCD=, WorkingFolder=G:\DVD2SVCD=,

mdvdauth: SourceFolder=G:\DVD2SVCD=, ImageFolder=G:\DVD2SVCD=



mdvdauth: Calculating chapters using fixed chapters of 60 secs.

mdvdauth: Fps=25 NumFrames=63525 MovieLength=00:42:21

mdvdauth: ChapterOffset=1500 LengthOfChapters=60

mdvdauth: Finished.



mdvdauth: Starting IfoEdit in G:\DVD2SVCD

mdvdauth: at time 03:20:48

mdvdauth: Starting muxing at time: 03:21:03

mdvdauth: Starting strip at time: 03:26:46

mdvdauth: Finished IfoEdit at time: 12:28:40



mdvdauth: Moving and renaming files...

mdvdauth: Finished moving and renaming files...



mdvdauth: Starting IfoEdit in G:\DVD2SVCD\DVD\CD1\VIDEO_TS

mdvdauth: at time 12:28:42

mdvdauth: Finished IfoEdit at time: 12:32:36



mdvdauth: Executing: "D:\Programme\DVD2SVCD\mDVDauth\copyifoattr.exe" -all "G:\DVD2SVCD\DVD\ROOT\VIDEO_TS\VTS_01_0.IFO" "G:\DVD2SVCD\DVD\CD1\VIDEO_TS\VTS_01_0.IFO"

mdvdauth: Finished Copy_IFO_ATTR -all WITH ERROR: recovering from BUP..



dvd2svcd_log.txt

WNASPI32.DLL 4.6.0.1021
Bitrate failed,0.00
--------------------------------------------------------
- 25.03.2004 02:28:54
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
- F:\Filme\Test.avi
Initializing finished.

--------------------------------------------------------
- 25.03.2004 02:28:57
- Free on drive G: 3532.65 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 25.03.2004 02:29:42
- Free on drive G: 3396.93 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 25.03.2004 02:29:43
- Free on drive G: 3396.93 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: G:\DVD2SVCD\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"D:\Programme\DVD2SVCD\mDVDauth\transcodeac3.exe" -core( -input "G:\DVD2SVCD\Extracted_audio_1.ac3" -output "G:\DVD2SVCD\Encoded_audio_1.mp2" -logfile "G:\DVD2SVCD\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
Audio conversion of G:\DVD2SVCD\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 25.03.2004 02:30:34
- Free on drive G: 3261.20 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 1416877728
AudioSectors: 72404220
VideoPAPO: 20826612
ScanOffsetBytes: 76241
SeqAligningBytes: 4845526
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 1318725120.80
Seconds: 2551.36
CalcMPEGStream: 1318725120.80
Frames: 63534
CDSize: 680.00
Number of CDs: 2
Cut point 675.00
Variable Settings:
Frames: 63534
Anti Noise Filter: Off
Passes: 2
Image Quality: 15
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 5
Min. bitrate: 1200
Max. bitrate: 2500
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("D:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("F:\FILME\TEST.AVI",False)
ConvertToYUY2()
# -= AviSynth script by FitCD v1.1.2 =-
BicubicResize(688,416,0,0.6,2,0,636,352)
AddBorders(16,80,16,80)
Import("G:\DVD2SVCD\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.000
Video Encoding finished.

--------------------------------------------------------
- 25.03.2004 03:20:23
- Free on drive G: 2262.52 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: D:\Programme\DVD2SVCD\mDVDauth\default.ini
--------------------------------------------------------
- 25.03.2004 03:20:26
- Free on drive G: 2262.52 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: D:\Programme\DVD2SVCD\mDVDauth\default.ini
--------------------------------------------------------
- 25.03.2004 03:20:28
- Free on drive G: 2262.52 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: D:\Programme\DVD2SVCD\mDVDauth\default.ini
--------------------------------------------------------
- 25.03.2004 03:20:31
- Free on drive G: 2262.52 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: D:\Programme\DVD2SVCD\mDVDauth\default.ini
Offset in Seconds: 0
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 675 mb

Executing RunbbMPEG. Commandline:
"D:\Programme\DVD2SVCD\mDVDauth\fakebbmpeg.exe" "G:\DVD2SVCD\bbMPEG_Muxed_File.mpg"
Length of G:\DVD2SVCD\bbMPEG_Muxed_File00.mpg
-3 Seconds
Offset in Seconds: -3
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 675 mb

Executing RunbbMPEG. Commandline:
"D:\Programme\DVD2SVCD\mDVDauth\fakebbmpeg.exe" "G:\DVD2SVCD\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 25.03.2004 03:20:37
- Free on drive G: 2262.34 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: G:\DVD2SVCD\bbMPEG_Muxed_File00.mpg
0.000 seconds G:\DVD2SVCD\bbMPEG_Muxed_File00.mpg
Analyzing: G:\DVD2SVCD\bbMPEG_Muxed_File01.mpg
0.000 seconds G:\DVD2SVCD\bbMPEG_Muxed_File01.mpg
Analyzing: G:\DVD2SVCD\bbMPEG_Muxed_File02.mpg
0.000 seconds G:\DVD2SVCD\bbMPEG_Muxed_File02.mpg
Analyzing finished.

--------------------------------------------------------
- 25.03.2004 03:20:46
- Free on drive G: 2262.34 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"D:\Programme\DVD2SVCD\mDVDauth\mdvdauth.exe" --verbose --cue-file="G:\DVD2SVCD\CD_Image_File_CD1.cue" --bin-file="G:\DVD2SVCD\CD_Image_File_CD1.bin" "G:\DVD2SVCD\VCDXBU~1.XML"
--------------------------------------------------------
- 25.03.2004 12:32:40
- Free on drive G: 0.05 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"D:\Programme\DVD2SVCD\mDVDauth\mdvdauth.exe" --verbose --cue-file="G:\DVD2SVCD\CD_Image_File_CD2.cue" --bin-file="G:\DVD2SVCD\CD_Image_File_CD2.bin" "G:\DVD2SVCD\VCDXBU~2.XML"
--------------------------------------------------------
- 25.03.2004 12:32:43
- Free on drive G: 0.07 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #3: CD_Image_File_CD3.bin

Executing VCDXBuild. Commandline:
"D:\Programme\DVD2SVCD\mDVDauth\mdvdauth.exe" --verbose --cue-file="G:\DVD2SVCD\CD_Image_File_CD3.cue" --bin-file="G:\DVD2SVCD\CD_Image_File_CD3.bin" "G:\DVD2SVCD\VCDXBU~3.XML"
Image creation finished.

--------------------------------------------------------
- 25.03.2004 12:32:47
- Free on drive G: 0.10 mb
- Conversion done!
--------------------------------------------------------


Sometimes it works and sometimes it doesn't. I had to recover authoring in this case. The movie is short enough for one CD, but I enlarged it by raising the bitrate to ensure it wouldn't. As I said, authoring failed completely on this one.


bbMPEG Muxed_File00.mpg01
bbMPEG Muxed_File04.mpg

I have these two fake mpeg files.

jsoto
25th March 2004, 23:24
@adge
Thanks! . You find the main problem.

@Der Blob
Although the main problem has been pointed out by adge, seems you are also running out of space in your HD.

- Free on drive G: 0.05 mb

But, I'm not sure if this can be the cause of the error:
mdvdauth: Finished Copy_IFO_ATTR -all WITH ERROR: recovering from BUP..

So, please try mDVDAuth034.exe (http://www.iespana.es/jsoto/mDVDAuth034.exe) and let me know.

jsoto

EDIT: Uploaded.

Der Blob
26th March 2004, 02:16
@ jsoto

The HDD space wasn't the problem. I'll let you know if the new mdvdauth works. Thanks a lot! :D

Der Blob
26th March 2004, 14:34
Well, it works! :D
I had to recover multiplexing and cutting, though. The script was paused for some unknown reason. But many things need a second try sometimes. :D
Thanks again jsoto!

jsoto
6th April 2004, 02:50
mDVDAuth035.exe (http://www.iespana.es/jsoto/mDVDAuth035.exe) is out.
Chapter selection in GUI and ini. Celltimes can be automatically extracted from original IFO. In this way the authored VOBs can be the replacing title in VobBlanker (http://forum.doom9.org/showthread.php?s=&threadid=73145) app, for 1:1 backup.
jsoto

doktor motte
6th April 2004, 19:57
:D first to reply.

Thnx again for the newest version, will give it a try.

Btw. Your link to v0.35 is wrong, it leads to v0.34.:confused:

But anyway i managed to download v0.35 by "modifying" your link.:cool:

jsoto
6th April 2004, 20:28
Your link to v0.35 is wrong, it leads to v0.34 Ooops, Link fixed. Thanks
jsoto

Barix
11th April 2004, 16:42
Hi Jsoto. From 0.34 version I get final movie which crashes PowerDVD 5.

If I try to open the dvd structure from hdd and/or form a dvd-r poewerdvd closes when opening the movie.

In the 0.35 you added also mkisofs support. Also mounting this iso image with daemon tools and opening it with powerdvd crashes it.

With Windvd 5 all works perfectly (sorry but I haven't tried with a stand-alone dvd-player.

What's happened? Movie created with mdvdauth 0.33 works good on powerdvd

Maybe it depends from d2sroba?? when I updated to 0.34 I started using d2sroba ...

I'm using DVD2SVCD 1.2.1 beta 3, d2sroba 3.4.4, and other micro-utilities are up to date ..

jsoto
11th April 2004, 23:48
Hi Barix,

Sorry, I need more info. Please post mdvdauth_log.txt and dvd2svcd_log.txt and clarify me these two questions:

Does PowerDVD crash with any DVD or only with a specific one?.
Does the same DVD work OK with mdvdauth033 (with same versions of D2S and D2SRoBa)?
Maybe it depends from d2sroba? I don't believe it.

jsoto

Barix
12th April 2004, 19:38
I think this problem is movie-related .. i tried another 2 movies without any problem.

I was converting a divx to dvd.

I converted it 3 or 4 times with mdvdauth 0.34 and 0.35 and d2sroba 3.2 -> 3.4.4

With each conversion of this divx I always get a dvd which hangs powerdvd, but which works perfectly with windvd and Gabest's media player classic.

Powerdvd simply exit after some seconds after loading the movie, before starting to play it.

With other divx's I obtain dvd's which gave no errors, so I'm satisfied and declare this problem depending of the original divx.

I no longer have the log files (sorry) so I hope this error doesn't reproduces .. if so I will post logs next time

jsoto
12th April 2004, 23:14
OK.
I'm focussed in DVD backups, and I've to confess I do not do many tests in the other features (avi, miniDVDs).

jsoto
EDIT:
BTW, I've a new web space, courtesy of geffroman, with no pop-ups,etc.
www.posunplugged.com/jsoto

onesoul
19th April 2004, 01:26
I am posting here although not sure I should do it at vobblanker thread.
About joining 2 dvd's with same menu: Reading the Vobblanker thread and mdvdauth thread gave me the idea of using the cell information chapter from the 1st dvd to author with your plugin the whole main movie (which I previously joined with Dvdshrink/Recode). Is it possible to do it?
I have 2 more questions whether is possible keep all 4 audio streams and where it is the cell information used or applied?

Thanks

jsoto
19th April 2004, 14:33
About joining 2 dvd's with same menu:
I never tried, but seems some users got it with VobBlanker and AddChapter. See VobBlanker thread and this one
http://forum.doom9.org/showthread.php?s=&threadid=73909

keep all 4 audio streams:
No, mdvdauth (and also D2S) supports only two audio tracks. You can do it with manual authoring.

where it is the cell information used (Chapters group in mDVDauth GUI):
- For 1:1 backup, check Original IFO CellTimes. mDVDAuth will extract the Cells info from the ripped IFO
- For movie only backups, check Selected in DVD2SVCD, and then select in D2S CD image tab fixed chapters or DVD chapters, whichever you want.

jsoto

Der Blob
19th April 2004, 15:47
Hi jsoto!

Could you please implement a cd overlap function into mdvdauth? I miss this very useful thing that bbmpeg does. ;)

jsoto
19th April 2004, 18:06
@Der Blob,

Well, I'm focussed in DVDr media, and I have a lot of things to do, so, sorry, but I'm not going to code this, at least in a next future. It's not so easy, because mdvdauth currently splits in 700 MB VOBs directly with IFOEdit, and to do it, seems I've to change a lot the plugin. In any case, I'll keep it in mind.

But today you can use Frameselection. You will have to run twice D2S(or three times, one per CD) , but you will be allowed to cut the movie at one selected frame (chapter change, i.e.).

jsoto

Der Blob
19th April 2004, 20:18
Originally posted by jsoto
@Der Blob,

Well, I'm focussed in DVDr media, and I have a lot of things to do, so, sorry, but I'm not going to code this, at least in a next future. It's not so easy, because mdvdauth currently splits in 700 MB VOBs directly with IFOEdit, and to do it, seems I've to change a lot the plugin. In any case, I'll keep it in mind.

But today you can use Frameselection. You will have to run twice D2S(or three times, one per CD) , but you will be allowed to cut the movie at one selected frame (chapter change, i.e.).

jsoto

What a pity. But I'll try it with frame selection instead, thanks for the tip. ;)

adge
27th April 2004, 16:42
jsoto, I am a little puzzled by the default bitrate settings set up by mDVDauth GUI.

After the GUI has started DVD2SVCD (having selected miniDVD), the CD breakpoints are at 92, 138, 184, 230 and 276 minutes. This means that a movie of 90 minutes - not uncommon - will get a one-disc encoding at a mere 834Kb/s, if 685MB CD size is selected.

This makes for a very blocky movie in most cases: 92 minutes is IMHO too much for one CD.

My question is, what was wrong with the DVD2SVCD defaults, which amount to breakpoints at 76, 125 and 163 minutes? These give a max 76 minutes at a more respectable 1026Kb/s. After using the GUI I intervene and set DVD2SVCD back to the defaults, with a 685MB CD size setting, which has always worked for me.

I realize that you don't do much CD encoding any more but I wondered if there was some magic reason for these bitrate settings that escapes me.

Adge

jsoto
27th April 2004, 20:01
Hi adge,
Glad to meet you again.
I wondered if there was some magic reason for these bitrate settings that escapes me. No magic. I simply copied these values from D2SRoBa, but thinking a little on it, I believe it has no sense, because D2SRoBa uses its fantastic algorithm to optimize the size/quality. So seems for mDVDAuth it's better to leave the D2S defaults as they are or even more, change to a little lower, because CD size (685) is lower than in SVCD (800).

I'll change them in next release.

jsoto

adge
27th April 2004, 21:57
I simply copied these values from D2SRoBa, but thinking a little on it, I believe it has no sense, because D2SRoBa uses its fantastic algorithm to optimize the size/quality.
Even with D2SRoBa's fantastic algorithm, I would be very surprised if a 90 minute movie looked good on one disk. D2SRoBa gains a significant speed advantage by reliably setting constant quality, but it can't really hope to better CCE's 4-pass variable coding. Some of the passes supposedly redistribute the bandwidth where it's needed most, a trick D2SRoBa can't match with its single pass. You've got to get something for all that extra time!
So seems for mDVDAuth it's better to leave the D2S defaults as they are or even more, change to a little lower, because CD size (685) is lower than in SVCD (800).
I have never found a problem with D2S's defaults as they are, even taking into account the 685MB CD size. I have even pushed an 80 minute movie onto one CD - although admittedly below my normal quality expectations.I'll change them in next release.
Thank you.

Adge

jsoto
27th April 2004, 23:00
Even with D2SRoBa's fantastic algorithm, I would be very surprised if a 90 minute movie looked good on one disk.
Don't get it wrong. AFAIK, D2SRoBa does not use these values. Well, may be to force D2S to calculate the video bitrate, but it calculates the number of CDs required for a given Q.
jsoto

xp_eric
4th May 2004, 21:13
@jsoto

what should I choose as output type if I use mdvdauth for DVD authoring in the new version. DVD seems logical now you can set multiplexer and DVD author applications ?

I tried DVD2SVCD 1.2.23 build 1 with mdvdauth 0.35 but setting output type to DVD didn't start mdvdauth.exe

when setting output type to SVCD as I normally did with the previous version the aspect ratio of the DVD seems incorrect with a 16:9 AVI input.

Eric ;)

jsoto
4th May 2004, 22:05
@xp_eric
mdvdauth needs to work in XXX2SVCD mode (SVCD output).

About AVI resize, there are three situations:
- An exact 4:3 AVI (i.e. 640x480 pixels). You MUST select 4:3, no borders added
- An exact 16:9 AVI. (i.e. 640x360) You can select 16:9 encoded as 4:3 (borders added) or Anamorphic.
- Any other odd DAR: IMO, you need to manually adjust the avisynth script. May be my resizer calculator can help you.
http://www.posunplugged.com/jsoto/tools/aviresz.zip
BTW, probably resizing plugins like FACAR will do the job automatically, but I'm not using them, so I cannot guarantee you the result. In any case I recommend you to give FACAR a try, I know the author and he's a high quality oriented guy.

jsoto

r6d2
4th May 2004, 23:41
Originally posted by jsoto
In any case I recommend you to give FACAR a try,FACAR will do AVIs only if they have NTSC/PAL PAR, which is very, very unlikely. Typical AVIs are square pixel sources.

FitCD does, however, allow you to specify 1:1 PAR on a source.

xp_eric
15th May 2004, 08:57
@jsoto:
The AVI resize problems are caused by DVD2SVCD. It is already fixed according to the latest readme.txt.

I have one other problem with your latest version. Setting the colors of the subtitles when doing an AVI 2 DVD conversion seems to be broken. Although I can't quite figure out the correct settings in the ini file for AVI conversions. Your readme.txt seems to be a bit outdated for these new additions. I used the same settings as I used earlier (Subs=3, CopyVideoAttr=1, AVI=1) but the colors are not set...

Eric ;)

jsoto
16th May 2004, 23:50
@xp_eric

I'll look into it. I've a little frozen this development, but one bug must be fixed.

jsoto

jsoto
18th May 2004, 00:18
Fixed!, but ...
I've also changed the code to be compiled with the last Autoit 3 version.
mdvdauth was developed with Autoit 3 074 (beta, unreleased), and some things have been changed until current released version 101. I hope I've modified all my code, but I didn't test all in depth. So, be careful with this version of the plugin.

Changelog:
0.4.0 (17-May-2004):
- Added: Control over bitrate constraints
- Other Compiled with Autoit 3 v101 & autgui.au3 v1.4
- BugFix CopyIfoattr called with no spaces in –subdef
- BugFix Strange case in transcode to stereo ac3
- BugFix Minor bugs in GUI when changing from DVD to AVI


http://www.posunplugged.com/jsoto
http://www.iespana.es/jsoto

jsoto

doktor motte
18th May 2004, 20:29
@jsoto:

Is the new version compatible with the new DVD2SVCD 1.2.2B1 especially when using it with D2SRoba ??

Btw. i loved your feature to lower the ac3-bitrate from eg. 448 to 256 KBit. I had the hope, that DVD2SVCD made that into the new version, but it won't. :confused:
So i'm much appreciated that you build again a new version. :D

jsoto
18th May 2004, 20:50
Is the new version compatible with the new DVD2SVCD 1.2.2B1 especially when using it with D2SRoba ??
035 was and I hope 040 still is. As I said I've recompiled all with autoit 3 101, and may be something could fail. I've tested AVI2miniDVD and AVI2DVD (xp_eric's settings), but still nothing more...

BTW, D2S 122B1 is bundled with BeSweet 026 which supports again ac3enc (a better but no bug free version). AFAIK, ac3 2.0 is now working again.

jsoto

xp_eric
18th May 2004, 22:12
thanks again jsoto.

I'll test it soon and let you know...

Eric :)

jsoto
23rd May 2004, 23:02
www.posunplugged.com/jsoto/mDVDAuth040b.exe
www.iespana.es/jsoto/mDVDAuth040b.exe

Minor change:
Changed defaults in CD size in miniDVD. Only GUI is affected.

jsoto

xp_eric
29th July 2004, 18:30
Well... it's been a while...

finally changed over to the latest version of MDVDAUTH. Works fine. DVD2SVCD 1.2.2 build 1 has a (confirmed) bug in AVI resizing so still on 1.1.3 build 3 for now.

I have another change request for AVI 2 DVD mode :

can you add settings to the ini-file to specify bitrates for mpeg2 and ac3 audio, eg. 192 and 448?

cheers,

Eric ;)

(I wrote a tutorial on how to convert an AVI with AC3 to a DVD with selectable subtitles using DVD2SVCD and MDVDAUTH. It's in Dutch for now : http://www.submagic.tk/)

jsoto
30th July 2004, 00:53
can you add settings to the ini-file to specify bitrates for mpeg2 and ac3 audio, eg. 192 and 448? Umm... 448 is not allowed and a trick has to be done.

In any case, I'm going to be off-line during a while..., may be when I return...

jsoto

xp_eric
30th July 2004, 07:02
Originally posted by jsoto
Umm... 448 is not allowed and a trick has to be done.

In any case, I'm going to be off-line during a while..., may be when I return...

jsoto Don't you call Besweet from the AutoIt script so you can use any value? The only problem is the calculation of the size of the video stream but my DVD's are almost never completely filled. Maybe I'll try to hack it in myself for now...

(I'll ask DVD2SVCD to add 448 to his application too)

Eric ;)

xp_eric
3rd August 2004, 08:05
Another (general) question: I started using D2SRoba but because mDvdAuth uses the SVCD settings of DVD2SVCD, D2SRoba assumes SVCD is actually the output format. What settings should I use in D2SRoba to ensure the created MPEG2 stream is DVD compliant?

Eric :)

jsoto
22nd August 2004, 01:11
@Eric
No specific settings in D2SRoBa for DVD compliant. Max video bitrate is adjusted by mdvdauthGUI to a safe value, lower than the maximum allowed in the standard (using the maximum there is a high risk of buffer overruns in IFOEdit authoring).

About other settings, I'm using RB's CCE templates (progresive and interlaced)

Closed GOPs: I've read somewhere that DVD standard asks for closed GOPs, but I'm absolutely sure nobody is forcing all GOPs to be closed.

jsoto

jsoto
22nd August 2004, 01:13
Minor update
- Added: Settings full compatible with D2SRoBa 3.6
- Changed Deleted “–same” option when calling transcodeac3.
- Improvement Delayac3 is much faster than before

jsoto

xp_eric
22nd August 2004, 08:33
Originally posted by jsoto
@Max video bitrate is adjusted by mdvdauthGUI to a safe value, lower than the maximum allowed in the standard (using the maximum there is a high risk of buffer overruns in IFOEdit authoring)...What is this safe value?

Eric ;)

jsoto
22nd August 2004, 10:09
As per
http://dvd.sourceforge.net/dvdinfo/dvdmpeg.html
Maximum video rate (MPEG-2) is 9800.
I've experienced problems with this value, even with 9000. So I'm currently using 8000. No problem at all

jsoto

xp_eric
23rd August 2004, 06:56
Originally posted by jsoto
As per
http://dvd.sourceforge.net/dvdinfo/dvdmpeg.html
Maximum video rate (MPEG-2) is 9800.
I've experienced problems with this value, even with 9000. So I'm currently using 8000. No problem at all

jsoto I also use 8000 but still I allmost allways get the famous INTERNAL BUFFER error of IfoEdit. Hitting OK continues and still results in an perfectly authored DVD. I think the cause is the DVDSupEncode subtitle stream though?

Eric ;)

jsoto
29th August 2004, 18:02
I think the cause is the DVDSupEncode subtitle stream though?
Not sure, may be. In fact, with big sup files (like BOV subpictures), IFOEdit authoring fails.
jsoto

xp_eric
30th August 2004, 20:34
Originally posted by jsoto
Not sure, may be. In fact, with big sup files (like BOV subpictures), IFOEdit authoring fails.
jsoto Problem is solved :D
I always overwrite the previous sup file created by DVDSupEncode. But... The new subs are kind of appended to the existing. I didn't notice it until now because the resulting DVD contains only the new subs. When importing the sup in srt2sup you get errors / warnings and previous subs are visible :confused:

The trick is to remove the previous sup before creating a new one.

Eric ;)

check my site http://www.submagic.tk Home of the great subtitle tool SubMagic and a tutorial for AVI -> DVD with AC3 and selectable subs with DVD2SVCD + MDVDAUTH + D2SRoba (in Dutch for now)

ADLANCAS
1st September 2004, 03:26
What settings should I use in D2SRoba to ensure the created MPEG2 stream is DVD compliant?@Eric
No specific settings in D2SRoBa for DVD compliant. Max video bitrate is adjusted by mdvdauthGUI to a safe value, lower than the maximum allowed in the standard (using the maximum there is a high risk of buffer overruns in IFOEdit authoring).
jsoto Then it´s possible that a stream generated by CCE+D2SRoBa reaches higher values of bitrate than allowed in DVD Standard (9800).
What happens in this case ?
Is it someway fixed during authoring ?

Thanks,

Alexandre

Van the man
4th September 2004, 16:34
I have some questions;

Can this thing rebuild the mini-dvd so it keeps the original menu?
And wich prog do that?

If I want to keep subs,what shall the settings be in the Subs settings?
Shall I click on rip subs? and Svcd,Cvd or permanent subs?

hope someone can answer these

thanks

jsoto
5th September 2004, 18:54
@ADLANCASit´s possible that a stream generated by CCE+D2SRoBa reaches higher values of bitrate than allowed in DVD Standard (9800). Not absolutely sure, but I think CCE can generate peak values higher than the max you specified.
The problem I've found with these peaks was always in authoring phase, (IFOEdit and also dvdauthor).

@Van the manCan this thing rebuild the mini-dvd so it keeps the original menu?
And wich prog do that?
No, mdvdauth is a "movie-only" tool. But you can use VobBlanker to replace the movie in the original mini-dvd, keeping the menu.
I believe DVD-RB doesn't manage mini-dvds...


If I want to keep subs,what shall the settings be in the Subs settings?
Shall I click on rip subs? and Svcd,Cvd or permanent subs?
Asuming you are using mdvdauth, subs are extracted using VobSub+SubToSup (select this radio button in mdvdauth GUI). In DVD2SVCD don't select any subs, neither rip them.

jsoto

ADLANCAS
6th September 2004, 04:39
...but I think CCE can generate peak values higher than the max you specified.
I´ve already seen higher peak values than specified in CCE. It happens normally with lower Q values and high complexity of video source.
The problem I've found with these peaks was always in authoring phase, (IFOEdit and also dvdauthor).
Sorry, I didn´t understand it completely. Which peak do you mean, higher than 9800 or 8000 ? And what did you do to fix that ?
Normally, I use mplex. Did you know some limitation of it ?

Thanks,

Alexandre

jsoto
6th September 2004, 19:01
@ADLANCAS
Sorry, I said dvdauthor, but I mean mplex phase.

I fixed the problem using 8000 as max video bitrate in CCE. I'm sure CCE is having more than 8000 in some peaks, but using 8000, seems it is not going above mplex/IFOedit limits.
When using 9800 or 9000 as max video bitrate in CCE, the peaks (probably higher than these limits) provoke buffer problems in authoring phase (mplex/IFOEdit).

But, I do not have much experience on CCE parameters customization, so may be I'm doing something wrong or may be there is another fix. I cannot help you on this area...

jsoto

ADLANCAS
7th September 2004, 00:08
@jsoto
It´s clear now for me, thanks!

The only way to "fix" this is setting "DVD compliant" parameter. I said "fix", because it seems that works, but I don´t know if in all cases. You can try it if you want. It really controls better this limit and of course increase encoding time.

Unfortunatelly, I don´t use in general, because sometimes I need to create a half-D1 mode and CCE padded image to 720x480. And this was the reason to ask you.

Alexandre

jsoto
14th October 2004, 01:13
I've released a bugfix version...
mDVDAuth042
- BugFix: Keep index in the case of non-consecutive subpictures
- BugFix: Max number of subs 32 (instead of 16).
- BugFix: Positive delay

jsoto

mnfesq
21st February 2005, 23:28
Is there a reason why mplex.exe (in DVD Author) won't recognize file names created by transcodeac3.exe called "Encoded_audio_1_mp2.mp2"? Mplex.exe is looking for files called "Encoded_audio_1.mp2".

I tried to edit the transcodeac3.au3 file to delete the 2 instances where "_mp2" are found. That didn't work. The files produced by transcodeac3 still end with _mp2.mp2.

Any suggestions?

P.S. - I found this in the mDVDauth.au3 file:

; Audio checks
if not FileExists($AudioDir & "\" & $Audiofile0 ) then
$Audiofile0 = "Encoded_audio_1_mp2.mp2"
if not FileExists ($AudioDir & "\" & $Audiofile0 ) then
$Audiofile0 = "Encoded_audio_1.dts"
if not FileExists ($AudioDir & "\" & $Audiofile0 ) then
FileAppend ($mdvdauthlog, "mdvdauth: cannot find Encoded_audio_1.ac3 neither Encoded_audio_1_mp2.mp2 : exiting..." & @CRLF )
Exit
endif

Is it safe to remove the _mp2 from this file too?

jsoto
21st February 2005, 23:41
You need to change transcodeac3.au3 and also change mdvdauth.au3, and, after that, compile both scripts to get transcodeac3.exe and mdvdauth.exe.

EDIT: replace all the string "_mp2" with ""

jsoto

xp_eric
24th October 2005, 22:21
MDVDAuth 0.42 doesn't seem to work with the new DVD2SVCD 1.2.3 B1.

for one thing celltimes.txt seems to be missing.

Anybody a clue?

Eric

Nick
24th October 2005, 22:32
I have a clue why it doesn't work. I just haven't a clue how to fix it.
It doesn't work because the folder and executable names for DVD2AVI(as it was in the old version) have now changed, which has stopped mDVDAuth 0.42 working.

A little bird tells me there will be a mDVDauth 0.43. So much for me putting in the plugins sticky that only D2SRoBa was still being developed! ;)

Obviously I can't put any date on that as its development is nothing to do with me. But I'm sure patience will be rewarded :)

jsoto
26th October 2005, 23:24
OK, here it is.

mDVDAuth043 (http://www.videohelp.com/~jsoto/mDVDAuth/mDVDAuth043.exe)
mDVDAuth043 (http://jsoto.posunplugged.com/mDVDAuth/mDVDAuth043.exe)

Err, I thought noboby was using the plugin..., but seems it's not true.

In any case, I'll continue supporting the plugin, but only to follow DVD2SVCD development and/or bug-fixing. Please do not ask for new features..

jsoto

xp_eric
27th October 2005, 09:19
Thanks a lot!

I wrote a little tutorial (http://submagic.nlondertitels.com/tutorial.htm sorry, it's in Dutch) for a one click AVI with AC3 to DVD with selectable subs solution using mdvdauth. Quite some people here in the Netherlands seem to use it...

Eric

andref4
27th October 2005, 15:11
many thanks for new plugin!

xp_eric
8th February 2006, 12:02
@jsoto: as DVD2SVCD performs some kind of AC3 CRC check in the latest version, isn't the one performed by MDVDAUTH become obsolete?

jsoto
9th February 2006, 01:54
Hi xp_eric!
Which check are you sayuing? May be the -payload in BeSweet?

Anyway, I think not, mdvdauthor still is not obsolete, but sure you can do the things in other (better) way...

The point I'd like to change is the muxer and use MuxMan wich is the best in class.... Lately I've found some (minor) bugs in IFOEdit authoring. And may be the subs demuxer (pgcDemux has a better performance in case of some protected DVDs...)

jsoto

xp_eric
9th February 2006, 12:56
I didn't mean MDVDAuth is obsolete (I use it almost every day ;-), just the check on bad frames in AC3 streams.

The readme of the latest version clearly states :

"- Fix: If you're trying to convert joined AVI files with an AC3 stream the muxer could fail due to a bad frame at the joinpoint. DVD2SVCD is now checking the entire AC3 file for bad frames (wrong length frames). This is usually such a few frames that you will not notice any sync problems.

jsoto
10th February 2006, 01:28
I think this is done using BeSweet in -payload mode...
This is exactly what delay ac3 does, just check crc and fix the errored frames. But dvd2svcd alone does not convert the ac3 to other bitrate...

jsoto

xp_eric
10th February 2006, 12:41
I think this is done using BeSweet in -payload mode...
This is exactly what delay ac3 does, just check crc and fix the errored frames. But dvd2svcd alone does not convert the ac3 to other bitrate...

jsotoI understand. But my statement is that AC3 CRC check now is performed twice : once by DVD2SVCD, once by MDVDAUTH. MDVDAUTH should off course still convert samplerate / framerate of the AC3 stream.

jsoto
10th February 2006, 19:38
If the check is done by BeSweet, as mdvdauth replaces besweet with delayac3.exe, the check is done only once...
But if the check is done "on the fly" while extracting the ac3, yes it will be done twice....
I'm not completely sure, but I think it is done by BeSweet....

May be I can check it provoking a CRC error in an avi+ac3 input file... I'll try.


jsoto

jsoto
10th February 2006, 23:22
I've done a little test, provoking a CRC error in an avi file.

mdvdauth was able to detect it and the frame is silenced.

dvd2svcd (w/o mdvdauth) using source audio did not detect the error... BeSweet was started in -payload mode, but the error still remains in the output file ... :confused: :confused: Not sure if I'm doing something wrong...

jsoto

Nick
11th February 2006, 20:46
The check done by the newest DVD2SVCD is internal, not BeSweet based.
Following audio extraction from an AVI with AC3, the latest DVD2SVCD checks for bad AC3 frame lengths. VDub derived AVI editors tend to cock this up when cutting and rejoining AVI's and BeSweet in Payload mode doesn't correct it.

This then causes multiplexing to fail when the offending frame is reached, which is why the check was introduced.

For example, open an AC3 AVI in VDubMod and pick an arbitrary frame, delete everything after frame X and save as clip A, then reopen the original, delete everything before and including frame X and save it as Clip B. If you then open clip A, append clip B and save, it should be just like the original, right?

Wrong - the audio data from the frame at the cutpoint is not correctly distributed with a result that the rejoined AVI has a audio frame which is too long at the join point.

If you convert it with an older DVD2SVCD, the MPlex muxed MPEG file will only contain up to frame X. With the new one it works, albeit simply by deleting the dud frame.

As the checks done by DVD2SVCD are very different from those done in mDVDAuth, I would refute the notion that mDVDAuth's checks are obsolete.

Hope this makes sense!
Nick

jsoto
12th February 2006, 02:09
Ah! this makes sense.
Thanks for the clarifications.
jsoto

xp_eric
15th February 2006, 12:25
@jsoto and nick: thanks...