Log in

View Full Version : AVStoDVD Support Thread


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68

MilesAhead
24th March 2010, 21:10
I did a downsize and an upsize conversion with QuEnc and an upsize conversion with HCenc one pass. I didn't encounter any issues. I like the twin sizer drop down boxes. Now I can set my sizers as default and forget it.

Only request on subtitles would be some adjustment to subtitle font sizes at least. Tahoma 18 is just huge. On some conversions with soft subs I would get artifacts at the bottom of the screen with the same color as the sub so it must be a side effect of the large subs. I changed the .xml settings to 16 and especially hard subbed the subtitles come out nicely.
But that's no biggie. Once changed it's set until I update the app.

On the HC lumen setting change, I haven't looked at the output on a stand-alone yet.

The only other issue can be a bit tricky is the audio processing. If I use the default aften settings and there's an error, the command window hangs. To proceed requires the manual intervention of clicking the close button, then the audio will be processed and all with be well... but if you are doing it unattended, like watching a movie, it will just hang there forever until you notice and click the mouse. If there was a way to detect the hang and revert to plan B audio processing that would eliminate popping in just to see if the audio conversion hung. One could just leave it with confidence.

Thanks for the update. One positive side effect I did notice, on my dual core sometimes when the video encoder is going to be QuEnc, after starting the processing, it would often take like 10 minutes before QuEnc would pop up. The drive is churning away doing something. On the Quad QuEnc would pop up nearly instantly.

Now QuEnc seems to pop up quickly on the dual core too. Don't have a clue why.

Adub
24th March 2010, 22:26
Just reporting that I did a successful convert of an avi to dvd (no menu) using hcenc 1 pass last night. It only took 45 min!

MrC
25th March 2010, 15:20
Only request on subtitles would be some adjustment to subtitle font sizes at least. Tahoma 18 is just huge. On some conversions with soft subs I would get artifacts at the bottom of the screen with the same color as the sub so it must be a side effect of the large subs. I changed the .xml settings to 16 and especially hard subbed the subtitles come out nicely.
But that's no biggie. Once changed it's set until I update the app.

It's on my ToDo list (already for a long time, as a matter of fact) :)

The only other issue can be a bit tricky is the audio processing. If I use the default aften settings and there's an error, the command window hangs. To proceed requires the manual intervention of clicking the close button, then the audio will be processed and all with be well... but if you are doing it unattended, like watching a movie, it will just hang there forever until you notice and click the mouse. If there was a way to detect the hang and revert to plan B audio processing that would eliminate popping in just to see if the audio conversion hung. One could just leave it with confidence

Main problem is to predict if Aften will hang, or why Aften sometime is hanging. Any hint is appreciated.

Thanks for the update. One positive side effect I did notice, on my dual core sometimes when the video encoder is going to be QuEnc, after starting the processing, it would often take like 10 minutes before QuEnc would pop up. The drive is churning away doing something. On the Quad QuEnc would pop up nearly instantly.

Now QuEnc seems to pop up quickly on the dual core too. Don't have a clue why.

The reason could be that FFMpegSource is selected (going down in the A2DSource function tree: AVISource->DirectShowSource->FFMpegSource). FFMpegSource needs to index the source before starting to sequentially read it. It takes time.

AVISource and DSS instead don't do indexing, so they are faster, even if sometimes inaccurate.

For sure AviSynth experts could explain much much better...

Just reporting that I did a successful convert of an avi to dvd (no menu) using hcenc 1 pass last night. It only took 45 min!

Thanks for the feedback! I agree that HCenc VBR 1-pass is amazing.

;)

Bye

MilesAhead
25th March 2010, 19:07
It's on my ToDo list (already for a long time, as a matter of fact) :)



Main problem is to predict if Aften will hang, or why Aften sometime is hanging. Any hint is appreciated.


I don't know what's up with aften, but I notice the last line output is always "cannot write to standard error." Don't know why that would be. It's not predicting if it will hang, but realizing it has, and killing it, then moving on.



The reason could be that FFMpegSource is selected (going down in the A2DSource function tree: AVISource->DirectShowSource->FFMpegSource). FFMpegSource needs to index the source before starting to sequentially read it. It takes time.

AVISource and DSS instead don't do indexing, so they are faster, even if sometimes inaccurate.


I never change that from the default. It's always A2DSource. It's just weird.

Adub
25th March 2010, 19:35
@MilesAhead
I think you may be misunderstanding something. A2Dsource is a "smart script". Basically, it keeps trying to load your source through a variety of filters (Avisource, then Directshow, then FFmpegsource).

If one filter fails to open your source, then it moves to the next one. What appears to be happening for you is that your source is not being opened by Avisource or Directshow, and thus is using FFmpegsource.

What is your source? If you wanted to be able to use Directshow right off the bat, you may need to setup FFDShow such that it can decode your source properly.

MilesAhead
26th March 2010, 22:52
@Adub I see what you are saying. I thought it was some glitch because the same input would act differently depending on the PC. It's probably due to different settings in Shark's codecs on the 32 bit machine.

Last time I updated Shark's I probably changed the setting.
Seems to be working well.

MrC
29th March 2010, 14:16
I'm making some research about DTS tracks compliance to DVD standard.

Is it true that DVD compliant DTS tracks must have a resolution of 16 or 20 bits, while DTS-ES (24 bits resolution, often used in BluRay) is not DVD compliant? Any audio experts can help?

Thanks a lot

:)

Bye

shreeit
29th March 2010, 22:40
I am trying to create DVD with multiple episodes. I was able to add all the episodes and noticed dvd contains all the episodes but I had few issues, please help:

1. Episode 4 came out first in DVD instead of sequence.
2. No clickable DVD title. (no DVD title).

I am using latest version. I am impressed with the output quality from at least mkv file.

Thanks,

Shreeit

Adub
30th March 2010, 04:39
In what order did you add your episodes?

Also, are you creating a menu? Is that what "no clickable DVD title" means? You want a menu?

shreeit
30th March 2010, 06:11
Yes I want menu. I select all 4 togather

Adub
30th March 2010, 21:10
To enable a menu, you may want to take a look at step 13 of one of my guides: http://adubvideo.net/how-to/convert-bluray-dvd-avstodvd

It was originally written to support Blu-ray conversions, but the menu process will be generally the same.

knopper09
5th April 2010, 01:40
Is there still any chance on CCE support in future?
I think it wouldnt be a problem because CCE takes AviSynth scripts!

ron spencer
5th April 2010, 02:32
can you add in the proper avisynth script to ensure HD colorimitry is converted to SD colorimitry properly?

would would need ColorMatrix and use:

Video = Video.ColorMatrix(mode="Rec.709->Rec.601") # Convert HD colorimitry to SD colorimitry...add interlaced=true if need


maybe also add msharpen for HD to SD as well:

Video = Video.Msharpen(8,60,true,false,false)

the colormatrix before converttoyv12 and resize video commands and then msharpen after resize....perhaps call these "HD to SD" option/radio button for user to click...could be useful as many now convert their HD to SD as well.




:thanks:

MrC
5th April 2010, 20:16
Is there still any chance on CCE support in future?
I think it wouldnt be a problem because CCE takes AviSynth scripts!

Well, I have discontinued the CCE SP support since release 1.2.0 (November 2007) and I do not plan to re-add it because it is not a free sw. Sorry. :)

can you add in the proper avisynth script to ensure HD colorimitry is converted to SD colorimitry properly?

would would need ColorMatrix and use:



maybe also add msharpen for HD to SD as well:



the colormatrix before converttoyv12 and resize video commands and then msharpen after resize....perhaps call these "HD to SD" option/radio button for user to click...could be useful as many now convert their HD to SD as well.

I must admit that I am not a HD expert. Some questions:

1. Do all mpeg2 HD sources have the "wrong" colorimetry?

2. If not, how can it be detected?

3. Reading from ColorMatrix description (http://avisynth.org.ru/docs/english/externalfilters/colormatrix.htm):
In case you captured something or you have a XviD/DivX (both are encoded Rec.601 coefficients), and you want to encode it to mpeg-2 using CCE (which assumes Rec.709 coefficients), you should use the following script (progressive material)

ColorMatrix(clip, mode="Rec.601->Rec.709")

What do QuEnc/HCenc assume? Rec.601? Are we sure?

4. Why are you suggesting to add (by default) a sharpen filter when downscaling? From my experience, sharpening is good when upscaling (lanczos does that trick very well).

BTW thanks for the inputs: posts like this are the best way to help AVStoDVD to grow.

:cool:

Bye

ron spencer
5th April 2010, 22:08
I have been making SD from my HD stuff for a while and have found that a sharpen after downsizing looks good...but again can be made a radio option.

as for a colorimity is concerned, a number of people (manono???) have stated that you need to convert it properly from HD to SD.

Also:

http://avisynth.org/mediawiki/Colorimetry

If the colorimetry information is not stored in the header (as with DivX/XviD for example), it is not really possible to tell which colorimetry is used to create it. All that you can do is assume Rec.601 is used for SD content and Rec.709 is used for HD content, and hope that the assumption is correct. In this case, you can't use the hints parameter of ColorMatrix, but you need to give the conversion explicitly using the mode parameter.

So perhaps two radio buttons for HD to SD conversions

ron spencer
6th April 2010, 02:58
also...what about permitting user to set max bitrate? Always greyed out. It is true that you can edit command line parameters before you run (tick box), but that also opens up the parameters for muxman...maybe two options here as well; one for editing hc and one for muxman as well as in gui for max bitrate.

MrC
6th April 2010, 13:08
Mmmh, before implementing new feats, I would like to fully explore the rationale behind them. Adding new feats is great, but only if they are really useful and they do not create confusion in users mind (first of all, mine...).
Thus, Ron, please, if you have time, help me to find answers to questions 1-2-3.

About MSharpen, since it could be useful to improve anime encoding too, I will add it to my ToDo list.

About max bitrate: see reg key
HKEY_LOCAL_MACHINE\SOFTWARE\AVStoDVD\DefaultVideoMaxBitRate
If key does not exist, create it manually (string type).

;)

Bye

ron spencer
6th April 2010, 16:25
Hey...thanks!!!

remember my comments are for converting HD to SD, which your proggy does very well...much better than the manual ways I have been doing.

so:

Do all mpeg2 HD sources have the "wrong" colorimetry?

HD sources can be MPEG, H264, VC-1...colorimitry for HD is always Rec.709.

see:

http://en.wikipedia.org/wiki/Rec._709

ITU-R Recommendation BT.709, more commonly known by the abbreviations Rec. 709 or BT.709, standardizes the format of high-definition television, having 16:9 (widescreen) aspect ratio. The first revision of the standard was published in 1990.

Rec. 601 is SD, see:

http://en.wikipedia.org/wiki/Rec._601

ITU-R Recommendation BT.601, more commonly known by the abbreviations Rec. 601 or BT.601 (or its former name, CCIR 601,) is a standard published by International Telecommunication Union - Radiocommunications sector (formerly CCIR) for encoding interlaced analogue video signals in digital form. It includes methods of encoding 525-line 60 Hz and 625-line 50 Hz signals, both with 720 luminance samples and 360 chrominance samples per line. The color encoding system is known as YUV 4:2:2. For a pair of pixels, the data are stored in the order Y1:Cb:Y2:Cr, with the chrominance samples co-sited with the first luminance sample.

The Rec. 601 signal can be regarded as if it is a digitally encoded analog component video signal, and thus includes data for the horizontal and vertical sync and blanking intervals. Regardless of the frame rate, the luminance sampling frequency is 13.5 MHz. The luminance sample is at least 8 bits, and the chrominance samples are at least 4 bits each.

As far as your second question is concered (note the colormatrix documentation is wrong in some cases: a good discussion is at http://forum.videohelp.com/threads/317739-Colorimetry?p=1967409) according to the specifications ALL HD material will be REC. 709. Interestingly enough, DVD can be either (rare to find 709 though). HCenc does not flag the colorimitry, so it is better to let AVISynth do it.


As far as question 3, I never use Qenc so not sure, but really, who cares what the encoders assume or flag (if they do at all). Specify it explicity in AVISynth to take care of the issue. Is this not better anyway?

So if you want to expand you program to include HD to SD conversion, then, in my humble opinion as I am not a programmer, is to have two extra buttons for colormatrix and msharpen. As I said before, I have been using this method for ages now and the output is fantastic, quite often BETTER than the commercial DVD of the same movie.

As far as max bitrate, why not make it an option to change as opposed to a reg entry?

Cheers, and thanks for the consideration.

MrC
7th April 2010, 17:12
Ok ron, you have persuaded me. :)

Please confirm following statements:

1. It seems that only DGIndex and GSpot can read the mpeg2 colorimetry standard
2. DGIndex names "BT.601" as "BT.470-2"
3. Colorimetry flag is not always specified (DGIndex puts a *), so it is pratically impossibile to always detect in advance the colorimetry itself

Thus no auto ColorMatrix, just an option button in the AviSynth Tab (as you suggested) to change colorspaces.

On a side note, MediaInfo has a "colorimetry" parameter, but unfortunately it is actually Chroma Subsampling (i.e. 4:2:0) and not ITU-R Recommendation.

;)

Bye

ron spencer
7th April 2010, 19:43
You will need to verify with neuron2 your dgindex comments, but I believe they are correct...maybe PM him.

You are right there is no way to test for sure what colorimitry is, but I assume all HD sources follow "the rules". In any case I always do this for my HD to SD conversions and my anecdotal evidence, at least on my 50" Samsung plasma, is very compelling.

Remeber, this is an add-on feature to your great program...probably best just to have two checks/buttons to add this. Then it is up to the user to change.

Thanks again for the consideration of this feature...again I am not a programmer so I can only complain LOL!!!!

:):)

ron spencer
8th April 2010, 13:18
I also notice that when you give a DVD label a name, there is a number attached to it (folder name).

For example, if I label (first page of your GUI) the DVD "Test", it will make a folder called "Test_0" Why is this? Can we make it just "Test"

Adub
8th April 2010, 20:55
It's there in case you have multiple compilations with the same name. It's actually saved my bacon on several occasions. Is it really that hard to delete the number?

ron spencer
9th April 2010, 03:20
ok..I see

Sharc
9th April 2010, 18:41
.... HCenc does not flag the colorimitry, so it is better to let AVISynth do it.....

HCGUI 0.24 => Tab Settings2 => colorimetry (with pulldown menu)
What is it good for then?

Don_Genaro
10th April 2010, 21:13
First, thanks for the great software, it's my favorite when converting to dvd.

But I want to upgrade to Blu-Ray, and it would be nice if you could make an AVStoBlu-Ray program, that could generate mpg2 streams comtabible with Tmpgenc Authoring Works and h264 streams compatible with multiAVCHD. I don't know if HCenc cant create HD streams but it wold be nice to use the same procedures that avsTOdvd uses to create dvd, but for blu-ray mpeg2.

:thanks:

MrC
11th April 2010, 14:02
Hi Don_Genaro,

first of all thanks for the kind words. About upgrading AVStoDVD to BD, I must admit that it is an intriguing idea, but I fear that it will be impossible in the short-medium term. In these days (I have 2 little kids who are really time-consuming pearls) I'm already in trouble in supporting AVStoDVD and making some small development steps.

BTW, AVStoDVD is an open source project: anybody can start from my code and expand it to support BD or anything else.

;)

Bye

Marvel
16th April 2010, 00:30
Hey MrC just wanted to say thanks for making this really great free software, i can finally move away from dvd2svcd :). But there's just one thing missing for me CCE support, i really wish you would put this back in. For me its the fastest mpeg2 encoder and gives the best results.

Cheers M

MrC
16th April 2010, 10:00
@Marvel

thanks for your good opinion. About CCE, support to it has been discontinued since release 1.2.0 (November 2007) because I have chosen to support only free software, and I have no plan to reintroduce it. Sorry.

;)

Bye

gizzin
17th April 2010, 06:17
cce support would be a good addition, even though it isn't free.

Adub
17th April 2010, 21:56
Yes, but the author said that he will only support free software. Ergo, CCE support will not be added. Besides, HCenc is freakin' fantastic.

Marvel
18th April 2010, 11:46
Hey MrC ME again :D, I seem to be having trouble with audio after converting a .mkv to dvd.

If i have dvd compliant audio ticked the end result has no sound,

then if i untick compliant dvd audio and encode audio to ac3 448 the process just hangs until i close the cmd promt window, avstodvd carrys on after this and there is audio in the resulting dvd files but because of the errors i dont know if everything is ok :P (Thats with wavi + aften)

I tried changing to ffmeg+aften but this resulted in audio errors also. Sound went off after 5mins in

I'm now trying mp2 as output audio so hopefully that will work for me. Anyway after all that i was wanting to make a feature request, would it be possible to have a recover mode so avstodvd will just pick up from a certain point like video or audio encoding, because at the moment everytime i make a settings change i have to go through the whole process again. Which is annoying because the video is fine

M.

MrC
18th April 2010, 18:04
@Marvel

You may try with QuEnc as audio converter as well. BTW, to understand better what's the problem, can you copy&paste here the log files of your trials?

About recover mode, here you are a workaround: delete the log file (i.e. test_0.log) and the audio file with error (test_0.ac3) and leave the video file (test_0.m2v). Next time you start the project (test), you will be asked to keep the video file (test_0.m2v). Easy, isnt'n it?

;)

Bye

Rosetta
20th April 2010, 13:23
Hi MRC, I have a .sup tsMuxer extracted with a mt2s. When I add in the movie AVStoDVD I recognize the file and I can copy to perfection. But when playing the movie the subtitles are not displayed. You think I can be doing wrong. Thanks

MrC
20th April 2010, 20:28
Hi Rosetta,

unfortunately BluRay sup are not 100% compliant with DVD sup. I may suggest you following (not so confortable) steps:

- convert BD sup to sub/idx using BDSup2Sup
- convert sub/idx to DVD sup using Sub2Sup or VSConv (the latter is included with A2D package)
- check the resulting sup with SubtitleCreator (with A2D package as well)

Any other suggestion is welcome

;)

Bye

qyot27
22nd April 2010, 23:51
About three weeks ago I used AVStoDVD to author a showcase disc of stuff and it went great (worlds better than my struggling with dvdauthor-centric solutions for months), so I'm very grateful. In testing other files with it recently, I ran across a couple things that present some problems. I'm only using already-encoded MPEG-2/AC3 files, with the 'Keep DVD Compliant Video/Audio' options selected so no transcoding is supposed to be going on. I'm using the 2.3.0 alpha 100323 version.

*I was relieved to see that 352x240/352x288 resolution files are accepted and actually kept at their resolution, but even though I know they're compliant (all files are encoded with the newest HCenc 0.24 beta, and the VCD-resolution/CIF stuff uses the exact same features as the Full D1 files, except for the average and max bitrates being set to 2000kbps), they still get re-encoded instead of passed through.

*If the video and audio track order are switched, it fails to identify the audio correctly and aborts. mplex from MJPEGTools isn't affected by this because it always puts video first. But mplex1 (from here: http://members.aon.at/johann.langhofer/mplex1.htm) puts the audio track first. Even tcmplex (which I mention because its logging messages are very close to those of mplex1, although I'm unsure of what the connection between them is) puts the video track first. It has to do with the 'map' parameter passed during the audio demux step. I'm guessing that's for those cases where the file has more than one audio track? If that's the case, is there a way to specify use of it only when the file has more than one audio track?

The command used for mplex:
mplex -f8 -V in.m2v in.ac3 -o out.mpg

The command used for mplex1:
mplex1 in.m2v in.ac3 out.mpg


I've uploaded the logs from AVStoDVD and source .mpg samples (a Full D1 mplex-muxed file as a successful control example, a Full D1 mplex1-muxed file, and two VCD-resolution/CIF files, one muxed with mplex and the other with mplex1), just in case you need them.

http://www.mediafire.com/?yomwjc2jngn

knopper09
23rd April 2010, 13:52
Yes, but the author said that he will only support free software. Ergo, CCE support will not be added. Besides, HCenc is freakin' fantastic.


yes thats true! So it should not be included, but only supported for those who have CCE.
From my experience i can also tell that it is definitely faster than all other encoders, because its written in assembly!
And i also think nearly everyone here knows how to get it for free, its only one small dll file. No one would really ay 2000 bucks for an MPEG2 Encoder. That’s the point!

So support would in AVStoDVD would be fine!

MrC
24th April 2010, 21:05
@qyot27

About the 1st issue, the A2D routine that check if a clip is dvd compliant reads the 'Video'/'Standard' MediaInfo tag. If that tag is PAL or NTSC, then the routine goes ahead to check width, height and fps, otherwise it stops deducing that the clip is not dvd compliant. Unfortunately, even if it is surely a NTSC dvd compliant clip, MediaInfo says that your 'test-vcd-mplex.mpg' is not following the NTSC standard. I can improve my routine, but it would be much much better if MediaInfo would recognize your clip properly.

About the 2nd issue, you are right, I have already found some containers in which the audio track is mapped as first track and video as second one. When using audio direct stream copy (keep compliant audio) there are some problem in passing to ffmpeg the correct tracks map. I can add a workaround to this occasional anomaly by promting the user to edit the ffmpeg command line, if the adv option 'edit command params at runtime' is on, of course. What do you think?
BTW, it is really weird that mplex1 swap the video/audio tracks order. I wonder is there is any rationale behind that.

;)

Bye

qyot27
25th April 2010, 02:25
@qyot27

About the 1st issue, the A2D routine that check if a clip is dvd compliant reads the 'Video'/'Standard' MediaInfo tag. If that tag is PAL or NTSC, then the routine goes ahead to check width, height and fps, otherwise it stops deducing that the clip is not dvd compliant. Unfortunately, even if it is surely a NTSC dvd compliant clip, MediaInfo says that your 'test-vcd-mplex.mpg' is not following the NTSC standard. I can improve my routine, but it would be much much better if MediaInfo would recognize your clip properly.
Ok, that makes sense. I've asked about it on the Mediainfo thread, so hopefully it'll be fixed.

About the 2nd issue, you are right, I have already found some containers in which the audio track is mapped as first track and video as second one. When using audio direct stream copy (keep compliant audio) there are some problem in passing to ffmpeg the correct tracks map. I can add a workaround to this occasional anomaly by promting the user to edit the ffmpeg command line, if the adv option 'edit command params at runtime' is on, of course. What do you think?
What about basing the command on the # of audio tracks? I would assume that files with the audio track first usually have only 1 audio track, not multiple ones. Therefore, if it detects only one audio track, regardless of track position, to just leave the map parameter out.

Unless this would have other consequences to the rest of the authoring process, anyway. Files that have more than one audio track in the positions before the video, or other 'weird' configurations of audio (like track 1 and track 3 are audio, track 2 is video or something) would probably still be affected, though.

MrC
25th April 2010, 17:24
What about basing the command on the # of audio tracks? I would assume that files with the audio track first usually have only 1 audio track, not multiple ones. Therefore, if it detects only one audio track, regardless of track position, to just leave the map parameter out.

Good point. That should cover 99% of the cases.

:thanks: for the suggestion

Bye

8ternity
1st May 2010, 18:44
HI Mrc.

Im having to audio on the exported project. I used Qenc audio decoding and also Qenc for video deconding. I have updated ffmpeg because the version stock with avstodvd is crashing on 2pass conversion. With the update of ffmpeg, it has been resolved and 2pass video conversion complete verry well. But my exported project contain no audio.

Source audio is DTS from an m2ts 720p movie.


<2010-05-01 00:41:14>
START PROCESS
<>

<2010-05-01 00:41:14>
PROJECT SETTINGS

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

PREFERENCES

AVS Source Filter: DirectShowSource
AVS Resize Filter: Lanczos4Resize
Video Resolution: 0
Video BitRate Min: 2500
Video BitRate Level 1: 6000
Video Profile Level 2: 6000
Video BitRate Max: 8500
Keep DVD Compliant Video: 1
AC3 Audio Encoder: 0
DVD Audio Format: 0
DVD Audio BitRate: 448
Keep DVD Compliat Audio: 1
Normalize Audio: 0
DVD Audio Language: FR - French
DVD Subs Language: FR - French
Chapthers Interval: 5
Use Source Chapters: 1
DVD Burning Drive: G: SONY DVD RW DRU-V200S 1.60
DVD Burning Speed: 4x
Auto Erase DVD RW: 1
Save Log file: 1
Unload ActiveMovie library: 0
Adjust ffdshow mixer: 1
<>

<2010-05-01 00:41:14>
TITLE 1 SOURCE FILES
Video: E:\DVD\imaginarium.m2ts
Info: AVC - 6593 kbps - 1920x1080 - DAR 1,778 - 24 fps (CFR) - Progressive - 2:02:38 hours - 176606 frames
Audio: E:\DVD\imaginarium.m2ts
Info: DTS - 1536 kbps - CBR - 48000Hz - 6ch - 2:02:38 hours
Subs:
[MediaInfoLib - v0.7.26]
<>

<2010-05-01 00:41:14>
AVISYNTH SCRIPT
Video = DirectShowSource("E:\DVD\imaginarium.m2ts", convertfps=true, audio=false)
# Audio is frameserved by AviSynth just for Preview and Edit purposes.
Audio = DirectShowSource("E:\DVD\imaginarium.m2ts", video=false)

Video = Video.ConvertToYV12
#Using DGPulldown to upsize FPS
Video = Video.Lanczos4Resize(720,480)

AudioDub(Video, Audio)
<>

<2010-05-01 00:41:14>
START VIDEO ENCODING OPERATIONS
Encoding Profile: HCenc VBR 2-pass
Target Video FileSize: 2988,8 MB
HCenc Parameters: -ini "E:\DVD-TEMP\IMAGINARIUM_0_imaginarium.HCenc.ini"
HCenc ini file:
*INFILE E:\DVD-TEMP\IMAGINARIUM_0_imaginarium.avs
*AVSRELOAD
*OUTFILE E:\DVD\IMAGINARIUM_0_imaginarium.m2v
*LOGFILE E:\DVD-TEMP\IMAGINARIUM_0_imaginarium.HCenc.log
*MAXBITRATE 9000
*BITRATE 3407
*PROFILE BEST
*ASPECT 16:9
*PROGRESSIVE
*BIAS 30
*DC_PREC 8
*MATRIX MPEG
*AQ 1
*LUMGAIN 0
*SMP
*PRIORITY IDLE
*WAIT 2
<>

<2010-05-01 03:38:36>
END VIDEO ENCODING OPERATIONS
Created File: E:\DVD\IMAGINARIUM_0_imaginarium.m2v (2989,8 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 3429 kbps - 720x480 - DAR 1,778 - 24 fps (CFR) - Progressive - 2:02:38 hours - 176607 frames
<>

<2010-05-01 03:38:36>
START PULLDOWN OPERATIONS
DGPulldown Parameters: "E:\DVD\IMAGINARIUM_0_imaginarium.m2v" -srcfps 24.000 -destfps 29.97 -inplace -bff
<>

<2010-05-01 03:50:43>
END PULLDOWN OPERATIONS
DGPulldown executed on File: E:\DVD\IMAGINARIUM_0_imaginarium.m2v (2989,8 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 3429 kbps - 720x480 - DAR 1,778 - 23,976 fps (CFR) - Progressive (2:3 Pulldown) - 2:02:38 hours - 176427 frames
<>

<2010-05-01 03:50:43>
START AUDIO DEMUXING OPERATIONS
FFmpeg Parameters: -i "E:\DVD\imaginarium.m2ts" -acodec copy "E:\DVD\IMAGINARIUM_0_imaginarium.ToFix.dts"
<>

<2010-05-01 09:04:43>
END AUDIO ENCODING OPERATIONS
Created File: E:\DVD\IMAGINARIUM_0_imaginarium.dts (656,3 MB)
OUTPUT AUDIO INFO: DTS - 1536 kbps - CBR - 48000Hz - 6ch - 1:00:46 hours
<>

<2010-05-01 09:04:47>
PROCESS ABORTED DURING TITLE 1 AUDIO ENCODING OPERATIONS.

CHECK LOG FILE <E:\DVD\IMAGINARIUM_0.LOG> FOR MORE INFO.
<>

<2010-05-01 09:04:47>
Log file created by AVStoDVD Release 2.2.6
<>




<2010-05-01 09:06:32>
START PROCESS
<>

<2010-05-01 09:06:32>
PROJECT SETTINGS

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

PREFERENCES

AVS Source Filter: DirectShowSource
AVS Resize Filter: Lanczos4Resize
Video Resolution: 0
Video BitRate Min: 2500
Video BitRate Level 1: 6000
Video Profile Level 2: 6000
Video BitRate Max: 8500
Keep DVD Compliant Video: 1
AC3 Audio Encoder: 2
DVD Audio Format: 0
DVD Audio BitRate: 448
Keep DVD Compliat Audio: 1
Normalize Audio: 0
DVD Audio Language: FR - French
DVD Subs Language: FR - French
Chapthers Interval: 5
Use Source Chapters: 1
DVD Burning Drive: G: SONY DVD RW DRU-V200S 1.60
DVD Burning Speed: 4x
Auto Erase DVD RW: 1
Save Log file: 1
Unload ActiveMovie library: 0
Adjust ffdshow mixer: 1
<>

<2010-05-01 09:06:32>
TITLE 1 SOURCE FILES
Video: E:\DVD\imaginarium.m2ts
Info: AVC - 6593 kbps - 1920x1080 - DAR 1,778 - 24 fps (CFR) - Progressive - 2:02:38 hours - 176606 frames
Audio: E:\DVD\imaginarium.m2ts
Info: DTS - 1536 kbps - CBR - 48000Hz - 6ch - 2:02:38 hours
Subs:
[MediaInfoLib - v0.7.26]
<>

<2010-05-01 09:06:32>
AVISYNTH SCRIPT
Video = DirectShowSource("E:\DVD\imaginarium.m2ts", convertfps=true, audio=false)
# Audio is frameserved by AviSynth just for Preview and Edit purposes.
Audio = DirectShowSource("E:\DVD\imaginarium.m2ts", video=false)

Video = Video.ConvertToYV12
#Using DGPulldown to upsize FPS
Video = Video.Lanczos4Resize(720,480)

AudioDub(Video, Audio)
<>

<2010-05-01 09:06:32>
START VIDEO ENCODING OPERATIONS
Encoding Profile: QuEnc CBR 1-pass
Target Video FileSize: 2988,8 MB
QuEnc Parameters: -i "E:\DVD-TEMP\IMAGINARIUM_1_imaginarium.avs" -o "E:\DVD\IMAGINARIUM_1_imaginarium.m2v" -b 3407 -1 -hq -novbr -scene -trell -aspectratio 16:9 -nointerlaced -mpeg2mux noaudio -dc 8 -priority 5 -auto -close
<>

<2010-05-01 11:05:22>
END VIDEO ENCODING OPERATIONS
Created File: E:\DVD\IMAGINARIUM_1_imaginarium.m2v (2988,6 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 3407 kbps - 720x480 - DAR 1,778 - 24 fps (CFR) - Progressive - 2:02:38 hours - 176607 frames
<>

<2010-05-01 11:05:22>
START PULLDOWN OPERATIONS
DGPulldown Parameters: "E:\DVD\IMAGINARIUM_1_imaginarium.m2v" -srcfps 24.000 -destfps 29.97 -inplace -bff
<>

<2010-05-01 11:34:37>
END PULLDOWN OPERATIONS
DGPulldown executed on File: E:\DVD\IMAGINARIUM_1_imaginarium.m2v (2988,6 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 3407 kbps - 720x480 - DAR 1,778 - 23,976 fps (CFR) - Progressive (2:3 Pulldown) - 2:02:38 hours - 176429 frames
<>

<2010-05-01 11:34:37>
START AUDIO DEMUXING OPERATIONS
FFmpeg Parameters: -i "E:\DVD\imaginarium.m2ts" -acodec copy "E:\DVD\IMAGINARIUM_1_imaginarium.ToFix.dts"
<>

<2010-05-01 11:39:42>
END AUDIO ENCODING OPERATIONS
Created File: E:\DVD\IMAGINARIUM_1_imaginarium.dts (1323,7 MB)
OUTPUT AUDIO INFO: DTS - 1536 kbps - CBR - 48000Hz - 6ch - 2:02:35 hours
<>

<2010-05-01 11:39:42>
START DVD AUTHORING OPERATIONS
BatchMux Parameters: -arglist "E:\DVD-TEMP\IMAGINARIUM_1_BatchMux.ini"
BatchMux ini file:
-d "E:\DVD\IMAGINARIUM_1\VIDEO_TS"
-mxp "E:\DVD-TEMP\IMAGINARIUM_1_MuxMan.mxp"
-l "E:\DVD-TEMP\IMAGINARIUM_1_MuxMan.log"
-muxman "C:\Program Files (x86)\AVStoDVD\MuxMan"
-prio LOW
-v "E:\DVD\IMAGINARIUM_1_imaginarium.m2v"
-vidmode LB
-a1 "E:\DVD\IMAGINARIUM_1_imaginarium.dts"
-a1lang fr
-cellfr "E:\DVD-TEMP\IMAGINARIUM_1_imaginarium_MuxMan.txt"
-progfr "E:\DVD-TEMP\IMAGINARIUM_1_imaginarium_MuxMan.txt"
-chapfr "E:\DVD-TEMP\IMAGINARIUM_1_imaginarium_MuxMan.txt"

<>

<2010-05-01 11:41:39>
END DVD AUTHORING OPERATIONS
Created Folder: E:\DVD\IMAGINARIUM_1 (3067,2 MB)
<>

<2010-05-01 11:41:40>
Log file created by AVStoDVD Release 2.2.6
<>

MrC
2nd May 2010, 15:25
@8ternity

Some DTS tracks taken from BD are not DVD compliant (i.e. ES-DTS tracks @24bit, see this post (http://forum.doom9.org/showthread.php?p=1387102#post1387102)). Today Alpha has a fix to handle that: no DTS-ES retaining, but conversion to AC3.
Let me know if that is your case.

What ffmpeg version have you found more stable and replaced the A2D one?

;)

Bye

MrC
2nd May 2010, 15:28
A new 2.3.0 Alpha is available to download (http://sites.google.com/site/avstodvdmain).

Change log from previous Alpha:

- Added check on bitrate spikes causing DVD Authoring failure (from BatchMux log file)
- Added 'Resolution' as Audio Media Info
- Changed default Interlaced Encoding field order from BFF to TFF.
- Improved handling of input MPEG2 Video stream (ask for automatic indexing, ask for changing Video Standard at runtime)
- Improved support to DTS-ES audio track
- HCenc updated to 0.24 beta 04-04-2010
- MediaInfo updated to 0.7.30

Please, as usually, report any bug.

;)

Bye

Filbert
2nd May 2010, 21:47
A new 2.3.0 Alpha is available
Change log from previous Alpha:
- Changed default Interlaced Encoding field order from BFF to TFF.


Thanks for new version. This might be a problem as AVStoDVD doesn't seem to recognize some DV-Sources. So in the "Auto Video Setup" DV-Source is unchecked and now Interlaced Encoding is Top Field although DV should always be Bottom Field.
(2.2.6. didn't recognize the DV too, but as there was BFF default for interlace encoding I didn't recognize it either).

Greets, Filbert

GENERAL INFO
PathName: H:\Test-Videos\[Source]\testrun.mov
FileName: testrun
FileExt: mov
FileSize: 69,8 MB
Container Format: QuickTime
Video Tracks: 1
Audio Tracks: 2
Text Tracks: 0

VIDEO INFO
Time: 19 seconds
Compression: DV
BitRate Mode: CBR
Avg BitRate: 24442 kbps
Min BitRate: 0 kbps
Max BitRate: 0 kbps
Resolution: 720x576
Display AspectRatio: 1.333
Pixel AspectRatio: 1.067
FrameRate Mode: CFR
FrameRate: 25 fps
Frame Count: 481
ScanType: Interlaced

MrC
3rd May 2010, 17:51
@Filbert

I would say 2 improvements:

- recognition of DV input file -> automatic selection of 'DV source', 'Interlaced encoding' and 'BFF'
- in 'Title Edit'/'Video', upon manual 'DV source', automatic selection of 'Interlaced encoding' and 'BFF'

;)

Bye

Filbert
3rd May 2010, 19:59
I would say 2 improvements:
- recognition of DV input file -> automatic selection of 'DV source', 'Interlaced encoding' and 'BFF'
- in 'Title Edit'/'Video', upon manual 'DV source', automatic selection of 'Interlaced encoding' and 'BFF'


That would be ideal... :thanks:

Greets, Filbert

Flux
5th May 2010, 15:11
Here is Avisynth script:

LoadPlugin("G:\AVStoDVD\Lib\ffms2.dll")

Audio = FFAudioSource("G:\testi\big_buck_bunny_720p_surround.avi", track = -1, cachefile = "F:\DVD\Temp\A2DFFA_" + String(Rand()) + ".cache")
Video = FFVideoSource("G:\testi\big_buck_bunny_720p_surround.avi", track = -1, cachefile = "F:\DVD\Temp\A2DFFV_" + String(Rand()) + ".cache", seekmode = 0)

Video = Video.ConvertToYV12
#Using DGPulldown to upsize FPS
Video = Video.Spline36Resize(720,576)

Audio = Audio.Normalize()

AudioDub(Video, Audio)

If I add "AssumeFPS(25,true).SSRC(48000)" as last line and remove "#Using DGPulldown to upsize FPS" line, Avisynth throws "FFAudioSource: The index does not match the source file" red line error in Preview and Edit mode.

How I should use PAL 4% speed-up with FFMpegSource?

MrC
5th May 2010, 20:47
@Flux

We already had a similar discussion here (http://forum.doom9.org/showthread.php?p=1306189#post1306189) and I strongly suggested you avoid AssumeFPS.SSRC (out of sync issue) and use ResampleAudio instead (http://forum.doom9.org/showthread.php?p=1341937#post1341937).

You can solve the FFAudioSource error using DSS for audio. I mean:

LoadPlugin("G:\AVStoDVD\Lib\ffms2.dll")

Audio = DirectShowSource("clip.avi", video=false)
Video = FFVideoSource("G:\testi\big_buck_bunny_720p_surround.avi", track = -1, cachefile = "F:\DVD\Temp\A2DFFV_" + String(Rand()) + ".cache", seekmode = 0)

Video = Video.ConvertToYV12
Video = Video.Spline36Resize(720,576)

Audio = Audio.Normalize()

AudioDub(Video, Audio)
AssumeFPS("pal_film",true).ResampleAudio(48000)


Or use DSS for video as well.

;)

Bye

qyot27
6th May 2010, 01:11
Using SSRC to resample the audio back to the proper frequency doesn't do speed adjustments to it - it remains at the speed that AssumeFPS took it to. I just tried it using a 23.976fps file and a copy of Pearl Jam's "Jeremy". I did AssumeFPS(29.97,sync_audio=true).SSRC(48000,fast=false), and the resultant 48000Hz Wave file was most definitely sped up, and still in sync with the video.

bagheera1
9th May 2010, 02:21
On the Encoding tab, could we have an "Import AVS" option along with avisource, directshowsource, a2dsource.

I mostly have scripts ready and don't need the automatic resizing and audio import that goes on in the avisynth edit tab.
(sometimes I forget to delete everything but a single import line)

Thanks for a very usefull program.

MrC
9th May 2010, 17:46
@qyot27

I made some trials with AssumeFPS and SSRC/ResampleAudio some time ago (23.976 to 25 fps conversion) and ResampleAudio kept the A/V synch. Anyway if SSRC works from your side, then go with it. ;)


@bagheera1

have you tried to add your AVS file directly in main window as input title?

;)

Bye