Log in

View Full Version : HDConvertToX v. 3.0 (14/10/2010)


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 69 70 71 72 73 74 75 76

buzzqw
24th August 2009, 19:40
in advanced options you find a "Make Report" button
just it when encoding is ended

JUST a BIG HINT: usually very slow encoder is due to:

1) slow preset
2) big resolution
3) directshowsource use

BHH

rickatnight11
24th August 2009, 20:18
Sigh, I accidentally closed it after finishing the encode. Oh well, if I run into the problem again I'll post the report. In the meantime, I need to fix a mistake I made by selecting 2 channels instead of Original. Would the best way to do this be to use HDConvertToX to encode just the audio track and MKVMerge to mux it into my mkv?

whipdancer
25th August 2009, 03:04
I've searched for a how-to, but all of the one's i've found assume you can open the file successfully.

Since I don't have any issues opening a vob file, I'm wondering if it's possible I did something wrong when ripping the BD.

I used anydvd to rip Gran Turino to the local hard drive. Downloaded and installed all the required programs for HDConvertX.

I select the big m2ts file (27GB, 0004.mt2s). It takes what seems to be a second to analyze audio. Then takes a bit longer analyzing the video. I end up with an error message - "Problems analyzing input file."

I then get message in error.png

I've attached the make report file (I clicked it after the error, so I hope it has the info needed) -

I'm new to this, so any tips or advice would be appreciated.

HDConvertToX v.2.1.465.3552 "Isotta" report

Input File: d:\gran torino\bdmv\stream\00004.m2ts ( D:\GRAN TORINO\BDMV\STREAM\00004.m2ts )
Codec Video: vc-1
Width / Heigh : 720 / 480
Framerate / Framecount: 29.970 / 2981
Duration(hh:mm:ss): 0:1:40
Aspect Ratio: 1.7778
Resized resolution: 720 / 384
Crop Values : 0:8:0:8

Start Video Configuration ->
Encoding Settings: XviD Extreme Quality
Encoding Preset: 7
Final Size: 700
Priority: idle
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: MP3 Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
MP3 Mode: abr
Normalize: On
Audio handling: Use Eac3to as demuxer
Keep only core: On
-> End Audio Configuration

Full Audio List-> (*** mean selected)
NONE
*** 3: truehd/ac3, english, 5.1 channels, 48khz, dialnorm: -27db
4: ac3, english, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
5: ac3, french, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
6: ac3, spanish, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
7: ac3, portuguese, 5.1 channels, 640kbps, 48khz, dialnorm: -27db

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
8: subtitle (pgs), english
9: subtitle (pgs), french
10: subtitle (pgs), spanish
11: subtitle (pgs), portuguese
12: subtitle (pgs), english
13: subtitle (pgs), french
14: subtitle (pgs), spanish

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
ColorMatrix: On
-> End Advanced AviSynth

Start Queue ->
prompt $d $t $_$P$G

"C:\Program Files (x86)\hdconvert\applications\eac3to.exe" "d:\gran torino\bdmv\stream\00004.m2ts" 3: stdout.wav -down16 -down2 | "C:\Program Files (x86)\hdconvert\applications\lame.exe" - -h --abr 128 "C:\Program Files (x86)\hdconvert\analysis\hdencodertox-pid3.mp3"
"C:\Program Files (x86)\hdconvert\applications\xvid_encraw.exe" -progress 50 -i "C:\Program Files (x86)\hdconvert\analysis\hdconverttox_00004.avs" -avi "C:\Program Files (x86)\hdconvert\analysis\hdconverttox_00004.avi" -max_bframes 2 -vhqmode 1 -quality 6 -max_key_interval 125 -lumimasking -bquant_ratio 150 -framerate 29.97 -threads 6 -bitrate 59346 -pass1 -turbo
"C:\Program Files (x86)\hdconvert\applications\xvid_encraw.exe" -progress 50 -i "C:\Program Files (x86)\hdconvert\analysis\hdconverttox_00004.avs" -avi "C:\Program Files (x86)\hdconvert\analysis\hdconverttox_00004.avi" -max_bframes 2 -vhqmode 1 -quality 6 -max_key_interval 125 -lumimasking -bquant_ratio 150 -framerate 29.97 -threads 6 -bitrate 59346 -pass2
"C:\Program Files (x86)\hdconvert\applications\AVIMux_GUI.exe" -stdin "C:\Program Files (x86)\hdconvert\applications\mux0.amg"
-> End Queue

AviSynth Script ->
Working with files: C:\Program Files (x86)\hdconvert\analysis\hdconverttox_00004.avs
directshowsource("d:\gran torino\bdmv\stream\00004.m2ts",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
LanczosResize(720,384,0,8,-0,-8)
ColorMatrix(mode="Rec.709->Rec.601")
hqdn3d(1)
-> End AviSynth Script

AVIMux-Gui Script >
CLEAR
LOAD C:\Program Files (x86)\hdconvert\analysis\hdconverttox_00004.avi
LOAD C:\Program Files (x86)\hdconvert\analysis\hdencodertox-pid3.mp3
SELECT FILE 1
ADD VIDEOSOURCE
SET OPTION CLOSEAPP 1
SET OPTION OVERWRITEDLG 0
SET OPTION DONEDLG 0
SET OPTION ALL AUDIO 1
SET OPTION ALL SUBTITLES 1
SET INPUT OPTIONS
SET OUTPUT OPTIONS
WITH SET OPTION
OPENDML 0
RECLISTS 0
AUDIO INTERLEAVE 1 FR
AVI ADDJUNKBEFOREHEADERS 0
PRELOAD 512
END WITH
START C:\Program Files (x86)\hdconvert\hdconverttox_full_00004.avi
-> End AVIMux-Gui Script

buzzqw
25th August 2009, 07:00
Sigh, I accidentally closed it after finishing the encode.

Don't worry
just reload your original file, set your encoding as before and then use the make report. No need to encode it again

Oh well, if I run into the problem again I'll post the report. In the meantime, I need to fix a mistake I made by selecting 2 channels instead of Original. Would the best way to do this be to use HDConvertToX to encode just the audio track and MKVMerge to mux it into my mkv?
just add you source file, set your encoding and add to queue
now delete from queue the line of encoding, when done (just 2 row, plus mkvmerge row) just hit start queue

I've searched for a how-to, but all of the one's i've found assume you can open the file successfully.

your source is VC-1
make sure you have set in ffdshow, as decoder for vc1 the wmv9
also install window media player 11 (or above)

BHH

rickatnight11
25th August 2009, 14:51
Don't worry
just reload your original file, set your encoding as before and then use the make report. No need to encode it again
Awesome! Report attached.

just add you source file, set your encoding and add to queue
now delete from queue the line of encoding, when done (just 2 row, plus mkvmerge row) just hit start queue
Good call. I rushed ahead (like I always do), encoded the correct audio track, and remuxed a "fixed" mkv. Thanks so much for the help!

whipdancer
25th August 2009, 17:10
your source is VC-1
make sure you have set in ffdshow, as decoder for vc1 the wmv9
also install window media player 11 (or above)

BHH

Thanks! I'll try that this evening.

whipdancer
26th August 2009, 04:16
Ok, I'm missing something, I think.

I opened up the video decoder configuration for ffdshow. I selected WMV9 for VC-1 (it was "disabled").

I applied. Re-opened it to verify, the value is still there. But I'm still getting the same error.

Anything else I can try? Maybe I didn't install something correctly?

Thanks for help so far.

Trent

rickatnight11
26th August 2009, 04:24
What OS are you using?

buzzqw
26th August 2009, 06:51
post the error image on imageshack.us
open the hdconverttox_xxx.avs in media player classic and post the error

BHH

rickatnight11
26th August 2009, 23:14
whipdancer, I had the same error as you when I first tried getting this to work on Windows 7. I'll be posting my setup guide shortly, and hopefully that will help you out.

rickatnight11
27th August 2009, 02:22
Windows 7 (32-bit) Installation Guide
This guide was created from personal experience on Windows 7 32-bit RTM (build 7600). Your mileage may vary. I used the K-Lite Mega Codec pack, which comes with almost everything you need to get HDConvertToX working.


Uninstall existing versions of K-Lite Codec Pack. I also recommend that you uninstall any of the media tools listed here, such as FFDShow, Haali Media Splitter, etc. This is important to make sure that there are no conflicting settings in K-Lite Codec Pack, and that no other utilities interfere with the pack.
Download the latest version of the K-Lite Mega Codec Pack from http://codecguide.com/download_k-lite_codec_pack_mega.htm (you may also need to download an update that hasn't made it into a full pack. At the time of this guide 5.0.5 was the latest version with an update to bring it to 5.0.8. Download the full Mega pack first before installing an update.
Install the full K-Lite Mega Codec Pack first

In the Select Components section of the installation customize the following options:

Set "DirectShow video decoding filters"-->VC-1 to ffdshow(wmv9)...
...and "DirectShow video decoding filters"-->"MPEG-2, DVD" to ffdshow (libmpeg2)
http://rickatnight11.com/images/screenshots/hdc/hdc_01.jpg
Set "DirectShow source filters"-->"AVI splitter" to Haali
http://rickatnight11.com/images/screenshots/hdc/hdc_02.jpg

Choose whatever options you like in the Additional Tasks section
Do not check any of the boxes at the end of the installation to configure anything

Optional: Install any potential update to the Mega Codec Pack
Download and install Avisynth from http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.8/Avisynth_258.exe/download
Download and install the Preferred Filter Tweaker for Windows 7 utility from http://codecguide.com/windows7_preferred_filter_tweaker.htm

Run the installation from the zip file and set everything to ffdshow
http://rickatnight11.com/images/screenshots/hdc/hdc_03.jpg
Hit Apply, and if you are running 64-bit Windows you will probably get a complaint about 64-bit Windows...hit OK to ignore this, and press Apply again. You should get a confirmation message this time.
Hit finish only after you have gotten a confirmation message after hitting Apply.
Restart the computer

Now lets confirm that ffdshow has VC-1 and MPEG-2 decoding set correctly.

Navigate to Start-->(All)Programs-->K-Lite Codec Pack-->Configuration-->ffdshow video decoder
Select Codecs from the tree on the left
Scroll down the box on the right to ensure that MPEG2 is set to libmpeg2 and VC-1 is set to wmv9
http://rickatnight11.com/images/screenshots/hdc/hdc_04.jpg
Hit OK to save and close ffdshow video decoder

Download HDConvertToX (if you have not already) from the first post in this thread, as well as the updated exe.
Unzip the main program into a specific location, and then unzip the updated exe into the same location, overwriting the old exe.
Enable Compatibility Mode for AVIMux-Gui

From within the HDConvertToX folder navigate to applications
Right-click on AVIMux_GUI.exe and select Properties
From the Compatibility tab check the box for "Run this program in compatibility mode for:" and select "Windows XP (Service Pack 2) from the drop-down box
http://rickatnight11.com/images/screenshots/hdc/hdc_05.jpg
Press OK to save and close AVIMux_GUI.exe Properties

You can now run HDConvertToX! On first run (and every other run, for that matter) you should hit the Update HDConvertToX button to update to the latest version


Following this procedure fixed the issue whipdancer reported (http://forum.doom9.org/showthread.php?p=1318228#post1318228) about the Invalid arguments to function "isRGB" when analyzing an m2ts file. I will do my best to provide additional support if this procedure still doesn't help, but I honestly don't know which of the steps fixed my problems. As always, I hope this helps, and feedback is welcome.

whipdancer
27th August 2009, 02:22
I am using Win 7 x64.

The error message is the same as previous.

First:
http://img150.imageshack.us/img150/2781/msgj.th.png (http://img150.imageshack.us/i/msgj.png/)

Then
http://img440.imageshack.us/img440/4816/errornzi.th.png (http://img440.imageshack.us/i/errornzi.png/)

Here is the avs file.

#HDConvertToX Avisynth Script
#
#Input File = d:\gran torino\bdmv\stream\00004.m2ts
#Original Resolution = 720x480
#Aspect Ratio = 1.7778
#Frame rate =29.970
#Number of Frames = 34021
#Lenght (hour:minutes:seconds) = 0:18:56
#Display Aspect Ratio = 1.7778
#Aspect Error = -1.2333
#
#Resized resolution = 720 / 400
#Crop Left = 0
#Crop Top = 0
#Crop Right = 0
#Crop Bottom = 0
#
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\AddGrain.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\AddGrainC.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\autocrop.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\Average.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\avss.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\ColorMatrix.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\deblock.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\Decomb.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\deen.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\degrainmedian.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\dfttest.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\DGAVCDecode.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\DGDecode.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\DirectShowSource.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\EEDI2.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\FFT3DFilter.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\FluxSmooth.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\frfun7.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\gradfun2db.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\GrainOpt.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\hqdn3d.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\MSharpen.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\mt_masktools-26.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\mvtools.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\NicAudio.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\nnedi.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\RemoveDirtS.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\RemoveGrainS.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\RepairS.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\SangNom.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\SoundOut.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\TBilateral.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\TDeint.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\TIVTC.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\TTempSmooth.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\UnDot.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\UnFilter.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\VSFilter.dll")
LoadPlugin("C:\Program Files (x86)\hdconvert\filters\yadifmod.dll")

Import("C:\Program Files (x86)\hdconvert\filters\BlindDeHalo3_mt2.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\Deblock_QED_MT2.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\GradFun2DBmod.v1.3.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\Lem.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\LSFmod.v1.8.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\MCTemporalDenoise.v1.3.00.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\QMLF_3_motions.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\QMLF_5_motions.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\QMLF_7_motions.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\QMLF_9_motions.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\seesaw.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\spresso.avsi")
Import("C:\Program Files (x86)\hdconvert\filters\Srestore.avsi")
#Source File
directshowsource("d:\gran torino\bdmv\stream\00004.m2ts",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last


#Applying Resizing
LanczosResize(720,400,0,0,-0,-0)

#Insert Filters As Requested
ColorMatrix(mode="Rec.709->Rec.601")

hqdn3d(1)

rickatnight11
27th August 2009, 02:24
My guide should fix your problem then. I believe it's a combination of Windows 7 restricting the DirectShow filters so that ffdshow isn't being used, as well as AVIMux_GUI needing to run in Compatibility mode. Let me know how it goes. I had the exact same problem as you.

whipdancer
27th August 2009, 02:28
Since I've been trying so many different programs to accomplish this, I honestly can't say that I don't have codec conflicts of some kind, somewhere (mostly because I'm still learning this stuff).

I'm going to try rickatnight11's setup and see if that clears it up for me.

If that doesn't do it, i'll likely blow away my current installation and perform a clean Win 7 (X64) install (which is easy because my rips are on a dedicated hd, separate from the install drive).

rickatnight11
27th August 2009, 02:36
I agree, whipdancer. The issues with running this software in Windows 7 are three-fold:


Windows 7 restricts the DirectShow filters, thus requiring the Preferred Filter Tweaker for Windows 7 tool to force ffdshow into the mix
AVIMUX-GUI needs to be run in compatibility mode for Windows XP (Service Pack 2)
In ffdshow VC-1 must be decoded with wmv9 and MPEG-2 with libmpeg2

whipdancer
27th August 2009, 03:13
Woohoo! Successfully analyzed the m2ts file.

Now we'll see how it goes.

Um, any thoughts on how long it should take to convert to a WMVHD format? (Gran Torino is the movie).

rickatnight11
27th August 2009, 03:30
Woohoo! Successfully analyzed the m2ts file.

Now we'll see how it goes.

Um, any thoughts on how long it should take to convert to a WMVHD format? (Gran Torino is the movie).
Glad it worked out! Converting will greatly depend on your computer specs, especially the processor. It's difficult to give an estimate, since it took me three days to figure out that my machine kept on entering standby. The process that takes the longest is the video encode, obviously.

I followed Adub's guide to convert a BluRay rip to x264 in mkv. On an Athlon II X2 250 3.0Ghz processor, the first x264 pass took about 7 hours, and I estimate that the second pass took between 10-15 hours. Tack on an extra hour or two for the audio encode, subtitle extraction/conversion, and final muxing, and my process probably took about 24 hours of actual work.

I should have done it on my primary gaming machine, which has a Phenom X4 9950BE processor, but it's in my bedroom, and I didn't want the fan noise all night(s). From minor tests it looks like that encodes just about twice as fast (rough estimate from some bitrate tests. My HTPC encoded at a steady 10MB/s, and my gamer seemed to encode at over 20MB/s.)

My gaming machine has an XFX Geforce GTX260 BE, and the HTPC has a Gigabyte Geforce 9600GT. I just got a license for NVTools, and I am interested to see what kind of speed increases I get (if any). I may just do the same encode again on both machines, and use the NVTools decoder to offload the processing to the GPU. It looks like HDConvertToX will run the audio decoding on the CPU and the video decoding on the GPU in parallel, which I think is badass.

In any case, your mileage may vary depending on your hardware. You'll want to kick of the batch before you go to bed. Hope this helps.

Crono141
27th August 2009, 03:34
Question about your guide: I use my PC as a ATSC TV tuner, and I had heard that switching your preferred MPEG2 codec from MS to anything else will break Windows Media Center live TV function. Is that still true?

rickatnight11
27th August 2009, 03:37
Question about your guide: I use my PC as a ATSC TV tuner, and I had heard that switching your preferred MPEG2 codec from MS to anything else will break Windows Media Center live TV function. Is that still true?
Yes, I believe it is. Can you try all steps in the guide except for changing the preferred filter for MPEG-2? I'm interested to see if that is even a necessary step.

whipdancer
27th August 2009, 04:04
Glad it worked out! Converting will greatly depend on your computer specs, especially the processor <snip>.... a Phenom X4 9950BE processor, but it's in my bedroom, and I didn't want the fan noise all night(s). From minor tests it looks like that encodes just about twice as fast (rough estimate from some bitrate tests. My HTPC encoded at a steady 10MB/s, and my gamer seemed to encode at over 20MB/s.)....

I'm running a Phenom II X4 955BE @ 3.5Ghz, 6GB ram.

I'm encoding to WMV in an attempt to be able to play it on my XBOX360 (my regular DVD's i've been doing with handbrake to mp4).

For this test I set video to 1 pass quality with a value of 85. I'll see how it goes.

http://img521.imageshack.us/img521/6806/hdcwmv.th.png (http://img521.imageshack.us/i/hdcwmv.png/)


For audio it looks like I ended up with 2ch. I'll have to try to get 5.1 in the next test.

Thanks for all the help.

rickatnight11
27th August 2009, 04:07
I'm running a Phenom II X4 955BE @ 3.5Ghz, 6GB ram.

I'm encoding to WMV in an attempt to be able to play it on my XBOX360 (my regular DVD's i've been doing with handbrake to mp4).

For this test I set video to 1 pass quality with a value of 85. I'll see how it goes.

http://img521.imageshack.us/img521/6806/hdcwmv.th.png (http://img521.imageshack.us/i/hdcwmv.png/)


For audio it looks like I ended up with 2ch. I'll have to try to get 5.1 in the next test.

Thanks for all the help.
Nice processor! :) That's my next CPU if AMD doesn't come out with anything new soon. I recommend doing 2-pass for the actual encode. I'd also recommend you stick with mp4s as well, but that's up to you. Let me know how it rolls!

Crono141
27th August 2009, 04:40
Good News. Setting both h264 and MPEG2 to FFDshow did NOT break live TV. I fired up MC, clicked Live TV, and it sat there for about 30 seconds "Searching for Tuners". Then it appeared, changing channels was ok, so no worries.

Whipdancer: I was in the same boat you were in with regards to XBOX360 and ripping my DVDs. I had my entire DVD collection ripped to VC1 WMV with WMA5.1 audio. Then I got a PS3, and non of the audio in any of those files would play (but the video would). Thus I embarked on my quest for the all in one everything goes format for both consoles that will get me the best video quality with the best audio quality. Here's what I've landed on, after probably almost 2 years of search and troubleshooting.

Encode to H264/AVC with AC3/DTS in the m2ts container. PS3 supports this natively (no transcoding required). I use the PS3 Media Server for my DLNA server, and it transcodes for XBOX360 dash board now very nicely. Also, if you're using XBOX360 as a Media Center Extender, your Windows 7 box will transcode the files on the fly to the extender for playback. Video Quality is heavily dependant on your PCs processor, but from the look of things, that won't be a problem for you. Standard Definition DVDs come through my network to my extenders very nicely, but 1080P HD content definitely suffers. I think 720p comes through fine on my quad core phenom 9550 2.2 ghz.

Just some advice from one 360 user to another. WMV is great, but file sizes are about twice as large as avc, and compatibility with other devices sucks.

Happy encoding!

rickatnight11
27th August 2009, 05:50
I am having an issue with NVTools (NVbeta8). I have the license already, and, when I go to start the batch, the "DGAVCIndexNV.exe" application does pop up, but nothing is visible in the windows. It completes much too quickly in my opinion, and the final mkv is never created. I checked the "job1" folder, and it looks like the audio and subtitles encoded just fine, but the video didn't (mp4 file is 3MB, while the h264 file is 0KB.) I've attached everything I thought was helpful.

EDIT1: Check out the "batch.txt" attachment I just added. I looks like the command to call CUVIDServer.exe can't handle spaces in the path name. It needs quotes around it like the other lines.

EDIT2: The next problem I notice is that, when the batch runs CUVIDServer.exe it doesn't move to the next command. I believe this is because that process is supposed to run in the background while the next command runs, but the nature of batch files doesn't really allow that, as the next line will only execute, when the previous line completes. Since the server is still running, the line has not completed. I got around this issue by running CUVIDServer.exe on my own (or just closing the batch and running it again). It looks like HDConvertToX will need to run the CUVIDServer prior to executing the queue batch, or figure out a way to move onto the next line.

I do have a question about NVTools, however. I thought that it would be used to perform the actual encode on the GPU, but that notion seems to be wrong as x264 runs just like normal, flogging the CPU just like normal. Perhaps I am missing the point of using NVTools.

Guest
27th August 2009, 13:36
Perhaps I am missing the point of using NVTools. Apparently so. My NV tools are decoders, not encoders. I made them for these reasons:

1. To get fully correct decoding for AVC, MPEG2, and VC-1 streams.

2. To get access to the PureVideo deinterlacer.

3. To get cropping/resizing on the GPU.

4. With decoding, deinterlacing, and cropping/resizing all offloaded to the GPU, more processor is made available for the CPU-based encoding. How much of a gain you might see depends on how much of your processing you can offload and how powerful your processor is. Remember that decoding is a fraction of the load of encoding, so you should not expect massive gains by offloading just the decoding.

rickatnight11
27th August 2009, 14:23
I understand now. Thanks for explaining! I guess if the encoding were to take place on the GPU, the actual encoding tool (x264 in this case) would need to support it, wouldn't it?

Guest
27th August 2009, 15:03
That's right.

Sharc
27th August 2009, 17:09
@buzzqw
When XviD is selected as encoder and "Anamorphic Shape" is ticked, -par x:y should be calculated and included in the command line for the encoder (similar to --sar for x264).

whipdancer
27th August 2009, 23:47
Good News. Setting both h264 and MPEG2 to FFDshow did NOT break live TV. I fired up MC, clicked Live TV, and it sat there for about 30 seconds "Searching for Tuners". Then it appeared, changing channels was ok, so no worries.

Whipdancer: I was in the same boat you were in with regards to XBOX360 and ripping my DVDs. I had my entire DVD collection ripped to VC1 WMV with WMA5.1 audio. Then I got a PS3, and non of the audio in any of those files would play (but the video would). Thus I embarked on my quest for the all in one everything goes format for both consoles that will get me the best video quality with the best audio quality. Here's what I've landed on, after probably almost 2 years of search and troubleshooting.

Encode to H264/AVC with AC3/DTS in the m2ts container. PS3 supports this natively (no transcoding required). I use the PS3 Media Server for my DLNA server, and it transcodes for XBOX360 dash board now very nicely. Also, if you're using XBOX360 as a Media Center Extender, your Windows 7 box will transcode the files on the fly to the extender for playback. Video Quality is heavily dependant on your PCs processor, but from the look of things, that won't be a problem for you. Standard Definition DVDs come through my network to my extenders very nicely, but 1080P HD content definitely suffers. I think 720p comes through fine on my quad core phenom 9550 2.2 ghz.

Just some advice from one 360 user to another. WMV is great, but file sizes are about twice as large as avc, and compatibility with other devices sucks.

Happy encoding!

Hey, thanks for the info! Lots of questions come to mind :thanks:

Mrsash
28th August 2009, 06:48
buzz I am doing a blue ray rip of my media and the interlace test of 5% gives me this

http://forum.doom9.org/attachment.php?attachmentid=10223&stc=1&d=1251438416



but mediainfo said its progressive. Which one should I go for?


Also adubs guide asks to use "Force directshowsource 2" will this work the best? Will it work with multithread avisynth?

Lastly is there a way to find out if you choose 1 pass encoding as to what the final size would be with

X264 in Mkv
1 pass quality
Crf value 20
extreme quality

thanks

Adub
29th August 2009, 00:20
Yes it will work with Multi-Threaded Avisynth. As for if it is "best" is mostly dependent upon if you are having issues analyzing your source or not. If you can't analyze your source using the defaults, then use DSS2.

The thing with 1-pass encoding is that you DON'T know how big the final size will be. Period. If you are worried about file sizes, then use 2 pass.

flebber
29th August 2009, 05:16
When I press generate encode nothing is happening? This is my make report.

HDConvertToX v.2.1.465.3552 "Isotta" report

Input File: c:\rip\source video\domino\au_111676\video_ts\vts_01_1.vob ( C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_0.IFO )
PGC : PGC 1. Length: 2:02:44:00 / chained=1
Codec Video: mpeg
Width / Heigh : 720 / 576
Framerate / Framecount: 25.000 / 184100
Duration(hh:mm:ss): 2:2:45
Aspect Ratio: 1.7778
Resized resolution: 720 / 288
Crop Values : 0:80:0:80

Start Video Configuration ->
Encoding Settings: X264 Extreme Quality ; Bitrate= 877
NMT Compatibility: On
Encoding Preset: 6
Final Size: 800
Priority: idle
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 0.5
Audio Channels: Original
MP3 Mode: vbr
Normalize: On
Audio handling: Use Eac3to as demuxer
Keep only core: On
-> End Audio Configuration

Full Audio List-> (*** mean selected)
NONE
*** 80: English (AC3 6ch, 0xBD 0x80) [0]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
MVDegrain: MVDegrain1
FreeAVS String: VagueDenoiser(threshold=0, method=3, nsteps=6, chromaT=0).asharp(2,4,1)
ColorMatrix: On
-> End Advanced AviSynth

Start Queue ->
prompt $d $t $_$P$G

"C:\Rip\HDConvertToX_2.1.458.3528\applications\eac3to.exe" "C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_1.vob"+"C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_2.vob"+"C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_3.vob"+"C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_4.vob"+"C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_5.vob" 3: stdout.wav -normalize | "C:\Rip\HDConvertToX_2.1.458.3528\applications\neroaacenc.exe" -if - -q 0.5 -ignorelength -of "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdencodertox-pid3.mp4"
"C:\Rip\HDConvertToX_2.1.458.3528\applications\x264.exe" --pass 1 --bitrate 860 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --sar 1:1 --output "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdconverttox_vts_01_1.h264" "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdconverttox_vts_01_1.avs" --level 4.0
"C:\Rip\HDConvertToX_2.1.458.3528\applications\x264.exe" --pass 2 --bitrate 860 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --sar 1:1 --output "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdconverttox_vts_01_1.h264" "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdconverttox_vts_01_1.avs" --level 4.0
"C:\Rip\HDConvertToX_2.1.458.3528\applications\Chapter\ChapterXtractor.exe" "C:\Rip\Source Video\Domino\AU_111676\VIDEO_TS\VTS_01_0.IFO" "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\chapters.txt" -p5
"C:\Rip\HDConvertToX_2.1.458.3528\applications\mkvmerge.exe" -o "C:\Rip\Produced\Domino.MKV" --default-duration 0:25.000fps "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdconverttox_vts_01_1.h264" --language -1:eng --aac-is-sbr 0:1 "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\hdencodertox-pid3.mp4" --chapters "C:\Rip\HDConvertToX_1.8.332.2935\temp\job0\chapters.txt" --title "Done with HDConvertToX v.1.9.399.3207"
-> End Queue

-> End AviSynth Script

whipdancer
29th August 2009, 05:36
Ok, so I'm able to analyze and start the process. I've switched and am encoding with H.264 to MP4, 2 pass, AC3 sound.

It looks like everything is working. First pass takes about 4 hours, second pass takes about 6 hours.

Everything looked ok, until the command window closes and there is no MP4 file. I look in the job0 folder and see a 6GB file with h264 extension. The ac3 file is still there as well.

Did I not wait long enough? I thought when the command window closed that it was done.

Is there a specific file that I can look at to see what all has gone on? (I ask because there are several different files that when I open, look like log files to me).

rickatnight11
29th August 2009, 05:38
Hm, since it's a batch, it's difficult to figure out what happened. Can you attach the batch here? If you want the window to stay open, letting you see all of the messages, you can run it manually from a command prompt. You'll have to wait another 10 hours though, so you might try editing the batch file manually and removing the encoding lines. Since you already have the finished video and audio files, the other lines should create the MP4 file.

whipdancer
29th August 2009, 05:42
Here is the bat file. I'm assuming I should be able to just run the last command (the call to mp4box).


"C:\Program Files (x86)\hdconvert\applications\eac3to.exe" "d:\gran torino\bdmv\stream\00004.m2ts" 3: "C:\Program Files (x86)\hdconvert\job0\hdencodertox-pid3.ac3" -normalize -down6 -448
"C:\Program Files (x86)\hdconvert\applications\x264.exe" --pass 1 --bitrate 8000 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --sar 1:1 --output "C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.h264" "C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.avs"
"C:\Program Files (x86)\hdconvert\applications\x264.exe" --pass 2 --bitrate 8000 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --sar 1:1 --output "C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.h264" "C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.avs"
"C:\Program Files (x86)\hdconvert\applications\eac3to.exe" 1:"C:\Program Files (x86)\hdconvert\job0\chapters.txt"
"C:\Program Files (x86)\hdconvert\applications\mp4box.exe" -add "C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.h264" -fps 23.976 -add "C:\Program Files (x86)\hdconvert\job0\hdencodertox-pid3.ac3":lang=eng -chap "C:\Program Files (x86)\hdconvert\job0\chapters.txt" "C:\Program Files (x86)\hdconvert\hdconverttox_full_00004.mp4"

rickatnight11
29th August 2009, 05:44
I would think so. Run it in "cmd" and see if you get an error.

whipdancer
29th August 2009, 06:36
Microsoft Windows [Version 6.1.7100]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Trent>test.bat

C:\Users\Trent>"C:\Program Files (x86)\hdconvert\applications\mp4box.exe" -add "
C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.h264" -fps 23.976 -add
"C:\Program Files (x86)\hdconvert\job0\hdencodertox-pid3.ac3":lang=eng -chap "
C:\Program Files (x86)\hdconvert\job0\chapters.txt" "C:\Program Files (x86)\hdco
nvert\hdconverttox_full_00004.mp4"
AVC-H264 import - frame size 1920 x 800 at 23.976 FPS
Import results: 167706 samples - Slices: 1582 I 56616 P 109508 B - 1 SEI - 1528
IDR
AC3 import - sample rate 48000 - 6 channels

Error: Requested URL is not valid or cannot be found


Ok - I'm missing the chapters.txt file.

I've run the prior command from the original batch file, but I get this error:

Source file "C:\Program Files (x86)\hdconvert\job0\chapters.txt" not found.

So I'm assuming that is not where the chapters.txt file is created.

So, when should this file get created?

rickatnight11
29th August 2009, 07:18
The second to last line (that runs eac3to.exe) from your original batch is supposed to, but you'll notice that something is wrong with it: there is no source file, only the destination. For whatever reason, HDConvertToX isn't generating that line correctly.

flebber
29th August 2009, 09:02
I have changed files I am trying to encode, but this time I cannot encode audio at which point encoding fails.

HDConvertToX v.2.1.465.3552 "Isotta" report

Input File: c:\rip\hdconverttox_2.1.458.3528\hdc_work\job0\vts_01_1.vob ( C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS\VTS_01_0.IFO )
PGC : PGC 1. Length: 0:17:55:09 / chained=0
Codec Video: mpeg
Width / Heigh : 720 / 576
Framerate / Framecount: 25.000 / 26875
Duration(hh:mm:ss): 0:17:56
Aspect Ratio: 1.3334
Resized resolution: 720 / 544
Crop Values : 0:0:0:0

Start Video Configuration ->
Encoding Settings: X264 Extreme Quality ; Bitrate= 950
NMT Compatibility: On
Encoding Preset: 6
Final Size:
Priority: idle
Denoise Level: Super Light
Set Manual Bitrate: 950
Video Handling: Force DirectShowSource2 (Haali)
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 0.6
Audio Channels: Original
MP3 Mode: vbr
Normalize: On
Audio handling: Use Eac3to as demuxer
Keep only core: On
-> End Audio Configuration

Full Audio List-> (*** mean selected)
NONE
*** 80: ??? (AC3 2ch, 0xBD 0x80) [0]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
??? 0 (0xBD 0x20) [0]

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
Basic Filter: Undot()
MVDegrain: MVDegrain1
FreeAVS String: VagueDenoiser(threshold=0, method=3, nsteps=6, chromaT=0).asharp(2,4,1)
ColorMatrix: On
-> End Advanced AviSynth

Start Queue ->
prompt $d $t $_$P$G

"C:\Rip\HDConvertToX_2.1.458.3528\applications\eac3to.exe" "c:\rip\hdconverttox_2.1.458.3528\hdc_work\job0\vts_01_1.vob" 2: stdout.wav -normalize | "C:\Rip\HDConvertToX_2.1.458.3528\applications\neroaacenc.exe" -if - -q 0.6 -ignorelength -of "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdencodertox-pid2.mp4"
"C:\Rip\HDConvertToX_2.1.458.3528\applications\x264.exe" --pass 1 --bitrate 950 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --sar 1:1 --output "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.h264" "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.avs" --level 4.0
"C:\Rip\HDConvertToX_2.1.458.3528\applications\x264.exe" --pass 2 --bitrate 950 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --sar 1:1 --output "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.h264" "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.avs" --level 4.0
"C:\Rip\HDConvertToX_2.1.458.3528\applications\Chapter\ChapterXtractor.exe" "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS\VTS_01_0.IFO" "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\chapters.txt" -p5
"C:\Rip\HDConvertToX_2.1.458.3528\applications\mkvmerge.exe" -o "C:\Rip\Produced\QOTSA.MKV" --default-duration 0:25.000fps "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.h264" --language -1:und --aac-is-sbr 0:1 "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdencodertox-pid2.mp4" --chapters "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\chapters.txt" --title "Done with HDConvertToX v.1.9.399.3207"
-> End Queue

AviSynth Script ->
Working with files: C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.avs
DSS2("c:\rip\hdconverttox_2.1.458.3528\hdc_work\job0\vts_01_1.vob",fps=25.000)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
GaussResize(720,544,0,0,-0,-0,p=75)
ColorMatrix(mode="Rec.709->Rec.601")
hqdn3d(1)
Undot()
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1)
last.MVDegrain1(backward_vec2,forward_vec2,thSAD=400,idx=1)
VagueDenoiser(threshold=0, method=3, nsteps=6, chromaT=0).asharp(2,4,1)
-> End AviSynth Script


And with totally different file same error.
HDConvertToX v.2.1.465.3552 "Isotta" report

Input File: c:\rip\hdconverttox_2.1.458.3528\hdc_work\job3\vts_01_1.vob ( C:\Rip\Source Video\RHCP\FullDisc\RHCP\VIDEO_TS\VTS_24_0.IFO )
PGC : PGC 1. Length: 1:20:36:22 / chained=0
Codec Video: mpeg
Width / Heigh : 720 / 576
Framerate / Framecount: 25.000 / 120900
Duration(hh:mm:ss): 1:20:37
Aspect Ratio: 1.3334
Resized resolution: 688 / 528
Crop Values : 20:8:12:8

Start Video Configuration ->
Encoding Settings: X264 Extreme Quality ; Bitrate= 950
NMT Compatibility: On
Encoding Preset: 6
Final Size:
Priority: idle
Denoise Level: Super Light
Set Manual Bitrate: 950
Video Handling: Use Best Decoder
Deinterlace: Interlaced
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 0.6
Audio Channels: Original
MP3 Mode: vbr
Normalize: On
Audio handling: Use Eac3to as demuxer
Keep only core: On
-> End Audio Configuration

Full Audio List-> (*** mean selected)
NONE
*** 80: English (AC3 2ch, 0xBD 0x80) [0]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
English 0 (0xBD 0x20) [0]
English 1 (0xBD 0x21) [0]

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
Basic Filter: Undot()
MVDegrain: MVDegrain1
FreeAVS String: VagueDenoiser(threshold=0, method=3, nsteps=6, chromaT=0).asharp(2,4,1)
ColorMatrix: On
-> End Advanced AviSynth

Start Queue ->
prompt $d $t $_$P$G

"C:\Rip\HDConvertToX_2.1.458.3528\applications\eac3to.exe" "c:\rip\hdconverttox_2.1.458.3528\hdc_work\job0\vts_01_1.vob" 2: stdout.wav -normalize | "C:\Rip\HDConvertToX_2.1.458.3528\applications\neroaacenc.exe" -if - -q 0.6 -ignorelength -of "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdencodertox-pid2.mp4"
"C:\Rip\HDConvertToX_2.1.458.3528\applications\x264.exe" --pass 1 --bitrate 950 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --sar 1:1 --output "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.h264" "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.avs" --level 4.0
"C:\Rip\HDConvertToX_2.1.458.3528\applications\x264.exe" --pass 2 --bitrate 950 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --sar 1:1 --output "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.h264" "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.avs" --level 4.0
"C:\Rip\HDConvertToX_2.1.458.3528\applications\Chapter\ChapterXtractor.exe" "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS\VTS_01_0.IFO" "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\chapters.txt" -p5
"C:\Rip\HDConvertToX_2.1.458.3528\applications\mkvmerge.exe" -o "C:\Rip\Produced\QOTSA.MKV" --default-duration 0:25.000fps "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdconverttox_vts_01_1.h264" --language -1:und --aac-is-sbr 0:1 "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\hdencodertox-pid2.mp4" --chapters "C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job0\chapters.txt" --title "Done with HDConvertToX v.1.9.399.3207"
-> End Queue

AviSynth Script ->
Working with files: C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job3\hdconverttox_vts_01_1.avs
Mpeg2Source("C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job3\movie.d2v")
TDeint(mode=0,order=-1)
GaussResize(688,528,20,8,-12,-8,p=75)
ColorMatrix(d2v="C:\Rip\HDConvertToX_2.1.458.3528\HDC_Work\job3\movie.d2v")
hqdn3d(1)
Undot()
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1)
last.MVDegrain1(backward_vec2,forward_vec2,thSAD=400,idx=1)
VagueDenoiser(threshold=0, method=3, nsteps=6, chromaT=0).asharp(2,4,1)
-> End AviSynth Script

Frozen-Figo
29th August 2009, 12:27
I have a strange problem, after some using of HDC, application always stuck at same point during encoding, so I need to extract rar file again.


D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\eac3to.exe" "c:\dvb\smartdvb\records\jsc sports +220090829-14
_08_19.ts" 1:"D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0\hdconverttox.m2v"
TS, 1 video track, 1 audio track, 0:00:52, 50i
1: MPEG2, 576i50 (4:3)
2: MP2, Arabic, 2.0 channels, 256kbps, 48khz, -369ms
v01 Extracting video track number 1...
v01 Creating file "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0\hdconverttox.m2v
"...
Video track 1 contains 1296 frames.
eac3to processing took 1 second.
Done.

D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[D:\My DVB\NEW\HDConvertT
oX_1.8.332.2935\job0\hdconverttox.m2v] -OF=[D:\My DVB\NEW\HDConvertToX_1.8.332.2
935\job0\movie] -exit -minimize

D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\HDC_Deint.exe" -input "c:\dvb\smartdvb\records\jsc sports +22
0090829-14_08_19.ts" -workpath "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0\" -
usedecoder d2v -here "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\"

D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\x264.exe" --threads 0 --bitrate 200 --thread-input --trellis
0 --no-cabac --merange 4 --subme 1 --no-chroma-me --partitions none --me dia --s
ar 1:1 --progress --no-psnr --output "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\jo
b0\createautodeintmovie.h264" "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0\crea
teautodeintmovie.avs"
avis [info]: 32x32 @ 25.00 fps (45 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=1 psy_rd=0.0
:0.0 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
chroma_qp_offset=0 threads=6 thread_queue=6 nr=0 decimate=1 mbaff=0 bframes=0 ke
yint=250 keyint_min=25 scenecut=40 rc=abr bitrate=200 ratetol=1.0 qcomp=0.60 qpm
in=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
x264 [info]: profile Baseline, level 1.3
x264 [info]: encoded 45 frames, 90.00 fps, 105.28 kb/s
x264 [info]: slice I:3 Avg QP:10.17 size: 776
x264 [info]: slice P:42 Avg QP:10.38 size: 495
x264 [info]: mb I I16..4: 0.0% 0.0% 100.0%
x264 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 95.2% 0.0% 0.0% 0.0% 0
.0% skip: 4.8%
x264 [info]: final ratefactor: -1.55
x264 [info]: coded y,uvDC,uvAC intra:100.0% 100.0% 100.0% inter:94.3% 92.3% 86.9
%
x264 [info]: SSIM Mean Y:0.9990100
x264 [info]: kb/s:102.7
encoded 45 frames, 90.00 fps, 105.28 kb/s


D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\x264.exe" --threads 0 --bitrate 200 --thread-input --trellis
0 --no-cabac --merange 4 --subme 1 --no-chroma-me --partitions none --me dia --s
ar 1:1 --progress --no-psnr --output "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\jo
b0\autodeint_ff_movie.h264" "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0\autode
int_ff_movie.avs"
avis [info]: 32x32 @ 25.00 fps (30 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=1 psy_rd=0.0
:0.0 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
chroma_qp_offset=0 threads=6 thread_queue=6 nr=0 decimate=1 mbaff=0 bframes=0 ke
yint=250 keyint_min=25 scenecut=40 rc=abr bitrate=200 ratetol=1.0 qcomp=0.60 qpm
in=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
x264 [info]: profile Baseline, level 1.3
x264 [info]: encoded 30 frames, 28.65 fps, 80.04 kb/s
x264 [info]: slice I:1 Avg QP:10.50 size: 767
x264 [info]: slice P:29 Avg QP:10.79 size: 369
x264 [info]: mb I I16..4: 0.0% 0.0% 100.0%
x264 [info]: mb P I16..4: 2.6% 0.0% 0.0% P16..4: 89.7% 0.0% 0.0% 0.0% 0
.0% skip: 7.8%
x264 [info]: final ratefactor: -2.62
x264 [info]: coded y,uvDC,uvAC intra:100.0% 100.0% 100.0% inter:84.7% 84.1% 64.6
%
x264 [info]: SSIM Mean Y:0.9987414
x264 [info]: kb/s:76.4
encoded 30 frames, 28.65 fps, 80.04 kb/s


D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\eac3to.exe" "c:\dvb\smartdvb\records\jsc sports +220090829-14
_08_19.ts" 2: stdout.wav -down2 | "D:\My DVB\NEW\HDConvertToX_1.8.332.2935\ap
plications\neroaacenc.exe" -if - -br 128000 -ignorelength -of "D:\My DVB\NEW\HDC
onvertToX_1.8.332.2935\job0\hdencodertox-pid2.mp4"
*************************************************************
* *
* Nero AAC Encoder *
* Copyright 2008 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Sep 17 2008 *
* Package version: 1.3.3.0 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************

Processed 51 seconds...

D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\x264.exe" --pass 1 --bitrate 1515 --keyint 250 --bframes 4 -
-mixed-refs --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --vbv-bu
fsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --no-ch
roma-me --8x8dct --aud --aq-strength 1 --sar 1:1 --output "D:\My DVB\NEW\HDCon
vertToX_1.8.332.2935\job0\hdconverttox_jsc sports +220090829-14_08_19.h264" "D:\
My DVB\NEW\HDConvertToX_1.8.332.2935\job0\hdconverttox_jsc sports +220090829-14_
08_19.avs"
avis [info]: 640x464 @ 25.00 fps (1296 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: cabac=1 ref=4 deblock=1:-1:-1 analyse=0x3:0x113 me=umh subme=9 psy_
rd=1.0:0.0 mixed_ref=1 me_range=16 chroma_me=0 trellis=0 8x8dct=1 cqm=0 deadzone
=21,11 chroma_qp_offset=-2 threads=1 thread_queue=1 nr=0 decimate=1 mbaff=0 bfra
mes=4 b_pyramid=0 b_adapt=2 b_bias=0 direct=3 wpredb=1 keyint=250 keyint_min=25
scenecut=40 rc=cbr bitrate=1515 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=
4 vbv_maxrate=25000 vbv_bufsize=14000 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
x264 [info]: profile High, level 3.2
x264 [info]: encoded 1296 frames, 7.09 fps, 1534.33 kb/s
x264 [info]: slice I:6 Avg QP:20.87 size: 33795 PSNR Mean Y:42.12 U:45.27
V:47.09 Avg:43.08 Global:42.76
x264 [info]: slice P:499 Avg QP:21.82 size: 13105 PSNR Mean Y:39.71 U:42.80
V:44.57 Avg:40.66 Global:40.52
x264 [info]: slice B:791 Avg QP:25.57 size: 4035 PSNR Mean Y:38.66 U:42.48
V:44.47 Avg:39.73 Global:39.63
x264 [info]: consecutive B-frames: 2.9% 22.2% 71.9% 3.1% 0.0%
x264 [info]: mb I I16..4: 3.8% 73.7% 22.5%
x264 [info]: mb P I16..4: 0.7% 3.8% 1.1% P16..4: 50.2% 21.4% 16.5% 0.0% 0
.0% skip: 6.2%
x264 [info]: mb B I16..4: 0.0% 0.2% 0.1% B16..8: 42.0% 2.5% 4.6% direct:
7.9% skip:42.8% L0:26.5% L1:57.0% BI:16.5%
x264 [info]: final ratefactor: 18.87
x264 [info]: 8x8 transform intra:68.2% inter:49.0%
x264 [info]: direct mvs spatial:99.4% temporal:0.6%
x264 [info]: coded y,uvDC,uvAC intra:81.9% 83.4% 57.0% inter:27.0% 25.8% 5.1%
x264 [info]: ref P L0 83.8% 8.9% 4.8% 2.6%
x264 [info]: ref B L0 94.1% 4.1% 1.8%
x264 [info]: PSNR Mean Y:39.078 U:42.617 V:44.518 Avg:40.105 Global:39.959 kb/s:
1532.99
encoded 1296 frames, 7.09 fps, 1534.33 kb/s


D:\My DVB\NEW\HDConvertToX_1.8.332.2935\job0>"D:\My DVB\NEW\HDConvertToX_1.8.332
.2935\applications\x264.exe" --pass 2 --bitrate 1515 --keyint 250 --bframes 4 -
-mixed-refs --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --vbv-bu
fsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --no-ch
roma-me --8x8dct --aud --aq-strength 1 --sar 1:1 --output "D:\My DVB\NEW\HDCon
vertToX_1.8.332.2935\job0\hdconverttox_jsc sports +220090829-14_08_19.h264" "D:\
My DVB\NEW\HDConvertToX_1.8.332.2935\job0\hdconverttox_jsc sports +220090829-14_
08_19.avs"


Any suggestion ?

rickatnight11
29th August 2009, 15:34
I have changed files I am trying to encode, but this time I cannot encode audio at which point encoding fails.
Could you edit your posts to make the report files txt attachments? Including them in CODE tags kinda ruins the page.

That being said, can you describe the error that is being thrown? If you want to run the batch in "verbose mode", open up a command prompt, navigate to the directory of your job (eg. "whatever/HDConvertToX/job1") and run queue.bat from there. This will keep the window open afterwards so that you can read any results and post them here.

rickatnight11
29th August 2009, 15:35
I have a strange problem, after some using of HDC, application always stuck at same point during encoding, so I need to extract rar file again.
Where is it getting stuck, and what rar are you talking about extracting again?

flebber
29th August 2009, 15:40
Could you edit your posts to make the report files txt attachments? Including them in CODE tags kinda ruins the page.

That being said, can you describe the error that is being thrown? If you want to run the batch in "verbose mode", open up a command prompt, navigate to the directory of your job (eg. "whatever/HDConvertToX/job1") and run queue.bat from there. This will keep the window open afterwards so that you can read any results and post them here.

You can't attach them they then sit there waiting approval. After audio encoding fails then x264 starts and fails. So it seems an error originating from audio encode.

rickatnight11
29th August 2009, 15:44
You can't attach them they then sit there waiting approval. After audio encoding fails then x264 starts and fails. So it seems an error originating from audio encode.
That's strange. I haven't had any issue attaching txt files or images. Oh well.

Actually, the audio encode and video code have nothing to do with each other until the final command which muxes them together. It sounds like the batch is having an issue communicating with the source. Either the source is messed up (not likely) or the parameters in the batch are a bit screwy (more likely.) I'll look through your batch more carefully, but I'm not very knowledgeable about the actual encoding parameters. You'll probably need one of the experts to diagnose this one for you.

EDIT: Something's awry with your audio and subtitle detection in the first report file. Your's looks like this:
Full Audio List-> (*** mean selected)
NONE
*** 80: ??? (AC3 2ch, 0xBD 0x80) [0]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
??? 0 (0xBD 0x20) [0]

-> End Full Subtitle List
...while mine looked like this:
Full Audio List-> (*** mean selected)
NONE
*** 2: ac3, english, 2.0 channels, 192kbps, 48khz, dialnorm: -27db

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
3: subtitle (pgs), japanese
*** 4: subtitle (pgs), english
5: subtitle (pgs), french
6: subtitle (pgs), italian
7: subtitle (pgs), dutch
8: subtitle (pgs), spanish
9: subtitle (pgs), portuguese

-> End Full Subtitle List
I don't know what's up with your second batch. Make sure you're running the latest version of HDConvertToX, but maybe one of the prerequisite programs is installed incorrectly. Hope this helps any experts diagnose your issue.

feanor12
29th August 2009, 16:08
If you don't want command prompt to close after (unsuccesfull) encoding I suggest to just write "pause" in last line. ツ


Like this...


"C:\Program Files (x86)\hdconvert\applications\eac3to.exe" "d:\ ....
"C:\Program Files (x86)\hdconvert\applications\x264.exe" --pass 1....
"C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.h264....
"C:\Program Files (x86)\hdconvert\applications\x264.exe" --pass 2....
"C:\Program Files (x86)\hdconvert\job0\hdconverttox_00004.h264" "C:\....
"C:\Program Files (x86)\hdconvert\applications\eac3to.exe" 1:....
"C:\Program Files (x86)\hdconvert\applications\mp4box.exe"....

color 0a
pause

Command "color 0a" is just to colorize text in console in green when all actions are finished...
(that way you know when all actions are finished) ツ

whipdancer
29th August 2009, 21:51
The second to last line (that runs eac3to.exe) from your original batch is supposed to, but you'll notice that something is wrong with it: there is no source file, only the destination. For whatever reason, HDConvertToX isn't generating that line correctly.

Any idea what the correct syntax should be?

I would think maybe the ac3 file? There's also an MBTREE file, but I've not idea what that is for.

Crono141
29th August 2009, 22:19
Whipdancer, just so you know, neither PS3 nor Xbox 360 support AC3 audio inside the MP4 container, unless something has changed very recently that I'm not aware of.

whipdancer
29th August 2009, 22:22
Whipdancer, just so you know, neither PS3 nor Xbox 360 support AC3 audio inside the MP4 container, unless something has changed very recently that I'm not aware of.

I'm aware.

But, I'm going to do some testing with different media servers and I want to test it both with AC3 and AAC-LC.

whipdancer
29th August 2009, 22:40
Ok, so I think I found the syntax for it. Let's see if this works.

Basically I modified the 4th command in the bat file, adding the original m2ts file so that it reads something like...

eac3to orignal.m2ts 1: chapters.txt

It created a chapters.txt file for me, so i'm going re-run the final command in the batch file and see how that goes.

whipdancer
29th August 2009, 22:57
Ok, that worked.

I've got a 6.88GB mp4 file.

However, I get no sound. I'm going to dig around in this thread some more, but if anyone has any tips on what I should check - please pass them along.

Thanks for all the help! So close to getting this working smoothly.

Let me clarify - I did the sound as AC3 (not AAC).

Adub
30th August 2009, 00:20
AC3 in the mp4 container is a relatively new standard. If you are having troubles playing it, either update your player to the newest version or just use AAC.