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

MvB
25th November 2009, 11:46
Hi,

is it possible to automatically create an .mkv with chapters from dvd by hdconverttox, with slowdown?

Thanks
MvB

buzzqw
25th November 2009, 13:27
do you mean chapter time with slowdown ?

BHH

8ternity
25th November 2009, 14:32
@8ternity

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

BHH

EDIT: im currently upload the sample mkv file. When upload is done, i will post another message with the sample link.

Thanks!

MvB
25th November 2009, 14:35
do you mean chapter time with slowdown ?

BHH

@buzzqw

Hi buzzqw,

first of all, thanks a lot for this great gui. I've been fiddleing around with it and find it really easy to use.
I convert my dvds to MKV - x264, aac 6 channel, subtitles, one or two languages.

I have noticed three things:
- is there in this gui somewhere an option to preserve the chapters of the dvd in the mkv?
- Those chapters and the subtitles would have to be recalculated if one uses the slowdown option to slow down the encode to 23.976 fps.
- if i mark the slowdown to 23.976 from PAL DVD your gui creates an video stream in the mkv with the framerate of 25 fps (at least if i look at the properties panel of MPCHC) but an audio of 23.976. This can be changed by manually entering 23.976 in the framerate-field BEFORE the encoding process, but it would be very nice if the gui could change the framerate of the video accordingly by itself.

Anyway, i like your gui very very much. Thanks a lot.

PS: Just did an encode with subtitles, got the following error in the last step:

C:\Dokumente und Einstellungen\mvb>"C:\hdconverttox\applications\mkvmerge.exe" -
o "C:\temp\hdconv\ff7full23976.mkv" --default-duration 0:23.976fps "C:\hdconver
ttox\job4\hdconverttox_vts_02_1.h264" "C:\hdconverttox\job4\hdencodertox-pid2.
mp4" "C:\hdconverttox\job4\hdencodertox-pid3.mp4" "C:\hdconverttox\job4\hdenco
dertox-pid4.mp4" --default-track -1:no "C:\hdconverttox\job4\hdencodertox__subs
_5.idx" "C:\hdconverttox\job4\hdencodertox__subs_6.idx" "C:\hdconverttox\job4\
hdencodertox__subs_7.idx" --title "Done with HDConvertToX v.2.2.522.3828"
mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
Error: The source file 'C:\hdconverttox\job4\hdencodertox__subs_5.idx' could not
be opened successfully, or retrieving its size by seeking to the end did not wo
rk.

eac3to log for the subtitles:

eac3to v3.16
command line: "C:\hdconverttox\applications\eac3to.exe" "f:\video_ts\vts_02_1.vob" 5:"C:\hdconverttox\job4\hdencodertox__subs_5.sup" 6:"C:\hdconverttox\job4\hdencodertox__subs_6.sup" 7:"C:\hdconverttox\job4\hdencodertox__subs_7.sup"
------------------------------------------------------------------------------
VOB, 1 video track, 3 audio tracks, 3 subtitle tracks, 0:19:26
1: MPEG2, 576i50 (16:9)
2: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -26dB
3: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -25dB
4: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -25dB
5: Subtitle (DVD)
6: Subtitle (DVD)
7: Subtitle (DVD)
[s05] Extracting subtitle track number 5...
[s07] Extracting subtitle track number 7...
[s06] Extracting subtitle track number 6...
[s05] Creating file "C:\hdconverttox\job4\hdencodertox__subs_5.sup"...
[s06] Creating file "C:\hdconverttox\job4\hdencodertox__subs_6.sup"...
[s07] Creating file "C:\hdconverttox\job4\hdencodertox__subs_7.sup"...
Video track 1 contains 29148 frames.
Subtitle track 5 contains 169 captions.
Subtitle track 6 contains 174 captions.
Subtitle track 7 contains 171 captions.
eac3to processing took 29 seconds.
Done.

bdsup2sub doesn't recognize .sup as input and gives the error:
unexpected command 0 at index 0x00000012

there are no .idx files in directory "job4", only the .sub. That should be the error while muxing, but i don't know how to fix it.

Thanks.

verbatim2
25th November 2009, 14:38
hi

WHen i try to convert (ts, m2ts) to mkv x264 in xp or win7(installed by the guide) it goes but the result is not perfect in the video i see some lines (bad encoding?)
in the original video i dont see that

here you see at the arm some lines...How can i fix this problem?

http://img339.imageshack.us/img339/4544/bscap003o.th.jpg (http://img339.imageshack.us/i/bscap003o.jpg/)

http://img134.imageshack.us/img134/5558/bscap005u.th.jpg (http://img134.imageshack.us/i/bscap005u.jpg/)

*when i play a .ts file with wmp i see those lines too with powerdvd not
and m2ts i nver see those lines in both players.

original tsfile in wmp you see those lines to.
http://img209.imageshack.us/img209/8678/bscap022.th.jpg (http://img209.imageshack.us/i/bscap022.jpg/)

MvB
25th November 2009, 15:32
hi

WHen i try to convert (ts, m2ts) to mkv x264 in xp or win7(installed by the guide) it goes but the result is not perfect in the video i see some lines (bad encoding?)
in the original video i dont see that

here you see at the arm some lines...How can i fix this problem?

*when i play a .ts file with wmp i see those lines too with powerdvd not
and m2ts i nver see those lines in both players.


Hi verbatim2,

what you see are interlacing artifacts. You should include a deinterlacer in the encoding process (maybe setting de-interlacer to "automatic"?)

buzzqw
25th November 2009, 15:42
@MvB

is there in this gui somewhere an option to preserve the chapters of the dvd in the mkv?
hdc do this automatically

Those chapters and the subtitles would have to be recalculated if one uses the slowdown option to slow down the encode to 23.976 fps.
for subs yes, for chapter no

you should always use as input for dvd the IFO not the vobs
anyway .. are you sure you installed JAVA rte?

@verbatim2

try using in advanced options the Test Deinterlace

BHH

B00ne
25th November 2009, 17:31
@8ternity

please post a link to original mkv (a sample)

@B00ne

please post the make report of your audio synch issue

BHH

Hi,
thanks for the support. Se report below. Btw, the sound is in sync with the subtitles, but both out of sync with video.

Another question, it seems subs are only displayed with directvobsub installed. Without it, Haali (ot alternatively in Mediaplayer clsssic) shows there are subs but they are not displayed?

and another one. If i select a final size in the video options, does that refer to the output file or video size only?

Report:

HDConvertToX v.2.2.522.3828 report

Input File: f:\dvds\assassination_of_jesse_james\video_ts\vts_01_1.vob ( F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_0.IFO )
PGC : PGC 1. Length: 2:33:07:00 / chained=1
Codec Video: mpeg
Width / Heigh : 720 / 576
Framerate / Framecount: 25.000fps / 229675 frames
Duration(hh:mm:ss): 2:33:8
Aspect Ratio: 1.7778
Resized resolution: 720 / 432
Crop Values : 0:72:0:72
Activate: Anamorphic Resize

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

Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 0.4
Audio Channels: 6 (5.1)
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]

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
NONE
*** English 0 (0xBD 0x20) [0] wide
*** Deutsch 1 (0xBD 0x21) [0] wide
*** Deutsch 2 (0xBD 0x22) [0] wide
*** Deutsch 3 (0xBD 0x23) [0] wide

-> 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:\Programme\hdc\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[f:\dvds\assassination_of_jesse_james\video_ts\vts_01_1.vob] -OF=[E:\HDC-work-dir\job1\movie] -exit -minimize
"C:\Programme\hdc\applications\eac3to.exe" "F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_1.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_2.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_3.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_4.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_5.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_6.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_7.vob"+"F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_8.vob" 3: stdout.wav -normalize -down6 | "C:\Programme\hdc\applications\neroaacenc.exe" -if - -q 0.4 -ignorelength -of "E:\HDC-work-dir\job1\hdencodertox-pid3.mp4"
"C:\Programme\hdc\applications\VSrip.exe" "E:\HDC-work-dir\job1\hdc_subs.list"
"C:\Programme\hdc\applications\x264.exe" --pass 1 --bitrate 1210 --preset slow --threads auto --thread-input --tune film --sar 19906560:13996800 --output "E:\HDC-work-dir\job1\hdconverttox_vts_01_1.h264" "E:\HDC-work-dir\job1\hdconverttox_vts_01_1.avs"
"C:\Programme\hdc\applications\x264.exe" --pass 2 --bitrate 1210 --preset slow --threads auto --thread-input --tune film --sar 19906560:13996800 --output "E:\HDC-work-dir\job1\hdconverttox_vts_01_1.h264" "E:\HDC-work-dir\job1\hdconverttox_vts_01_1.avs"
"C:\Programme\hdc\applications\Chapter\ChapterXtractor.exe" "F:\DVDs\ASSASSINATION_OF_JESSE_JAMES\VIDEO_TS\VTS_01_0.IFO" "E:\HDC-work-dir\job1\chapters.txt" -p5
"C:\Programme\hdc\applications\mkvmerge.exe" -o "C:\Programme\hdc\hdconverttox_full_vts_01_1.mkv" --default-duration 0:25.000fps --aspect-ratio -1:2.370370 "E:\HDC-work-dir\job1\hdconverttox_vts_01_1.h264" --language -1:eng --aac-is-sbr 0:1 "E:\HDC-work-dir\job1\hdencodertox-pid3.mp4" --default-track -1:no "E:\HDC-work-dir\job1\hdc_subs.idx" --chapters "E:\HDC-work-dir\job1\chapters.txt" --title "Done with HDConvertToX v.2.2.510.3790"
-> End Queue

AviSynth Script ->
Working with files: E:\HDC-work-dir\job1\hdconverttox_vts_01_1.avs
Mpeg2Source("E:\HDC-work-dir\job1\movie.d2v")
LanczosResize(720,432,0,72,-0,-72)
ColorMatrix(d2v="E:\HDC-work-dir\job1\movie.d2v")
hqdn3d(1)
-> End AviSynth Script

8ternity
25th November 2009, 18:28
@8ternity

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

BHH

http://www.mediafire.com/?wm4ejm4nygy


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

buzzqw
25th November 2009, 18:32
what kind of synch issue you have ?
constant or progressive desynch ?

the subtitle extracted from dvd are graphical one's, so you MUST use directvobsub (it isn't a matter of HDC)
final size in the video options, does that refer to the output file or video size only?

it's audio+video

BHH

ziemlichdunkel
25th November 2009, 18:35
To support the changes in parameters within the latest x264 builds I modified my profile:

X264;19;HDC My Quality;--keyint 250 --bframes 3 --trellis 2 --ref 3 --deblock -1,-1 --subme 5 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --merange 20 --b-adapt 2 --b-pyramid normal --partitions p8x8,b8x8,i4x4,i8x8 --aud --psy-rd 1.0:0.3 --aq-mode 2

When using 2pass x264 in mkv, Final size 8145MB (input x264,mkv, DTS and AC3) the final output has now only 78xxMB.
This worked fine some versions ago (both x264 and HDC).
Has this todo with the changes within x264 or is there a new bug in HDC?
What do you think about my profile? (I tried to find the best between speed and quality, for movies I take these and for anime i use additionaly tune: animation in filters tab)

best regards

MvB
25th November 2009, 18:52
sorry, didn't have the idea to select the corresponding ifo for conversion.

Now everything seems to work.

thanks for the help.

MvB

buzzqw
25th November 2009, 20:06
To support the changes in parameters within the latest x264 builds I modified my profile:

X264;19;HDC My Quality;--keyint 250 --bframes 3 --trellis 2 --ref 3 --deblock -1,-1 --subme 5 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --merange 20 --b-adapt 2 --b-pyramid normal --partitions p8x8,b8x8,i4x4,i8x8 --aud --psy-rd 1.0:0.3 --aq-mode 2

When using 2pass x264 in mkv, Final size 8145MB (input x264,mkv, DTS and AC3) the final output has now only 78xxMB.
This worked fine some versions ago (both x264 and HDC).
Has this todo with the changes within x264 or is there a new bug in HDC?

i can only guess you have to lower the qpmin..
you could have saturated the encoding


sorry, didn't have the idea to select the corresponding ifo for conversion.

Now everything seems to work.

thanks for the help.

MvB

glad it worked :)

BHH

B00ne
25th November 2009, 20:10
what kind of synch issue you have ?
constant or progressive desynch ?

the subtitle extracted from dvd are graphical one's, so you MUST use directvobsub (it isn't a matter of HDC)


it's audio+video

BHH

Well since the desync is so large (around 20 seconds), it's hard to say. I guess it's constant. I'll look into it... (Dunno if this helps: with Autogk I dont get sync issues)

If it is audio and video, do you have any idea how to get it more accurate? I set it to 1380 MB and got file with 1620MB. The video alone is already 1.3 gig.

Ok so I need to install directvobsub on the other machine.

Thanks alot.

Mrsash
25th November 2009, 20:59
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

Error: Could not find PCM audio track in "F:\HDConvertToX\analysis\hdconvert_aud
io_1_world is not enough.avi.avs".
ERROR: could not parse WAV file

buzzqw
25th November 2009, 21:08
@B00ne
the only cause of inaccurate file size could be due to copy audio

@Mrsash
please post the hdconvert_audio_1_world is not enough.avi.avs file

(i think it's a problem of audio decoding..)

BHH

8ternity
26th November 2009, 04:29
buzzqw:

I've send you the mkv file on my last post with mediainfo informations.

http://forum.doom9.org/showthread.php?p=1347386#post1347386

Let me know for news and updates. For now, i've reinstall Windows 7 (nero 9 crashed, burning rom stop working sudently).

Thanks,
8ternity :p

MvB
26th November 2009, 08:09
Hi buzzqw,

after using the ifo as source hdconverttox muxed subtitles and everything just fine. Only a two little problems:

i marked the slowdown field.
- the final mkv always has a speed of 25 fps with the audio of 23.976 and subtitles with 25fps.
("C:\hdconverttox\applications\mkvmerge.exe" -o "D:\dvdmovies\a_scanner_darkly.MKV" --default-duration 0:25.000fps --aspect-ratio -1:1.777778 "C:\hdconverttox\job4\hdconverttox_vts_02_1.h264" --language -1:eng "C:\hdconverttox\job4\hdencodertox-pid3.mp4" --language -1:deu "C:\hdconverttox\job4\hdencodertox-pid4.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")
the problem here is that mkvmerge seems to be called with 25.000 fps instead of 23.976. I fixed that manually through replacing 25.000 with 23.976.
And the subtitles stay at 25.000 fps.

this is the whole batch hdconverttox created:
"C:\hdconverttox\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[f:\video_ts\vts_02_1.vob] -OF=[C:\hdconverttox\job4\movie] -exit -minimize
"C:\hdconverttox\applications\eac3to.exe" "F:\VIDEO_TS\VTS_02_1.vob"+"F:\VIDEO_TS\VTS_02_2.vob"+"F:\VIDEO_TS\VTS_02_3.vob"+"F:\VIDEO_TS\VTS_02_4.vob"+"F:\VIDEO_TS\VTS_02_5.vob"+"F:\VIDEO_TS\VTS_02_6.vob" 3: stdout.wav -normalize -slowdown | "C:\hdconverttox\applications\neroaacenc.exe" -if - -q 0.5 -ignorelength -of "C:\hdconverttox\job4\hdencodertox-pid3.mp4"
"C:\hdconverttox\applications\eac3to.exe" "F:\VIDEO_TS\VTS_02_1.vob"+"F:\VIDEO_TS\VTS_02_2.vob"+"F:\VIDEO_TS\VTS_02_3.vob"+"F:\VIDEO_TS\VTS_02_4.vob"+"F:\VIDEO_TS\VTS_02_5.vob"+"F:\VIDEO_TS\VTS_02_6.vob" 4: stdout.wav -normalize -slowdown | "C:\hdconverttox\applications\neroaacenc.exe" -if - -q 0.5 -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 20 --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 --sar 64:45 --output "C:\hdconverttox\job4\hdconverttox_vts_02_1.h264" "C:\hdconverttox\job4\hdconverttox_vts_02_1.avs"
"C:\hdconverttox\applications\Chapter\ChapterXtractor.exe" "F:\VIDEO_TS\VTS_02_0.IFO" "C:\hdconverttox\job4\chapters.txt" -p5
"C:\hdconverttox\applications\mkvmerge.exe" -o "D:\dvdmovies\a_scanner_darkly.MKV" --default-duration 0:23.976fps --aspect-ratio -1:1.777778 "C:\hdconverttox\job4\hdconverttox_vts_02_1.h264" --language -1:eng "C:\hdconverttox\job4\hdencodertox-pid3.mp4" --language -1:deu "C:\hdconverttox\job4\hdencodertox-pid4.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"

- "a scanner darkly" pal dvd has the audio playing about 10 secs early after conversion. what could that be?

Thanks
MvB

buzzqw
26th November 2009, 08:40
buzzqw:

I've send you the mkv file on my last post with mediainfo informations.

Ok, Got it.

i'll check when possible

Hi buzzqw,

after using the ifo as source hdconverttox muxed subtitles and everything just fine. Only a two little problems:

i marked the slowdown field.
- the final mkv always has a speed of 25 fps with the audio of 23.976 and subtitles with 25fps.

... a little note: slowdown works for audio , not for video.
You must set HDC to slowdown video too. Use "Change FPS to 23.976"

BHH

MvB
26th November 2009, 09:27
You must set HDC to slowdown video too. Use "Change FPS to 23.976"

BHH

Hi BHH,

where can i find this option? Or what do i have to do? Can't find anything in the manual except framerate change for audio conversion.

Thanks
MvB

buzzqw
26th November 2009, 09:35
Check deinterlace filters

BHH

MvB
26th November 2009, 09:49
i had no idea :)

Thank you.

Mrsash
26th November 2009, 10:43
@Mrsash
please post the hdconvert_audio_1_world is not enough.avi.avs file

(i think it's a problem of audio decoding..)

BHH

LoadPlugin("F:\HDConvertToX\filters\DirectShowSource.dll")
Import("F:\HDConvertToX\applications\BassAudio\audio_downmix.avsi")
directshowsource("n:\smallville 2\blade\world is not enough.avi",video=false)
ConvertAudioTo16bit()
Normalize()

LoadPlugin("F:\HDConvertToX\filters\DirectShowSource.dll")
Import("F:\HDConvertToX\applications\BassAudio\audio_downmix.avsi")
directshowsource("n:\smallville 2\blade\blade ii.avi",video=false)
ConvertAudioTo16bit()
Normalize()


Question: Even though the muxing was not done can I mux these manually and call it a day for these videos or do you advise reencoding. I did notice one movie had some artifats but quite minimum?
thanks

buzzqw
26th November 2009, 11:18
i can't help more on this, if directshowsource fails i have no choice

i can suggest as last option to not Normalize, to try ffmpeg, and to allow HDC to mux in MKV

and.. for sure you can mux the file manually

BHH

B00ne
26th November 2009, 13:25
what kind of synch issue you have ?
constant or progressive desynch ?

the subtitle extracted from dvd are graphical one's, so you MUST use directvobsub (it isn't a matter of HDC)


it's audio+video

BHH

Hi buzz. I checked the desync. Its constant. sound starts 13 seconds to early and ends 13s earlier.

Regarding the file size: You can check the report i posted earlier. There was no audi copy. On all encodes I tried the file size was off by a few 100 MB. Well, the file size is not that important - I was just wondering.

flebber
26th November 2009, 13:32
HI Buzzqw a random idea popped in my head for HDC, could the filters drop down list could be used more like a combo box so that it would be easier for a user to add multiple filter selections by holding down CTRL and selecting filters.

This could then allow users to then add the one or two extra filters to your superb list and then be able to quickly add and create filter combos for each encode.

:thanks: for your time and effort.

buzzqw
26th November 2009, 13:43
Hi buzz. I checked the desync. Its constant. sound starts 13 seconds to early and ends 13s earlier.

Regarding the file size: You can check the report i posted earlier. There was no audi copy. On all encodes I tried the file size was off by a few 100 MB. Well, the file size is not that important - I was just wondering.

a constant delay could be a problem of ripping or demuxing...

please using shrinkdvd reauthor the dvd (no compression mode)
any bad ripping trace will be corrected


HI Buzzqw a random idea popped in my head for HDC, could the filters drop down list could be used more like a combo box so that it would be easier for a user to add multiple filter selections by holding down CTRL and selecting filters.

This could then allow users to then add the one or two extra filters to your superb list and then be able to quickly add and create filter combos for each encode.

:thanks: for your time and effort.

not so easy.. (remember that you can already chain it with . )
but i will look

BHH

Chengbin
26th November 2009, 14:03
For MT avisynth + 64 bit x264, there should be a distributor() line for the script to allow multithreading + 64 bit x264.

buzzqw
26th November 2009, 14:07
at end of script ?

EDIT: try this http://www.64k.it/andres/data/hdconverttox/HDConvertToX-ch.exe

BHH

olapanekala
26th November 2009, 14:41
Mr buzzqw congratulations for excellent software HDConverttox.
I have already used automkv in the past and i found out that converting DVD (ifo) to mp4 using HDConverttox has some problems.
First of all analysing the ifo-vob takes ages compared to automkv. Second, doing two pass encoding x264 miscalculates bitrate giving 5-10% bigger files. Maybe you should say to stick to automkv, but you said that it is a dead horse (cannot update x264 encoder). Also analyzing m2v+mp2 files demuxed by projectX using best decoder does not find the right time length. The only way is to use ffmpeg decoder which takes ages.

I really thank you for creating such wonderfull tools.

:thanks:

Chengbin
26th November 2009, 23:25
at end of script ?

EDIT: try this http://www.64k.it/andres/data/hdconverttox/HDConvertToX-ch.exe

BHH

Ahhh. Thanks so much.

Mrsash
27th November 2009, 05:49
i can't help more on this, if directshowsource fails i have no choice

i can suggest as last option to not Normalize, to try ffmpeg, and to allow HDC to mux in MKV

and.. for sure you can mux the file manually

BHH

Hmm interesting. Can I ask why does it fail to merge? Considering when I manually merge it with mkv latest version it merges but is somewhat out of sync about 500 ms needs to be delayed. These files are xvid/Ac3 which should technically no syncing since they were already in sync when I started?
thanks

verbatim2
27th November 2009, 06:57
@MvB


hdc do this automatically


for subs yes, for chapter no

you should always use as input for dvd the IFO not the vobs
anyway .. are you sure you installed JAVA rte?

@verbatim2

try using in advanced options the Test Deinterlace

BHH


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.

buzzqw
27th November 2009, 08:19
yes this is know, but sorry, isn't going to change

[quote]Second, doing two pass encoding x264 miscalculates bitrate giving 5-10% bigger files.
bitrate computing is the same as automkv, the only variable is the audio size, that HDC don't know exactly but guessed it

Also analyzing m2v+mp2 files demuxed by projectX using best decoder does not find the right time length. The only way is to use ffmpeg decoder which takes ages.
ffmpegsource make an index the first time, that's why it take ages, but it do it only the first time.. while encoding it will use the same index

Hmm interesting. Can I ask why does it fail to merge? Considering when I manually merge it with mkv latest version it merges but is somewhat out of sync about 500 ms needs to be delayed. These files are xvid/Ac3 which should technically no syncing since they were already in sync when I started?
thanks

usually muxing fails due to missing stream. in your case audio isn't extracted/encoded and so mkvmerge fails muxing

using DSS audio decoding should bring NO delay to audio.

I suggest again to mux the original avi in mkv ,and feed HDC with this mkv

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

B00ne
27th November 2009, 09:25
a constant delay could be a problem of ripping or demuxing...

please using shrinkdvd reauthor the dvd (no compression mode)
any bad ripping trace will be corrected

BHH


I did that, didnt change the sync issue - though final file size is right now.
Can I control the demuxing? And why is nobody else having this problem?

Mrsash
27th November 2009, 09:28
usually muxing fails due to missing stream. in your case audio isn't extracted/encoded and so mkvmerge fails muxing

using DSS audio decoding should bring NO delay to audio.

I suggest again to mux the original avi in mkv ,and feed HDC with this mkv

BHH

I thought mkv does not accept Ac3 but will check.
thanks

buzzqw
27th November 2009, 10:15
mkv accept near all audio format!

BHH

olapanekala
27th November 2009, 10:40
yes this is know, but sorry, isn't going to change


bitrate computing is the same as automkv, the only variable is the audio size, that HDC don't know exactly but guessed it


ffmpegsource make an index the first time, that's why it take ages, but it do it only the first time.. while encoding it will use the same index



Thank you very much for fast reply. I will stick to automkv for a little while. If i can only update x264.exe .......

jsbenson
27th November 2009, 19:10
I've successfully converted some movies but I seem to have trouble with a couple of them. I convert to x264 in M2TS @ extreme quality at a bitrate of around 8000. When I convert Poltergeist or Creepshow the end movie is over 30GB. I use the same settings for other movies and they convert fine.

Anyone else run into this?

MvB
27th November 2009, 23:03
Ok, Got it.

i'll check when possible



... a little note: slowdown works for audio , not for video.
You must set HDC to slowdown video too. Use "Change FPS to 23.976"

BHH

Hi buzzqw,

now i found out why the video and audio never align if you choose "convert audio to 23.976" and change fps to 23.976.

To work properly in this constellation, it should say assumefps(23.976,true) in the avs script, otherwise the framecount will be changed and video and audio never match.

Is there the possibility to change these predefined functions in the gui?
Anyway, is there a possibility to automatically add a predefined batch commando with every encode (for example to let a tool convert (slowdown) the extracted chapters.txt)?

Thanks
MvB

gibbyman
28th November 2009, 11:14
Quick question for you all...

To test your movie to see if it's interlaced or not I've read that there's an option on the "advanced options"-tab in HDC.

I have one called "Test interlace pattern" but it's greyed out...
Is that the button? If so - how do I "un-grey" it?

buzzqw
28th November 2009, 11:27
@MvB

i could change in code changefps to assumefps... but i am unsure.. i will check further on avisynth manual

@gibbyman
deinterlace test could be done for source with MOD4 height and width

BHH

Sharc
28th November 2009, 14:01
@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

Sharc
28th November 2009, 14:18
Hi buzzqw,

now i found out why the video and audio never align if you choose "convert audio to 23.976" and change fps to 23.976.

To work properly in this constellation, it should say assumefps(23.976,true) in the avs script, otherwise the framecount will be changed and video and audio never match.

Have you tried to simply overtype the value which is indicated in the GUI Source File Info as Frame Rate? The color will turn to yellow, but this value will be imported in the .meta for muxing. At least it works for speedup from 23.976 to 25 fps.

MvB
28th November 2009, 14:42
@MvB

i could change in code changefps to assumefps... but i am unsure.. i will check further on avisynth manual

@gibbyman
deinterlace test could be done for source with MOD4 height and width

BHH

Hi Buzzqw,

to slowdown a complete dvd-movie from 25 to 23.976 fps, you have to do the following things:
1) Use AssumeFPS instead of ChangeFPS, because ChangeFPS just skips frames to archive it's goal, but the length of the movie stays the same and it gets choppy (because of the skipped frames). AssumeFPS just plays the frames without skipping, but with the given speed of 23.976 (that means, the movie goes in sync with the audio again that we slowed down before. So the movie and audio are about 4% longer).
2) The chapters.txt is in 25fps. That means, if you mux this file with your video, the chapters aren't at the right place. You have to adjust the times for 23.976 fps in the chapters.txt file.
3) the hdc_subs.idx is in 25 fps. That means, if you mux this with the video the subtitles are to early and get earlier as time progresses. You have to adjust the times in the idx file to 23.976 fps.

After that everything works fine with conversion.

@Sharc

Have you tried to simply overtype the value which is indicated in the GUI Source File Info as Frame Rate? The color will turn to yellow, but this value will be imported in the .meta for muxing. At least it works for speedup from 23.976 to 25 fps.



Unfortunately that didn't work with me when i tried to convert a PAL-DVD to 23.976 mkv. The video plays with 25fps in the mkv.

pdanpdan
28th November 2009, 22:53
Hi,
1. I have a problem with DVD to mkv conversion: I select subtitle tracks 0,7,8,15, but in hdc_subs.list I get 0 6 7 13
2. When I use HQ Deinterlace, the video has 2x more frames (normal) but the fps value on muxing is not changed - I think there shoul be 2 options HQ Deinterlace 2xframes, which should mux with fps=2xoriginal fps, and a HQ Deinterlace 1x which should a a tdecimate(mode=2,rate=[original fps])
3. Please, can you please add "--no-global-tags" "--no-chapters" to the aac-in-mp4 tracks that are added to mkv. Mkvmerge also reads the chapters from audio file, so if a convert a dvd with chapters and 2 audio tracks, in the resulting mkv I get 2 Editions (1st with the DVD chapters, and the 2nd with 2 fake chapters taken from audio files)

Thank you,
PDan

Video info: MPEG2 720x576 PAL 4:3

PGC 1. Length: 0:00:00:10

Audio 1. English (AC3 2ch, 0xBD 0x80) [0]

Subtitle 1. English 8 (0xBD 0x20) [0]


PGC 2. Length: 0:00:00:00

Audio 1. English (AC3 2ch, 0xBD 0x80) [1]

Subtitle 1. English 8 (0xBD 0x20) [1]


PGC 3. Length: 0:00:00:10

Audio 1. English (AC3 2ch, 0xBD 0x80) [2]

Subtitle 1. English 8 (0xBD 0x20) [2]


PGC 4. Length: 0:23:09:21

Audio 1. English (AC3 2ch, 0xBD 0x80) [3]
Audio 2. Polish (AC3 2ch, 0xBD 0x81) [3]
Audio 3. Greek (AC3 2ch, 0xBD 0x82) [3]
Audio 4. Turkish (AC3 2ch, 0xBD 0x83) [3]
Audio 5. Russian (AC3 2ch, 0xBD 0x84) [3]
Audio 6. Portugues (AC3 2ch, 0xBD 0x85) [3]
Audio 7. Romanian (AC3 2ch, 0xBD 0x86) [3]

Subtitle 1. English 0 (0xBD 0x20) [3]
Subtitle 2. Polish 1 (0xBD 0x21) [3]
Subtitle 3. Greek 2 (0xBD 0x22) [3]
Subtitle 4. Turkish 3 (0xBD 0x23) [3]
Subtitle 5. Russian 4 (0xBD 0x24) [3]
Subtitle 6. Portugues 6 (0xBD 0x26) [3]
Subtitle 7. Romanian 7 (0xBD 0x27) [3]
Subtitle 8. English 8 (0xBD 0x28) [3]
Subtitle 9. Polish 10 (0xBD 0x2A) [3]
Subtitle 10. Greek 11 (0xBD 0x2B) [3]
Subtitle 11. Turkish 12 (0xBD 0x2C) [3]
Subtitle 12. Russian 13 (0xBD 0x2D) [3]
Subtitle 13. Portugues 14 (0xBD 0x2E) [3]
Subtitle 14. Romanian 15 (0xBD 0x2F) [3]

Crono141
29th November 2009, 02:43
OK, this is the 3rd DVD in a row this has happened on. It happened on fosters home for imaginary friends (season one and two) disc 1 and 2, it happened on Hocus Pocus, and its happened now on Green Legend Ran :mad: : Audio (and also subtitles) for the main movie plays during pre-main movie splash videos that get encoded. When I analyze main IFO, movie length is reported 2:27:46. Actual video produced length is 2:28:46. Here's the report for the last encode.

HDConvertToX v.2.2.522.3828 report

Input File: c:\users\nancy\desktop\ripped\vts_01_1.vob ( C:\Users\Nancy\Desktop\Ripped\VTS_01_0.IFO )
PGC : PGC 1. Length: 2:27:46:25 / chained=1
Codec Video: mpeg
Width / Heigh : 720 / 480
Framerate / Framecount: 29.970fps / 265714 frames
Duration(hh:mm:ss): 2:27:46
Aspect Ratio: 1.3334
Resized resolution: 704 / 544
Crop Values : 4:0:12:0

Start Video Configuration ->
Encoding Settings: X264 Slow
Final Size: 20
Denoise Level: None
Video Handling: Use Best Decoder
Deinterlace: Telecine
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
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: Japanese (AC3 2ch, 0xBD 0x81) [0]

-> End Full Audio List

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

-> End Full Subtitle List

Encrust Subtitle in Video file: On

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

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

"C:\Users\Nancy\Desktop\HDC\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[c:\users\nancy\desktop\ripped\vts_01_1.vob] -OF=[C:\Users\Nancy\Desktop\HDC\analysis\movie] -exit -minimize
"C:\Users\Nancy\Desktop\HDC\applications\eac3to.exe" "C:\Users\Nancy\Desktop\Ripped\VTS_01_1.vob"+"C:\Users\Nancy\Desktop\Ripped\VTS_01_2.vob"+"C:\Users\Nancy\Desktop\Ripped\VTS_01_3.vob"+"C:\Users\Nancy\Desktop\Ripped\VTS_01_4.vob"+"C:\Users\Nancy\Desktop\Ripped\VTS_01_5.vob"+"C:\Users\Nancy\Desktop\Ripped\VTS_01_6.vob"+"C:\Users\Nancy\Desktop\Ripped\VTS_01_7.vob" 4: stdout.wav -normalize -down2 | "C:\Users\Nancy\Desktop\HDC\applications\neroaacenc.exe" -if - -br 128000 -ignorelength -of "C:\Users\Nancy\Desktop\HDC\analysis\hdencodertox-pid4.mp4"
"C:\Users\Nancy\Desktop\HDC\applications\VSrip.exe" "C:\Users\Nancy\Desktop\HDC\analysis\hdc_subs.list"
"C:\Users\Nancy\Desktop\HDC\applications\x264.exe" --crf 20 --preset slow --threads auto --thread-input --tune animation --sar 1:1 --output "C:\Users\Nancy\Desktop\HDC\analysis\hdconverttox_vts_01_1.h264" "C:\Users\Nancy\Desktop\HDC\analysis\hdconverttox_vts_01_1.avs"
"C:\Users\Nancy\Desktop\HDC\applications\Chapter\ChapterXtractor.exe" "C:\Users\Nancy\Desktop\Ripped\VTS_01_0.IFO" "C:\Users\Nancy\Desktop\HDC\analysis\chapters.txt" -p5
"C:\Users\Nancy\Desktop\HDC\applications\mp4box.exe" -add "C:\Users\Nancy\Desktop\HDC\analysis\hdconverttox_vts_01_1.h264" -fps 23.976 -add "C:\Users\Nancy\Desktop\HDC\analysis\hdencodertox-pid4.mp4":lang=jpn -chap "C:\Users\Nancy\Desktop\HDC\analysis\chapters.txt" "C:\Users\Nancy\Desktop\HDC\hdconverttox_full_vts_01_1.mp4"
-> End Queue

AviSynth Script ->
Working with files: C:\Users\Nancy\Desktop\HDC\analysis\hdconverttox_vts_01_1.avs
Mpeg2Source("C:\Users\Nancy\Desktop\HDC\analysis\movie.d2v")
tfm(last,d2v="C:\Users\Nancy\Desktop\HDC\analysis\movie.d2v").tdecimate()
LanczosResize(704,544,4,0,-12,-0)
ColorMatrix(d2v="C:\Users\Nancy\Desktop\HDC\analysis\movie.d2v")
VobSub("C:\Users\Nancy\Desktop\HDC\analysis\hdc_subs.idx")
-> End AviSynth Script


Edit: Link to sample output http://www.mediafire.com/file/dlyo1qjli0z/Green Legend Sample.mp4
Edit 2: Link to sample of input (video copied, audio to mp3 because my splitter program wasn't copying audio for some reason) http://www.mediafire.com/file/jmcdmkrnltw/green legend sample source.avi

MvB
29th November 2009, 08:50
OK, this is the 3rd DVD in a row this has happened on. It happened on fosters home for imaginary friends (season one and two) disc 1 and 2, it happened on Hocus Pocus, and its happened now on Green Legend Ran :mad: : Audio (and also subtitles) for the main movie plays during pre-main movie splash videos that get encoded.


Yes, this happens to me with every 3rd dvd, too.
for example, contact, pal the trailer and on extra are encoded, too, but the audio and subtitles don't match anymore.
A scanner darkly, pal, the pre-movie warner-logo is encoded, so the audio and subtitles start about 10s to early.

Sharc
29th November 2009, 08:59
Yes, this happens to me with every 3rd dvd, too.
for example, contact, pal the trailer and on extra are encoded, too, but the audio and subtitles don't match anymore.
A scanner darkly, pal, the pre-movie warner-logo is encoded, so the audio and subtitles start about 10s to early.
Just a note for a workaround:
In such cases it will help to firstly re-author the main movie of the DVD with good old DVD Shrink, set for 'no compression', before throwing it to HDC.

MvB
29th November 2009, 17:18
Just a note for a workaround:
In such cases it will help to firstly re-author the main movie of the DVD with good old DVD Shrink, set for 'no compression', before throwing it to HDC.

Good idea. Why didn't i think of it? Thanks.