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

txporter
16th November 2009, 15:50
Is it possible to force WMA 9.2 audio with VC-1 conversions rather than 10 pro?

txporter
16th November 2009, 17:28
Is it possible to force WMA 9.2 audio with VC-1 conversions rather than 10 pro?

Think I figured it out. '-a_codec WMASTD' should do what I want, but I also appears to like it should already be default. It took a while to figure out what the presets were defined as in HDC (better, best, insane, etc) but I see that those are actually built right into the WMCMD.vbs file.

Thanks for the great app. If this works, it is the easiest way that I have found to hardcode subs/srt into VC-1 files to serve to my TivoHD.

seplant
17th November 2009, 02:39
@Sharc

please download the hdc update

@flebber
if your source is an mpeg2 file (audio+video) it must have .mpeg extension
m2v is for VIDEO only file

@seplant

you have selected a too little final size... that's way bitrate is negative..

@jsbenson
fixed

@ziemlichdunkel
first pass is already turbo

about thread... added the auto

@whipdancer
sorry pal... i cannot debug any wmcmd error

@jsbenson
should be fixed don't keep core audio of truehd/ac3 when muxing in m2ts

@ALL
this is a busy period

sorry for delay in answer and developing

BHH

buzzqw,

SUCCESS!!! I finally got it to work for me by using flebber's advice to use CRF encoding with a value of 18, but the file I get is about one-fourth the size of the original, so I would think I'm compromising on picture quality. Can you or someone explain what CRF is and what is the best value to maximize picture quality? I'm not concerned about file size. :thanks:

txporter
17th November 2009, 02:45
Think I figured it out. '-a_codec WMASTD' should do what I want, but I also appears to like it should already be default. It took a while to figure out what the presets were defined as in HDC (better, best, insane, etc) but I see that those are actually built right into the WMCMD.vbs file.

Thanks for the great app. If this works, it is the easiest way that I have found to hardcode subs/srt into VC-1 files to serve to my TivoHD.

Hmm...I tried this and it doesn't accept -a_codec WMASTD or -a_codec WMA9STD in the AVS free string. I also tried simply changingthe wmapro entry in the queue to wmastd. It appears to pass it along when the encoding occurs, but checking the final file with MediaInfo still shows WMAPro as the codec. I can output the correct format if I used the Windows Media Encoder GUI, but I would really like to hardcode subs into the stream. I tried to dig through the WMCMD.vbs code, but I don't know where to make the changes there to force WMASTD (even all the time would be fine). Anyone?

buzzqw
17th November 2009, 07:58
@txporter

you cannot edit it.. it's inside the hdc code

the main reason because i don't allow editing audio profile is due to many and more errors it can trigger.. using a wrong combination of bitrate and channels

i update the hdc build (redownload it)
the 11 profile is now using wmastd
so feel free to edit the 11' row of HDConvertToX_profile.txt to your need .. like
WMV;11;Codec WVC1 good
HDC will use wmastd for the 11 profile, and only for the 11'

BHH

flebber
17th November 2009, 13:53
buzzqw,

SUCCESS!!! I finally got it to work for me by using flebber's advice to use CRF encoding with a value of 18, but the file I get is about one-fourth the size of the original, so I would think I'm compromising on picture quality. Can you or someone explain what CRF is and what is the best value to maximize picture quality? I'm not concerned about file size. :thanks:

There is a good explanation of CRF here http://mewiki.project357.com/wiki/X264_Settings#crf. Actually this page contains a lot of good info. Hope it helps:)

txporter
17th November 2009, 13:57
@txporter

you cannot edit it.. it's inside the hdc code

the main reason because i don't allow editing audio profile is due to many and more errors it can trigger.. using a wrong combination of bitrate and channels

i update the hdc build (redownload it)
the 11 profile is now using wmastd
so feel free to edit the 11' row of HDConvertToX_profile.txt to your need .. like
WMV;11;Codec WVC1 good
HDC will use wmastd for the 11 profile, and only for the 11'

BHH

Thanks, Buzz. I will give it a spin. :thanks:

Update: I tried encoding a clip with profile 11. The string does change in the queue to encode the audio as WMASTD rather than WMAPRO, but I still get PRO audio in the final encode.

Here is the queue.bat:
prompt $d $t $_$P$G

"I:\HDConvertToX_2.2.492.3692\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[i:\temp\rescue_clip.mpg] -OF=[I:\HDConvertToX_2.2.492.3692\job1\movie] -exit -minimize
"I:\HDConvertToX_2.2.492.3692\applications\eac3to.exe" "i:\temp\rescue_clip.mpg" 3:"I:\HDConvertToX_2.2.492.3692\job1\hdencodertox__subs_3.srt"
"I:\HDConvertToX_2.2.492.3692\applications\eac3to.exe" "i:\temp\rescue_clip.mpg" 2: "I:\HDConvertToX_2.2.492.3692\job1\hdencodertox-pid2.ac3"
cscript.exe "I:\HDConvertToX_2.2.492.3692\applications\WMCmd.vbs" -input "I:\HDConvertToX_2.2.492.3692\job1\hdconverttox_rescue_clip.avs"
-output "I:\Temp\rescue-best.wmv" -v_codec WVC1 -v_preset best -v_mode 3 -v_bitrate 2064537 -a_codec WMASTD -a_mode 0 -a_setting 128_48_2_16

Here is the MediaInfo:
General
Complete name : L:\MP4\Test\rescue-best.wmv
Format : Windows Media
File size : 158 MiB
Duration : 10mn 0s
Overall bit rate mode : Variable
Overall bit rate : 2 206 Kbps
Maximum Overall bit rate : 4 463 Kbps
Encoded date : UTC 2009-11-17 13:03:22.657

Video
ID : 2
Format : VC-1
Format profile : AP@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Description of the codec : Windows Media Video 9 Advanced Profile
Duration : 9mn 59s
Bit rate mode : Variable
Bit rate : 2 065 Kbps
Width : 720 pixels
Height : 400 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.239
Language : en-us

Audio
ID : 1
Format : WMA3
Format profile : M0
Codec ID : 162
Codec ID/Info : Windows Media Audio 3
Description of the codec : Windows Media Audio 10 Professional - 128 kbps, 48 kHz, 2 channel 16 bit (A/V) 1-pass CBR
Duration : 10mn 0s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Language : en-us

Betsy25
18th November 2009, 07:13
Hi buzz,

Is it possible for the Interlace test to automatically set the deinterlace method ? After I did an interlace test, the file was stated 79% interlaced, but the used filter stayed at NONE.

Is there some structure of what to do first when we have a .VOB file as input for instance ?

Also, encoding to AVI doesn't finish, when the AVIMux-GUI starts it first throws an error that the subtitle is already in use, and when clicking OK, the whole AVIMux-GUI crashes (on Windows XP SP3 32bit)....
...After it tried another encode without muxing subtitles, AVIMux-GUI throws another error, this time that the .mp3 is already in use, and crashes complete again...

buzzqw
18th November 2009, 13:59
@txporter

try changing wmastd to WMA9STD and relaunch encoding
BUT don't believe in mediainfo.. try the file...

@Betsy25
automatic deinterlace isn't supported neither recommend
the threshold for activating DE interlace is 55%
but this will NOT automatically switch HDC to deinterlace mode. it will create a file named "interlaced"
if hdc found this file will automatically deinterlace the file

about "file in use" for mp3 or subs : hdc don't open these files, the files are locked by OS.

make sure you keep closed the hdc working folder

just an hint: you can use file/folder unlocker and see what app keep locked the files (it's a very useful info)

BHH

txporter
18th November 2009, 17:27
@txporter

try changing wmastd to WMA9STD and relaunch encoding
BUT don't believe in mediainfo.. try the file...

I will try using WMA9STD instead.

I wasn't sure about the MediaInfo either, but the encoding from the WME GUI (that successfully transfers to the Tivo) does list WMA 9.2 rather than 10 Pro. At any rate, I did try the file and it was not accepted by the Tivo. It really still is pro audio.

Thanks for your time.

Update: I tried encoding using WMA9STD instead of WMASTD. It was overwritten by the HDC executable to be WMASTD. So same result as above. Pro audio.

buzzqw
19th November 2009, 10:19
add your work to queue
edit in queue the WMASTD to WMA9STD
and hit start queue

BHH

txporter
19th November 2009, 13:57
add your work to queue
edit in queue the WMASTD to WMA9STD
and hit start queue

BHH

Yes, that is what I did. It was overwritten by WMASTD.

buzzqw
19th November 2009, 15:33
it will be overwritten ONLY if you hit start encoding. BUT if you edit the queue and hit start queue,the change will be applied

BHH

txporter
19th November 2009, 15:40
it will be overwritten ONLY if you hit start encoding. BUT if you edit the queue and hit start queue,the change will be applied

BHH

Ok. I follow. That must be what I did. Will give that a go later tonight. :thanks:

Can all strings be overwritten in the same way (edit and start queue rather than hitting encode) or only the -a_codec parameter because you went in and modified it to make it possible on the WMA;11 profile?

Update: updated a_codec string in queue and hit start queue rather than encode. WMA9STD showed up in cmd window for encoding now instead of WMASTD, but I still get pro audio in the file.

Don't worry about troubleshooting this anymore. I did a bunch of testing with Windows Expression encoder and I don't think the benefit of VC-1 encoding over x264 for my tivo is worth all of the effort. Playback is smoother with VC-1 (for SD material), but the tivo seems to choke on HD VC-1 encodes. Thanks again for all of your work and time.

Chengbin
20th November 2009, 23:47
I have a problem.

The latest HDC update broke avs2yuv compatibility. It says rawyuv requires a resolution.

schoeppchen
21st November 2009, 14:16
Latest version of HdConvertToX (2.2.518.3806) gives me analyzing file problem via DirectShowSource2 (Haali). What could be the problem?


Allgemein
ID : 0
Format : BDAV
Format/Info : Blu-ray Video
Dateigröße : 29,9 GiB
Dauer : 2h 33min
Gesamte Bitrate : 27,8 Mbps
maximale Gesamtbitrate : 48,0 Mbps

Video #1
ID : 4113 (0x1011)
Menü-ID : 1 (0x1)
Format : VC-1
Format-Profil : AP@L3
Dauer : 2h 33min
Breite : 1 920 Pixel
Höhe : 1 080 Pixel
Bildseitenverhältnis : 16:9
Bildwiederholungsrate : 23,976 FPS
Colorimetrie : 4:2:0
Scantyp : progressiv

Video #2
ID : 6912 (0x1B00)
Menü-ID : 1 (0x1)
Format : VC-1
Format-Profil : AP@L2
Dauer : 2h 33min
Breite : 720 Pixel
Höhe : 480 Pixel
Bildseitenverhältnis : 16:9
Bildwiederholungsrate : 23,976 FPS
Standard : NTSC
Colorimetrie : 4:2:0
Scantyp : progressiv

Audio #1
ID : 4352 (0x1100)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format-Profil : TrueHD
Dauer : 2h 33min
Bitraten-Modus : variabel
Bitrate : 640 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 703 MiB (2%)

Audio #2
ID : 4353 (0x1101)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format-Profil : Dolby Digital
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 192 Kbps
Kanäle : 2 Kanäle
Kanal-Positionen : L R
Samplingrate : 48,0 KHz
Stream-Größe : 211 MiB (1%)

Audio #3
ID : 4354 (0x1102)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #4
ID : 4355 (0x1103)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #5
ID : 4356 (0x1104)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #6
ID : 4357 (0x1105)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 493 MiB (2%)

Audio #7
ID : 4358 (0x1106)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 493 MiB (2%)

Audio #8
ID : 4359 (0x1107)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #9
ID : 4360 (0x1108)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #10
ID : 4361 (0x1109)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #11
ID : 4362 (0x110A)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 492 MiB (2%)

Audio #12
ID : 6656 (0x1A00)
Menü-ID : 1 (0x1)
Format : E-AC-3
Format/Info : Audio Coding 3
Dauer : 2h 33min
Bitraten-Modus : konstant
Bitrate : 192 Kbps
Kanäle : 2 Kanäle
Kanal-Positionen : L R
Samplingrate : 48,0 KHz
Stream-Größe : 211 MiB (1%)

Text #1
ID : 4608 (0x1200)
Menü-ID : 1 (0x1)
Format : PGS

Text #2
ID : 4609 (0x1201)
Menü-ID : 1 (0x1)
Format : PGS

Text #3
ID : 4610 (0x1202)
Menü-ID : 1 (0x1)
Format : PGS

Text #4
ID : 4611 (0x1203)
Menü-ID : 1 (0x1)
Format : PGS

Text #5
ID : 4612 (0x1204)
Menü-ID : 1 (0x1)
Format : PGS

Text #6
ID : 4613 (0x1205)
Menü-ID : 1 (0x1)
Format : PGS

Text #7
ID : 4614 (0x1206)
Menü-ID : 1 (0x1)
Format : PGS

Text #8
ID : 4615 (0x1207)
Menü-ID : 1 (0x1)
Format : PGS

Text #9
ID : 4616 (0x1208)
Menü-ID : 1 (0x1)
Format : PGS

Text #10
ID : 4617 (0x1209)
Menü-ID : 1 (0x1)
Format : PGS

Text #11
ID : 4618 (0x120A)
Menü-ID : 1 (0x1)
Format : PGS

Text #12
ID : 4619 (0x120B)
Menü-ID : 1 (0x1)
Format : PGS

Text #13
ID : 4620 (0x120C)
Menü-ID : 1 (0x1)
Format : PGS

Text #14
ID : 4621 (0x120D)
Menü-ID : 1 (0x1)
Format : PGS

Text #15
ID : 4622 (0x120E)
Menü-ID : 1 (0x1)
Format : PGS

Text #16
ID : 4623 (0x120F)
Menü-ID : 1 (0x1)
Format : PGS

Text #17
ID : 4624 (0x1210)
Menü-ID : 1 (0x1)
Format : PGS

Text #18
ID : 4625 (0x1211)
Menü-ID : 1 (0x1)
Format : PGS

Text #19
ID : 4626 (0x1212)
Menü-ID : 1 (0x1)
Format : PGS

Text #20
ID : 4627 (0x1213)
Menü-ID : 1 (0x1)
Format : PGS

Text #21
ID : 4628 (0x1214)
Menü-ID : 1 (0x1)
Format : PGS

Text #22
ID : 4629 (0x1215)
Menü-ID : 1 (0x1)
Format : PGS

Text #23
ID : 4630 (0x1216)
Menü-ID : 1 (0x1)
Format : PGS

Text #24
ID : 4631 (0x1217)
Menü-ID : 1 (0x1)
Format : PGS

Text #25
ID : 4632 (0x1218)
Menü-ID : 1 (0x1)
Format : PGS

Text #26
ID : 4633 (0x1219)
Menü-ID : 1 (0x1)
Format : PGS

Text #27
ID : 4634 (0x121A)
Menü-ID : 1 (0x1)
Format : PGS
Dauer : 2h 33min
Video Verzögerung : 5s 88ms

Text #28
ID : 4635 (0x121B)
Menü-ID : 1 (0x1)
Format : PGS
Dauer : 2h 33min
Video Verzögerung : 5s 88ms

Sharc
22nd November 2009, 13:05
@buzzqw
It seems to be just a cosmetic issue, but I thought I will report it nevertheless:
In the Queue Tab, when I press 'Remove all job' in order to make new settings and then add the modified job with 'Add to Queue', the modified job is added as expected. However, in the .meta file all past chapter lists are memorized.
This means, when I do 'Remove all job' five times to make for example changes in the video parameters, the resulting .meta will include the chapters 5 x (chained).

8ternity
23rd November 2009, 05:04
Hi Buzz,

I've got the same trouble for conversion an hd movie.

Original file is 1280x544 MKV at 25fps;

Try to convert in 23.976 for bluray complient.

Try#1: deinterlace to 23.976fps, 1280x720, my trouble is that after conversion done, every second movie we have an light skip moving video (live an person walk, and walk and skip an mouvement every second)

Try#2: filter (ssrestore 23.976) and does the same trouble.

Any try from both method as you recommand last post (2-3 weeks ago) does the same result.

So, to convert from 25fps to 23.976, did you know an setting to set for convert the movie and to be fluid normally all movie long?

Thanks.

EDIT: Here the sample file of what i mean (the trouble video)
http://www.mediafire.com/file/wdt2zyhjjy1/sample_sw1.m2ts

buzzqw
23rd November 2009, 08:26
I have a problem.

The latest HDC update broke avs2yuv compatibility. It says rawyuv requires a resolution.

not able to replicate.
please post the make report

Latest version of HdConvertToX (2.2.518.3806) gives me analyzing file problem via DirectShowSource2 (Haali). What could be the problem?

open the analyze.avs (from analyze folder) in virtualdub
if you got errors is a missing decoder

@buzzqw
It seems to be just a cosmetic issue, but I thought I will report it nevertheless:
In the Queue Tab, when I press 'Remove all job' in order to make new settings and then add the modified job with 'Add to Queue', the modified job is added as expected. However, in the .meta file all past chapter lists are memorized.
This means, when I do 'Remove all job' five times to make for example changes in the video parameters, the resulting .meta will include the chapters 5 x (chained).

the chapter is used when muxed in bluray/avchd format (.meta)
but i am unable to replicate. the chapter file is always named chapter.txt...
could you post a make report ?

Hi Buzz,

I've got the same trouble for conversion an hd movie.

Original file is 1280x544 MKV at 25fps;

Try to convert in 23.976 for bluray complient.

Try#1: deinterlace to 23.976fps, 1280x720, my trouble is that after conversion done, every second movie we have an light skip moving video (live an person walk, and walk and skip an mouvement every second)

Try#2: filter (ssrestore 23.976) and does the same trouble.

Any try from both method as you recommand last post (2-3 weeks ago) does the same result.

So, to convert from 25fps to 23.976, did you know an setting to set for convert the movie and to be fluid normally all movie long?

Thanks.

EDIT: Here the sample file of what i mean (the trouble video)
http://www.mediafire.com/file/wdt2zyhjjy1/sample_sw1.m2ts

have you slowdown the audio too ?

BHH

dwrbudr
23rd November 2009, 08:32
Bug report: I'm trying to rip Lost Season 5 episodic DVD, but HDConvertToX wasn't able to recognize the correct D2V file run time. It reports 18:47min, but the episode length is 41:21 (correctly reported by GKnot). I've tried DGIndex 1.5.4, 1.5.5, 1.5.6.
Here is a link to the D2V: http://hotfile.com/dl/18360386/c483c12/VTS_06_1.zip.html
I've tried to load into HDConvertToX the generated from GKnot AVS file with no success - "File not directly supported". What a shame. I've even tried Force DirectShowSource without any luck. The AVS is playable in Media Player.
I'm using HDConvertToX 2.2.518.3806

Mrsash
23rd November 2009, 09:18
Originally Posted by buzzqw
delete the load soundout.dll from movie.avs and reopen the script

BHH

The video plays fine with no sound though but I guess this must be logical if the avs script has only video source and not audio, right?
So in order for the encoding to be successful I have to erase each time from the avs script the load soundout.dll?

Buzz I have this same problem. I delete the line and works fine.
I will post the make report soon.

I end up with no mkv file

this is in the window

mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
Error: The source file 'F:\HDConvertToX\temp\job1\hdencodertox-pid1.mp4' could n
ot be opened successfully, or retrieving its size by seeking to the end did not work.


Does this have anything to do with my second problem.

Movie xvid/Ac3 5.1 open in HDC set to use best decoder, audio set to use eac3to. Once I click analyse I get
"File not directly supported etc etc" then x264 checks file and then when I check the audio it has automatically defaulted to "Force FFmpeg.exe as decoder" and audio I set was original it defaults to 2. If I run it audio does not encode, but if I then set it the use eac3to and run it works but no mkv file


HDConvertToX v.2.2.518.3806 report

Input File: n:\smallville 2\blade\world is not enough.avi ( N:\Smallville 2\Blade\World Is Not Enough.avi )
Codec Video:
Width / Heigh : 1280 / 544
Framerate / Framecount: 23.976fps / 184625 frames
Duration(hh:mm:ss): 2:8:21
Aspect Ratio: 2.3529
Resized resolution: 1280 / 544
Crop Values : 0:0:0:0
No Resize & Crop: On

Start Video Configuration ->
Encoding Settings: X264 Slow ; Bitrate= 1
Final Size: 2240
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 160
Audio Channels: 2
Normalize: On
Audio handling: Force FFmpeg.exe as decoder
Keep only core: On
-> End Audio Configuration

Full Audio List-> (*** mean selected)
NONE
*** N:\Smallville 2\Blade\World Is Not Enough.avi
n:\smallville 2\blade\world is not enough.avi

-> End Full Audio List

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

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
ColorMatrix: On
Use MultiThreaded AviSynth: On
-> End Advanced AviSynth
Start Muxing Options ->
<- End Muxing Options

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


"F:\HDConvertToX\applications\ffmpeg.exe" -i "n:\smallville 2\blade\world is not enough.avi" -f wav -y "F:\HDConvertToX\analysis\hdencodertox-pid1.wav"
"F:\HDConvertToX\applications\wavi.exe" "F:\HDConvertToX\analysis\hdconvert_audio_1_world is not enough.avi.avs" - | "F:\HDConvertToX\applications\neroaacenc.exe" -if - -br 160000 -ignorelength -of "F:\HDConvertToX\analysis\hdencodertox-pid1.mp4"
"F:\HDConvertToX\applications\x264.exe" --pass 1 --bitrate 2281 --preset slow --threads auto --thread-input --sar 1:1 --output "F:\HDConvertToX\analysis\hdconverttox_world is not enough.h264" "F:\HDConvertToX\analysis\hdconverttox_world is not enough.avs"
"F:\HDConvertToX\applications\x264.exe" --pass 2 --bitrate 2281 --preset slow --threads auto --thread-input --sar 1:1 --output "F:\HDConvertToX\analysis\hdconverttox_world is not enough.h264" "F:\HDConvertToX\analysis\hdconverttox_world is not enough.avs"
"F:\HDConvertToX\applications\mkvmerge.exe" -o "F:\World Is Not Enough.MKV" --default-duration 0:23.976fps --aspect-ratio -1:2.3529 "F:\HDConvertToX\analysis\hdconverttox_world is not enough.h264" "F:\HDConvertToX\analysis\hdencodertox-pid1.mp4" --title "Done with HDConvertToX v.2.2.518.3806"
-> End Queue

AviSynth Script ->
Working with files: F:\HDConvertToX\analysis\hdconverttox_world is not enough.avs
SetMemoryMax(512)
SetMTMode(2,0)
directshowsource("n:\smallville 2\blade\world is not enough.avi",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
ColorMatrix(mode="Rec.709->Rec.601")
hqdn3d(1)
return last
-> End AviSynth Script



By the way thanks for your efforts

buzzqw
23rd November 2009, 09:57
please update HDC
and on audio , check Use DirectSHowSource

BHH

gibbyman
23rd November 2009, 11:06
Hi Buzz!

One question about the choice of decoder (I'll come to why I'm asking in just a bit). Is there any harm in always using ffdshow as decoder?

The reason I'm asking is that I've been having some problems with AR's and cropping, where:

If I load a mkv and hit analyze (without touching the preset "use best decoder") this mkv usually gets analyzed as 1280x720 with recommendations for cropping off up to 96 pixels from the top and the bottom, something I can verify by clicking the "visual crop" button. These recommendations for cropping never fails when I check them before encoding.

After the encode is done I however have that exact same amount cropped from the actual movie (not only the black bars are cropped off, but the same amount of pixels are also cropped from the movie).

I don't know why the above thing happens (don't have any examples right now being at work) but if I choose to analyze this same file with ffdshow selected as decoder I get the correct dimensions (for example 1280x528) right away, with recommendations to crop off the remaining pixels (720-96-96=528) and the resulting encode is flawless.

If I - for the other hand choose directshow or directshow2 as preferred decoder it all gets messed up.

Is this something you'd be interested in looking at if I post some logs later today?

And - back to my initial question: Is there any harm in always using ffdshow as decoder?

Mrsash
23rd November 2009, 11:19
please update HDC
and on audio , check Use DirectSHowSource

BHH

Thanks buzz will check it out. Wondering if you managed to look into this. Someone couple of posts back mentioned setmode works faster with 2,3 which uses other cores and so on. Dont remember which post.
thanks

buzzqw
23rd November 2009, 11:21
you can check the analyze.avs (in \analyze folder).. but for mkv, is already used DirectShowSource..

and.. HDC will always apply the crop written, never more. You can always check the video avs file

.. anyway.. there isn't any harm forcing always ffdshow (both video and audio)

BHH

Chengbin
23rd November 2009, 13:25
For some reason avs2yuv works now. Maybe its because I cleared the work folders.

dwrbudr
23rd November 2009, 14:38
How can I download older versions? Apparently the D2V run time calculation is broken in the latest 2-3 updates. Because I've tried to open some older D2V files which I encoded about 10 days ago just fine and now with the latest HDConvertToX I get incorrect run times (18min instead of 40min)

8ternity
23rd November 2009, 14:39
not able to replicate.
please post the make report



open the analyze.avs (from analyze folder) in virtualdub
if you got errors is a missing decoder



the chapter is used when muxed in bluray/avchd format (.meta)
but i am unable to replicate. the chapter file is always named chapter.txt...
could you post a make report ?



have you slowdown the audio too ?

BHH

yes i check audio to NTSC 23.976 before check "copy audio"

But the sample i've made i cut a scene in DGindex and demux, remuxe it with delay supplied by DGindex.

Sharc
23rd November 2009, 20:14
the chapter is used when muxed in bluray/avchd format (.meta)
but i am unable to replicate. the chapter file is always named chapter.txt...BHH
Yes, the chapter.txt is the same (DOS windows just says that it cannot write the file (probably becuase it is locked by HDC), but the funny thing happens with the .meta where the chapters are repeated for every 'Remove all job' and 'Add to queue', like:

MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --custom-chapters=00:00:00.000;00:07:39.667;00:16:51.583;00:24:09.667;00:41:20.833;00:48:30.958;01:06:16.875;01:20:17.250;01:33:27.58300:00:00.000;00:07:39.667;00:16:51.583;00:24:09.667;00:41:20.833;00:48:30.958;01:06:16.875;01:20:17.250;01:33:27.58300:00:00.000;00:07:39.667;00:16:51.583;00:24:09.667;00:41:20.833;00:48:30.958;01:06:16.875;01:20:17.250;01:33:27.58300:00:00.000;00:07:39.667;00:16:51.583;00:24:09.667;00:41:20.833;00:48:30.958;01:06:16.875;01:20:17.250;01:33:27.58300:00:00.000;00:07:39.667;00:16:51.583;00:24:09.667;00:41:20.833;00:48:30.958;01:06:16.875;01:20:17.250;01:33:27.583 --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_00000.h264", fps=0, insertSEI, contSPS
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid3.ac3", timeshift=0, lang=ger
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid4.ac3", timeshift=0, lang=eng
S_HDMV/PGS , "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox__subs_6.sup", fps=0,lang=ger
S_HDMV/PGS , "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox__subs_8.sup", fps=0,lang=ger

Anyway, not to worry too much, because this chapters repetition in the .meta has no real negative effect.

B00ne
23rd November 2009, 20:53
Hi,
I found your tool in the search for a way to convert the HD movies (MJPEG/mov) of my lumix camera to x264/mkv. With your tool this actually worked quite well. But for some reason, only if I rename the movies to avi. If I dont, the analyze wont work.

Now I tried to convert some DVDs, but so far I had no success (kind of). The audio is totally out of sync (running 10 to 20s ahead of the video). Is there a way to fix this? I tried using ffmpeg as decoder but then only some 20 min of audio are encoded and the muxing fails.

I dont know how to work the hdcindex utility and dont really know what it does (perhaps I didnt understand the manual but there is also little information on it) Also i dont know how to load several and the right vobs into this utility.

So I would be really happy if somebody could give me a hint on how to get the audio and video to be synchronized.

Thanks alot

Adub
24th November 2009, 07:17
When encoding from a DVD, you want to use the IFO of the main title set as your source file. HDConvertToX will do the rest.

buzzqw
24th November 2009, 08:15
@Mrsash
now soundout isn't more loaded in movie avs.

@dwrbudr

please update hdc, d2v parsing is improved
and.. make sure you have done the d2v with the same version of dgindex bundled with HDC

@B00ne

EDIT: please update HDC
and test your .mov file

@Sharc
thanks, fixed

BHH

Mrsash
24th November 2009, 10:01
@Mrsash
now soundout isn't more loaded in movie avs.
BHH

Great man but problem still exits where the output is not muxed.(movie avs loads fine in virtualdub).

Also when I manually mux it there needs to be a audio delay. This cant be right since the input is my xvid file

Another issue which I dont know is gonna make any problem. I setup queue. Movie 1 saves in job 1, movie 2 job 2. When finished
job1 folder has the avs file for movie 1 and previous movie. Job2 folder has avs files for movie 1

Last I had not set the computer to shut down, but it shut down anyway after the second job. I had more than 6 jobs in there??

buzzqw
24th November 2009, 10:10
@Mrsash

please try "Force DirectShowSource as Decoder" in audio option

about shutdown.. be sure to use last update and.. check where is located shudown option in queue list

BHH

Mrsash
24th November 2009, 10:18
@Mrsash

please try "Force DirectShowSource as Decoder" in audio option

about shutdown.. be sure to use last update and.. check where is located shudown option in queue list

BHH

I was using "Force DirectShowSource as Decoder". Any just updated and will test it further.

You gotta fix the problem where if I choose "Force DirectShowSource as Decoder" and hit analyse give message about only first track will be encoded then the "Force FFmpeg.exe as Decoder" is chosen automatically and the "Audio channels" changes to 2 which I had originally set to "Original"

Where is the option for shutdown in queue?

Also Profile not loaded when HDC is started for video

Also cant see video in visual crop.

thanks

buzzqw
24th November 2009, 11:18
You gotta fix the problem where if I choose "Force DirectShowSource as Decoder" and hit analyse give message about only first track will be encoded then the "Force FFmpeg.exe as Decoder" is chosen automatically and the "Audio channels" changes to 2 which I had originally set to "Original"

no, i haven't changed it. You should change option after analysis

Where is the option for shutdown in queue?

hdconverttox.ini

Also Profile not loaded when HDC is started for video

???

Also cant see video in visual crop.

you have problem of decoder

BHH

Mrsash
24th November 2009, 12:18
no, i haven't changed it. You should change option after analysis
BHH

Right. Never did this before, I might be wrong though


hdconverttox.ini
BHH

Checked it and it has shutdown=0 so dont know why computer turned off??


???
BHH
Once I set video parameters before I used to save settings and when I fire HDC up the next time it used to automatically load video and audio settings. It defaults to 700MB for file size now.


you have problem of decoder

BHH

Xvid was disabled, set it to Xvid now and will check

Betsy25
24th November 2009, 12:32
Conversion forgets about audio.

As I saw in AVIMux-GUI while processing, and as played in MPC-HC and media properties, HDCtoX didn't produce the audio, only video.
HDConvertToX v.2.2.522.3828 report

Input File: c:\documents and settings\toppy\desktop\212157527panoramap0893993.urlflvlong.flv ( C:\Documents and Settings\Toppy\Desktop\212157527PANORAMAP0893993.urlFLVLong.flv )
Codec Video:
Width / Heigh : 464 / 272
Framerate / Framecount: 25.000fps / 68473 frames
Duration(hh:mm:ss): 0:45:39
Aspect Ratio: 1.7059
Resized resolution: 464 / 272
Crop Values : 0:0:0:0
No Resize & Crop: On

Start Video Configuration ->
Encoding Settings: XviD Better Quality ; Quality= 2.7
Final Size: 2.7
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: Force FFmpeg.exe as decoder
-> End Audio Configuration

Full Audio List-> (*** mean selected)
NONE
*** C:\Documents and Settings\Toppy\Desktop\212157527PANORAMAP0893993.urlFLVLong.flv
C:\Documents and Settings\Toppy\Desktop\212157527PANORAMAP0893993.urlFLVLong.flv

-> End Full Audio List

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

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

Start Advanced AviSynth ->
ColorMatrix: On
-> End Advanced AviSynth
Start Muxing Options ->
<- End Muxing Options

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


"C:\Program Files\HDConvertToX\applications\ffmpeg.exe" -i "c:\documents and settings\toppy\desktop\212157527panoramap0893993.urlflvlong.flv" -f wav -y "C:\Program Files\HDConvertToX\job2\hdencodertox-pid1.wav"
"C:\Program Files\HDConvertToX\applications\wavi.exe" "C:\Program Files\HDConvertToX\job2\hdconvert_audio_1_212157527panoramap0893993.urlflvlong.flv.avs" - | "C:\Program Files\HDConvertToX\applications\lame.exe" - -h --abr 128 "C:\Program Files\HDConvertToX\job2\hdencodertox-pid1.mp3"
"C:\Program Files\HDConvertToX\applications\xvid_encraw.exe" -progress 50 -i "C:\Program Files\HDConvertToX\job2\hdconverttox_212157527panoramap0893993.urlflvlong.avs" -avi "C:\Program Files\HDConvertToX\job2\hdconverttox_212157527panoramap0893993.urlflvlong.avi" -max_bframes 2 -vhqmode 4 -quality 6 -max_key_interval 125 -lumimasking -bquant_ratio 150 -bvhq -qpel -gmc -framerate 25.000 -threads 2 -cq 2.7 -par 1:1
"C:\Program Files\HDConvertToX\applications\AVIMux_GUI.exe" -stdin "C:\Program Files\HDConvertToX\applications\mux2.amg"
-> End Queue

AviSynth Script ->
Working with files: C:\Program Files\HDConvertToX\job2\hdconverttox_212157527panoramap0893993.urlflvlong.avs
directshowsource("c:\documents and settings\toppy\desktop\212157527panoramap0893993.urlflvlong.flv",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
ColorMatrix(mode="Rec.709->Rec.601")
hqdn3d(1)
return last
-> End AviSynth Script

AVIMux-Gui Script >
CLEAR
LOAD C:\Program Files\HDConvertToX\job2\hdconverttox_212157527panoramap0893993.urlflvlong.avi
LOAD C:\Program Files\HDConvertToX\job2\hdencodertox-pid.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:\Documents and Settings\Toppy\Desktop\psychoses.avi
-> End AVIMux-Gui Script



Source:
Video: Flash Video 4 464x272 [Video]
Audio: MPEG Audio Layer 3 44100Hz mono 48kbps [Audio]

Encode Output:
Video: Xvid 464x272 25.00fps [Stream 00]

buzzqw
24th November 2009, 12:56
@Mrsash

Checked it and it has shutdown=0 so dont know why computer turned off??
.. so isn't hdc that shutdown your pc

defaults to 700MB for file size now.
final size is never memorized in profile

@Betsy25

in your make report audio processing is present... but maybe not working..
in audio option check force directshowsource decoder

BHH

Betsy25
24th November 2009, 14:05
@Mrsash
@Betsy25

in your make report audio processing is present... but maybe not working..
in audio option check force directshowsource decoder

BHH

Thanks, that worked.
Wonder why AviMux-GUI didn't add it using the default "Force FFmpeg.exe as decoder" though.

8ternity
24th November 2009, 18:50
Hi Buzz,

Can you help me with my case? I've not read any answer about my trouble.

Thank you.

B00ne
24th November 2009, 18:54
When encoding from a DVD, you want to use the IFO of the main title set as your source file. HDConvertToX will do the rest.

Well, I did, and HDC did the rest, unfortunately with audio and video being totally out of sync (see my post)

B00ne
24th November 2009, 20:50
@Mrsash
now soundout isn't more loaded in movie avs.

@dwrbudr

please update hdc, d2v parsing is improved
and.. make sure you have done the d2v with the same version of dgindex bundled with HDC

@B00ne

EDIT: please update HDC
and test your .mov file

@Sharc
thanks, fixed

BHH

I did, works fine with mov now. Thanks a bunch

buzzqw
24th November 2009, 21:20
@8ternity

please post a link to original mkv (a sample)

@B00ne

please post the make report of your audio synch issue

BHH

8ternity
25th November 2009, 04:53
@8ternity

please post a link to original mkv (a sample)

BHH

Sample:
http://www.mediafire.com/?qtgeot4qhon

Code:

Général
Complete name : Z:\--= Films HD =--\movie_sw1.mkv
Format : Matroska
File size : 7,95 Gio
Duration : 2h 10mn
Overall bit rate : 8 705 Kbps
Movie name : movie_sw1
Encoded date : UTC 2008-04-27 15:49:32
Writing application : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Vidéo
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Oui
Format settings, ReFrames : 4 images
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 10mn
Bit rate : 7 636 Kbps
Nominal bit rate : 7 814 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 25,000 Im/s
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressif
Bits/(Pixel*Frame) : 0.331
Stream size : 6,97 Gio (88%)
Writing library : x264 core 59 r818M d4b7d2b
Encoding settings : cabac=1 / ref=4 / deblock=0:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=20 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=0 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=7814 / ratetol=3.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=7 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
Language : Anglais

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 10mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 canaux
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48,0 KHz
Stream size : 419 Mio (5%)
Language : Français

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 10mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 canaux
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48,0 KHz
Stream size : 419 Mio (5%)
Language : Anglais

Texte #1
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : forcé
Language : Français

Texte #2
ID : 5
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : Français

totalz
25th November 2009, 05:50
I'm using Win7 x64, and I installed the MatroskaSplitter in "Program Files (x86)", I didn't choose the path, so it's default in x64 Win. However, HDC cannot detect the splitter!! Anyway to by-pass this? Nothing like this mentioned in the "Guide for installing HDConvertToX on Windows7 by rickatnight11"!?

HDC can detect subtitles list in ifo, which is great. An I notice there are subtitles for 4:3 and 16:9 DAR, is there any major difference in them?

Also if I want to transcode a NTSC dvd 720x480 (16:9) to h264 in mkv, should I keep 720x480 with 16:9 DAR?

Mrsash
25th November 2009, 08:05
.. so isn't hdc that shutdown your pc
BHH

Cant be. The reason I say this is beacuse it had finished encoding second movie completely and not started third. I should have seen some files in the job3 folder. I may be wrong somehow here but logic dictates HDC shut down my PC


final size is never memorized in profile
BHH

I have always been using this before. Now it doesnt do it. Anyway if it is a problem to fix not a major issue



Oh by the there is still no output mkv after encode


Error: The source file 'F:\HDConvertToX\temp\job1\hdencodertox-pid1.mp4' could n
ot be opened successfully, or retrieving its size by seeking to the end did not
work.

Error: The source file 'F:\HDConvertToX\temp\job2\hdencodertox-pid1.mp4' could n
ot be opened successfully, or retrieving its size by seeking to the end did not
work.

Error: The source file 'F:\HDConvertToX\temp\job3\hdencodertox-pid1.mp4' could n
ot be opened successfully, or retrieving its size by seeking to the end did not
work.

buzzqw
25th November 2009, 08:19
@8ternity

this isn't the MKV, it's a m2ts...

@Mrsash
is this using directshowsource as audio decoder ?

please try open the hdconvert_audio_XXXX.avs with mediaplayer classic do you get any error ? do you ear sound ?

BHH

Mrsash
25th November 2009, 11:09
is this using directshowsource as audio decoder ?
BHH

yes


please try open the hdconvert_audio_XXXX.avs with mediaplayer classic do you get any error ? do you ear sound ?

BHH

Yes can hear sound

buzzqw
25th November 2009, 11:18
launch from dos

"F:\HDConvertToX\applications\wavi.exe" "F:\HDConvertToX\analysis\hdconvert_audio_1_world is not enough.avi.avs" - | "F:\HDConvertToX\applications\neroaacenc.exe" -if - -br 160000 -ignorelength -of "F:\HDConvertToX\analysis\hdencodertox-pid1.mp4"

what's the error ?

BHH