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
10th April 2009, 08:28
update HDC

>fixed bitrate computing when audio is VBR based (mp3 vbr , nero quality, ogg ) (beta)

BHH

Sharc
10th April 2009, 09:52
Even when I enable <Force DirectShowSource>, DGIndex (or DGAVCIndex) is launched. I this intentional?

Any possibility to use the NV CUDA version of the DG tools? Perhaps with a Hidden Options file pointing to the directory of these tools?

Could you add a hidden options file for <x264+m2ts>?

Any possibility to customize the default type of resizing filter? (I could possibly edit the hdconverttox....avs during the audio extraction phase, right?)

Thanks for considering. No hurry.

buzzqw
10th April 2009, 10:19
update HDC

>fixed launch of dgindex/dgavc when Force Direct Show Source is checked
>added x264+m2ts.txt as hidden options for starting with x264 as codec and m2ts as container

@Sharc

about resing: i will actually don't add an option to change it. you will be hable to edit the avs during audio encoding
about nv cuda: while i have the license from Neuron2 (i buy it several weeks ago), my building environment is LINUX or a WIN2003 Server without discrete video cards
so.. i can even add support for it, i cannot test it

BHH

Sharc
10th April 2009, 11:18
Thanks.

Just wondering: You are using eac3to for demuxing audio and subs - and it works flawlessly. I just noticed that tsmuxer seems to be much faster - about twice as fast / half time for demuxing.

Mgz
10th April 2009, 23:10
I got a whole bunch of :
[fraps @ 0x2e90060]reget_buffer() failed
[fraps @ 0x2e90060]picture size invalid (0x0)
[fraps @ 0x2e90060]reget_buffer() failed
[fraps @ 0x2e90060]picture size invalid (0x0)
[fraps @ 0x2e90060]reget_buffer() failed
[fraps @ 0x2e90060]picture size invalid (0x0)
[fraps @ 0x2e90060]reget_buffer() failed
[fraps @ 0x2e90060]picture size invalid (0x0)
[fraps @ 0x2e90060]reget_buffer() failed
[fraps @ 0x2e90060]picture size invalid (0x0)

when trying to encode Fraps video (in AVI container, no audio) to x264 in MP4 :(

Crono141
11th April 2009, 02:48
No 5.1 wmv support?

Gamezcdr
11th April 2009, 07:11
Final size is working: input 4480 MB --> final 4485 MB.

buzzqw
11th April 2009, 07:14
@Mgz
try checking "Force DirectShow Source"

@Crono141
with 5.1 support
check the audio preset

BHH

Sharc
11th April 2009, 07:25
Final size is working: input 4480 MB --> final 4485 MB.
That's right on the spot.
Just curious: Which container did you use? How many audio tracks? Which audio format? Have subtitles been included?

Gamezcdr
11th April 2009, 07:43
x264 in MKV 2pass Balanced, original movie size 8300 MB (video + audio), original audio AC3 640kbps, final audio AC3 320kbps, 1 audio track, no subtitles.

buzzqw
11th April 2009, 08:20
thanks Gamezcdr!
also thanks for reporting it!

more test is welcome too

BHH

Crono141
11th April 2009, 15:35
Audio Preset? Ah, I see it now.

Also, I tried to do an encode of x264+copy audio (ac3) in m2ts, and eac3to reported error "type not supported" or something. But if I do x264+ac3 in m2ts, everything is OK.

buzzqw
11th April 2009, 15:56
Also, I tried to do an encode of x264+copy audio (ac3) in m2ts, and eac3to reported error "type not supported"
i need the report an a printscreen of error reported by eac3to

BHH

Crono141
11th April 2009, 19:23
I just tried to do a WMV encode, and got problems all over the place.

First, I got this eac3to error

http://i277.photobucket.com/albums/kk79/crono141_bucket/eac3towmaerror.jpg

Then I got this Cscript error.

http://i277.photobucket.com/albums/kk79/crono141_bucket/cscripterror.jpg

Here's the report on this encode.

HDConvertToX v.0.9.205.1600 report

Input File: e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
Codec Video: mpeg
Width: 720
Heigh: 480
Framerate: 29.970
Framecount: 196213
Duration(hh:mm:ss): 1:49:7
Aspect Ratio: 1.7778
Resized resolution: 720 / 336
Crop Left: 0
Crop Top: 40
Crop Right: 0
Crop Bottom: 40
Activate: Crop Obey to AR

Start Hidden Options ->
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: WMV in WMV
Encoding Preset: 9
Final Size: 95
Priority: idle
Denoise Level: Super Light
Set Manual Bitrate:
Force DirectShowSource: Off
Deinterlace: Telecine
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: WMA Audio
Audio Bitrate/Quality: 192_48_6_16
Audio Channels: Original
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
80: English (AC3 6ch, 0xBD 0x80) [0]
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String:
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob] -OF=[E:\Programs\HDConvertToX\temp\movie] -exit -minimize

"E:\Programs\HDConvertToX\applications\eac3to.exe" "e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob" 2: "E:\Programs\HDConvertToX\temp\hdencodertoxvid-pid2.English (AC3 6ch"
"E:\Programs\HDConvertToX\applications\PgcDemux.exe" -pgc 1 -nocellt -nolog -noaud -sub -nom2v -novob "E:\RippedDVD\MainMovie\SCHOOL_OF_ROCK_16X9\VIDEO_TS\VTS_01_0.IFO" "E:\Programs\HDConvertToX\temp"
"E:\Programs\HDConvertToX\applications\WMCmd.vbs" -input "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs" -output "E:\Media\Movies\DVD\Comedy\School of Rock.WMV" -v_codec WVC1 -v_preset good -v_mode 2 -v_quality 95 -a_codec wmapro -a_mode 0 -a_setting 192_48_6_16
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs
#HDConvertToX Avisynth Script
#
#Input File = e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
#Original Resolution = 720x480
#Aspect Ratio = 1.7778
#Frame rate =29.970
#Number of Frames = 196213
#Lenght (hour:minutes:seconds) = 1:49:7
#Display Aspect Ratio = 2.1334
#Aspect Error = -0.4432
#
#Resized resolution = 720 / 336
#Crop Left = 0
#Crop Top = 40
#Crop Right = 0
#Crop Bottom = 40
#

#Source File
mpeg2source("E:\Programs\HDConvertToX\temp\movie.d2v")

#Insert Deinterlacer
tfm(last,d2v="E:\Programs\HDConvertToX\temp\movie.d2v").tdecimate()

#Applying Resizing
Lanczos4Resize (720,336,0,40,-0,-40)

#Insert Filters As Requested
ColorMatrix(d2v="E:\Programs\HDConvertToX\temp\movie.d2v")

hqdn3d(1)
#WMV Audio muxing
audio=DirectShowSource("E:\Programs\HDConvertToX\temp\hdencodertoxvid-pid2.English (AC3 6ch")
AudioDub(last,audio)
-> End AviSynth Script

Crono141
11th April 2009, 19:30
As for copy AC3 to M2ts heres that report

HDConvertToX v.0.9.205.1600 report

Input File: e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
Codec Video: mpeg
Width: 720
Heigh: 480
Framerate: 29.970
Framecount: 196213
Duration(hh:mm:ss): 1:49:7
Aspect Ratio: 1.7778
Resized resolution: 720 / 336
Crop Left: 0
Crop Top: 40
Crop Right: 0
Crop Bottom: 40
Activate: Crop Obey to AR

Start Hidden Options ->
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: X264 in M2TS
Encoding Preset: 9
Final Size: 18
Priority: idle
Denoise Level: Super Light
Set Manual Bitrate:
Force DirectShowSource: Off
Deinterlace: Telecine
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: Original
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
80: English (AC3 6ch, 0xBD 0x80) [0]
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String:
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob] -OF=[E:\Programs\HDConvertToX\temp\movie] -exit -minimize

"E:\Programs\HDConvertToX\applications\eac3to.exe" "e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob" 2: "E:\Programs\HDConvertToX\temp\hdencodertoxvid-pid2.English (AC3 6ch"
"E:\Programs\HDConvertToX\applications\PgcDemux.exe" -pgc 1 -nocellt -nolog -noaud -sub -nom2v -novob "E:\RippedDVD\MainMovie\SCHOOL_OF_ROCK_16X9\VIDEO_TS\VTS_01_0.IFO" "E:\Programs\HDConvertToX\temp"
"E:\Programs\HDConvertToX\applications\x264.exe" --crf 18 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 8 --mixed-refs --trellis 2 --ref 8 --filter -2,-1 --subme 8 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me esa --no-ssim --merange 24 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.h264" "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs"
"E:\Programs\HDConvertToX\applications\tsMuxeR.exe" "E:\Media\Movies\DVD\Comedy\School of Rock.meta" "E:\Media\Movies\DVD\Comedy\School of Rock.M2TS"
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs
#HDConvertToX Avisynth Script
#
#Input File = e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
#Original Resolution = 720x480
#Aspect Ratio = 1.7778
#Frame rate =29.970
#Number of Frames = 196213
#Lenght (hour:minutes:seconds) = 1:49:7
#Display Aspect Ratio = 2.1334
#Aspect Error = -0.4432
#
#Resized resolution = 720 / 336
#Crop Left = 0
#Crop Top = 40
#Crop Right = 0
#Crop Bottom = 40
#

#Source File
mpeg2source("E:\Programs\HDConvertToX\temp\movie.d2v")

#Insert Deinterlacer
tfm(last,d2v="E:\Programs\HDConvertToX\temp\movie.d2v").tdecimate()

#Applying Resizing
Lanczos4Resize (720,336,0,40,-0,-40)

#Insert Filters As Requested
ColorMatrix(d2v="E:\Programs\HDConvertToX\temp\movie.d2v")

hqdn3d(1)
-> End AviSynth Script


and the screengrab

http://i277.photobucket.com/albums/kk79/crono141_bucket/copyaudioerror.jpg

Also, for some reason, all m2ts encodes crash WMP12, and Media Center, but play just fine in VLC. Anyone have a solution to that one?

buzzqw
11th April 2009, 19:38
thanks Crono141

please update HDC

BHH

Crono141
12th April 2009, 03:05
On wmv encoding, I still get the Cscript error that I posted above, but eac3to works ok.

On muxing divx with ac3, AVIMuxGui Crashes. Here's the report.

EDIT: Actually AVIMuxGui Crashes on launch no matter what. Double clicking the app in a folder causes an insta-crash.

HDConvertToX v.0.9.207.1610 report

Input File: e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
Codec Video: mpeg
Width: 720
Heigh: 480
Framerate: 29.970
Framecount: 196213
Duration(hh:mm:ss): 1:49:7
Aspect Ratio: 1.7778
Resized resolution: 720 / 336
Crop Left: 0
Crop Top: 40
Crop Right: 0
Crop Bottom: 40
Activate: Crop Obey to AR

Start Hidden Options ->
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: DivX in AVI
Encoding Preset: 9
Final Size: 2.3
Priority: idle
Denoise Level: Super Light
Set Manual Bitrate:
Force DirectShowSource: Off
Deinterlace: Telecine
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
80: English (AC3 6ch, 0xBD 0x80) [0]
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String:
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob] -OF=[E:\Programs\HDConvertToX\temp\movie] -exit -minimize

"E:\Programs\HDConvertToX\applications\eac3to.exe" "e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob" 2: "E:\Programs\HDConvertToX\temp\hdencodertoxvid-pid2.ac3"
"E:\Programs\HDConvertToX\applications\PgcDemux.exe" -pgc 1 -nocellt -nolog -noaud -sub -nom2v -novob "E:\RippedDVD\MainMovie\SCHOOL_OF_ROCK_16X9\VIDEO_TS\VTS_01_0.IFO" "E:\Programs\HDConvertToX\temp"
"E:\Programs\HDConvertToX\applications\avs2avi.exe" "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs" "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avi" -w -p 0 -l "E:\Programs\HDConvertToX\temp\hdconverttox4_vts_01_1.conf"
"E:\Programs\HDConvertToX\applications\AVIMux_GUI.exe" -stdin mux0.amg
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs
#HDConvertToX Avisynth Script
#
#Input File = e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
#Original Resolution = 720x480
#Aspect Ratio = 1.7778
#Frame rate =29.970
#Number of Frames = 196213
#Lenght (hour:minutes:seconds) = 1:49:7
#Display Aspect Ratio = 2.1334
#Aspect Error = -0.4432
#
#Resized resolution = 720 / 336
#Crop Left = 0
#Crop Top = 40
#Crop Right = 0
#Crop Bottom = 40
#

#Source File
mpeg2source("E:\Programs\HDConvertToX\temp\movie.d2v")

#Insert Deinterlacer
tfm(last,d2v="E:\Programs\HDConvertToX\temp\movie.d2v").tdecimate()

#Applying Resizing
Lanczos4Resize (720,336,0,40,-0,-40)

#Insert Filters As Requested
ColorMatrix(d2v="E:\Programs\HDConvertToX\temp\movie.d2v")

hqdn3d(1)
-> End AviSynth Script

AVIMux-Gui Script >
CLEAR
LOAD E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avi
LOAD E:\Programs\HDConvertToX\temp\hdencodertoxvid-pid2.English (AC3 6ch
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 OPTION MP3 VERIFY CBR ALWAYS
SET OPTION MP3 VERIFY RESDLG OFF
SET OUTPUT OPTIONS
WITH SET OPTION
OPENDML 0
RECLISTS 0
AVI ADDJUNKBEFOREHEADERS 0
AUDIO INTERLEAVE 4 FR
PRELOAD 200
END WITH
START E:\Media\Movies\DVD\Comedy\School of Rock.avi
-> End AVIMux-Gui Script


Also, it seems the AC3 file that got split from the movie was only the AC3 file of the 1st vob. Its only 25 minutes long, vs 1:47 for the whole film.

Can I suggest that when you hit the make report button, that the report automatically opens in notepad. Saves time when trying to navigate back to your HDC folder.

buzzqw
12th April 2009, 08:46
@Crono141

please update HDC

>fixed invoking cscript before launching wmcmd.vbs
>fixed "post_this_file.txt" now open in default txt editor
>fixed workaround for dealing with more then one vobs

as clearly state in manual, you should do rip in 1 BIG vob.
in this update build i added a workaround for multiple vobs, please test it

thanks

BHH

spida_singh
13th April 2009, 15:43
buzz, i know your final output size calculation is still in beta, well iirc thats what you stated last time, set final size to 8192mb, movie turned out just over 11GB, using copy audio with dtshd-ma, with an AVC stream. Just letting you know, also, avimuxgui crashes within utilities, 1.17.7 works ok, have you added 1.17.8 in your package? As i know this crashes as a stand alone program, in vista 32 anyway.

regards :D

buzzqw
13th April 2009, 15:59
@spida_singh

DOH! 11GB?

please post a make report

also, you say that avimux 1.17.7 it's ok on vista ?

EDIT: dumb question: what is the audio bitrate of dts-ma ?

BHH

spida_singh
13th April 2009, 16:43
Im out of town for work for a few days, back on friday, I will check audio bitrate then. avimux 1.17.7 works fine, the latest 1.17.8 always crashes for me when using it as a standalone program, and from launching it within HDC utilities. could you use 17.7 in your package to check if this solves the issue? Im sure it will, as i have read in several places 17.8 crashes upon launch for everyone.

It looks like HDC used the figure of 8192MB as the video size, and then adds the audio to it, resulting in 11GB total. I know DTSHD-MA files vary between 3GB-4GB, depending on length of track.

regards

buzzqw
13th April 2009, 19:24
thanks spida

could you please test this build (agaist dts-ma) http://www.64k.it/andres/data/hdconverttox/HDConvertToX_spida.exe

thanks

BHH

Chengbin
14th April 2009, 01:47
buzzqw, why does HDC have to extract the video out every time it encodes? It is a waste of time and space. If I'm encoding blu-ray for example, the movie itself is 30GB. I have to rip it to my HDD first, and it HDC extracts it again, I need about 60GB of HDD, which I don't have. Not only that, copying 30GB again would take enormously long.

Crono141
14th April 2009, 02:04
OK. I tried WMV encoding again. I didn't get the CScript error like before, but it still bombed out on an error message, but the window closed before I could read it. It gave an error code, with no explanation. Sorry I can't be more specific.

also, I tried launching AVIMuxGui 1.17.7, and it bombed for me as well.

Is it possible to have the option to use vdubmod for avi stream muxing? Thats what I use when AVIMuxGui dies on me.

buzzqw
14th April 2009, 08:17
@Chengbin

feel free to suggest a better workflow

@Crono141
click on "Save Queue" and from dos box launch it (or add a pause at end of batch)

BHH

buzzqw
14th April 2009, 09:22
make sure you check compatibility mode for AVIMux-Gui.
Right click on AVIMux-Gui in \applications and on compatibility mode set it to Windows Xp SP2

BHH

buzzqw
14th April 2009, 11:53
New Full package 1.0.213.1664

http://www.64k.it/andres/data/hdconverttox/HDConvertToX_1.0.213.1664.rar

>fixed bitrate computing when audio is VBR based (mp3 vbr , nero quality, ogg ) (beta)
>fixed dgavc/dgindex will not be launch if force DSS is selected
>added x264+m2ts.txt as hidden options for starting with x264 as codec and m2ts as container
>fixed wmv encoding of dvd source
>fixed better subtitle handling for dvd
>fixed invoking cscript before launching wmcmd.vbs
>fixed "post_this_file.txt" now open in default txt editor
>fixed workaround for dealing with more then one vobs
>fixed bitrate computing when copying DTS-MA audio tracks (early alpha)
>added 3 options for dealing with audio (please check manual): "Use eac3to as demuxer and decoder", "Force DirectShowSource as decoder", "Force BassAudio Decoder"
>fixed update manual
>other minor corrections and cosmetic fixes

BHH

Chengbin
14th April 2009, 12:15
AutoMKV did not need to analyze and copy the video first.

buzzqw
14th April 2009, 12:33
HDC need to analyze it. Point.

the video is extracted for DGAVCIndex. Point

IF you force DSS, DGAVCindex will not run

BHH

spida_singh
14th April 2009, 12:53
Great update :D, forcing directshow seems like a good idea if you do not want eac3to to demux streams (less time taken for overall job),but, im guesing forcing directshow for hi def tracks such as truehd and dtshd-ma will be ok as the arcsoft filters will be used as the decoders (if you have it installed)....correct?

buzzqw
14th April 2009, 13:02
yea, you need correct decoder (but afaik latest ffdshow should handle it...)

also.. about bitrate/size and dts-ma: the dts-ma is encoded at variable bitrate.. so when copy it it's near impossible to achive correct size

BHH

spida_singh
14th April 2009, 13:58
yea, you need correct decoder (but afaik latest ffdshow should handle it...)

also.. about bitrate/size and dts-ma: the dts-ma is encoded at variable bitrate.. so when copy it it's near impossible to achive correct size

BHH

ok, that being the case, i don't see any point in spending more time and effort into final output size calculation when using dtshd-ma copy audio? It will save you work, and, all that is required is a final output size calculated for video only, taking into account an overhead of 3GB-4GB for the audio track in the end. This way, the user can estimate the final output file size themselves using 3GB-4GB as a guide line.

many thanks again for your efforts.

buzzqw
14th April 2009, 14:19
if you copy dts-ma HDC will compute
1536kbps if core is stripped
3840kbps (very empirical) if core is keeped

BHH

spida_singh
14th April 2009, 14:27
cool, i will test when i am back.

Sharc
14th April 2009, 21:15
@buzzqw
The manual still refers to v1327.
For some reason you have deleted under "Compression Test" that for 1-pass encodes the crf (or quant) as selected by the user in the Video Encoder Tab is used for the compression test.
I find this to be a useful feature because it allows to estimate the expected video file size of a 1-pass (crf) encode. With 2 or 3 quick trial-and-error compressioin tests one can estimate the resulting crf (or quant) to approximately fill the target medium with a fast 1-pass encode (actually these iterations could even be automated....) ;)

Crono141
15th April 2009, 04:15
I just want to make sure of something. Has anyone else gotten an m2ts made by HDC to successfully stream to the PS3? I'm not having any luck, and if someone else is I'd like to know what the proper settings are. I'm going for X264+ac3 in m2ts. Thanks.

Crono141
15th April 2009, 04:34
buzzqw, why does HDC have to extract the video out every time it encodes? It is a waste of time and space. If I'm encoding blu-ray for example, the movie itself is 30GB. I have to rip it to my HDD first, and it HDC extracts it again, I need about 60GB of HDD, which I don't have. Not only that, copying 30GB again would take enormously long.

If you're using AnyDVD, you should be able to access the files directly off the disc without having to rip them to HDD first.

Otherwise, I'm not sure how else to go about doing this. Even commercial DVD ripping tools required at least twice the DVD's capacity in available HDD space for the exact same reason.

And how can you expect to deal in BR discs if you don't have at least 100 gb of free disc space? Even an external USB disc can be cheaply aquired for use as temporary working space.

buzzqw
15th April 2009, 08:58
@Sharc

update manual (was just a missing)

about compression test: sorry pal, unable to replicate
here is ok

could you please describe what are you doing (and what kind of files are you using)

BHH

buzzqw
15th April 2009, 13:44
update HDC

>added a new resizer for quality 10 (see thread http://forum.doom9.org/showthread.php?p=1274134#post1274134)
>fixed language subtitles muxing (mkv)

BHH

Havokdan
15th April 2009, 14:22
You can add the fast first pass for xvid/divx/x264?

Great jobs with your softwares, i like AutoMKV e HDConvertToX, congratulations

Sorry bad english.

buzzqw
15th April 2009, 14:59
Hi Havokdan ans welcome to the forum!

The first pass is already "turbo" :)

BHH

Havokdan
15th April 2009, 17:24
Thanks for the welcome, I wonder if you want to add in the future, the option to open .Mp4.
When I said fast first pass, I saw that was when I add a conversion in a queue, the row of the first step and second step has the same controls except for number of step. Disabling some unnecessary options in the first step in the conversion would be faster?
When I convert in VirtualDub, using the same configuration and combination of avisynth filters, the step 1 is faster than with Hdconvertox?
This tool you are developing is that for many years I looked online because I am fan of anime and would like to see them on my DVD player that has support for divx / xvid. Thanks again.

Sorry bad English, Translated by Google Translation, I read better than writing in English.

alpha_125
15th April 2009, 19:44
update HDC

>added a new resizer for quality 10 (see thread http://forum.doom9.org/showthread.php?p=1274134#post1274134)
>...

BHH


interesting, but it is too complicated for me: D
For now I find good results of Spline36Resize

Audio section Question:
When "Force DirectShowSource as decoder" is chosen, is there any chance to process the other audio tracks too?
If i select the second track, in the final mkv, i find i only have the first track twice.

This option is the only one that in the process ac3-640 (or AAC) to ac3-448 keep the volume like the original.
If i use eac3to, with or without normalization, the volume is significantly lower and it seem also, i don't know how say...different

buzzqw
15th April 2009, 19:53
When "Force DirectShowSource as decoder" is chosen, is there any chance to process the other audio tracks too?
as stated in manual too, isn't possible, only the first audio is keep

BUT , if you have "problem" of volume, try BassAudio option, should give a good bost (also, can keep the "second" track)

BHH

Sharc
15th April 2009, 20:52
@Sharc

about compression test: sorry pal, unable to replicate
here is ok

could you please describe what are you doing (and what kind of files are you using)

BHH
Nothing to replicate. HDC is ok. I was only mentioning that the description in the manual for the compression test of a 1-pass encode (using the actual crf or qnatizer value in order to estimate the expected file size) is missing. It was described in an earlier version, but somehow got lost.
Never mind.

buzzqw
15th April 2009, 21:03
thanks Sharc

i will look at this

BHH

Crono141
16th April 2009, 02:05
I'd like to ask a stupid question.

What is the difference between HDC h264 at crf 0 (for lossless encode) and the lossless h264 profile in autoMKV? I ask because the AutoMKV profile produced nice high quality encodes at only slightly higher filesize than crf 18, and was about twice as fast at doing it. I'd like to be able to replicate that behavior in HDC.

Everyone says CRF 18 is transparent, but it really isn't, especially in scenes with lots of fog or smoke. And CRF 16 increases the file size exponentially, as well as the encode times, and doesn't produce much better of a picture. Lossless encodes (from AutoMKV) looked great, and were a great filesize to boot.

Any possibility of getting that profile, or something close to it, in HDC for h264 encodes?

Edit: I think I figured it out. I just took the command line from AutoMKV and copied it into the HDC profiles file. Encoding now. Got a few warnings:


E:\Programs\HDConvertToX\temp>"E:\Programs\HDConvertToX\applications\x264.exe" -
-crf 16 --threads auto --thread-input --no-psnr --progress --qp 0 --keyint 250 -
-bframes 0 --qpmin 0 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 2 --direc
t temporal --vbv-maxrate 25000 --me hex --no-ssim --level 4.1 --merange 12 --nf
--b-adapt 1 --partitions p8x8,b8x8,i4x4,p4x4 --threads auto --thread-input --sa
r 1:1 --output "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.h264" "E:\P
rograms\HDConvertToX\temp\hdconverttox_vts_01_1.avs" --level 4.0
avis [info]: 720x336 @ 23.98 fps (157140 frames)
x264 [info]: using SAR=1/1
x264 [warning]: VBV bitrate (25000) > level limit (20000)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT

x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: profile High 4:4:4 Predictive, level 4.0
[4.6%] 7190/157140 frames, 50.18 fps, 16863.21 kb/s, eta 0:49:48


Mayhaps someone with better knowledge of x264 can help me sort out these warning. And filesize too, because it seems obvious from that bitrate that I'm going to get a huge file. At least the encoding is quick.

It seems there shouldn't be a CRF value if we're using x264 lossless encoding.

Edit 2: On a new issue. I fixed my problem with WMP12 crashing when trying to open an M2ts file. Also fixed the annoying com surrogate crash that MS blames on Haali media splitter. I had this software called AVSYOU that had crappy conflicting codecs that were messing me up, but I digress.

Anyway, since I had m2ts playback fixed (included BR content decrypted with AnyDVD) i decided to give BR conversion a go again, and here's what happenned:


E:\Programs\HDConvertToX\temp>"E:\Programs\HDConvertToX\applications\x264.exe" -
-pass 1 --bitrate 84123344 --threads auto --thread-input --no-psnr --progress --
keyint 250 --bframes 3 --mixed-refs --trellis 0 --ref 1 --filter -1,-1 --subme 2
--direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --weig
htb --b-adapt 1 --no-chroma-me --aud --nal-hrd --aq-mode 1 --aq-strength 1 --ps
y-rd 1.1:0.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_00007.h264" "E
:\Programs\HDConvertToX\temp\hdconverttox_00007.avs" --level 4.0
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'E:\Programs\HDConvertToX\temp\hdconvert
tox_00007.avs'

E:\Programs\HDConvertToX\temp>"E:\Programs\HDConvertToX\applications\x264.exe" -
-pass 2 --bitrate 84123344 --threads auto --thread-input --no-psnr --progress --
keyint 250 --bframes 3 --mixed-refs --trellis 0 --ref 3 --filter -1,-1 --subme 9
--direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weig
htb --b-adapt 1 --no-chroma-me --8x8dct --aud --nal-hrd --aq-mode 1 --aq-strengt
h 1 --psy-rd 1.1:0.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_00007.
h264" "E:\Programs\HDConvertToX\temp\hdconverttox_00007.avs" --level 4.0
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'E:\Programs\HDConvertToX\temp\hdconvert
tox_00007.avs'

Both passes only took about 2 minutes each due to error message.

Here's the report

HDConvertToX v.1.0.216.1679 report

Input File: g:\bdmv\stream\00007.m2ts
Codec Video: vc-1
Width: 0
Heigh: 0
Framerate: 0.000
Framecount: 0
Duration(hh:mm:ss): 0:0:1
Aspect Ratio: 1.7778
Resized resolution: 0 / 0
Crop Left: 0
Crop Top: 0
Crop Right: 0
Crop Bottom: 0

Start Hidden Options ->
Activate Hidden Option: NMT
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: X264 in M2TS
NMT Compatibility: On
Encoding Preset: 7
Final Size: 10000
Priority: idle
Denoise Level: None
Set Manual Bitrate:
Force DirectShowSource: Off
Deinterlace: none
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
3: ac3, english, 5.1 channels, 640kbps, 48khz
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String:
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\x264.exe" --pass 2 --bitrate 84123344 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 3 --mixed-refs --trellis 0 --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 1 --no-chroma-me --8x8dct --aud --nal-hrd --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_00007.h264" "E:\Programs\HDConvertToX\temp\hdconverttox_00007.avs" --level 4.0
"E:\Programs\HDConvertToX\applications\tsMuxeR.exe" "E:\Media\Movies\DVD\Action\The Dark Knight BR.meta" "E:\Media\Movies\DVD\Action\The Dark Knight BR.M2TS"
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_00007.avs
#HDConvertToX Avisynth Script
#
#Input File = g:\bdmv\stream\00007.m2ts
#Original Resolution = 0x0
#Aspect Ratio = 1.7778
#Frame rate =0.000
#Number of Frames = 0
#Lenght (hour:minutes:seconds) = 0:0:1
#Display Aspect Ratio = -1.#IND
#Aspect Error = -1.#IND
#
#Resized resolution = 0 / 0
#Crop Left = 0
#Crop Top = 0
#Crop Right = 0
#Crop Bottom = 0
#

#Source File
directshowsource("g:\bdmv\stream\00007.m2ts",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last


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

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

-> End AviSynth Script


Virtual Dub error on AVS script reports Timeout waiting for graph to start (line 61). I know my directshow filters will display this file. VC1 with ac3. Not sure what the deal is. Thanks for all your help.

buzzqw
16th April 2009, 07:17
directshowsource("g:\bdmv\stream\00007.m2ts",audio=false)

open this file with mediaplayer classic (just hit preview)

check FFDSHOW . and set VC-1 decoder to WMV9

EDIT: @ Havokdan , i have recked and TURBO is on, just try to add a 2 pass encode with a "hight profile" (7 or more)
check subme, trellis, partitions, me, subme, ref...

BHH

Havokdan
16th April 2009, 08:21
Thanks for the reply. Keep up good work.

Crono141
17th April 2009, 04:24
Media Player classic says "Cannot render the file." FFDShow already has VC-1 set to wmv 9. However, media player classic will open the file directly, instead of trying to open the avs.

When HDC analyzes the file, this is what pops up

http://i277.photobucket.com/albums/kk79/crono141_bucket/HDCAnalyze.jpg

Perhaps therein lies the problem?

Also, I have another problem. I tried to do a 2 pass encode x264+ac3 in m2ts, and got a 0 byte sized file output. Here's the code.

HDConvertToX v.1.0.216.1679 report

Input File: e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
Codec Video: mpeg
Width: 720
Heigh: 480
Framerate: 29.970
Framecount: 196213
Duration(hh:mm:ss): 1:49:7
Aspect Ratio: 1.7778
Resized resolution: 720 / 336
Crop Left: 0
Crop Top: 40
Crop Right: 0
Crop Bottom: 40
Activate: Crop Obey to AR

Start Hidden Options ->
Activate Hidden Option: NMT
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: X264 in M2TS
NMT Compatibility: On
Encoding Preset: 8
Final Size: 2000
Priority: idle
Denoise Level: None
Set Manual Bitrate:
Force DirectShowSource: Off
Deinterlace: Telecine
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
80: English (AC3 6ch, 0xBD 0x80) [0]
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String:
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\x264.exe" --pass 2 --bitrate 2176 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 3 --mixed-refs --trellis 2 --ref 3 --filter -1,-1 --subme 7 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --merange 20 --weightb --b-adapt 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --aud --nal-hrd --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.h264" "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs" --level 4.0
"E:\Programs\HDConvertToX\applications\tsMuxeR.exe" "E:\Media\Movies\DVD\Comedy\School of Rock.meta" "E:\Media\Movies\DVD\Comedy\School of Rock.m2ts"
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs
#HDConvertToX Avisynth Script
#
#Input File = e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
#Original Resolution = 720x480
#Aspect Ratio = 1.7778
#Frame rate =29.970
#Number of Frames = 196213
#Lenght (hour:minutes:seconds) = 1:49:7
#Display Aspect Ratio = 2.1334
#Aspect Error = -0.4432
#
#Resized resolution = 720 / 336
#Crop Left = 0
#Crop Top = 40
#Crop Right = 0
#Crop Bottom = 40
#

#Source File
mpeg2source("E:\Programs\HDConvertToX\temp\movie.d2v")

#Insert Deinterlacer
tfm(last,d2v="E:\Programs\HDConvertToX\temp\movie.d2v").tdecimate()

#Applying Resizing
Lanczos4Resize (720,336,0,40,-0,-40)

#Insert Filters As Requested
ColorMatrix(d2v="E:\Programs\HDConvertToX\temp\movie.d2v")

-> End AviSynth Script