Log in

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


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76

buzzqw
25th June 2009, 18:42
Question: How do you load a queue.bat for me to start later?
when queue is started queue.bat is created, and then in no more editable by hdc

if you want start it later.. simply launch queue.bat later

for temp folder there is a option in hdconverttox.ini, but isn't recommend since it will empty all files in temp folder

BHH

EEPROM
25th June 2009, 19:36
HDConvertToX v.1.9.403.3232 report

Input File: c:\documents and settings\User\desktop\temp\05.mpg ( C:\Documents and Settings\User\Desktop\Temp\05.mpg )
Codec Video: mpeg
Width / Heigh : 704 / 576
Framerate / Framecount: 25.000 / 60242
Duration(hh:mm:ss): 0:40:10
Aspect Ratio: 1.3334
Resized resolution: 640 / 480
Crop Values : 0:0:0:0

Start Video Configuration ->
Encoding Settings: XviD in AVI
SAP Compatibility: On
Encoding Preset: 7
Final Size: 350
Priority: idle
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration

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

Full Audio List-> (*** mean selected)
NONE
*** 2: mp2, 2.0 channels, 256kbps, 48khz, 3ms

-> 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 Queue ->
prompt $d $t $_$P$G

"C:\Programmi\MPC-Homecinema.1018\HDConvertToX\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[c:\documents and settings\User\desktop\temp\05.mpg] -OF=[C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\movie] -exit -minimize
"C:\Programmi\MPC-Homecinema.1018\HDConvertToX\applications\eac3to.exe" "c:\documents and settings\User\desktop\temp\05.mpg" 2: stdout.wav -down16 -down2 | "C:\Programmi\MPC-Homecinema.1018\HDConvertToX\applications\lame.exe" - -h --abr 160 "C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdencodertox-pid2.mp3"
"C:\Programmi\MPC-Homecinema.1018\HDConvertToX\applications\xvid_encraw.exe" -progress 50 -i "C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdconverttox_05.avs" -avi "C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdconverttox_05.avi" -max_bframes 1 -nopacked -vhqmode 1 -quality 6 -max_key_interval 125 -lumimasking -bquant_ratio 150 -framerate 25.000 -threads 3 -bitrate 1055 -pass1 -turbo
"C:\Programmi\MPC-Homecinema.1018\HDConvertToX\applications\xvid_encraw.exe" -progress 50 -i "C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdconverttox_05.avs" -avi "C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdconverttox_05.avi" -max_bframes 1 -nopacked -vhqmode 1 -quality 6 -max_key_interval 125 -lumimasking -bquant_ratio 150 -framerate 25.000 -threads 3 -bitrate 1055 -pass2
"C:\Programmi\MPC-Homecinema.1018\HDConvertToX\applications\AVIMux_GUI.exe" -stdin mux0.amg
-> End Queue

AviSynth Script ->
Working with files: C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdconverttox_05.avs
Setmemorymax(512)
SetMTMode(2,0)
mpeg2source("C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\movie.d2v")
LanczosResize(640,480,0,0,-0,-0)
ColorMatrix(d2v="C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\movie.d2v")
hqdn3d(1)
-> End AviSynth Script

AVIMux-Gui Script >
CLEAR
LOAD C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdconverttox_05.avi
LOAD C:\Programmi\MPC-Homecinema.1018\HDConvertToX\temp\hdencodertox-pid2.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:\Programmi\MPC-Homecinema.1018\HDConvertToX\hdconverttox_full_05.avi
-> End AVIMux-Gui Script


Source file recorded with DVBDream

Chengbin
25th June 2009, 23:32
I have a RGB video that I want to encode. All of the decoders in HDC fail to analyze the video. How do I encode it?

EEPROM
26th June 2009, 02:30
I think i've found the problem.
I do not know why, but KasperskyInternetSecurity2010, make skip the encode video.
After dgindex, passes directly to the avimuxgui, freezing it.
Now I must find the solution to this problem.
K.I.S.2010 don't alert me of nothing.....strange.

I'm sorry for "false positive".

Mrsash
26th June 2009, 09:49
when queue is started queue.bat is created, and then in no more editable by hdc

if you want start it later.. simply launch queue.bat later

I saved queue.bat. Needed a PC restart to start fresh say and then double clicked on queue.bat and nothing. I might have started HDC before I did this. Does that make a new queue.bat in the same folder?


for temp folder there is a option in hdconverttox.ini, but isn't recommend since it will empty all files in temp folder

Why is it not recommended?

buzzqw
26th June 2009, 10:17
before launching queue.bat make sure that temp folder cointains all avs script.

BHH

Adub
26th June 2009, 18:00
Small Bug Report. Using the latest 1.9.403.3232.

It appears that HDConvertToX still thinks that there is an error when loading a file after that error has been corrected and the "problem" file loads fine in MPC.

To replicate:

1) Take a .vob file.
2) Turn OFF ffdshow mpeg2 codec. Or any other directshow mpeg2 filter you have. Make sure that there is no way the file can be played through directshow.
3) Load .vob file into HDC.
4) Analyze. A problem will occur. MPC will display an error saying that "DirectShowSource: RenderFile, the filter graph won't talk to me."
5) Don't close HDC!
6) Renable Mpeg2 decoding (in ffdshow or otherwise).
7) Re-analyse your file. It will say that there is a problem, but when MPC loads to display the problem, it loads the .vob file correctly and plays just fine.

Let me know if I need to be more precise.

buzzqw
26th June 2009, 21:11
Hi All!

it's a busy today! my second son, my first daughter Isotta is born! :thanks:

BHH

noee
26th June 2009, 21:13
Twins? Wow, that deserves a big "Congratulations!!". Let the fun begin.

Adub
26th June 2009, 21:42
Damn, well congrats to you Buzzqw!!! Take some well deserved time off!

Karkas
26th June 2009, 22:32
Hi All!

it's a busy today! my second son, my first daughter Isotta is born! :thanks:

BHH

Awesome! Congrats... just had my 1st daughter a few months ago :)

Chengbin
26th June 2009, 22:43
Congratulations!

sfcav
26th June 2009, 23:20
Hi All!

I'm new to HDConvertToX but have used AutoMKV before and REALLY appreciate the effort that goes into simplifying the conversion process - many thanks!

Just tried setting up HDConvertToX and analyzing a file and got the error message "filter graph manager won't talk to me". I have the K-lite codec pack installed on the computer and, since it had the required accessory programs (and I already had AVISynth installed), that I wouldn't need the separate installs - guess not. Once I uninstalled the K-lite pack and AVISynth, then (after reboot and registry cleanup) reinstalled AVISynth, ffdshow and haali media splitter, HDConvertToX now analyzes files properly! Should I conclude that there are version compatability issues between the same programs in the K-lite pack and what HDConvertToX needs? Is it simply a setting somewhere or can the K-lite pack not be installed??

Secondly, I followed Adub's guide for backing up movies and the queue initiated fine and completed eac3to audio conversion and, apparently, the first x264 pass. However, the DOS screen says 100% complete after the first pass but nothing else is happening (I have a *.h264 file, but the second pass hasn't initiated). The system isn't frozen (I'm using it now) but nothing has happened in the DOS window for several hours (and no CPU usage). The process should go to completion, correct? Did I miss something, or is there a way to initiate the next steps?

Here is the DOS window log (in case that helps):
________________________________________________________________________________

I:\HDConvertToX_1.8.332.2935\temp>prompt $d $t $_$P$G

Fri 06/26/2009 10:01:42.01
I:\HDConvertToX_1.8.332.2935\temp>"I:\HDConvertToX_1.8.332.2935\applications\eac
3to.exe" "i:\br hd\00001.m2ts" 2: "I:\HDConvertToX_1.8.332
.2935\temp\hdencodertox-pid2.ac3" -normalize -384
M2TS, 1 video track, 3 audio tracks, 1:16:23, 24p /1.001
1: MPEG2, 1080p24 /1.001 (16:9)
2: AC3, 2.0 channels, 384kbps, 48khz, dialnorm: -27dB
3: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 384kbps, 48khz, dialnorm: -27dB
a02 The Nero decoder doesn't seem to work, will use libav instead.
a02 Extracting audio track number 2...
a02 Removing AC3 dialog normalization...
a02 Decoding with libav/ffmpeg...
a02 Writing WAV...
a02 Creating file "I:\HDConvertToX_1.8.332.2935\temp\hdencodertox-pid2.ac3.pass1
.wav"...
a02 Caution: The WAV file is bigger than 2GB.
a02 Some WAV readers might not be able to handle this file correctly.
a02 Starting 2nd pass...
a02 Reading WAV...
a02 Encoding AC3 <384kbps> with libAften...
a02 Creating file "I:\HDConvertToX_1.8.332.2935\temp\hdencodertox-pid2.ac3"...
a02 Original audio track: max 32 bits, average 30 bits, most common 29 bits.
a02 The processed audio track has a constant bit depth of 64 bits.
Video track 1 contains 109881 frames.
eac3to processing took 8 minutes, 40 seconds.
Done.

Fri 06/26/2009 10:10:30.21
I:\HDConvertToX_1.8.332.2935\temp>"I:\HDConvertToX_1.8.332.2935\applications\x26
4.exe" --pass 1 --bitrate 7834 --threads auto --thread-input --no-psnr --progres
s --keyint 250 --bframes 4 --trellis 0 --ref 1 --deblock -1,-1 --subme 2 --dire
ct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --weightb --b
-adapt 2 --no-chroma-me --aud --aq-strength 1 --sar 1:1 --output "I:\HDConvert
ToX_1.8.332.2935\temp\hdconverttox_00001.h264" "I:\HDConvertToX_1.8.332.2935\tem
p\hdconverttox_00001.avs"
avis [info]: 1272x720 @ 23.98 fps (109879 frames)
x264 [warning]: width or height not divisible by 16 (1272x720), compression will
suffer.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cach
e64
x264 [info]: cabac=1 ref=1 deblock=1:-1:-1 analyse=0x1:0x111 me=dia subme=2 psy_
rd=0.0:0.0 mixed_ref=0 me_range=16 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone
=21,11 chroma_qp_offset=0 threads=3 thread_queue=3 nr=0 decimate=1 mbaff=0 bfram
es=4 b_pyramid=0 b_adapt=2 b_bias=0 direct=3 wpredb=1 keyint=250 keyint_min=25 s
cenecut=40 rc=cbr bitrate=7834 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4
vbv_maxrate=25000 vbv_bufsize=14000 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
x264 [info]: profile Main, level 4.1
[100.0%] 109870/109879 frames, 13.52 fps, 7332.76 kb/s, eta 0:00:00
________________________________________________________________________________

Any and all comments welcome.

sfcav

PS - Congratulations buzzqw on the family expansion!

feanor12
26th June 2009, 23:21
Twins?! Well, congratz Buzz!!

http://forum.skavt.net/images/smilies/038.gifhttp://joker.si/mn3njalnik/style_emoticons/default/limona.gifhttp://joker.si/mn3njalnik/style_emoticons/default/worship.gif http://forum.skavt.net/images/smilies/031.gif http://forum.skavt.net/images/smilies/041.gifhttp://joker.si/mn3njalnik/style_emoticons/default/fun.gif http://forum.skavt.net/images/smilies/023.gif

http://www.sassycats.com/baby8.jpg


:thanks: again for all your help and support!! ツ

Yeah... you can take some time for yourself now! HDC works great as it is anyway - at least for my needs!! ツ

Guest
26th June 2009, 23:27
Further congrats to PM please. Hate to be a pooper but it's OT. Let's say that feanor12 has spoken for us all!

feanor12
26th June 2009, 23:39
@sfcav: I have K-lite mega codec pack intalled too and I didn't uninstall it - just installed new ffdshow, halli and avisynth (with MT support).

I have no problems with dvd encoding, but recently I tried to encode more HD movies and I had analyzing problems with all of them... but I think I have something wrong in options, because some time ago I successfully encoded few HD movies in HDC! ツ

sfcav
27th June 2009, 04:46
Thanks for the comments feanor12 - nice to know it may well be possible to use K-lite (lets me play everything).

As an update to the conversion, I updated to the most current version (1.9.403.3232) shut down the computer, then rebooted and tried again, but encoding stopped at the same place (completed the audio and went on to the video, but stalled at the end of the first pass). When I updated, I also initially deleted the HDConvertToX_profile.txt file, but HDDonvertToX wouldn't start properly until I restored the file.

Note also that I moved the HDConvertToX folder after runing the program once - when is the profile file created and could moving the folder have caused an issue?

The last line reported was:

[100.0%] 109870/109879 frames, 13.52 fps, 7344.43 kb/s, eta 0:00:00

But after that nothing happened.


I remain confused!

sfcav

buzzqw
27th June 2009, 06:13
thanks all pals!

@sfcav
it's not a problem of hdc but of x264.exe

please try upgrading with this : http://techouse.project357.com/builds/x264_x86_r1173_techouse.7z , just substitute x264.exe with this one

BHH

sfcav
27th June 2009, 18:50
@buzzqw
it's not a problem of hdc but of x264.exe

please try upgrading with this : http://techouse.project357.com/build...73_techouse.7z , just substitute x264.exe with this one

BHH
_________________

Thanks for the suggestion buzzqw!

I upgraded and replaced the x264.exe file and tried again, to the same conclusion - the audio completes and the first pass x264 encode appears to go to completion (last line in the cmd window is "[100.0%] 109870/109879 frames, 13.87 fps, 7867.14 kb/s, eta 0:00:00" and an appropriately-sized *.h264 file is written to the temp folder), but then nothing elso happens (cmd window stays open and no other commands initiate).

In case it matters, this is a 1080p mpeg2 m2ts file. I'll try another file (as well as an AVC file), but any other suggestions would be appreciated.

Also, two related questions:

I. After analyzing the file there are 2 audio tracks listed under the "Audio" tab (as well as "none"), but there are actually 3 in the file (visiable with MediaInfo and in the cmd window when eac3to starts working with the file:
1: MPEG2, 1080p24 /1.001 (16:9)\
2: AC3, 2.0 channels, 384kbps, 48khz, dialnorm: -27dB
3: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 384kbps, 48khz, dialnorm: -27dB
Is that normal?

II. How should I abort a run (ctl+C in the cmd window)? So far, when the run halts after completing the first encoding pass, I've been simply closing the cmd window.

sfcav
______________________________________________________________________

Update - I was able to get a different mpeg2 file to process completely (worked great!), which makes me think that there is something odd with my first file. Both are mpeg2 files - the one that completed is a 1080i captured mpg file, whereas the one that hung after the first pass is a 1080p m2ts file (all the encoding parameters were the same). Should that matter (I can past MediaInfo data if helpful)?

sfcav

delacroixp
27th June 2009, 22:17
Congratulations on your latest application ... double refined to the needs of HD.

I'm busy encoding the CNN Cold War series (http://en.wikipedia.org/wiki/Cold_War_(TV_series)) (mostly B & W) from PAL DVD.
It was produced at 24 fps but released at 25.
I like to return my movies to their original splendour ... which includes the framerate (where possible).

An option to to assume 23.976 fps (both audio and video automatically) would be welcome.
:thanks: much !


It's all good
:):devil::D
Pascal

Mrsash
28th June 2009, 08:00
Congrats on the twins buddy. Life is not gonna be the same for you if you did not have kids before.


On the HDC front mate gotta tell you something is wrong. It definitely overcrops picture front top and bottom, so basically what it shows in visual crop does not come out that way when encoded. I saw both pictures side by side. Looks also that the picture AR is wrong(stretched vertically would post a screenshot but dont know what to use to get screens for dvd vs mkv.

from the queue

"D:\HDConvertToX_1.8.332.2935\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[n:\new folder (8)\movies\1 telecine\mr india\video_ts\vts_01_1.vob] -OF=[D:\HDConvertToX_1.8.332.2935\temp\movie] -exit -minimize
"D:\HDConvertToX_1.8.332.2935\applications\eac3to.exe" "N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_1.vob"+"N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_2.vob"+"N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_3.vob"+"N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_4.vob"+"N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_5.vob"+"N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_6.vob" 3: stdout.wav -normalize | "D:\HDConvertToX_1.8.332.2935\applications\neroaacenc.exe" -if - -br 96000 -ignorelength -of "D:\HDConvertToX_1.8.332.2935\temp\hdencodertox-pid3.mp4"
"D:\HDConvertToX_1.8.332.2935\applications\x264.exe" --pass 1 --bitrate 1040 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 4 --trellis 0 --ref 1 --deblock -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --weightb --b-adapt 2 --no-chroma-me --aud --aq-strength 1 --sar 1:1 --output "D:\HDConvertToX_1.8.332.2935\temp\hdconverttox_vts_01_1.h264" "D:\HDConvertToX_1.8.332.2935\temp\hdconverttox_vts_01_1.avs"
"D:\HDConvertToX_1.8.332.2935\applications\x264.exe" --pass 2 --bitrate 1040 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 4 --mixed-refs --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --no-chroma-me --8x8dct --aud --aq-strength 1 --sar 1:1 --output "D:\HDConvertToX_1.8.332.2935\temp\hdconverttox_vts_01_1.h264" "D:\HDConvertToX_1.8.332.2935\temp\hdconverttox_vts_01_1.avs"
"D:\HDConvertToX_1.8.332.2935\applications\Chapter\ChapterXtractor.exe" "N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\VTS_01_0.IFO" "D:\HDConvertToX_1.8.332.2935\temp\chapters.txt" -p5
"D:\HDConvertToX_1.8.332.2935\applications\mkvmerge.exe" -o "N:\New Folder (8)\Movies\1 Telecine\Mr India\VIDEO_TS\1.MKV" --default-duration 0:23.976fps "D:\HDConvertToX_1.8.332.2935\temp\hdconverttox_vts_01_1.h264" --language -1:hin "D:\HDConvertToX_1.8.332.2935\temp\hdencodertox-pid3.mp4" --chapters "D:\HDConvertToX_1.8.332.2935\temp\chapters.txt" --title "Done with HDConvertToX v.1.8.332.2935"



Also for each movie I am doing a 5% interlace filter tests. Some are not deterimined because they are telecine and interlaced some are telecine and some interlaced. Cane you confirm if I am right using the filters as below?

For
1. telecine and interlaced(mixed telecine/interlaced)
2. telecine(telecine)
3. interlace(interlaced)

Why does HDC not do a test automatically rather than a manual test which is needed?

buzzqw
28th June 2009, 17:03
@sfcav

is substituting x264 won't solve the issue, i suppose a problem of decoder, try updating ffdshow/dgindex..

and yes , you can use ctrl+c to stop encoding BUT not for stopping batch

@delacroixp
use the free avs string for video
and use eac3to with slowdown for audio

@Mrsash

, so basically what it shows in visual crop does not come out that way when encoded
remember to use even the preview when you think autocrop is wrong

picture AR is wrong
wrong crop.. wrong ar

the deinterlace routine try to suggest the better approach.. but with mixed pattern you can always be wrong
your better approach could be to use mixed telecine/interlace or to use "Interlace HQ" (only if you think that framere rate should be kept at 29.97)

BHH

Mrsash
29th June 2009, 10:24
@sfcav

is substituting x264 won't solve the issue, i suppose a problem of decoder, try updating ffdshow/dgindex..

and yes , you can use ctrl+c to stop encoding BUT not for stopping batch

@delacroixp
use the free avs string for video
and use eac3to with slowdown for audio

@Mrsash


remember to use even the preview when you think autocrop is wrong


wrong crop.. wrong ar

the deinterlace routine try to suggest the better approach.. but with mixed pattern you can always be wrong
your better approach could be to use mixed telecine/interlace or to use "Interlace HQ" (only if you think that framere rate should be kept at 29.97)

BHH

Checked the preview the same settings and the picture is perfect. However after encode picture is cropped excessively and stretched vertically to form the right AR. So not only is it zoomed in but people look vertically stretched! I can post sceenshots. what program do I use to do so(screenshots)?



Update: Ok found something interesting. I did sample of the video file 1 pass Crf 18 and it came out the right AR, no cropping etc, basically perfect.

Now the enitre movie was done 2 pass 1460 size and Nero CBR 96 orginal. I did not touch the crop(I kept the same crop settings). In this case the movie had bad AR and stretched etc. So the problem is 2 pass??

I am considering "Crop Obey to AR". what does this exactly. This is what the manual says but make no sense to me "Crop obey to AR is for forcing autocrop detection to respect while cropping the original AR of video". You advised in previous post dont tick this. Any particular reason?

So all in all what should I do?

Sharc
29th June 2009, 18:19
So all in all what should I do?
Reading through your past posts you appear to be permanently at war with the AR. Make sure that your playback device does not introduce the AR distortion due to wrong settings. What is your playback device?
Why don't you finally upload a short clip of your source so that someone may give you advice?

Barleyman
30th June 2009, 18:24
Buzz, you just can't leave the encoder guis alone, can you??

I tried to rip a BD disk to HDD to watch later with MakeMKV. however, the disk has unusual audio, 3-channel LPCM, which the MakeMKV can't handle properly. So I checked out what else is there and found your new project..

I tried to do straight pack-to-mkv conversion here with original audio, original video. Basically what makemkv does. However, the audio gets dropped along the way. I also saw a message in the command line window about problematic >2GB wav file.. (It'd be useful if the text on the window got saved..)

Here's the report:
HDConvertToX v.1.9.403.3232 report

Input File: h:\bdmv\stream\00007.m2ts ( H:\BDMV\STREAM\00007.m2ts )
Codec Video: avc
Width / Heigh : 1920 / 1088
Framerate / Framecount: 24.000 / 138408
Duration(hh:mm:ss): 1:36:7
Aspect Ratio: 1.7778
Resized resolution: 1920 / 1088
Crop Values : 0:24:0:24
No Resize & Crop: On

Start Video Configuration ->
Encoding Settings: X264 in MKV
Encoding Preset: 7
Final Size: 700
Priority: idle
Denoise Level: None
Video Handling: Force DirectShowSource2 (Haali)
-> End Video Configuration

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

Full Audio List-> (*** mean selected)
NONE
*** 3: raw/pcm, english, 3.0 channels, 24 bits, 48khz

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
NONE
4: subtitle (pgs), danish
5: subtitle (pgs), norwegian
6: subtitle (pgs), swedish
*** 7: subtitle (pgs), finnish

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

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

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

"C:\Program Files\HDConvert\applications\eac3to.exe" "h:\bdmv\stream\00007.m2ts" 7:"D:\Temp\hdencodertox__subs_7.sup"
"C:\Program Files\HDConvert\applications\eac3to.exe" "h:\bdmv\stream\00007.m2ts" 3: "D:\Temp\hdencodertox-pid3.wav"
java -jar "C:\Program Files\HDConvert\applications\BDSup2Sub.jar" "D:\Temp\hdencodertox__subs_7.sup" "D:\Temp\hdencodertox__subs_7.idx"
"C:\Program Files\HDConvert\applications\eac3to.exe" "h:\bdmv\stream\00007.m2ts" 2:"D:\Temp\hdconverttox_00007.h264"
"C:\Program Files\HDConvert\applications\eac3to.exe" "h:\bdmv\stream\00007.m2ts" 1:"D:\Temp\chapters.txt"
"C:\Program Files\HDConvert\applications\mkvmerge.exe" -o "E:\Movies\Vicky_Cristina_Barcelona\title00.mkv" --default-duration 0:24.000fps --aspect-ratio -1:1.7778 "D:\Temp\hdconverttox_00007.h264" --default-track -1:no --language -1:fin "D:\Temp\hdencodertox__subs_7.idx" --chapters "D:\Temp\chapters.txt" --title "Done with HDConvertToX v.1.9.403.3232"
-> End Queue

AviSynth Script ->
Working with files: D:\Temp\hdconverttox_00007.avs
DSS2("h:\bdmv\stream\00007.m2ts",fps=24.000)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
return last
-> End AviSynth Script


And nice work on the double trouble!

Adub
30th June 2009, 18:53
It is saved in the temp directory. Look in the temp directory for a log file concerning Stdout (I believe) in this case. Should have a detailed description from eac3to.

buzzqw
30th June 2009, 19:23
3: raw/pcm, english, 3.0 channels, 24 bits, 48khz
Audio Codec: Copy Audio

your wav file go over 2gb and standard wav cannot be over 2gb...

i strongly suggest to encode it, or.. better.. encode with flac, so you got a lossless copy

BHH

Barleyman
30th June 2009, 20:49
your wav file go over 2gb and standard wav cannot be over 2gb...

i strongly suggest to encode it, or.. better.. encode with flac, so you got a lossless copy

BHH

Well, it's not that easy..


eac3to v3.16
command line: "C:\Program Files\HDConvert\applications\eac3to.exe" "h:\bdmv\stream\00007.m2ts" 3: "D:\Temp\hdencodertox-pid3.ac3" -normalize -640
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 4 subtitle tracks, 1:36:07, 24p
1: Chapters, 12 chapters
2: h264/AVC, 1080p24 (16:9)
3: RAW/PCM, English, 3.0 channels, 24 bits, 48khz
4: Subtitle (PGS), Danish
5: Subtitle (PGS), Norwegian
6: Subtitle (PGS), Swedish
7: Subtitle (PGS), Finnish
[v02] The video framerate is correct, but rather unusual. <WARNING>
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Writing WAV...
[a03] Creating file "D:\Temp\hdencodertox-pid3.ac3.pass1.wav"...
[a03] The original audio track has a constant bit depth of 24 bits.
[a03] Caution: The WAV file is bigger than 2GB. <WARNING>
[a03] Some WAV readers might not be able to handle this file correctly. <WARNING>
[a03] Starting 2nd pass...
[a03] Reading WAV...
[a03] The AC3 encoder received a non-supported data format (float, 3, 64, -). <ERROR>
Aborted at file position 262144. <ERROR>


Lovely BZZT sound on that error btw..

buzzqw
30th June 2009, 21:40
3 channel ac3 isn't standard...

try with flac...

BHH

P.S. could you send me a sample of this m2ts (100mb) ?

BigKing
30th June 2009, 22:01
it is possible that the programm produces a logfile? It may helps, if the encode crash. Then i could see by with step it crashs.

Barleyman
30th June 2009, 23:53
3 channel ac3 isn't standard...

try with flac...

BHH

P.S. could you send me a sample of this m2ts (100mb) ?

5.1 AC3 failed just the same, thought. Let's see what FLAC does.

I can send but where? 100MB would need something like FTP I suppose..

BigKing
1st July 2009, 01:10
use www.rapidshare.com or www.netload.in or other one click hoster

Barleyman
1st July 2009, 09:12
Hmm.. Alternatively I could just put up filezilla server for this. Let's see when I get home.

sfcav
1st July 2009, 16:05
@buzzqw
If substituting x264 won't solve the issue, i suppose a problem of decoder, try updating ffdshow/dgindex.
_____________________________________________________-

Thanks buzzqw:

I updated ffdshow from 2946 to 3013 and DGIndex from 1.5.4 to 1.5.5 and tried again - same result (processing halts after 1st encoding pass, leaving the cmd window open, the command line at 100% completion, the cursor flashing, but no new command line or DOS prompt).

Next, I tried simplifying the file by removing unnecessary audio using tsMuxeR and then creating a 10 min segment using TSPE. When loaded into HDConvertToX, I get the same result (halts after first encoding pass).

Three other things I tried were:
1. Copying the video and audio (no re-encoding) using HDConvertToX
- seemed to process normally (cmd window came and went), but no file was written

2. Copy video and convert audio using HDConvertToX
- same as (1) above, processed normally but no file was written.

3. Load the video into VideoReDo
- wouldn't load (no PIDs found, even though I set it to ignore stream info)?

NOTE - No doubt I should have mentioned this before, but this is an animation file (old cartoon movie remastered to 1080p24) - is that perhaps the issue (and is there a way to address)?

Here is the MediaInfo output for the edited file - anything odd here?
_________________________________________________________________________

General
ID : 1
Complete name : I:\GT00001.edit.ts
Format : MPEG-TS
File size : 2.17 GiB
Duration : 10mn 0s
Overall bit rate : 31.1 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, Matrix : Standard
Duration : 9mn 59s
Bit rate mode : Constant
Bit rate : 29.5 Mbps
Nominal bit rate : 35.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.704

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 10mn 0s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -51ms

Adub
1st July 2009, 19:12
In addition to my earlier bug report (http://forum.doom9.org/showthread.php?p=1300398#post1300398) (in case you didn't see it), I noticed that there seems to be an issue when selecting "automatic" from the deinterlacer drop down.

My log is below, but in short, I select a test .vob file, select my settings, including the "automatic" setting, and everything completes successfully. Only issue is, the framerate should be 23.976, but it is 29.97.

The reason is that the deinterlacer routine completes successfully, and IVTC's the vob file. However, the fps sent to mkvtoolnix is from an earlier report of 29.97.

I can't say if this happens when loaded directly with an ifo, but I do know that it happens when loaded with a sample vob.

HDConvertToX v.1.9.403.3232 report

Input File: c:\documents and settings\dworaa\desktop\encoding\elektra_sample\elektra_sample.vob ( C:\Documents and Settings\DWORAA\Desktop\Encoding\Elektra_Sample\Elektra_Sample.vob )
Codec Video: mpeg
Width / Heigh : 720 / 480
Framerate / Framecount: 29.970 / 1107
Duration(hh:mm:ss): 0:0:37
Aspect Ratio: 1.7778
Resized resolution: 716 / 368
Crop Values : 2:54:2:58
Activate: Anamorphic Resize

Start Video Configuration ->
Encoding Settings: X264 in MKV
Encoding Preset: 22
Final Size: 3
Priority: normal
Denoise Level: Light
Video Handling: Use Best Decoder
Deinterlace: automatic
-> End Video Configuration

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

Full Audio List-> (*** mean selected)
NONE
*** 2: ac3, 5.1 channels, 448kbps, 48khz, dialnorm: -27db, -182ms

-> End Full Audio List

Full Subtitle List-> (*** mean selected)
*** NONE
3: subtitle (dvd)
4: subtitle (srt)
5: subtitle (dvd)
6: subtitle (dvd)
7: subtitle (dvd)
8: subtitle (dvd)
9: subtitle (dvd)
10: subtitle (dvd)

-> End Full Subtitle List

Mux Subtitle in MP4/MKV file: On

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

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

"C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[c:\documents and settings\dworaa\desktop\encoding\elektra_sample\elektra_sample.vob] -OF=[C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\movie] -exit -minimize
"C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\HDC_Deint.exe" -input "c:\documents and settings\dworaa\desktop\encoding\elektra_sample\elektra_sample.vob" -workpath "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\" -usedecoder d2v -here "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\"
"C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\eac3to.exe" "c:\documents and settings\dworaa\desktop\encoding\elektra_sample\elektra_sample.vob" 2: stdout.wav -down16 -resampleto48000 -normalize -down2 | "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\enc_aacPlus.exe" - "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdencodertox-pid2.aac" --cbr 64000 --rawpcm 48000 2 16
"C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\x264.exe" --pass 1 --bitrate 612 --threads auto --thread-input --no-psnr --progress --deblock 0,0 --ref 1 --bframes 3 --b-adapt 2 --direct auto --subme 2 --trellis 0 --partitions none --me hex --threads auto --thread-input --progress --no-psnr --no-ssim --sar 8431616:7114176 --output "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdconverttox_elektra_sample.h264" "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdconverttox_elektra_sample.avs"
"C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\x264.exe" --pass 2 --bitrate 612 --threads auto --thread-input --no-psnr --progress --deblock 0,0 --ref 5 --mixed-refs --bframes 3 --b-adapt 2 --direct auto --subme 7 --trellis 1 --partitions all --8x8dct --me hex --threads auto --thread-input --progress --no-psnr --no-ssim --sar 8431616:7114176 --output "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdconverttox_elektra_sample.h264" "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdconverttox_elektra_sample.avs"
"C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\applications\mkvmerge.exe" -o "C:\Documents and Settings\DWORAA\Desktop\Elektra_Sample_hdconverttox.mkv" --default-duration 0:29.970fps --aspect-ratio -1:2.305958 "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdconverttox_elektra_sample.h264" "C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdencodertox-pid2.aac" --title "Done with HDConvertToX v.1.9.403.3232"
-> End Queue

AviSynth Script ->
Working with files: C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\hdconverttox_elektra_sample.avs
Setmemorymax(512)
SetMTMode(2,0)
mpeg2source("C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\movie.d2v")
exist("C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\interlaced") ? TDeint(mode=0,order=-1) : nop()
exist("C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\telecine") ? tfm(last,d2v="C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\movie.d2v").tdecimate() : nop()
Spline36Resize(716,368,2,54,-2,-58)
ColorMatrix(d2v="C:\Documents and Settings\DWORAA\Desktop\Encoding\HDConvertToX_1.8.332.2935\temp\movie.d2v")
hqdn3d(2)
-> End AviSynth Script

Mrsash
2nd July 2009, 09:32
Reading through your past posts you appear to be permanently at war with the AR. Make sure that your playback device does not introduce the AR distortion due to wrong settings. What is your playback device?
Why don't you finally upload a short clip of your source so that someone may give you advice?

Valid point if I didnt know what I was looking at. I run the original file plays fine. I run the converted songs from the movie plays the right AR(these were single pass). Play the converted movie, overcropped and stretched vertically. I play all videos with MPC. Automkv does not have this problem. I might have to switch back. Was busy the last few days. I will do some tests. I tried choosing various different options for the same sample vob file and the queue processed without any output which was weird. However I will do thorough tests. My upload bandwidth isnt the best so uploading a file is a pain. My question presently if buzz needs the right feedback then you need to tell me exactly what you will need after an encode. Last time you asked me to post make report. Are there any other log files you will need to have a preliminary check without the actual vob? Let me know what I should post.
thanks

ziemlichdunkel
2nd July 2009, 10:17
Thanks for the great app!!!

Most of the time I convert my old collection of 1080er HD mkv-Movies to 720p. (Because it doesnt seem the prizes for bluray will lower soon, so i began to burn on 4,5GB DVDR)

I wonder if there is somewhere a guide how to max out the quality of the reencoded file?
Except from choosing a h264 profile with the slider, is there any other possibility to enhance the output quality?
(Any suggestions for filters or other settings welcome.. :-)
(Have a Core i7 920, so Speed isn't the most essential, I prefer quality, at the moment I use Extreme quality,2pass xH264, copy audio)

I now use win7, any hints or known problems?

Any plans for adding CUDA support?

best wishes,

ziemlichdunkel

flebber
2nd July 2009, 13:04
Thanks for the great app!!!

Most of the time I convert my old collection of 1080er HD mkv-Movies to 720p. (Because it doesnt seem the prizes for bluray will lower soon, so i began to burn on 4,5GB DVDR)

I wonder if there is somewhere a guide how to max out the quality of the reencoded file?
Except from choosing a h264 profile with the slider, is there any other possibility to enhance the output quality?
(Any suggestions for filters or other settings welcome.. :-)
(Have a Core i7 920, so Speed isn't the most essential, I prefer quality, at the moment I use Extreme quality,2pass xH264, copy audio)

I now use win7, any hints or known problems?

Any plans for adding CUDA support?

best wishes,

ziemlichdunkel

You have to be more specific about "maxing out" everyone could have a different interpretation. Its a breach of forum rules to ask for "best" as best is subjective.

If you know what you like you can add your x264 profile to profile.ini the HDC folder Like this.

X264;7;Extreme Quality;--keyint 250 --bframes 4 --mixed-refs --trellis 0 --ref 4 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --no-chroma-me --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0

ziemlichdunkel
2nd July 2009, 14:32
X264;7;Extreme Quality;--keyint 250 --bframes 4 --mixed-refs --trellis 0 --ref 4 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --no-chroma-me --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0


As I'm not too familiar with all the special parameters the x264 codec has to offer, it's hard to be more specific, but I'll try it anyway:

When I reencode my files with the app, I always choose the X264;7;Extreme Quality (see HDConvertToX_profile.txt), setting the Denoise Filter is "Super Light" and set Anamorpic Shape (for 16:9, right?)
Mostly I play with the MOD as long as I have no, or only a small AR Error. (Sometimes crop some pixels helps too) (Has MOD something to do with the picture quality?)
Can the picture quality improved by using Filters (Basic, QMF, Degrain), or is this only for case depending scenarios (where the original has bad image quality too), not for general use?

My 2 main points about picture quality are:
Mostly colors look a little bit washed out (not so strong and warm than before the recode)
The picture looks crispy (grainy) at quick motion scenes, at low motion its often only sharp at one point in the foreground(at the background most details are gone that are in the original)

It's clear to me that with compression I will always lose detail, but maybe ther's a way to tweak the used profile for a little bit more sharpness, detail and less grain?

thanks in advance...

flebber
2nd July 2009, 16:07
ziemlichdunkel MOD is for frame size not video quality. Do you need your output to be anamorphic?

Extreme Quality has done good encodes for me but then I would also use different settings for different material. Could only guess at what filters you need or don't without seeing your source video. However you will probably have more fun playing with them and there is a vast amount of information on this site alone.

Here are a few links to get started.

Scintilla's guide to avisynth filters has a good selection and description to start with http://aquilinestudios.org/avsfilters/index.html

If you wanted to know more about aspect ratios and resolutions try here http://lipas.uwasa.fi/~f76998/video/conversion/#conversion_table

PS Forgot before welcome to the forum :D

Adub
2nd July 2009, 16:54
If you are having troubles with washed out colors, make sure that ColorMatrix is applied. There is an option in the "Advanced Options" tab. If colors are still washed out after using ColorMatrix, what player are you using?

If you want to sharpen your video, using something like LimitedSharpenFaster, LSFmod, or Seesaw.

If you want to add grain, take a look at AddGrain, or GrainFactory3.

If you want to preserve more detail/grain, try increasing the psy-rd value in you x264 options.

All in all, all of this you can learn by browsing over to the Avisynth section and checking out www.avisynth.org

Chengbin
3rd July 2009, 02:24
buzzqw, change fps doesn't work that well.

I have a 29.97 video, and I want to encode it to 23.976, the results look pretty bad. It looked like stuttering at times. When I went through it frame by frame, I saw repetition of frames.

For example, in a camera pan, say every frame moves to the right by 1cm. The stuttering I'm seeing is when a frame is repeated, and the next frame move 2cm to the right.

EDIT: Never mind, the source is vfr.

alter4
3rd July 2009, 16:49
Feature request.
buzzqw, could you please add "remember last dir" feature for "open file" button. I suppose the path could be stored in INI file when program is shutting down. All my DVDs are in the same folder, it is so annoying to me to choose the folder again, again and again.... THX in advance.

flebber
4th July 2009, 00:09
Feature request.
buzzqw, could you please add "remember last dir" feature for "open file" button. I suppose the path could be stored in INI file when program is shutting down. All my DVDs are in the same folder, it is so annoying to me to choose the folder again, again and again.... THX in advance.

Already implemented you can add it to your ini profiles.

just the last bit of the ini

#Project Options
Shutdown=0
Reboot=0
Suspend=0
Multitemp=0
Input Work Folder=0
Clean Temporary files=0
AutoAnalysis of input files=0
Workfolder=C:\Rip\HDConvertToX_1.8.332.2935\temp\
Muxing Title=Done with HDConvertToX v.1.8.335.2949
Default Output Folder=C:\Rip\Produced\

feanor12
4th July 2009, 03:18
I think this is not what alter4 ment.
He wanted HDC to remember last opened folder for input I think.

btw: This function would be very handy for me too! ツ

flebber
4th July 2009, 07:16
Buzzqw how could I get a filter like SmoothD() or any other deblocking filter to run before cropping or resizing?

Acid-Burn
4th July 2009, 10:22
#####

Sharc
4th July 2009, 15:45
Hi buzzqw

Just in case your twins should leave you alone for a minute....:D
It looks like the compression test is broken (crf mode): It immediately terminates leaving a sample size of 0.00MB.
The generated script for compression plays correctly in MPC though.
Have a lot of fun with the kids :)

Added: The x264 encoding also doesn't start from the Start Queue, only the extractions are done, then HDC terminates. Container is m2ts for Blu-Ray Structure.
Something seems to be broken in v3232 ?

Acid-Burn
4th July 2009, 16:29
#####

Havokdan
4th July 2009, 16:35
Acid-Burn, do you use option "Multitemp"? I think if you use that maybe resolve.

Sorry bad english.