Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th December 2012, 16:37 | #2182 | Link |
Registered User
Join Date: Jun 2009
Posts: 17
|
MrC,
I did not know that you could attach a file to this forum board. I have not seen an attachment icon. When you suggested that I attach the file, I did a little exploring and discovered the attachment icon under the advanced button. Here is the attachment from the project that aborted during the muxing procedure. It is labeled Logfile.txt After the process aborted, I started the process again, and let it run throughout the night. At about 3am, I heard my laptop reboot. When I checked on it later that morning, I found that AVS2DVD had not burned a DVD. However, AVS2DVD got far enough into the process that it did create the file folders AUDIO_TS & VIDEO_TS, with the appropriate files in the VIDEO_TS folder. I then used CyberLink Power2Go to burn the DVD. Here is the attachment from that project. It is labeled Logfile2.txt I hope this helps you figure out what is going on. Again, I wonder if it is the fact that the external drive goes into "sleep" mode after a certain period of time. Have a great weekend! Ed |
14th December 2012, 18:50 | #2183 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
http://nosleephd.codeplex.com/ http://xsleep.codeplex.com/ and if both of these do not work, try this as a last resort: http://zababov.blogspot.de/2011/04/t...er-saving.html Cheers manolito |
|
14th December 2012, 22:17 | #2184 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Re: "sleep mode" for external HDD's...
I've configured the Power Options on my laptop to disable any sort of USB selective suspension. With that disabled, I've been able to do all sorts of things with my externals for encoding/decoding, etc.
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
14th December 2012, 22:27 | #2185 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
The reason why DVDFlick is so much faster than AVStoDVD is that DVDFlick uses ffmpeg in 1-pass mode for the conversion. AVStoDVD normally uses HCenc, and most of the time it uses 2-pass VBR mode. Much better quality, but it might take up to 4 times longer, as you already discovered. AVStoDVD comes with QuEnc (based on libavcodec like ffmpeg), but by default it is only used for very high bitrates (in CBR mode with the HQ flag enabled). But it is possible to use QuEnc for lower bitrates in 1-pass VBR mode without the HQ flag. This will probably result in an encoding speed and quality very similar to DVDFlick. This is what you have to do: In AVStoDVD under "Advanced Project Settings" you have to enable the option "Edit Encoder Command Parameters at Runtime". Load your source(s), then click "View/Edit Title Settings". Under "Video" uncheck the "Auto Video Setup" option. Now specify QuEnc as your encoder. Start the conversion, the edit window for the QuEnc parameters will pop up. Now you have to replace "-hq" with "-nohq" and "-novbr" with "-vbr". For medium to lower bitrates you might want to use the qlb matrix instead of the mpeg standard matrix. You can specify this by adding the "-qlb" parameter to the command line. Close the edit window, the conversion will start. Make sure to carefully examine the resulting DVD to make sure that you are happy with the quality... Cheers manolito |
|
14th December 2012, 22:32 | #2186 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
Cheers manolito |
|
14th December 2012, 23:06 | #2187 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Speaking from the perspective of ancient hardware (1GHz Pentium III-based Celeron Coppermine, 512MB PC133 SDRAM - but it came with 256MB; this thing was bought in 2001), your best bet is to convert the files to DVD compliant MPEG-2/AC3 well before you ever give them to AVStoDVD, and simply use the 'Keep compliant video/audio' options so that the only thing it does is construct the menus and other disc navigation structures. Encoding the individual episodes first means you can break up the amount of dedicated time spent on the task, or if you have access to a much faster computer, you could always do the encoding on there and then transport the files back to the main computer for authoring (I do this for television episodes; I have access to an iMac with a Core i5 in it; takes about 5 minutes to convert a 24 minute long TV episode*). *1280x720 H.264 source -> 720x480 MPEG-2 destination Last edited by qyot27; 14th December 2012 at 23:10. |
|
15th December 2012, 13:10 | #2188 | Link | |
Registered User
Join Date: Jun 2009
Posts: 17
|
Quote:
As to using the main computer to do the job, the reason I am using my laptop is because of the heavy use of the desktop. My wife is a big facebook fan, and also loves to "surf the net." If the computer is busy encoding or burning a dvd, she will just minimize it to do her thing. As a result, I have many coasters because of the time sharing interruptions. Thanks for your suggestions. Have a great weekend! Ed |
|
15th December 2012, 13:18 | #2189 | Link | |
Registered User
Join Date: Jun 2009
Posts: 17
|
Quote:
Thanks for the suggestion. Have a great weekend! Ed |
|
15th December 2012, 16:51 | #2190 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Forewarning: This might be a lot to try and digest all at once, so don't rush.
You can use HCenc for MPEG-2, and ffmpeg for AC3. AVStoDVD uses both, but the programs can be used on their own (and minimizing an encoding program won't stop it unless the program's process is actually killed by clicking Close or exiting the program). The easiest way is to have it set up as a batch script, where you control the encoding programs through the command line, which will also exit the programs after everything is finished. You can then fetch the encodes when the computer is available again. HCenc is controlled via an .ini file that contains the settings you want to use. You can experiment with the GUI that comes with the official HCenc 0.26 package (here), which will write the .ini file for you. Once you have it set up in a way that is satisfactory (it may mean playing with the bitrate values so that you can make sure a certain number of episodes fit on a single disc), you can take that .ini file, and use it as input to the command-line version (you need to delete the INPUTFILE and OUTPUTFILE settings in the .ini file, and just specify where to find the right episodes when you call the CLI). Also worth noting that HCenc takes input in the form of AviSynth scripts. I'll give a better example below. For instance, you might have the following .ini file (let's name it encode.ini): Code:
*BITRATE 5000 *MAXBITRATE 5000 *1PASS *PROFILE best *ASPECT 4:3 *GOP 12 2 *DC_PREC 9 *PROGRESSIVE *INTRAVLC 2 *CLOSEDGOPS *LASTIFRAME *MPEGLEVEL MP@ML *MATRIX mpeg *WAIT 0 You would then have an AviSynth script like this, let's name it episode1.avs (the " are necessary, but change the script name and .avi filename as appropriate): Code:
AVISource("episode1.avi").BilinearResize(720,480).ChangeFPS(29.97).SSRC(48000) Then you can use HCenc's command line version directly (make sure encode.ini is in the same folder as the AviSynth script(s), it'll make it easier): Code:
hcenc_026 -i episode1.avs -o episode1.m2v -ini encode.ini Finally, batch scripts will tie all of this together so that you don't have to do each step manually. It's completely automatic, so after each task is done it moves onto the next. You open up notepad and use the same command that you would use on the command line if you were doing it manually, each one on a new line. You can even tell the batch script to generate the AviSynth scripts. Code:
echo AVISource("episode1.avi").BilinearResize(720,480).ChangeFPS(29.97).SSRC(48000)>episode1.avs ffmpeg -i episode1.avs -vn -acodec ac3 -ab 192k episode1.ac3 hcenc_026 -i episode1.avs -o episode1.m2v -ini encode.ini mplex -f8 -V episode1.m2v episode1.ac3 -o ../episode1-final.mpg Save the batch script - let's call it encode_now.bat - and then all you have to do is double-click on the batch script and it'll do everything automatically. It creates the AviSynth script for 'episode1.avi', encodes the audio to 192kbps AC3 using ffmpeg, then encodes the video as MPEG-2 using HCenc, and then joins the video and audio together into a single file with mplex. You then can give the -final.mpg files to AVStoDVD when you've got all of the episodes you want to go on a single disc ready. If AVStoDVD is set to 'Keep compliant video/audio', then it won't do any converting and the disc should be authored in about 30 minutes or so, and then burned in whatever time it normally takes for your burner to do that (typically 12-15 minutes at the most, assuming a write speed of 6x). To make it easier to keep filenames straight, I use Ninotech Path Copy to allow me to select multiple files, right-click, and select Copy Path->Copy Long Name. I can then paste the filenames directly into Notepad and build the batch script around them, instead of having to remember what the names are or worry about whether I typed them correctly. Last edited by qyot27; 15th December 2012 at 16:54. |
15th December 2012, 17:59 | #2191 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
@qyot27
You made a very nice tutorial here, but isn't it exactly the purpose of AVStoDVD to shield the user from all this trouble while still giving the same high quality output? If all the episodes should be converted separately into muxed DVD-compliant MPEG2 files, no problem, AVStoDVD can output muxed MPEG2 files which can be authored and burned later. Whatever, each to his own... Cheers manolito |
15th December 2012, 20:22 | #2192 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
@MrC
Quote:
http://forum.doom9.org/showthread.ph...45#post1568545 If Deblocking is added and AVStoDVD has determined that the source is interlaced, it should insert something like the following script: Code:
# Deblock for interlaced sources par = getparity() SeparateFields() PointResize(width,height) Deblock(...parameters...) AssumeFrameBased() SeparateFields() Merge(SelectEven(),SelectOdd()) par ? AssumeTFF() : AssumeBFF() Weave() Cheers manolito Last edited by manolito; 15th December 2012 at 23:05. |
|
15th December 2012, 21:21 | #2193 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
|
|
16th December 2012, 14:38 | #2194 | Link |
Registered User
Join Date: Jun 2009
Posts: 17
|
Wow! Thanks for the great input & tutorial guys. It is getting just a little to involved and technical for me. Even though I have a FCC 1st Class license, I think that I will leave all of the "hands on" technical stuff to those who have the patience to do everything described in the tutorial. I'll just stick to the GUI programse that simplify matters for me.
I am still looking for a stand alone mpeg to avi converter program. I have found two that look promising: [spam]. Has anyone had any experiece with either of these, or do you suggest another stand alone converter? Thanks, Ed Last edited by Guest; 16th December 2012 at 15:19. |
16th December 2012, 16:15 | #2195 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
The fastest software for this task I am aware of is WinFF. It is just a GUI for ffmpeg, and it comes with all kinds of templates (which can be modified if necessary). The templates PAL DVD fast or NTSC DVD fast are really "fast", at an acceptable quality IMO. //Edit// In your first post you mentioned that you have been using DVDFlick for a long time, but that you liked the menu capabilities of AVStoDVD better. Maybe you should test DVDStyler. It produces very nice menus with little effort, it uses libavcodec for the actual conversion (quite fast, acceptable quality), and it also does authoring and burning if needed. Cheers manolito Last edited by manolito; 16th December 2012 at 23:40. |
|
17th December 2012, 14:12 | #2196 | Link | |
AVStoDVD Dev
Join Date: Apr 2006
Location: Italy
Posts: 1,302
|
Quote:
Do you think that this post can be used as reference? Thanks Bye |
|
17th December 2012, 17:51 | #2197 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
I found this somewhere on doom9: Code:
deblock deinterlace crop resize degrain sharpen It seems important that deblocking should be the very first thing right after loading the source. Cheers manolito |
|
17th December 2012, 21:25 | #2198 | Link | |
AVStoDVD Dev
Join Date: Apr 2006
Location: Italy
Posts: 1,302
|
Quote:
PROGRESSIVE - Source load - Color Space conversion - Deblock - Denoise/Degrain - Crop/AddBorders - Resize - Sharpen - Framerate adjust - Tweak colors INTERLACED - Source load - Color Space conversion - Deinterlace - Deblock - Denoise/Degrain - Crop/AddBorders - Resize - Sharpen - Re-Interlace - Framerate adjust - Tweak colors Bye |
|
17th December 2012, 23:37 | #2199 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
According to TheSkiller Deblock should always come before deinterlacing:
http://forum.doom9.org/showthread.ph...80#post1581080 Of course you could look at these commands Quote:
But I think it would be a bad idea to use LeakKernelDeint() before DeBlock() Cheers manolito |
|
18th December 2012, 21:20 | #2200 | Link |
AVStoDVD Dev
Join Date: Apr 2006
Location: Italy
Posts: 1,302
|
Thus for INTERLACED sources:
- Source load - Color Space conversion - Separate fields - Deblock - Merge fields (weave) - Deinterlace (LeakKernelBob) - Denoise/Degrain - Crop/AddBorders - Resize - Sharpen - Re-Interlace - Framerate adjust - Tweak colors Need to do some tests. Bye |
Thread Tools | Search this Thread |
Display Modes | |
|
|