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

Crono141
29th November 2009, 22:36
That work-around seems to work. However, I wonder what is wrong or different between HDC's dvd program/feature detector vs DVD Shrink's. Seems like an area that needs to be fixed/improved. In my opinion, a one-click solution like HDC shouldn't have to rely on a separate manual step, especially since this seems to happen with lots of DVDs.

MvB
29th November 2009, 22:44
Hey sharc, dvdshrink works just fine :)

Sharc
29th November 2009, 23:18
Glad it helped. You might sometimes find issues with the extraction and sync of subtitles though .... :devil:
Depends on the structure/authoring of the DVD.

olapanekala
29th November 2009, 23:20
Hi Buzzqw again.
I have found the reason for the problems i had with files processed with projectx (m2v/mp2). As you can see in file filename.m2v.avs which is created for the job the bitrate is -br 128 and not 128000 as it should (same problem with other bitrates thousands are missing). Tha is why i had problems with abr/cbr and not vbr.

Thank you again for excellent job. :thanks:

LoadPlugin("C:\utils\HDConvertToX\applications\BassAudio\BassAudio.dll")
LoadPlugin("C:\utils\HDConvertToX\filters\NicAudio.dll")
LoadPlugin("C:\utils\HDConvertToX\filters\SoundOut.dll")
Import("C:\utils\HDConvertToX\applications\BassAudio\audio_downmix.avsi")
NicMPG123Source("filename.mp2")
ConvertToMono()
Soundout(output="cmd",type=1,format=3,overwritefile="yes",autoclose=true,executable="C:\utils\HDConvertToX\applications\neroaacenc.exe",prefilename=" -if - -br 128 -ignorelength -of ",filename="C:\utils\HDConvertToX\job1\hdencodertox-pid1.mp4",nofilename=false,showoutput=false)
converttoyv12()

buzzqw
30th November 2009, 08:35
@Sharc @MvB @Crono141

usually these problem with dvd are due to bad "reauthor" of rippers.
dvdshrink is able to fix these errors

@olapanekala
thanks fixed in next update

BHH

buzzqw
30th November 2009, 08:46
@buzzqw
A minor issue:
When backing up from DVD to AVCHD (.m2ts), the language tag in the .meta for German (secondary language) is always missing for the audio and for the sup. I have to add it manually, like:

MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_02_1.h264", fps=25, insertSEI, contSPS
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid3.ac3", timeshift=0, lang=eng
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid4.ac3", timeshift=0, lang=ger
S_HDMV/PGS , "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.sup", fps=25, lang=ger

please post the make report.
HDC already search for "ger" in audio list, but seems missing it..
i need the exact string for german language

BHH

B00ne
30th November 2009, 10:35
Hi,

Regarding the Audio/Video synchronization issue: I got it fixed. Apparently I didnt use the reauthor feature of DVDshrink, using that fixed it.
However now I got a DVD which also has this "sound overlaps for xxxxx ms at xx:xx:xx" (Iget this info from demuxing with the index utility), but DVDshrink didnt fix it through reauthoring for some reason. But I got it fixed to by introducing the delay specified by the index utility in the mkvmerge cmdline.

With another DVD i have the same problem but worse. It has this sound overlaps issue at three different positions. DVDshrink didnt fix it and with mkvmerge I can only shift the whole sound file (afaik).

Do you have any idea how to work around this?

buzzqw
30th November 2009, 10:55
ripping with another program ?

BHH

Desaster Dan
30th November 2009, 18:29
Hi buzzqw,
tried to use HDconvertToX 2.2.522.3828 with Nvtools, using actual release (dgdecnv200b3).
I followed your desciption:

(Unzip the nvtools package (latest so far is NVbeta7.zip ). Put all unzipped file in \application folder , then copy the DGDecodeNV.dll into \filters folder.)

now whe i force HDconvertToX to use nvtools nothing happens. neither when i try do a compression test, nor a direct encoding.
I tried this with DVD material and Blue-Ray h264 and VC1.

Are ther any changes with the filenames?
Or is it just not compartible with the actual version of nvtools?


regards,
DD

Sharc
30th November 2009, 20:06
please post the make report.
HDC already search for "ger" in audio list, but seems missing it..
i need the exact string for german language

BHH

Here we go. I guess you would have to search not only for "ger" but for "de" and "Deutsch" as well.

HDConvertToX v.2.2.522.3828 report

Input File: f:\dvd movies\runaway_train\video_ts\vts_02_1.vob ( F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_0.IFO )
PGC : PGC 1. Length: 1:46:11:14 / chained=1
Codec Video: mpeg
Width / Heigh : 720 / 576
Framerate / Framecount: 25.000fps / 159275 frames
Duration(hh:mm:ss): 1:46:12
Aspect Ratio: 1.7778
Resized resolution: 720 / 576
Crop Values : 0:0:0:0
Activate: Anamorphic Resize
No Resize & Crop: On

Start Video Configuration ->
Encoding Settings: X264 avchd1 ; Quality= 17
Final Size: 17
Denoise Level: None
Video Handling: Force DG NVTools (license required)
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: Original
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]
*** 81: Deutsch (AC3 2ch, 0xBD 0x81) [0]
82: Francais (AC3 2ch, 0xBD 0x82) [0]
83: Espanol (AC3 2ch, 0xBD 0x83) [0]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
English 0 (0xBD 0x20) [0] wide
*** Deutsch 1 (0xBD 0x21) [0] wide
Francais 2 (0xBD 0x22) [0] wide
Italiano 3 (0xBD 0x23) [0] wide
Espanol 4 (0xBD 0x24) [0] wide
Nederlands 5 (0xBD 0x25) [0] wide
Svenska 6 (0xBD 0x26) [0] wide
Norsk 7 (0xBD 0x27) [0] wide
Dansk 8 (0xBD 0x28) [0] wide
Suomi 9 (0xBD 0x29) [0] wide
Portugues 10 (0xBD 0x2A) [0] wide
Polish 11 (0xBD 0x2B) [0] wide
Greek 12 (0xBD 0x2C) [0] wide
Czech(Ceske) 13 (0xBD 0x2D) [0] wide

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
-> End Advanced AviSynth
Start Muxing Options ->
<- End Muxing Options

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

"C:\Programme\Video\HDConvertToX\applications\CUVIDServer.exe"
"C:\Programme\Video\HDConvertToX\applications\DGMPGIndexNV.exe" -i "F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_1.vob","F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_2.vob","F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_3.vob","F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_4.vob","F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_5.vob","F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_6.vob","F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_7.vob" -f 2 -e -o "C:\Users\Movies\HDConvertToX\HDC-

WORKFOLDER\job1\movie.dgm"
"C:\Programme\Video\HDConvertToX\applications\eac3to.exe" "F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_1.vob"+"F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_2.vob"+"F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_3.vob"+"F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_4.vob"+"F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_5.vob"+"F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_6.vob"+"F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_7.vob" 3: "C:\Users\Movies\HDConvertToX\HDC-

WORKFOLDER\job1\hdencodertox-pid3.ac3" -no2ndpass
"C:\Programme\Video\HDConvertToX\applications\eac3to.exe" "F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_1.vob"+"F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_2.vob"+"F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_3.vob"+"F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_4.vob"+"F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_5.vob"+"F:\DVD

Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_6.vob"+"F:\DVD Movies\RUNAWAY_TRAIN\VIDEO_TS\VTS_02_7.vob" 4: "C:\Users\Movies\HDConvertToX\HDC-

WORKFOLDER\job1\hdencodertox-pid4.ac3" -no2ndpass
"C:\Programme\Video\HDConvertToX\applications\VSrip.exe" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.list"
java -jar "C:\Programme\Video\HDConvertToX\applications\BDSup2Sub.jar" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.idx"

"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.sup"
"C:\Programme\Video\HDConvertToX\applications\x264.exe" --crf 17 --preset medium --level 4.0 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --me umh --aud --vbv-

bufsize 14500 --vbv-maxrate 17500 --threads auto --thread-input --sar 64:45 --output "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1

\hdconverttox_vts_02_1.h264" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_02_1.avs"
"C:\Programme\Video\HDConvertToX\applications\tsMuxeR.exe" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_02_1.meta"

"C:\Users\Movies\HDConvertToX\hdconverttox_full_vts_02_1.avchd"

-> End Queue

AviSynth Script ->
Working with files: C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_02_1.avs
DGSource("C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\movie.dgm")
return last
-> End AviSynth Script

TSMuxer Script ->
MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_02_1.h264", fps=25, insertSEI, contSPS
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid3.ac3", timeshift=0, lang=eng
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid4.ac3", timeshift=0
S_HDMV/PGS , "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.sup", fps=25
-> End TSMuxer Script

buzzqw
1st December 2009, 08:17
@Desaster Dan

i have missed recent build of nvtools... i must check the documentation and see what were changed

@Sharc

thanks, please update HDC

BHH

buzzqw
1st December 2009, 10:28
update the title thread too..
this is the changelog from previus full version

>fixed recognition of "Deutsch" language
>fixed better rounding computing for ITU on NTSC DVD
>added support for .mov file (beta)
>fixed bitrate using neroaacenc
>fixed d2v parsing routines
>fixed multiple chapter times reported on .meta file
>fixed soundout.dll isn't more loaded in video avs file, only on audio processing
>fixed don't keep core audio of truehd/ac3 when muxing in m2ts
>fixed dvd to avchd subtitle muxing
>fixed analysis of mkv files
>fixed Force DirectShowSource in analysis of avi files
>fixed avs input
>added support for X264 at 64bit. Please put avs2yuv.exe and x264-64bit.exe in applications folder
>added hidden option in profile. "Bitrate=" will set bitrate.
>fixed assume propierties as previus file will delete audio and subs track list
>fixed better handling of shutdown on queue (2)
>fixed layout glitch when simply clicking on combo, some value changes
>fixed shutdown usage when not using queue
>added color control for width/height
>fixed shutdown use on queue
>fixed No Audio when encoding with WMV codec
>fixed minor glitch to make report
>added possibility to specify MT mode
>other minor corrections and cosmetic fixes

BHH

olapanekala
1st December 2009, 10:50
Bitrate issue fixed with m2v/mp2. Thanx again Buzzqw

MvB
1st December 2009, 19:03
AssumeFPS is now used instead of ChangeFPS.
But you have to write 23.976 instead of 23,976 i think, otherwise it won't work.
Are chapters and subs converted, too?

Anyway, Thank you very much for all the effort you put into this app! It's really great.

MvB

Mrsash
2nd December 2009, 07:53
I thought mkv does not accept Ac3 but will check.
thanks

Sorry I think I was thinking mp4.

anyway I muxed the Xvid/Ac3 to mkv file and gave it to HDC.

Analyse > problems analyzing input" then "please check media properties" then error

Script error: Invalid arguments to function "is RGB"
(F:\HDC....\analyse\error.avs, line 7)

the line its referring to in error.avs is

last = isRGB(last) ? ConvertToYV12(last) : last



Analysing the original Xvid/Ac3 worked fine

thanks

verbatim2
2nd December 2009, 08:05
Originally Posted by verbatim2
i set the de-interlace filter on "deinterlace" and now it works but hdc never mux the audio and h264 good (manually its perfect) the problem is: the hdc version plays 1min from the whole movie and thats it.
what do you mean by "the hdc version plays 1min from the whole movie and thats it." ?

BHH

well to show it
the hdc mux
(the movie is good but the audio is shocky)

(http://img14.imageshack.us/i/bspalyerhdc.jpg/)

mediainfo

General
Complete name : 27nov.mkv
Format : Matroska
File size : 4.78 GiB
Duration : 59mn 3s
Overall bit rate : 11.6 Mbps
Movie name : Done with HDConvertToX v.2.2.522.3828
Encoded date : UTC 2009-11-27 16:45:04
Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@5.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 59mn 4s
Bit rate : 10.7 Mbps
Nominal bit rate : 11.0 Mbps
Width : 1 916 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Frame rate : 1 387.347 fps
Original frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.004
Stream size : 4.43 GiB (93%)
Writing library : x264 core 76 r1271 496d79d
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.0:0.0 /

mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 /

decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40

/ rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=10954 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 /

qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 59mn 3s
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 270 MiB (6%)
Language : English

Menu
00:00:00.000 : en:00:00:00.000
00:10:39.072 : en:00:10:39.072
00:22:27.046 : en:00:22:27.046
00:29:57.496 : en:00:29:57.496
00:38:43.655 : en:00:38:43.655
00:49:13.484 : en:00:49:13.484




my own mux

[IMG]http://img689.imageshack.us/img689/3236/mymux.th.jpg (http://img689.imageshack.us/i/mymux.jpg/)

Media Info

General
Complete name : Episode 2.mkv
Format : Matroska
File size : 4.78 GiB
Duration : 59mn 3s
Overall bit rate : 11.6 Mbps
Encoded date : UTC 2009-11-27 17:18:56
Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@5.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 59mn 0s
Bit rate : 10.7 Mbps
Nominal bit rate : 11.0 Mbps
Width : 1 916 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.174
Stream size : 4.42 GiB (92%)
Writing library : x264 core 76 r1271 496d79d
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.0:0.0 /

mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 /

decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40

/ rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=10954 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 /

qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 59mn 3s
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 270 MiB (6%)
Language : English


btw when i set the size in mb on "5000mb" i get as output "4.88GB"? i thought convert it to bytes so i tried 6GB = 6142mb and as output 5.88GB? how can i fix it to get the correct size for mkv and avi?

buzzqw
2nd December 2009, 08:29
@MvB

thanks again ,please update HDC

@Mrsash

what version of avisynth have you installed ?

@verbatim2

Bit rate : 10.7 Mbps

so you want to use more bitrate ?

IMHO you have reached the qpmin value, 10.
if you want more bitrate you should manually add to command line --qpmin 2

OR i can suggest to try a crf profile. with a value of 16 or lower

BHH

verbatim2
2nd December 2009, 08:47
@MvB

thanks again ,please update HDC

@Mrsash

what version of avisynth have you installed ?

@verbatim2

Bit rate : 10.7 Mbps

so you want to use more bitrate ?

IMHO you have reached the qpmin value, 10.
if you want more bitrate you should manually add to command line --qpmin 2

OR i can suggest to try a crf profile. with a value of 16 or lower

BHH

The bitrate is not so important but thank now i know that too.

so like this

prompt $d $t $_$P$G

"J:\Downloads\hdconvert n\applications\eac3to.exe" "k:\downloads\south pacific\disc2\bdmv\stream\00006.m2ts" 2:"J:\Downloads\hdconvert n\job1\hdconverttox.h264"
"J:\Downloads\hdconvert n\applications\DGAVCIndex.exe" -i "J:\Downloads\hdconvert n\job1\hdconverttox.h264" -o "J:\Downloads\hdconvert n\job1\movie.dga" -f 0 -e
"J:\Downloads\hdconvert n\applications\eac3to.exe" "k:\downloads\south pacific\disc2\bdmv\stream\00006.m2ts" 4:"J:\Downloads\hdconvert n\job1\hdencodertox__subs_4.sup"
"J:\Downloads\hdconvert n\applications\eac3to.exe" "k:\downloads\south pacific\disc2\bdmv\stream\00006.m2ts" 3: "J:\Downloads\hdconvert n\job1\hdencodertox-pid3.ac3" -normalize -640
java -jar "J:\Downloads\hdconvert n\applications\BDSup2Sub.jar" "J:\Downloads\hdconvert n\job1\hdencodertox__subs_4.sup" "J:\Downloads\hdconvert n\job1\hdencodertox__subs_4.idx" /res:1080p
"J:\Downloads\hdconvert n\applications\x264.exe" --pass 1 --bitrate 11025 --preset slow --threads auto --thread-input --sar 1:1 --output "J:\Downloads\hdconvert n\job1\hdconverttox_00006.h264" "J:\Downloads\hdconvert n\job1\hdconverttox_00006.avs"
"J:\Downloads\hdconvert n\applications\x264.exe" --pass 2 --bitrate 11025 --preset slow --threads auto --thread-input --sar 1:1 --output "J:\Downloads\hdconvert n\job1\hdconverttox_00006.h264" "J:\Downloads\hdconvert n\job1\hdconverttox_00006.avs"
"J:\Downloads\hdconvert n\applications\eac3to.exe" "k:\downloads\south pacific\disc2\bdmv\stream\00006.m2ts" 1:"J:\Downloads\hdconvert n\job1\chapters.txt"
"J:\Downloads\hdconvert n\applications\mkvmerge.exe" -o "K:\Downloads\south pacific\disc2\BDMV\STREAM\afl6.MKV" --default-duration 0:1387.347fps "J:\Downloads\hdconvert n\job1\hdconverttox_00006.h264"
--language -1:eng "J:\Downloads\hdconvert n\job1\hdencodertox-pid3.ac3" --default-track -1:no --language -1:eng

"J:\Downloads\hdconvert n\job1\hdencodertox__subs_4.idx" --chapters "J:\Downloads\hdconvert n\job1\chapters.txt" --title "Done with HDConvertToX v.2.2.522.3828"
--qpmin 2



But it was just for example, like when i set "5000 mb as output size i get 4.78GB? what i need to do to get exactly 5000mb?

i tried to put the output size in bytes but doesnt work too
"5120mb" i get 4.86GB....

buzzqw
2nd December 2009, 08:57
you must edit the x264 command line

"J:\Downloads\hdconvert n\applications\x264.exe" --pass 1 --qpmin 2 --bitrate 11025 --preset slow --threads auto --thread-input --sar 1:1 --output "J:\Downloads\hdconvert n\job1\hdconverttox_00006.h264" "J:\Downloads\hdconvert n\job1\hdconverttox_00006.avs"
"J:\Downloads\hdconvert n\applications\x264.exe" --pass 2 --qpmin 2 --bitrate 11025 --preset slow --threads auto --thread-input --sar 1:1 --output "J:\Downloads\hdconvert n\job1\hdconverttox_00006.h264" "J:\Downloads\hdconvert n\job1\hdconverttox_00006.avs"

x264 quality can go from 0 (lossless) to 51 (ugly block), with 18 usually mean transparent quality as source
x264 will by default CAP the quantitizer from 10 to 51, so.. if you use a bitrate that will trigger quality below 10, it will maximized at 10, and not all bitrate will be used.

that's why i suggest to encode in CRF mode, in that way x264 will use any bitrate needed to get the quality you set on crf

BHH

harycover
2nd December 2009, 13:21
Thanks buzzqw for this great app, really

I think it's the most advanced mpeg4 encoder gui to date

I have one request though, x264 encoding speed is disappointing compared to others apps, using exactly the same encoding settings, I 'm running windows seven 64bits with an I7 core and 12GB ram, I set up x264-64bit.exe and avs2yuv.exe in the app folder, but somehow x264 only uses half computing power of my cpu (about 50%) I don't know if this is a multithread issue but anyhow the fps number is halfway what I get with ripbotx264 for example, for the same video using the same encoding settings (ripbot manages to use 100% of my cpu ressources wile encoding the video part)

I'm not advanced enough to tell where the problem is, I tried changing the x264 thread value from "auto" to "8" in the queue.bat but ended up with the same results

If you can fix this I would be grateful (I mean even more :) )

Thanks

buzzqw
2nd December 2009, 14:15
Do ripbot use avs2yuv for accessing x264 64bit ?

ave you checked the Avisynth MT ? (but you must use the avisynth mt version)

also: be sure the avisynth script is exacly the same...

BHH

Betsy25
2nd December 2009, 15:45
When trying to update it says

Update Found!
2.2.526.3840
>fixed 23,976 instead of 23.976

But after downloading & restarting, it's still the v3836 and the update comes back over and over when looking for an update.

buzzqw
2nd December 2009, 15:56
:confused:

i have reuploaded hdc...

maybe a broken / borked upload

BHH

harycover
2nd December 2009, 16:16
Do ripbot use avs2yuv for accessing x264 64bit ?

ave you checked the Avisynth MT ? (but you must use the avisynth mt version)

also: be sure the avisynth script is exacly the same...

BHH

Yes ripbot also uses avs2yuv for accessing x264

And Yes I checked avisynth MT (after installing avisynth multithread version) and it's working

now for avisynth script I have no clue, I may check this later, I think if you or some expert here can compare the encoding processes you may find what's going on much faster than me, I noticed that with ripbot after 10-20 seconds at 50% the avs2yuv+x264 processes raises to 100% while doubling their memory usage and stays at 90-100% for the rest of the time

I was mainly pointing out that x264 encoding in HDConverToX uses only half power of a 4core cpu, and since it's a very popular codec... it may be interesting to find out why

Thanks again anyway :)

MvB
2nd December 2009, 16:32
@buzzqw

I, i think i found a bug.

Just ripped iron man pal dvd, activated german and english audio in hdc and added the job to the queue.
look what hdc created:
"C:\hdconverttox\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[k:\video_ts\vts_01_1.vob] -OF=[C:\hdconverttox\job4\movie] -exit -minimize
"C:\hdconverttox\applications\eac3to.exe" "K:\VIDEO_TS\VTS_01_1.vob"+"K:\VIDEO_TS\VTS_01_2.vob"+"K:\VIDEO_TS\VTS_01_3.vob"+"K:\VIDEO_TS\VTS_01_4.vob"+"K:\VIDEO_TS\VTS_01_5.vob"+"K:\VIDEO_TS\VTS_01_6.vob" 3: stdout.wav -normalize -slowdown | "C:\hdconverttox\applications\neroaacenc.exe" -if - -q 0.4 -ignorelength -of "C:\hdconverttox\job4\hdencodertox-pid3.mp4"
"C:\hdconverttox\applications\eac3to.exe" "K:\VIDEO_TS\VTS_01_1.vob"+"K:\VIDEO_TS\VTS_01_2.vob"+"K:\VIDEO_TS\VTS_01_3.vob"+"K:\VIDEO_TS\VTS_01_4.vob"+"K:\VIDEO_TS\VTS_01_5.vob"+"K:\VIDEO_TS\VTS_01_6.vob" 4: stdout.wav -normalize -slowdown | "C:\hdconverttox\applications\neroaacenc.exe" -if - -q 0.4 -ignorelength -of "C:\hdconverttox\job4\hdencodertox-pid4.mp4"
"C:\hdconverttox\applications\VSrip.exe" "C:\hdconverttox\job4\hdc_subs.list"
"C:\hdconverttox\applications\x264.exe" --crf 18 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --threads auto --thread-input --tune film --sar 64:45 --output "C:\hdconverttox\job4\hdconverttox_vts_01_1.h264" "C:\hdconverttox\job4\hdconverttox_vts_01_1.avs"
"C:\hdconverttox\applications\Chapter\ChapterXtractor.exe" "K:\VIDEO_TS\VTS_01_0.IFO" "C:\hdconverttox\job4\chapters.txt" -p5
c:\windows\conv.bat job4 rem inserted by me
"C:\hdconverttox\applications\mkvmerge.exe" -o "D:\dvdmovies\Iron_Man.MKV" --default-duration 0:23.976fps --aspect-ratio -1:1.777778 "C:\hdconverttox\job4\hdconverttox_vts_01_1.h264" --language -1:deu "C:\hdconverttox\job4\hdencodertox-pid3.mp4" --default-track -1:no "C:\hdconverttox\job4\hdc_subs.idx" --chapters "C:\hdconverttox\job4\chapters.txt" --title "Done with HDConvertToX v.2.2.522.3828"


I had this same problem with another dvd, too.
hdc extracts both autdio streams but forgets to mux one of them. Manual remux works.

Thanks
MvB

harycover
2nd December 2009, 16:33
Here are the scripts ripbot generated, there is not much in it :

the one called "getframe.avs"

DirectShowSource("I:\bighdvideo.mkv",audio=false).ConvertToYV12()
ConvertToRGB32.ImageWriter("I:\Temp\RipBot264temp\job1\", 6246, 6246, "bmp").Trim(6246,-1)

and the one called "job1.avs"

#MT


#VideoSource

video=DirectShowSource("I:\bighdvideo.mkv",audio=false).ConvertToYV12()

#Deinterlace



#Decimate



#Crop



#Resize
video=Spline36Resize(video,848,360).Sharpen(0.2)


#Colors



#Denoise




#Subtitles



#AudioSource



#DownMix



#Delay



#Tempo



#Normalize



#AudioDub



#Triming



#AVSameLength



#ColorSpace

return video

buzzqw
2nd December 2009, 16:38
now post the script of hdc

BHH

harycover
2nd December 2009, 16:47
now post the script of hdc

BHH

ok :) (I thought I had to reencode to have the script but I was wrong)

#HDConvertToX Avisynth Script
#
#Input File = i:\bighdvideo.mkv
#Original Resolution = 1920x812
#Aspect Ratio = 2.3645
#Frame rate =23.976
#Number of Frames = 340448
#Lenght (hour:minutes:seconds) = 3:56:40
#Display Aspect Ratio = 2.3645
#Aspect Error = 0.0365
#
#Resized resolution = 832 / 352
#Crop Left = 0
#Crop Top = 0
#Crop Right = 0
#Crop Bottom = 0
#
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\AddGrain.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\AddGrainC.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\asharp.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\autocrop.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\Average.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\avss.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\ColorMatrix.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\deblock.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\Decomb.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\deen.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\degrainmedian.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\dfttest.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DGAVCDecode.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DGDecode.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DirectShowSource.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\EEDI2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\ffms2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\FFT3DFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\FluxSmooth.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\frfun7.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\gradfun2db.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\GrainOpt.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\hqdn3d.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\MSharpen.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mt_masktools-26.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mvtools.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mvtools2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\NicAudio.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\nnedi.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RemoveDirtS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RemoveGrainS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RepairS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\SangNom.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TBilateral.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TDeint.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TIVTC.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TTempSmooth.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\UnDot.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\UnFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\VSFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\yadifmod.dll")

Import("H:\HDConvertToX_2.2.492.3692\filters\BlindDeHalo3_mt2.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Deblock_QED_MT2.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\GradFun2DBmod.v1.3.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Lem.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\LSFmod.v1.8.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\MCTemporalDenoise.v1.3.09.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_3_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_5_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_7_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_9_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\seesaw.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\SoftSharpen.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\spresso.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Srestore.avsi")

#Enabling MT
SetMemoryMax(512)
SetMTMode(8,0)

#Source File
SetMTMode(5,0)
AVCSource("H:\HDConvertToX_2.2.492.3692\job1\movie.dga")
SetMTMode(8,0)


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

#Insert Filters As Requested

distributor()

harycover
2nd December 2009, 16:52
Here are both command lines :

ripbot (video encode line I guess)

"H:\RipBot264\tools\avs2yuv\pipebuf.exe" "H:\RipBot264\tools\avs2yuv\avs2yuv.exe" "I:\Temp\RipBot264temp\job1\job1.avs" -raw - : "H:\RipBot264\tools\x264\x264_x64.exe" --crf 22 --stats "I:\Temp\RipBot264temp\job1\job1.stats" --fps 24000/1001 --min-keyint 24 --keyint 240 --frames 340447 --sar 1:1 --level 4.0 --aud --nal-hrd --vbv-bufsize 25000 --vbv-maxrate 25000 --filter 0,0 --ref 3 --bframes 3 --b-adapt 1 --direct auto --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output "I:\Temp\RipBot264temp\video.264" - 848x360 : 2

HDConverToX :

"H:\HDConvertToX_2.2.492.3692\applications\avs2yuv.exe" "H:\HDConvertToX_2.2.492.3692\job1\hdconverttox_bighdvideo.avs" -raw - | "H:\HDConvertToX_2.2.492.3692\applications\x264-64bit.exe" - --crf 22 --preset slow --threads auto --thread-input --sar 1:1 --output "H:\HDConvertToX_2.2.492.3692\job1\hdconverttox_bighdvideo.h264" 832x352

buzzqw
2nd December 2009, 16:54
@MvB

please post the make report, thanks

BHH

buzzqw
2nd December 2009, 16:56
@harycover

different decoder! (and HDC x264 preset is slower than one used in RipBot)

in HDC try , in Source File Info "Force DirectSHowDecoder" :)

BHH

harycover
2nd December 2009, 16:59
Ok, thanks !

I'll try and let you know, will do it tonight or tomorrow, hope it works because I really like your app ;)

MvB
2nd December 2009, 17:13
@MvB

please post the make report, thanks

BHH

Hi Buzzqw,

Sorry, updated hdc in the meantime. I could post the queue.bat, if you like. Is it in any way possible that hdc extracts 2 audiostreams and only muxes one of them?

buzzqw
2nd December 2009, 17:32
@MvB

this kind of error is possible (and is due to chained vobs)

could you try to rip in one big vob (plus ifo..) and retry ?

no need to encoding just add to queue

anyway: please post the make report (do it with most current version of hdc)

BHH

MvB
2nd December 2009, 17:53
@MvB

this kind of error is possible (and is due to chained vobs)

could you try to rip in one big vob (plus ifo..) and retry ?

no need to encoding just add to queue

anyway: please post the make report (do it with most current version of hdc)

BHH

I make this report when i encouter the probleme again.
hdc does it correct with that dvd alone in the queue.


Thanks
MvB

harycover
2nd December 2009, 18:07
Unfortunately when I select "force directshow" or "force directshow 2" I have a windows message saying "avs2yuv.exe stopped working" and the conversion stops

Here's the report

- System

- Provider

[ Name] Application Error

- EventID 1000

[ Qualifiers] 0

Level 2

Task 100

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2009-12-02T17:05:50.000000000Z

EventRecordID 13337

Channel Application

Computer Phoenix-PC

Security


- EventData

avs2yuv.exe
0.0.0.0
4228f465
unknown
0.0.0.0
00000000
c0000005
04697989
1264
01ca7371b26415fc
H:\HDConvertToX_2.2.492.3692\applications\avs2yuv.exe
unknown
f074784f-df64-11de-82b1-0024215f19ed

buzzqw
2nd December 2009, 19:35
@MvB

thanks, i will wait any future reports

@harycover

please try opening the hdconverttox...avs in virtualdub

got errors ?

also.. try disabling avisynth MT while forcing dss

BHH

Mrsash
2nd December 2009, 20:54
@MvB

thanks again ,please update HDC

@Mrsash

what version of avisynth have you installed ?

@verbatim2

Bit rate : 10.7 Mbps

so you want to use more bitrate ?

IMHO you have reached the qpmin value, 10.
if you want more bitrate you should manually add to command line --qpmin 2

OR i can suggest to try a crf profile. with a value of 16 or lower

BHH

As fare as I know 2.5.8

harycover
2nd December 2009, 21:18
also.. try disabling avisynth MT while forcing dss

BHH


:thanks: it's working now, and the fps raised from 30 to 55 for the same encoding job :D

Not to mention there is no video stream copying going on before the encoding process and no indexation needed anymore, a great gain of time !

thanks again ;)

Mrsash
3rd December 2009, 03:07
Ok I set Xvid in ffdshow from disabled to xvid and it analysed it fine. Can I ask why does it not read with xvid codec? Why do I have to use xvid from ffdshow? considering the xvid codec installed is working fine. The one I have installed is on the main page for this thread.
thanks

buzzqw
3rd December 2009, 08:28
@harycover

:goodpost:

@Mrsash
The analysis of input file is based on directshowsource. You need a working directshow decoder.

BHH

Tiberiust
3rd December 2009, 08:59
@harycover

Tks for the informative discussion...

And so you now have all 8 cores running at 100pct when encoding?

tks

T

PS I'm building an i7 system right now...

buzzqw
3rd December 2009, 10:04
@all

this is a new BETA of hdc http://www.64k.it/andres/data/hdconverttox/HDConvertToX-beta.exe

this new beta will change the default processing for video files with AVC/H264 codec.

previously HDC will demux h264 and then index it with dgavcdec

NOW HDC will mux only the video track into MKV, then process it with DSS

thanks for any test!

BHH

harycover
3rd December 2009, 16:50
@Tiberiust

Yes, my i7 920 is overclocked at 3,7ghz, it's running at 90-100% and since encoding is running at low priority it's not slowing down my pc

@buzzqw

Thanks for the new beta, I'll test it as soon as I can :)

harycover
3rd December 2009, 17:50
Hi buzzqw

The new beta simply doesn't work for me, while the "normal" one still do, the command window just terminate itself very quickly after less than a second with the beta, for the same exact settings, here are the avs and the queue, I used force directshowsource for both

hdconverttox_bighdvideo(Normal).avs

#HDConvertToX Avisynth Script
#
#Input File = i:\extracted\bighdvideo.mkv
#Original Resolution = 1920x812
#Aspect Ratio = 2.3645
#Frame rate =23.976
#Number of Frames = 340448
#Lenght (hour:minutes:seconds) = 3:56:40
#Display Aspect Ratio = 2.3645
#Aspect Error = 0.0365
#
#Resized resolution = 832 / 352
#Crop Left = 0
#Crop Top = 0
#Crop Right = 0
#Crop Bottom = 0
#
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\AddGrain.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\AddGrainC.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\asharp.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\autocrop.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\Average.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\avss.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\ColorMatrix.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\deblock.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\Decomb.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\deen.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\degrainmedian.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\dfttest.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DGAVCDecode.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DGDecode.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DirectShowSource.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\EEDI2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\ffms2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\FFT3DFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\FluxSmooth.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\frfun7.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\gradfun2db.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\GrainOpt.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\hqdn3d.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\MSharpen.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mt_masktools-26.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mvtools.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mvtools2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\NicAudio.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\nnedi.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RemoveDirtS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RemoveGrainS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RepairS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\SangNom.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TBilateral.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TDeint.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TIVTC.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TTempSmooth.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\UnDot.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\UnFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\VSFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\yadifmod.dll")

Import("H:\HDConvertToX_2.2.492.3692\filters\BlindDeHalo3_mt2.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Deblock_QED_MT2.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\GradFun2DBmod.v1.3.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Lem.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\LSFmod.v1.8.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\MCTemporalDenoise.v1.3.09.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_3_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_5_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_7_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_9_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\seesaw.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\SoftSharpen.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\spresso.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Srestore.avsi")
#Source File
directshowsource("i:\extracted\bighdvideo.mkv",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last


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

#Insert Filters As Requested



hdconverttox_bighdvideo(Beta).avs

#HDConvertToX Avisynth Script
#
#Input File = i:\extracted\bighdvideo.mkv
#Original Resolution = 1920x812
#Aspect Ratio = 2.3645
#Frame rate =23.976
#Number of Frames = 340448
#Lenght (hour:minutes:seconds) = 3:56:40
#Display Aspect Ratio = 2.3645
#Aspect Error = 0.0365
#
#Resized resolution = 832 / 352
#Crop Left = 0
#Crop Top = 0
#Crop Right = 0
#Crop Bottom = 0
#
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\AddGrain.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\AddGrainC.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\asharp.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\autocrop.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\Average.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\avss.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\ColorMatrix.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\deblock.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\Decomb.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\deen.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\degrainmedian.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\dfttest.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DGAVCDecode.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DGDecode.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\DirectShowSource.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\EEDI2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\ffms2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\FFT3DFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\FluxSmooth.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\frfun7.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\gradfun2db.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\GrainOpt.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\hqdn3d.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\MSharpen.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mt_masktools-26.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mvtools.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\mvtools2.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\NicAudio.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\nnedi.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RemoveDirtS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RemoveGrainS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\RepairS.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\SangNom.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TBilateral.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TDeint.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TIVTC.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\TTempSmooth.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\UnDot.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\UnFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\VSFilter.dll")
LoadPlugin("H:\HDConvertToX_2.2.492.3692\filters\yadifmod.dll")

Import("H:\HDConvertToX_2.2.492.3692\filters\BlindDeHalo3_mt2.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Deblock_QED_MT2.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\GradFun2DBmod.v1.3.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Lem.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\LSFmod.v1.8.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\MCTemporalDenoise.v1.3.09.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_3_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_5_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_7_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\QMLF_9_motions.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\seesaw.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\SoftSharpen.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\spresso.avsi")
Import("H:\HDConvertToX_2.2.492.3692\filters\Srestore.avsi")
#Source File
directshowsource("H:\HDConvertToX_2.2.492.3692\job1\hdconverttox.mkv",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last


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

#Insert Filters As Requested



Queue.bat (normal)


prompt $d $t $_$P$G

"H:\HDConvertToX_2.2.492.3692\applications\avs2yuv.exe" "H:\HDConvertToX_2.2.492.3692\job3\hdconverttox_bighdvideo.avs" -raw - | "H:\HDConvertToX_2.2.492.3692\applications\x264-64bit.exe" - --crf 22 --preset slow --threads auto --thread-input --sar 1:1 --output "H:\HDConvertToX_2.2.492.3692\job3\hdconverttox_bighdvideo.h264" 832x352
"H:\HDConvertToX_2.2.492.3692\applications\mkvmerge.exe" -o "I:\extracted\dww4.mkv" --default-duration 0:23.976fps "H:\HDConvertToX_2.2.492.3692\job3\hdconverttox_bighdvideo.h264" --title "test"


Queue.bat (beta)


prompt $d $t $_$P$G

"H:\HDConvertToX_2.2.492.3692\applications\avs2yuv.exe" "H:\HDConvertToX_2.2.492.3692\job1\hdconverttox_bighdvideo.avs" -raw - | "H:\HDConvertToX_2.2.492.3692\applications\x264-64bit.exe" - --crf 22 --preset slow --threads auto --thread-input --sar 1:1 --output "H:\HDConvertToX_2.2.492.3692\job1\hdconverttox_bighdvideo.h264" 832x352
"H:\HDConvertToX_2.2.492.3692\applications\mkvmerge.exe" -o "H:\movies\dww4.mkv" --default-duration 0:23.976fps "H:\HDConvertToX_2.2.492.3692\job1\hdconverttox_bighdvideo.h264" --title "test"


I think the path it uses for the video is wrong

#Source File
directshowsource("H:\HDConvertToX_2.2.492.3692\job1\hdconverttox.mkv",audio=false)

Because the video is still on I:\ drive, not on hdc job folder

buzzqw
3rd December 2009, 19:54
post the make report...

BHH

harycover
3rd December 2009, 23:24
what is the "make report" ?

Mrsash
4th December 2009, 00:23
@harycover

The analysis of input file is based on directshowsource. You need a working directshow decoder.

BHH

If this is a Xvid file then I need xvid codec right. I have it installed. Sorry I am not sure what I should check?

Also I muxed the xvid to mkv and then encoded it. IT created the mkv video file but the video was jerky. Reencoded with xvid itself does not create a mkv file but th resulting video had no jerkyness but I had to mux myself and it was out of sync which I had to manually sync. Not sure what I am doing worng.
thanks

Sharc
5th December 2009, 11:28
@buzzqw
When I add a free AVS string, the compression test does no longer 'select every(x,y)' but encodes the full clip.
The same happens when I play the script in MPC-HC. The full clip is played.
When I remove the free AVS string in 'hdconverttox_vts_01_1.avs', the compression test works correctly.

Here the report (the critical entry in blue):
HDConvertToX v.2.2.526.3840 report

Input File: f:\dvd movies\todesmelodie\video_ts\vts_01_1.vob ( F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_0.IFO )
PGC : PGC 1. Length: 2:30:30:13 / chained=1
Codec Video: mpeg
Width / Heigh : 720 / 576
Framerate / Framecount: 25.000fps / 225750 frames
Duration(hh:mm:ss): 2:30:31
Aspect Ratio: 1.7778
Resized resolution: 720 / 576
Crop Values : 10:74:6:70
Activate: Anamorphic Resize
No Resize & Crop: On

Start Video Configuration ->
Encoding Settings: X264 avchd1 ; Quality= 17
Final Size: 17
Denoise Level: None
Video Handling: Force DG NVTools (license required)
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: Original
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]
*** 81: Deutsch (AC3 6ch, 0xBD 0x81) [0]
82: Espanol (AC3 6ch, 0xBD 0x82) [0]
83: Polish (AC3 2ch, 0xBD 0x83) [0]
84: English (AC3 2ch, 0xBD 0x84) [0]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
English 0 (0xBD 0x20) [0] wide
*** Deutsch 1 (0xBD 0x21) [0] wide
Espanol 2 (0xBD 0x22) [0] wide
Svenska 3 (0xBD 0x23) [0] wide
Suomi 4 (0xBD 0x24) [0] wide
Norsk 5 (0xBD 0x25) [0] wide
Dansk 6 (0xBD 0x26) [0] wide
Portugues 7 (0xBD 0x27) [0] wide
Greek 8 (0xBD 0x28) [0] wide
Slovak 9 (0xBD 0x29) [0] wide
Hrvatski 10 (0xBD 0x2A) [0] wide
English 11 (0xBD 0x2B) [0] wide
Deutsch 12 (0xBD 0x2C) [0] wide
Espanol 13 (0xBD 0x2D) [0] wide
Deutsch 14 (0xBD 0x2E) [0] wide
Espanol 15 (0xBD 0x2F) [0] wide

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
FreeAVS String: Sharpen(0.1)
-> End Advanced AviSynth
Start Muxing Options ->
<- End Muxing Options

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

"C:\Programme\Video\HDConvertToX\applications\CUVIDServer.exe"
"C:\Programme\Video\HDConvertToX\applications\DGMPGIndexNV.exe" -i "F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_1.vob","F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_2.vob","F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_3.vob","F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_4.vob","F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_5.vob","F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_6.vob","F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_7.vob","F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_8.vob" -f 2 -e

-o "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\movie.dgm"
"C:\Programme\Video\HDConvertToX\applications\eac3to.exe" "F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_1.vob"+"F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_2.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_3.vob"+"F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_4.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_5.vob"+"F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_6.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_7.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_8.vob" 3:

"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid3.ac3" -no2ndpass
"C:\Programme\Video\HDConvertToX\applications\eac3to.exe" "F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_1.vob"+"F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_2.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_3.vob"+"F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_4.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_5.vob"+"F:\DVD

Movies\TODESMELODIE\VIDEO_TS\VTS_01_6.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_7.vob"+"F:\DVD Movies\TODESMELODIE\VIDEO_TS\VTS_01_8.vob" 4:

"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid4.ac3" -no2ndpass
"C:\Programme\Video\HDConvertToX\applications\VSrip.exe" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.list"
java -jar "C:\Programme\Video\HDConvertToX\applications\BDSup2Sub.jar" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.idx"

"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.sup"
"C:\Programme\Video\HDConvertToX\applications\x264.exe" --crf 17 --preset medium --level 4.0 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --me umh --aud --vbv-bufsize 14500 --

vbv-maxrate 17500 --threads auto --thread-input --sar 64:45 --output "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_01_1.h264"

"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_01_1.avs"
"C:\Programme\Video\HDConvertToX\applications\tsMuxeR.exe" "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_01_1.meta"

"C:\Users\Movies\HDConvertToX\hdconverttox_full_vts_01_1.avchd"

-> End Queue

AviSynth Script ->
Working with files: C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_01_1.avs
DGSource("C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\movie.dgm")
Sharpen(0.1)
return last
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
-> End AviSynth Script

TSMuxer Script ->
MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_01_1.h264", fps=25, insertSEI, contSPS
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid3.ac3", timeshift=0, lang=eng
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid4.ac3", timeshift=0, lang=ger
S_HDMV/PGS , "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.sup", fps=25
-> End TSMuxer Script



Secondly, the German language tag for the Subtitles is not included in the .meta. I imagine the problem is the same as it was before for the audio. One would need to search the list for ger, deu, Deutsch in order to catch it.

olapanekala
7th December 2009, 11:27
Hi to all again.

Is there a way to use xvid ecnoder 1.2.2 instead of 1.2.1 included in the pack? I tried replacing xvidcore.dll with no luck.

Thnx

****UPDATE (SOLVED) ****
Changed also c:/windows/system32/xvidcore.dll