View Full Version : HDConvertToX v. 3.0 (14/10/2010)
gibbyman
10th November 2009, 19:18
Hello again!
I tried moving the folder to c:\
- Didn't work
I turned off UAC completely
- Didn't work
I looked at the file "eac3toinfo.log" after first analysis, and then again after the second analysis - nothing changed.
I thought I'd try to delete/rename the file (this is amateur hour for me after all) but I couldn't - Windows said the file was in use.
Any more ideas?
(thanks for your patience)
I'll try restarting from my Windows XP partition and see what happens...
Edit:
I tried the same thing from Windows XP - Same result.
- I don't even know where start looking for this one...
buzzqw
10th November 2009, 20:23
this is the first time i got a error of locked file on hdc
just to be sure: there isn't any "black" dos box around ?
also: check in task manager if eac3to,exe is in use when you cannot delete the file
thanks
BHH
gibbyman
10th November 2009, 20:39
Hi Again!
No, once the analysis is done there's no dos-windows open.
I also looked in taks manager and didn't find anything similar to the name of eac3to.exe (WinXP)
For the fun of it I downloaded version 2.2.492.3692 (full package) and ran it without updating anything, and I got the same result. File is locked for deleting (and yes... the subs & audio doesn't get "purged" with this one either)
The "newer" version I have is 2.2.510.3970.
Next step - I suppose - is to try and replicate this in a virtual machine...
I'll also see if I can find anything in the task manager of Windows 7
gibbyman
10th November 2009, 22:05
Ok... something really smells here...
I just downloaded HDC and it's dependencies to my Windows XP mode (virtual machine in Windows 7)
As far as this "XP Mode knows it's an untouched Windows XP installation that I just installed the dependencies on.
Tried the same again, and I still don't get the values for subtitle and audio "purged" between the files I analyze.
Ohh.. and I also checked my task manager while running HDC in Windows 7 - nothing is related to eac3to - not that I can see anyway - but the log is still not possible to delete between analyzes...
Edit:
Downloaded everything to my Netbook (that never had any of the dependencies nor HDC installed before), and tried the same procedure...
Subs & audio does not get purged between two different analysis there either.
Can someone else try this and please tell me that it's not just me going crazy over this?
ziemlichdunkel
11th November 2009, 19:24
I have the same issue like gibbyman with the queue. (also Win7 latest hdc). It has nothing to do with user rights, seems more that clearing of former input doesn't work if input is mkv? (I use DragNDrop for input Files)
In addition the 64 bit x264 feature doesn't work for me. Downloaded the newest from x264.nl and renamed it as stated above, but after the audio conversion x264 won't start (no error, no cmd-window), any idea?
best regards, ziemlichdunkel
jsbenson
11th November 2009, 19:55
First, let me say that I'm not calling HDConvertToX "stupid", just my questions since, to most of you, they might seem rather dumb.
I've been using HDC for about a little over a month now. I do my conversions on a dedicated 2.4Ghz quad running Vista x64 SP1 (I'll explain why I'm not using SP2).
I did a whole bunch of test conversions to see what container and format worked and looked best. I ended up using Xvid AVI at a bitrate of 4000. This gave me really good results and I could fast forward and rewind in real-time while streaming to my PS3 using PS3 Media Server (on my other quad which is a dedicated media server). This was also the only format I really got to work well. From what I've been reading, x264 and DIVX give better results (or is more efficient or something).
I rebuilt my PC and got my HDC set back up. At that point I started having all sorts of problems. I would get error messages about apps that have stopped working, or different formats wouldn't encode anymore.
I'm also not sure why some formats either completely fail or lose the fast forward/rewind while streaming.
These are the results of testing conversions...
http://www.jsbenson.net/pics/hdc/encoding_options.jpg
Here are my questions or problems...
If I install Vista SP2, I always get an "XVID_ENCRAW.EXE Has stopped working" error
Why doesn't any of my DIVX conversions work?
Why don't I ever get audio with my x264 in M2TS conversions? M2TS looks really good and I would like to use this but I've never gotten my audio to work.
Which of the three formats (Xvid, Divx, or x264) are the best and which container (AVI, MKV, M2TS, MP4) is the best? I'm wanting a flawless copy of my BDs to stream from my PC to PS3 using PS3 Media Server. I don't care if they're around 4GB. I have the room.
There are so many filters but I'm not sure which one would give the best results vs processing time. I set my de-noise filter to "Normal" and leave the filters on the advanced tab alone. Should I set one of the filters in the advanced options to get better results? Since I have a dedicated conversion PC that runs 24hrs a day, conversion times are not an issue.
How do I use the Multithreaded AVISynth? I looked at the thread for this and I didn't have a clear understanding of how to incorporate that into HDC. Does using the mutlithreaded AVISynth build buy you anything?
If I set my bitrate to a constant bitrate (like 4000), AVIMux_GUI displays a message before it writes the actual file that says something about AVIs being over 2000MB may not be supported and to use open-DML. I set the open-DML in AVIMux_GUI and I still get the message. This is frustrating because everything stops until I click "OK". But, if I set the file size to where the calculated bitrate is around 4000 it works.
If I use WMV, will my file sizes be around the same as x264 with around the same quality (or better)? Is anyone converting using this format? Seems like it's not something that would normally be used.
Requests:
When I'm adding jobs to the queue I add some of my own messages and clean-up scripts. Here's what I add before each conversion...
@Echo.
@Echo.
@Echo Starting <movie title>
@Echo.
@Echo.
And then after the block of DOS commands for each encode I add...
RMDIR <path to this job> /S /Q
This removes the job directory when the conversion has completed. I do this because adding a lot of conversions to a batch file ends up taking up a lot of HD space because of the remaining files in the folders (one of which is the size of the original file).
Would it be possible to add an option to add the movie conversion title before the conversion script block and also an option to remove the job folders when the conversion has completed?
I appreciate everyone's help and advice. This is such a great app and I really want to understand the in's and out's so i can make really good copies.
jackkoho
12th November 2009, 01:12
english is reported as 3' track, HDC extract the 3' track
so.. the problem is within eac3to if you got the non english track extracted...
I found the problem. HDC plays the first non-TRUE-HD track. And for some reason even if I select the true-hd track to encode it is still encoding the wrong track.
To fix the problem I used TS-muxer to remove all the tracks except for the video track and the TRUE-HD (english) audio track, then HDC encoded the correct track.
jackkoho
12th November 2009, 01:16
PS - this is a great program, I use it to encode all my blu-rays, with a few extra tools like TS-muxer and BDInfo there is not a blu-ray structure I have found that it can not encode. I have already donated once and will probably donate again once I finish compressing my whole collection.
buzzqw
12th November 2009, 09:21
@gibbyman
please redownload HDC
i just changed the way eac3to.exe is launched
@ziemlichdunkel
you must put both x264-64bit.exe AND avs2yuv.exe in \applications folder
@jsbenson
Hi ! and Welcome to the Forum
for ps3 i will suggest x264+m2ts, with NMT compatibility ticked
about audio: what audio are you using ?
get sticky with AAC LC, AC3 or copy audio
otherwise these are problem of your media server... (check ps3mediaserver)
about divx: dumb question... have you installed DIVX 6 ?
about multithreaded avs: you need to installa avisynth 2.5.8 and put the special avisynth dll and mt.dll in \windows\system32 folder
about odml: HDC will automatically switch to odml if final size is over 2GB. BUT if you use manual bitrate HDC cannot know if final size will be over 2gb...
about wmv: wmv encoding is slower and less quality. Don't use it
about deleting folder: check the hdconverttox.ini...
@jackkoho
could you upload somewhere a sample of this file ?
big enough to replicate the problem
thanks
BHH
gibbyman
12th November 2009, 10:10
@gibbyman
please redownload HDC
i just changed the way eac3to.exe is launched
Thanks for the quick fix! I'll try it when I get home from work..
I was actually planning to start experimenting with creating my own queue based on info that HDC puts together, but I'm crossing my fingers and hope I won't have to go there just yet...
PS - this is a great program,
- Word!
(+1)
I just thought I'd add that I am very happy with your work and just finishing reading this thread I'm amazed by the way you manage to provide fixes to all the problems that pop up.
I started out with AutoMKV and moved over to HDC when I installed Windows 7, and for me these two tools are the answer to all my needs. Like jackkoho I've also sent "my thanks" (took some time, but this morning I actually got around to pressing that yellow button of yours)
- Keep up the good work!
ziemlichdunkel
12th November 2009, 17:29
@gibbyman
@ziemlichdunkel
you must put both x264-64bit.exe AND avs2yuv.exe in \applications folder
BHH
That's what I did, I used the avs2yuv.exe from the Link you once posted. Is this only working with a special build version of x264 or could it be a problem with Win7 64bit?
(Avisynth is 32bit)
buzzqw
12th November 2009, 17:34
i use 32bit OS
so i cannot test it
BUT users reported success in encoding
try different x264 64bit version
BHH
noee
12th November 2009, 18:13
I've used the 64bit version from x264.nl and xvidvideo.ru and they both work fine with avs2yuv.exe. I'm on Win7 x64 Ultimate.
gibbyman
12th November 2009, 18:25
Hey, Buzz!
Thanks for the update, I downloaded it (only the new HDC version 2.2.511.3794) but it didn't make any difference.
1. I loaded and ananlyzed a mkv with three audio tracks and 12 subtitles.
I choose to keep the main audio track (don't need comments and stuff when watching movies on the bus) and one subtitle.
I also made all the settings I wanted (harder compression and convert sound from DTS to AC3).
Save as x264 in mkv and added to queue.
2. I loaded another mkv - this one with one audio track and one subtitle track. Result after analyze is still 3 audio tracks and 12 subtitles.
I checked both "inputs" with mediainfo, so it should be clear how many tracks both files contain.
-Did I download the wrong update?
P.S.
Thanks again for your effort...
gibbyman
12th November 2009, 18:37
And here is a report after adding both files to queue.
First file is Hellboy 2 - The Golden Army: 3 audio tracks/12 subtitle tracks
Second file is Ice Age: 1 Audio track/1 subtitle track
I just renamed them to Hellboy.mkv/Ice.mkv in my trial & error attempts being worried about file names...
HDConvertToX v.2.2.511.3794 report
Input File: t:\ice.mkv ( T:\Ice.mkv )
Codec Video: avc
Width / Heigh : 1280 / 720
Framerate / Framecount: 23.976fps / 135305 frames
Duration(hh:mm:ss): 1:34:4
Aspect Ratio: 1.7778
Resized resolution: 1280 / 720
Crop Values : 0:16:0:16
No Resize & Crop: On
Start Video Configuration ->
Encoding Settings: X264 Extreme Quality ; Bitrate= 2791
Final Size: 2500
Priority= abovenormal
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration
Start Audio Configuration ->
Audio Codec: AC3 Audio
Audio Bitrate/Quality: 448
Audio Channels: Original
Normalize: On
Audio handling: Use Eac3to as demuxer
Keep only core: On
-> End Audio Configuration
Full Audio List-> (*** mean selected)
NONE
*** 2: dts, english, 5.1 channels, 24 bits, 1509kbps, 48khz
3: vorbis, english, 2.0 channels, 48khz
4: vorbis, english, 2.0 channels, 48khz
-> End Full Audio List
Full Subtitle List-> (*** mean selected)
*** NONE
*** 5: subtitle (ass), english
6: subtitle (ass), czech
7: subtitle (ass), finnish
8: subtitle (ass), french
9: subtitle (ass), modern greek
10: subtitle (ass), hungarian
11: subtitle (ass), polish
12: subtitle (ass), portuguese
13: subtitle (ass), romanian
14: subtitle (ass), slovak
15: subtitle (ass), spanish
16: subtitle (ass), swedish
-> 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
"D:\HDC\applications\eac3to.exe" "t:\hellboy.mkv" 1:"D:\HDC\job1\hdconverttox.h264"
"D:\HDC\applications\DGAVCIndex.exe" -i "D:\HDC\job1\hdconverttox.h264" -o "D:\HDC\job1\movie.dga" -f 0 -e
"D:\HDC\applications\eac3to.exe" "t:\hellboy.mkv" 5:"D:\HDC\job1\hdencodertox__subs_5.ass"
"D:\HDC\applications\eac3to.exe" "t:\hellboy.mkv" 2: "D:\HDC\job1\hdencodertox-pid2.ac3" -normalize -448
"D:\HDC\applications\x264.exe" --pass 1 --bitrate 2468 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --sar 1:1 --output "D:\HDC\job1\hdconverttox_hellboy.h264" "D:\HDC\job1\hdconverttox_hellboy.avs"
"D:\HDC\applications\x264.exe" --pass 2 --bitrate 2468 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --sar 1:1 --output "D:\HDC\job1\hdconverttox_hellboy.h264" "D:\HDC\job1\hdconverttox_hellboy.avs"
"D:\HDC\applications\mkvmerge.exe" -o "K:\Hellboy.mkv" --default-duration 0:23.976fps --aspect-ratio -1:1.7778 "D:\HDC\job1\hdconverttox_hellboy.h264" --language -1:eng "D:\HDC\job1\hdencodertox-pid2.ac3" --default-track -1:no --language -1:eng "D:\HDC\job1\hdencodertox__subs_5.ass" --title "Done with HDConvertToX v.2.2.511.3794"
"D:\HDC\applications\eac3to.exe" "t:\ice.mkv" 1:"D:\HDC\job2\hdconverttox.h264"
"D:\HDC\applications\DGAVCIndex.exe" -i "D:\HDC\job2\hdconverttox.h264" -o "D:\HDC\job2\movie.dga" -f 0 -e
"D:\HDC\applications\eac3to.exe" "t:\ice.mkv" 5:"D:\HDC\job2\hdencodertox__subs_5.ass"
"D:\HDC\applications\eac3to.exe" "t:\ice.mkv" 2: "D:\HDC\job2\hdencodertox-pid2.ac3" -normalize -448
"D:\HDC\applications\x264.exe" --pass 1 --bitrate 3269 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --sar 1:1 --output "D:\HDC\job2\hdconverttox_ice.h264" "D:\HDC\job2\hdconverttox_ice.avs"
"D:\HDC\applications\x264.exe" --pass 2 --bitrate 3269 --preset medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 2 --no-chroma-me --sar 1:1 --output "D:\HDC\job2\hdconverttox_ice.h264" "D:\HDC\job2\hdconverttox_ice.avs"
"D:\HDC\applications\mkvmerge.exe" -o "K:\Ice.mkv" --default-duration 0:23.976fps --aspect-ratio -1:1.7778 "D:\HDC\job2\hdconverttox_ice.h264" --language -1:eng "D:\HDC\job2\hdencodertox-pid2.ac3" --default-track -1:no --language -1:eng "D:\HDC\job2\hdencodertox__subs_5.ass" --title "Done with HDConvertToX v.2.2.511.3794"
-> End Queue
AviSynth Script ->
Working with files: D:\HDC\job2\hdconverttox_ice.avs
AVCSource("D:\HDC\job2\movie.dga")
hqdn3d(1)
return last
-> End AviSynth Script
gibbyman
13th November 2009, 10:19
Sorry for Spamming this thread with questions, but since I seem to be a bit stuck on the queue-issue for the moment (I'm sure it will be solved quite soon) I'm wondering if there's a way to create a queue "semi-manually"...
This is what I mean:
1. I open HDC, add an first mkv, analyse it and set the destination and my preferred output settings and click "add to queue".
2. I copy the queue.bat to another location, and close down HDC
3. Repeat step 1 & 2 for a couple of times.
4. I open all the queue.bat files I have generated in notepad, and copy/paste the actual "job" into the first queue.bat and save it.
- Or do I also have to edit the jobs so that every job end up in separate folders? (job1, job2, job3 and so on....)
5. I run the queue.bat
Would that work? Or am I missing something?
Ok, it's 5-10 minutes of extra work, but if this temporary solution mean I can start a queue with for example 3 jobs in the morning and have it done by the time I get home I get more done than if I have to do the files one at a time, and it sure beats having to rip all my movies to hard drive again just to recode them. (Apart from the fact that I'm still waiting for a new bluray-drive to replace my bricked one)
buzzqw
13th November 2009, 10:37
@gibbyman
:thanks:
this is the user i like!
i was able to replicate the issue! and resolve it!!
please download the hdc.exe
and report back
BHH
gibbyman
13th November 2009, 10:52
Hi Buzz!
Thanks for the update, I'll test it when I get home this afternoon..
(feels like I've said that before..:) It's horrible having to wait for hours to try stuff... it's like being a kid the day before x-mas eve. All these gifts under the tree, and hours and hours until I can open them)
Thanks again for your help!
nx6
13th November 2009, 12:05
:D Hello, Buzz.
I'm running my first encode with this new project of yours right now. I have quite a different machine now than the last time I was here. Before I was on a Pentium 4 2.0 Ghz with 1 GB of RAM. I built a new machine this last March. Now I have a Core i7 920 and 6 GB of RAM. I went from one processor thread to eight! BWAHAHAHAHAHA!
Anyway. I was going to ask. I didn't see an option for type of subtitle format. And I remember AutoMKV used a format that looked quite like the DVD subs. Would it be possible to have the option of using a plain text format for the muxxed subtitles added? Sometimes the font size or color they use for that stuff on the DVDs is really ugly. If the subs could be muxxed in a plain format than I can set the font/size in VSFilter in the playback application.
Also, the preview function didn't work for checking cropping. MPC opened but it displayed no picture, only audio.
ziemlichdunkel
13th November 2009, 16:24
C:\Users\myUser>"C:\Users\myUser\Desktop\VIDEO ENCODING\HDConvertToX_2.2.492.3692\ap
plications\avs2yuv.exe" "L:\Temp\job1\hdconverttox_movie.avs" -raw - | "C:\Users\myUser\Desktop\VIDEO ENCODING\HDConvertToX_2.2.492.36
92\applications\x264-64bit.exe" - --pass 1 --bitrate 8715 --keyint 250 --bframe
s 3 --trellis 2 --ref 3 --deblock -1,-1 --subme 5 --direct auto --vbv-bufsize 14
000 --vbv-maxrate 25000 --me hex --merange 20 --b-adapt 2 --b-pyramid --partitio
ns p8x8,b8x8,i4x4,i8x8 --aud --psy-rd 1.0:0.3 --aq-mode 2 --sar 1:1 --output "
L:\Temp\job1\hdconverttox_movie.h264" 1920x1080
x264 [error]: invalid argument: b-pyramid = --partitions
L:\Temp\job1\hdconverttox_movie.avs: 1920x1080, 4800
0/2002 fps, 167390 frames
Output error: wrote only 2358721 of 3110400 bytes
I managed now to keep the command promt after the error when using x264-64bit, thats what it tells. Any Idea of that error?
(I use the latest Version of HDC, just the Folder has an older number)
My Profile looks like this:
X264;19;HDC Own Quality;--keyint 250 --bframes 3 --trellis 2 --ref 3 --deblock -1,-1 --subme 5 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me hex --merange 20 --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --aud --psy-rd 1.0:0.3 --aq-mode 2
jsbenson
13th November 2009, 18:06
@jsbenson
Hi ! and Welcome to the Forum
Thanks :)
I love this app and I'll absolutely be making a contribution as soon as I'm able to get this working.
for ps3 i will suggest x264+m2ts, with NMT compatibility ticked
I went ahead and did this. It went throught the entire conversion without any problems, but when it got to the end,
it didn't write the final file. This is the format I would like to use so if we can figure out why the file didn't get written then that'd be great.
Here's the report...
HDConvertToX v.2.2.510.3790 report
Input File: c:\users\jsbenson\videos\bluray\troy.m2ts ( C:\Users\jsbenson\Videos\BluRay\Troy.m2ts )
Codec Video: vc-1
Width / Heigh : 1920 / 1080
Framerate / Framecount: 23.976fps / 282024 frames
Duration(hh:mm:ss): 3:16:3
Aspect Ratio: 1.7778
Resized resolution: 1920 / 1080
Crop Values : 0:148:0:148
No Resize & Crop: On
Start Video Configuration ->
Encoding Settings: X264 Extreme Quality ; Bitrate= 4046
NMT Compatibility: On
Final Size: 6600
Denoise Level: Normal
Video Handling: Force DirectShowSource2 (Haali)
-> End Video Configuration
Start Audio Configuration ->
Audio Codec: Copy 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
*** 3: truehd/ac3, 5.1 channels, 48khz, dialnorm: -27db
4: ac3, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
5: ac3, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
6: ac3, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
7: e-ac3 surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
-> End Full Audio List
Full Subtitle List-> (*** mean selected)
*** NONE
8: subtitle (pgs)
9: subtitle (pgs)
10: subtitle (pgs)
11: subtitle (pgs)
12: subtitle (pgs)
13: subtitle (pgs)
14: subtitle (pgs)
15: subtitle (pgs)
16: subtitle (pgs)
17: subtitle (pgs)
-> End Full Subtitle List
Mux Subtitle in MP4/MKV file: On
Start Advanced AviSynth ->
ColorMatrix: On
-> End Advanced AviSynth
Start Muxing Options ->
Activate Autochapter
<- End Muxing Options
Start Queue ->
prompt $d $t $_$P$G
"C:\Users\jsbenson\Video Apps\HDC\applications\eac3to.exe" "c:\users\jsbenson\videos\bluray\troy.m2ts" 3: "C:\Users\jsbenson\Videos\Jobs\job1\hdencodertox-pid3.ac3" -core
"C:\Users\jsbenson\Video Apps\HDC\applications\avs2yuv.exe" "C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.avs" -raw - | "C:\Users\jsbenson\Video Apps\HDC\applications\x264-64bit.exe" - --pass 1 --bitrate 4002 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --tune film --sar 1:1 --output "C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.h264" --level 4.0 1920x1080
"C:\Users\jsbenson\Video Apps\HDC\applications\avs2yuv.exe" "C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.avs" -raw - | "C:\Users\jsbenson\Video Apps\HDC\applications\x264-64bit.exe" - --pass 2 --bitrate 4002 --preset medium --trellis 0 --ref 3 --deblock -1,-1 --subme 9 --direct auto --me umh --b-adapt 1 --no-chroma-me --tune film --sar 1:1 --output "C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.h264" --level 4.0 1920x1080
"C:\Users\jsbenson\Video Apps\HDC\applications\tsMuxeR.exe" "C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.meta" "C:\Users\jsbenson\Videos\Done\Troy.m2ts"
-> End Queue
AviSynth Script ->
Working with files: C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.avs
DSS2("c:\users\jsbenson\videos\bluray\troy.m2ts",fps=23.976)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
ColorMatrix(mode="Rec.709->Rec.601")
hqdn3d(4)
return last
-> End AviSynth Script
TSMuxer Script ->
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\jsbenson\Videos\Jobs\job1\hdconverttox_troy.h264", fps=23.976, insertSEI, contSPS
A_AC3, "C:\Users\jsbenson\Videos\Jobs\job1\hdencodertox-pid3.thd+ac3", timeshift=0
-> End TSMuxer Script
about audio: what audio are you using ?
Under the "General" tab I chose "Copy Audio". Under the "Audio and Subs" tab I leave the default
(which is usually "true-HD" or "MA-DTS"). However, when I started the conversion with the settings you gave me above I had
the "Keep only core of HD audio" unchecked. When the conversion started I immediately got a message in the cmd shell that
said "the audio conversion is not supported". I checked the "Keep nly core..." checkbox and then it worked.
get sticky with AAC LC, AC3 or copy audio
Not sure what you mean
about divx: dumb question... have you installed DIVX 6 ?
I tried installing the latest Divx codec. I didn't install the entire Divx package through.
about multithreaded avs: you need to installa avisynth 2.5.8 and put the special avisynth dll and mt.dll in \windows\system32 folder
I read that this isn't stable so I'll just stick with the standard stuff (at least until I get it working and then
I can start experimenting).
about odml: HDC will automatically switch to odml if final size is over 2GB. BUT if you use manual bitrate HDC cannot know if final size will be over 2gb...
That makes a lot of sense. When I went back to setting the final size instead of the manual bitrate it worked.
about wmv: wmv encoding is slower and less quality. Don't use it
Won't be using wmv then
about deleting folder: check the hdconverttox.ini...
I looked at the INI file and didn't see anything in there that would allow me to have pre and
post processing (I'm a programmer so i know about INI files, batch files, etc...)
Thanks for all your help, BUZZQW. This is a great app you've put together and I'm sure I'll get this
working correctly with your help.
buzzqw
13th November 2009, 19:54
@ziemlichdunkel
try with a simpler profile
@jsbenson
maybe i got why you don't get the final m2ts, i will check tomorrow
(just in case you can mux with tsmuxer all files in \job folder)
about divx: not latest (7) , but 6
about temp: Clean Temporary files=1
BHH
Sharc
13th November 2009, 20:25
Possibly a bug?
When I encode a DVD to .m2ts avchd structure, the muxing of the converted subtitles fails because the .meta points to hdc_subs_1_.sup, but HDC produced hdc_subs.sup.
buzzqw
13th November 2009, 20:35
make report ?
BHH
gibbyman
13th November 2009, 21:48
@gibbyman
:thanks:
this is the user i like!
i was able to replicate the issue! and resolve it!!
please download the hdc.exe
and report back
BHH
Ok... you want the good news or the good news?
I just finished re-encoding the same files as before (I used options making the encode very fast & bad - to be able to come up with a quick result). I got a very good feeling from it creating the queue, but I went ahead with the conversion just to make sure it would cross the "finishing line".
And guess what?
-It worked!
-You are indeed a true genius, and I'm really looking forward to following how this project evolves with time...
One thing I've been thinking about after reading through the whole thread - And correct me if I'm wrong - is that I think this fix might solve quite a few weird problems people have had recently.
I'm saying this because for me one of the errors (besides the queue not being right) was that I got complaints about not being able to extract certain tracks because the program involved (eac3.to.exe?) couldn't find them. Which of course resulted in the job "stopping".
Anyway - Thanks a lot (again) for your effort!
buzzqw
13th November 2009, 22:03
thanks gibbyman!
:goodpost:
BHH
jsbenson
13th November 2009, 22:16
@ziemlichdunkel
try with a simpler profile
@jsbenson
maybe i got why you don't get the final m2ts, i will check tomorrow
(just in case you can mux with tsmuxer all files in \job folder)
about divx: not latest (7) , but 6
about temp: Clean Temporary files=1
BHH
Just like @gibbyman, IT WORKED!!!
Figured out the audio problem. Seems like I have to use "Keep only core of HD Audio". And, if I select the DTS master it doesn't work. I have to use the ac3 audio.
So, I'm encoding using X264 in M2TS with NMT selected and it works perfectly. The fast forward and rewind is flawless when streaming to my PS3 using PS3 media server (I even have my streaming quality set to lossless on a Gbit network and it streams great) .
Thank you for all your help @buzzqw. I'll be making a donation .
Again, great app :)
Quick question...what filters would you recommend? I'm going through them and trying them out to see the impact of each, but I'd love to get some opinions out there as to what everyone's using.
Sharc
13th November 2009, 22:31
make report ?
BHH
Sorry I forgot to Make Report and started another encode. I would have to repeat the entire process to reproduce the error, but here the hdconverttox_vts_01_1.meta if it helps:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdconverttox_vts_01_1.h264", fps=25, insertSEI, contSPS
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid2.ac3", timeshift=0
A_AC3, "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdencodertox-pid3.ac3", timeshift=0, lang=eng
S_HDMV/PGS , "C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs_1_.sup", fps=25
In the job1 directory the sup file name is:
C:\Users\Movies\HDConvertToX\HDC-WORKFOLDER\job1\hdc_subs.sup
So tsmuxer aborts saying that the file hdc_subs_1_.sup not found.
No problem to remux it manually though.
flebber
14th November 2009, 00:55
Buzzqw if I use below as my input file neither eac or nic work they error unable to parse wav file. The only one that does work is ffmpeg which is fine. However you have a pop up helper which advised me to select nicaudio.
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Duration : 2mn 24s
Bit rate mode : Constant
Bit rate : 2 450 Kbps
Nominal bit rate : 2 520 Kbps
Width : 480 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Standard : PAL
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.354
Stream size : 42.1 MiB (88%)
Writing library : TMPGEnc 2.54.37.135
Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 2mn 23s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 3.83 MiB (8%)
This is the working make report
HDConvertToX v.2.2.516.3803 report
Input File: c:\rip\source\queens.m2v ( C:\Rip\Source\queens.m2v )
Codec Video: mpeg
Width / Heigh : 480 / 576
Framerate / Framecount: 25.000fps / 3606 frames
Duration(hh:mm:ss): 0:2:25
Aspect Ratio: 1.3334
Resized resolution: 480 / 240
Crop Values : 34:129:35:120
Start Video Configuration ->
Encoding Settings: X264 HDC Sayth Opt HQF ; Quality= 21.5
Final Size: 21.5
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration
Start Audio Configuration ->
Audio Codec: Nero AAC Audio
Audio Bitrate/Quality: 0.5
Audio Channels: Original
Normalize: On
Audio handling: Force FFmpeg.exe as decoder
Keep only core: On
-> End Audio Configuration
Full Audio List-> (*** mean selected)
NONE
*** C:\Rip\Source\queens.m2v
2: mp2, 2.0 channels, 224kbps, 44.1khz
-> End Full Audio List
Full Subtitle List-> (*** mean selected)
*** NONE
-> End Full Subtitle List
Mux Subtitle in MP4/MKV file: On
Start Advanced AviSynth ->
Basic Filter: Undot()
QMF Filter: QMLF_7_motions_FluxSmooth.avs
FreeAVS String: asharp(1.5,3.25,-1.0)
ColorMatrix: On
Resizer: Spline36Resize
-> End Advanced AviSynth
Start Muxing Options ->
<- End Muxing Options
Start Queue ->
prompt $d $t $_$P$G
"C:\Rip\HDC\applications\dgindex.exe" -FO=0 -OM=0 -YR=2 -AIF=[c:\rip\source\queens.m2v] -OF=[C:\Rip\HDC\job2\movie] -exit -minimize
"C:\Rip\HDC\applications\ffmpeg.exe" -i "C:\Rip\Source\queens.m2v" -f wav -y "C:\Rip\HDC\job2\hdencodertox-pid1.wav"
"C:\Rip\HDC\applications\wavi.exe" "C:\Rip\HDC\job2\hdconvert_audio_1_queens.m2v.avs" - | "C:\Rip\HDC\applications\neroaacenc.exe" -if - -q 0.5 -ignorelength -of "C:\Rip\HDC\job2\hdencodertox-pid1.mp4"
"C:\Rip\HDC\applications\x264.exe" --crf 21.5 --preset medium --bframes 3 --ref 3 --subme 6 --aq-mode 2 --level 4.1 --me umh --tune animation --sar 1:1 --output "C:\Rip\HDC\job2\hdconverttox_queens.h264" "C:\Rip\HDC\job2\hdconverttox_queens.avs"
"C:\Rip\HDC\applications\mkvmerge.exe" -o "C:\Rip\Produced\Queens - Feel good.MKV" --default-duration 0:25.000fps "C:\Rip\HDC\job2\hdconverttox_queens.h264" --aac-is-sbr 0:1 "C:\Rip\HDC\job2\hdencodertox-pid1.mp4" --title "QOTSA - Feel good hit of the summer"
-> End Queue
AviSynth Script ->
Working with files: C:\Rip\HDC\job2\hdconverttox_queens.avs
Mpeg2Source("C:\Rip\HDC\job2\movie.d2v")
Spline36Resize(480,240,34,129,-35,-120)
ColorMatrix(d2v="C:\Rip\HDC\job2\movie.d2v")
hqdn3d(1)
Undot()
QMLF_7_motions()
asharp(1.5,3.25,-1.0)
-> End AviSynth Script
seplant
14th November 2009, 00:57
Hi. I'm trying to convert a VC1 file to H.264 for the first time using HDConvertToX, and I'm getting a strange error during encoding. The error is as follows:
Error: 2pass curve failed to converge
target: -962.00 kbit/s, expected: 39698.09 kbit/s, avg QP: 10.0000
try reducing target bitrate or reducing qp_min (currently 10)
Any ideas what this means? I am running on a 64-bit WinXP machine with dual core 2.8GHz processor and 2GB of RAM.
Here is the entire log if it helps:
C:\Documents and Settings\user\My Documents\Applications\BD Backup Tools\HD Conv
ert to X\job0>"C:\Documents and Settings\user\My Documents\Applications\BD Backu
p Tools\HD Convert to X\applications\eac3to.exe" "c:\documents and settings\user
\my documents\my videos\elf.m2ts" 2: "C:\Documents and Settings\user\My Document
s\Applications\BD Backup Tools\HD Convert to X\job0\hdencodertox-pid2.ac3"
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
3: TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB)
4: Subtitle (PGS)
a02 Extracting audio track number 2...
a02 Removing AC3 dialog normalization...
a02 Creating file "C:\Documents and Settings\user\My Documents\Applications\BD B
ackup Tools\HD Convert to X\job0\hdencodertox-pid2.ac3"...
a02 1:36:43 The source file seems to be damaged (sync byte missing).
Video track 1 contains 139137 frames.
eac3to processing took 13 minutes, 28 seconds.
Done.
C:\Documents and Settings\user\My Documents\Applications\BD Backup Tools\HD Conv
ert to X\job0>"C:\Documents and Settings\user\My Documents\Applications\BD Backu
p Tools\HD Convert to X\applications\eac3to.exe" "c:\documents and settings\user
\my documents\my videos\elf.m2ts" 3: "C:\Documents and Settings\user\My Document
s\Applications\BD Backup Tools\HD Convert to X\job0\hdencodertox-pid3.ac3" -core
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
3: TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB)
4: Subtitle (PGS)
a03 Extracting audio track number 3...
a03 Extracting AC3 stream...
a03 Removing AC3 dialog normalization...
a03 Creating file "C:\Documents and Settings\user\My Documents\Applications\BD B
ackup Tools\HD Convert to X\job0\hdencodertox-pid3.ac3"...
a03 1:36:43 The source file seems to be damaged (sync byte missing).
Video track 1 contains 139137 frames.
eac3to processing took 12 minutes, 10 seconds.
Done.
C:\Documents and Settings\user\My Documents\Applications\BD Backup Tools\HD Conv
ert to X\job0>"C:\Documents and Settings\user\My Documents\Applications\BD Backu
p Tools\HD Convert to X\applications\x264.exe" --pass 1 --bitrate -962 --preset
medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b
-adapt 2 --no-chroma-me --sar 1:1 --output "C:\Documents and Settings\user\My
Documents\Applications\BD Backup Tools\HD Convert to X\job0\hdconverttox_elf.h26
4" "C:\Documents and Settings\user\My Documents\Applications\BD Backup Tools\HD
Convert to X\job0\hdconverttox_elf.avs"
avis [info]: 1920x1072 @ 23.98 fps (139136 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x264 [info]: profile Main, level 4.0
x264 [info]: frame I:1555 Avg QP:10.15 size:320770
x264 [info]: frame P:45380 Avg QP:10.18 size:246459
x264 [info]: frame B:92201 Avg QP:10.71 size:185611
x264 [info]: consecutive B-frames: 1.6% 14.0% 39.4% 45.0%
x264 [info]: mb I I16..4: 23.3% 0.0% 76.7%
x264 [info]: mb P I16..4: 36.8% 0.0% 0.0% P16..4: 58.5% 0.0% 0.0% 0.0% 0
.0% skip: 4.7%
x264 [info]: mb B I16..4: 17.1% 0.0% 0.0% B16..8: 46.5% 0.0% 0.0% direct:
31.2% skip: 5.2% L0:24.7% L1:28.1% BI:47.3%
x264 [info]: final ratefactor: -1.#J
x264 [info]: direct mvs spatial:98.2% temporal:1.8%
x264 [info]: coded y,uvDC,uvAC intra: 91.5% 96.0% 93.9% inter: 85.3% 72.7% 50.6%
x264 [info]: i16 v,h,dc,p: 30% 16% 36% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 20% 16% 6% 7% 7% 6% 7% 7%
x264 [info]: kb/s:39698.08
encoded 139136 frames, 4.35 fps, 39698.08 kb/s
C:\Documents and Settings\user\My Documents\Applications\BD Backup Tools\HD Conv
ert to X\job0>"C:\Documents and Settings\user\My Documents\Applications\BD Backu
p Tools\HD Convert to X\applications\x264.exe" --pass 2 --bitrate -962 --preset
medium --trellis 0 --ref 4 --deblock -1,-1 --subme 9 --direct auto --me umh --b
-adapt 2 --no-chroma-me --sar 1:1 --output "C:\Documents and Settings\user\My
Documents\Applications\BD Backup Tools\HD Convert to X\job0\hdconverttox_elf.h26
4" "C:\Documents and Settings\user\My Documents\Applications\BD Backup Tools\HD
Convert to X\job0\hdconverttox_elf.avs"
avis [info]: 1920x1072 @ 23.98 fps (139136 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x264 [warning]: Error: 2pass curve failed to converge
x264 [warning]: target: -962.00 kbit/s, expected: 39698.09 kbit/s, avg QP: 10.00
00
x264 [warning]: try reducing target bitrate or reducing qp_min (currently 10)
x264 [info]: profile High, level 4.0
x264 [info]: frame I:404 Avg QP:10.19 size:387014
x264 [info]: frame P:12669 Avg QP:10.19 size:321052
x264 [info]: frame B:26611 Avg QP:10.65 size:249865
x264 [info]: consecutive B-frames: 2.1% 11.8% 32.7% 53.4%
x264 [info]: mb I I16..4: 7.7% 67.7% 24.6%
x264 [info]: mb P I16..4: 3.8% 39.2% 10.9% P16..4: 15.0% 18.4% 12.0% 0.0% 0
.0% skip: 0.7%
x264 [info]: mb B I16..4: 1.5% 16.7% 5.0% B16..8: 37.0% 8.1% 10.5% direct:
19.9% skip: 1.3% L0:31.2% L1:29.0% BI:39.8%
x264 [info]: 8x8 transform intra:72.1% inter:26.4%
x264 [info]: direct mvs spatial:82.3% temporal:17.7%
x264 [info]: coded y,uvDC,uvAC intra: 97.2% 99.1% 98.9% inter: 88.7% 83.1% 74.1%
x264 [info]: i16 v,h,dc,p: 24% 7% 15% 54%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 15% 18% 6% 6% 7% 6% 9% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 8% 8% 11% 11% 10% 11% 13%
x264 [info]: ref P L0: 65.1% 16.5% 11.1% 7.3%
x264 [info]: ref B L0: 85.6% 9.3% 5.2%
x264 [info]: kb/s:52553.12
aborted at input frame 39698, output frame 39684
encoded 39684 frames, 1.01 fps, 52534.59 kb/s
Terminate batch job (Y/N)?
jsbenson
14th November 2009, 02:18
about temp: Clean Temporary files=1
BHH
The command it's using doesn't work. It's using "del" but it should be using "rmdir", like this...
RMDIR /S /Q "<path>"
Is there anyway that can be changed (or maybe a custom entry in the INI file for a "post convert command")? Just a suggestion.
J_Darnley
14th November 2009, 02:59
2pass curve failed to converge
target: -962.00 kbit/s, expected: 39698.09 kbit/s, avg QP: 10.0000
try reducing target bitrate or reducing qp_min (currently 10)
It means exactly what it says. The target bitrate is not possible. You may want to try using a slightly higher, or at least, a positive value for the bitrate.
seplant
14th November 2009, 16:33
It means exactly what it says. The target bitrate is not possible. You may want to try using a slightly higher, or at least, a positive value for the bitrate.
OK, so I guess the problem might be that under Video Encoding Options I was leaving the "Final MB Size" and "Manually Set Bit Rate" fields empty. What should I be entering into either of these fields to achieve maximum video quality? I am trying to convert ripped VC-1 Blu-rays in M2TS containers to H.264 and I am selecting "X264 in M2TS" encoding. Thanks.
flebber
14th November 2009, 16:37
OK, so I guess the problem might be that under Video Encoding Options I was leaving the "Final MB Size" and "Manually Set Bit Rate" fields empty. What should I be entering into either of these fields to achieve maximum video quality? I am trying to convert ripped VC-1 Blu-rays in M2TS containers to H.264 and I am selecting "X264 in M2TS" encoding. Thanks.
Mate simpler. Positive bitrate
Chengbin
14th November 2009, 17:43
Just a suggestion.
If you're encoding a video without audio, let x264 write to the container of our choice to avoid the last step of muxing. This would save lots of time for lossless encodes.
seplant
14th November 2009, 19:31
Mate simpler. Positive bitrate
Thanks. I understand I need to make the bitrate positive, but what bitrate should I use? I don't care if the file size ends up as big or bigger than the original (which is around 20GB).
ziemlichdunkel
14th November 2009, 22:20
Can you please add a first pass turbo checkbox when encoding in x264 2pass mode? (I know this from other apps, and that option seems to really speed up conversion while losing not too much of quality?)
BTW: Newest x264 Version seems to have a bug when using b-adapt 2 parameter, you'll always get an parameter error message. (That's the reason for the error in my last post)
Switched to older version, now conversion works again, will also try 64 version again when there's a fixed release.
Since last HDC the encodings will not use more than 30% of my i7 cores. I know it's x264 which should use 100% when using parameter threads = auto, but I didn't change my profile neither my x264 version. (The now used version used the last time I used it 100% of all 8 cores) Any idea?
And at last my very grateful thanks to you buzzqw for building such great app and providing such quick and good support, and also too the other helpful people in here, thanks! :-)
whipdancer
14th November 2009, 22:22
I'm getting a message when I attempt to convert Adventureland (blu-ray) to WMV. I've looked around and can't find anything specific on how to troubleshoot the message.
The m2ts file analyzes fine. I save the queue file and run it from a command line.
The error message is:
Prepare to encode failed with error -2147220890 No matching media type is found in the source SG_1.
Here's the Make Report:
HDConvertToX v.2.2.516.3803 report
Input File: d:\adventureland\bdmv\stream\00069.m2ts ( D:\ADVENTURELAND\BDMV\STREAM\00069.m2ts )
Codec Video: avc
Width / Heigh : 1920 / 1080
Framerate / Framecount: 23.976fps / 153803 frames
Duration(hh:mm:ss): 1:46:55
Aspect Ratio: 1.7778
Resized resolution: 1920 / 1024
Crop Values : 0:28:0:28
Start Video Configuration ->
Encoding Settings: WMV Codec WVC1 best ; Bitrate= 12980
Final Size: 10000
Denoise Level: Super Light
Video Handling: Use Best Decoder
-> End Video Configuration
Start Audio Configuration ->
Audio Codec: No 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
3: dts master audio, english, 5.1 channels, 24 bits, 48khz
4: ac3, french, 5.1 channels, 640kbps, 48khz
5: ac3, english, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
6: ac3, portuguese, 5.1 channels, 640kbps, 48khz
7: ac3 surround, thai, 2.0 channels, 320kbps, 48khz
-> End Full Audio List
Full Subtitle List-> (*** mean selected)
*** NONE
8: subtitle (pgs), english
9: subtitle (pgs), english
10: subtitle (pgs), french
11: subtitle (pgs), spanish
12: subtitle (pgs), portuguese
13: subtitle (pgs), thai
14: subtitle (pgs), chinese
15: subtitle (pgs), indonesian
16: subtitle (pgs), malay
17: subtitle (pgs), korean
18: subtitle (pgs), french
19: subtitle (pgs), spanish
20: subtitle (pgs), portuguese
21: subtitle (pgs), thai
22: subtitle (pgs), chinese
23: subtitle (pgs), korean
24: subtitle (pgs), french
25: subtitle (pgs), portuguese
26: subtitle (pgs), thai
-> 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:\HDC\applications\eac3to.exe" "d:\adventureland\bdmv\stream\00069.m2ts" 2:"D:\Work\job1\hdconverttox.h264"
"C:\HDC\applications\DGAVCIndex.exe" -i "D:\Work\job1\hdconverttox.h264" -o "D:\Work\job1\movie.dga" -f 0 -e
cscript.exe "C:\HDC\applications\WMCmd.vbs" -input "D:\Work\job1\hdconverttox_00069.avs" -output "D:\Work\adventureland_NS.wmv" -videoonly -v_codec WVC1 -v_preset best -v_mode 0 -v_bitrate 10000000
-> End Queue
AviSynth Script ->
Working with files: D:\Work\job1\hdconverttox_00069.avs
AVCSource("D:\Work\job1\movie.dga")
Spline36Resize(1920,1024,0,28,-0,-28)
hqdn3d(1)
-> End AviSynth Script
Here's the AVS:
#HDConvertToX Avisynth Script
#
#Input File = d:\adventureland\bdmv\stream\00069.m2ts
#Original Resolution = 1920x1080
#Aspect Ratio = 1.7778
#Frame rate =23.976
#Number of Frames = 153803
#Lenght (hour:minutes:seconds) = 1:46:55
#Display Aspect Ratio = 1.8750
#Aspect Error = 0.0012
#
#Resized resolution = 1920 / 1024
#Crop Left = 0
#Crop Top = 28
#Crop Right = 0
#Crop Bottom = 28
#
LoadPlugin("C:\HDC\filters\AddGrain.dll")
LoadPlugin("C:\HDC\filters\AddGrainC.dll")
LoadPlugin("C:\HDC\filters\asharp.dll")
LoadPlugin("C:\HDC\filters\autocrop.dll")
LoadPlugin("C:\HDC\filters\Average.dll")
LoadPlugin("C:\HDC\filters\avss.dll")
LoadPlugin("C:\HDC\filters\ColorMatrix.dll")
LoadPlugin("C:\HDC\filters\deblock.dll")
LoadPlugin("C:\HDC\filters\Decomb.dll")
LoadPlugin("C:\HDC\filters\deen.dll")
LoadPlugin("C:\HDC\filters\degrainmedian.dll")
LoadPlugin("C:\HDC\filters\dfttest.dll")
LoadPlugin("C:\HDC\filters\DGAVCDecode.dll")
LoadPlugin("C:\HDC\filters\DGDecode.dll")
LoadPlugin("C:\HDC\filters\DirectShowSource.dll")
LoadPlugin("C:\HDC\filters\EEDI2.dll")
LoadPlugin("C:\HDC\filters\ffms2.dll")
LoadPlugin("C:\HDC\filters\FFT3DFilter.dll")
LoadPlugin("C:\HDC\filters\FluxSmooth.dll")
LoadPlugin("C:\HDC\filters\frfun7.dll")
LoadPlugin("C:\HDC\filters\gradfun2db.dll")
LoadPlugin("C:\HDC\filters\GrainOpt.dll")
LoadPlugin("C:\HDC\filters\hqdn3d.dll")
LoadPlugin("C:\HDC\filters\MSharpen.dll")
LoadPlugin("C:\HDC\filters\mt_masktools-26.dll")
LoadPlugin("C:\HDC\filters\mvtools.dll")
LoadPlugin("C:\HDC\filters\mvtools2.dll")
LoadPlugin("C:\HDC\filters\NicAudio.dll")
LoadPlugin("C:\HDC\filters\nnedi.dll")
LoadPlugin("C:\HDC\filters\RemoveDirtS.dll")
LoadPlugin("C:\HDC\filters\RemoveGrainS.dll")
LoadPlugin("C:\HDC\filters\RepairS.dll")
LoadPlugin("C:\HDC\filters\SangNom.dll")
LoadPlugin("C:\HDC\filters\SoundOut.dll")
LoadPlugin("C:\HDC\filters\TBilateral.dll")
LoadPlugin("C:\HDC\filters\TDeint.dll")
LoadPlugin("C:\HDC\filters\TIVTC.dll")
LoadPlugin("C:\HDC\filters\TTempSmooth.dll")
LoadPlugin("C:\HDC\filters\UnDot.dll")
LoadPlugin("C:\HDC\filters\UnFilter.dll")
LoadPlugin("C:\HDC\filters\VSFilter.dll")
LoadPlugin("C:\HDC\filters\yadifmod.dll")
Import("C:\HDC\filters\BlindDeHalo3_mt2.avsi")
Import("C:\HDC\filters\Deblock_QED_MT2.avsi")
Import("C:\HDC\filters\GradFun2DBmod.v1.3.avsi")
Import("C:\HDC\filters\Lem.avsi")
Import("C:\HDC\filters\LSFmod.v1.8.avsi")
Import("C:\HDC\filters\MCTemporalDenoise.v1.3.09.avsi")
Import("C:\HDC\filters\QMLF_3_motions.avsi")
Import("C:\HDC\filters\QMLF_5_motions.avsi")
Import("C:\HDC\filters\QMLF_7_motions.avsi")
Import("C:\HDC\filters\QMLF_9_motions.avsi")
Import("C:\HDC\filters\seesaw.avsi")
Import("C:\HDC\filters\SoftSharpen.avsi")
Import("C:\HDC\filters\spresso.avsi")
Import("C:\HDC\filters\Srestore.avsi")
#Source File
AVCSource("D:\Work\job1\movie.dga")
#Applying Resizing
Spline36Resize(1920,1024,0,28,-0,-28)
#Insert Filters As Requested
hqdn3d(1)
flebber
14th November 2009, 23:23
Thanks. I understand I need to make the bitrate positive, but what bitrate should I use? I don't care if the file size ends up as big or bigger than the original (which is around 20GB).
Why not use crf encoding then with a value of 18.
txporter
14th November 2009, 23:41
Is it possible to force Windows Media Audio 9.2 for the audio track when converting to VC-1 rather than Windows Media Audio 10 Pro? I am trying to convert some DVD rips and downloaded TV shows to push back up to my TivoHD. It doesn't like WMA10, but works with 9.2.
flebber
14th November 2009, 23:58
Is it possible to force Windows Media Audio 9.2 for the audio track when converting to VC-1 rather than Windows Media Audio 10 Pro? I am trying to convert some DVD rips and downloaded TV shows to push back up to my TivoHD. It doesn't like WMA10, but works with 9.2.
Have you read the forum rules.
txporter
15th November 2009, 03:24
Have you read the forum rules.
Yes, I have. I have lurked doom9 for at least 6 months, maybe a year. I have searched the forums for what I am asking, although I will admit that my question is specific and searching other terms might have given me the answers. I have used HDC for some conversions and wasn't able to find a way to set the audio on VC-1 encodes to wma9.2 rather than 10.3, so I thought I would come and ask here. Do you know the answer? Or was that all the help you wanted to offer?
Guest
15th November 2009, 04:30
I am trying to convert some ... downloaded TV shows Did you miss the part where we tell you not to post about downloaded materials, or do you just hold our rules in contempt?
txporter
15th November 2009, 04:37
Did you miss the part where we tell you not to post about downloaded materials, or do you just hold our rules in contempt?
Ah, I apologize, I wasn't clear. These are shows downloaded from my Tivo. They are not torrents. They are shows that are broadcast on network TV.
jsbenson
15th November 2009, 18:59
I thought I had this working with the settings you gave me, @buzzqw, but I'm still running into some weird things.
When I convert, the final file is larger than the original. I've tried this a couple times and I get the same results.
This file (Poltergeist) was originally 19,276,966 and after the conversion it was 32,224,236
For this conversion I used X264 in M2TS with NMT checked. Medium quality @ final MB size = 7600 (Bitrate = 8093), ac3, 5.1 channels, 48khz...with keep only core checked. No X64-64bit, no filters.
I had the "Encode Using" set to "Copy Audio". I just changed it to "AC3 - 640 (5.1)" and trying it again. You don't think this was the issue do you?
HDConvertToX v.2.2.516.3803 report
Input File: c:\users\jsbenson\videos\bd\poltergeist.m2ts ( C:\Users\jsbenson\Videos\BD\Poltergeist.m2ts )
Codec Video: vc-1
Width / Heigh : 1920 / 1080
Framerate / Framecount: 23.976fps / 164675 frames
Duration(hh:mm:ss): 1:54:29
Aspect Ratio: 1.7778
Resized resolution: 1920 / 1080
Crop Values : 2:150:2:146
No Resize & Crop: On
Start Video Configuration ->
Encoding Settings: X264 Medium ; Bitrate= 8093
NMT Compatibility: On
Final Size: 7600
Denoise Level: Normal
Video Handling: Use Best Decoder
-> End Video Configuration
Start Audio Configuration ->
Audio Codec: Copy 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
*** 2: ac3, 5.1 channels, 640kbps, 48khz, dialnorm: -27db
3: truehd/ac3, 5.1 channels, 48khz, dialnorm: -27db
4: ac3 surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
5: ac3 surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
6: ac3 surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
7: ac3, 1.0 channels, 192kbps, 48khz, dialnorm: -27db
8: ac3 surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
9: ac3 surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27db
10: ac3, 1.0 channels, 192kbps, 48khz, dialnorm: -27db
-> End Full Audio List
Full Subtitle List-> (*** mean selected)
*** NONE
11: subtitle (pgs)
12: subtitle (pgs)
13: subtitle (pgs)
14: subtitle (pgs)
15: subtitle (pgs)
16: subtitle (pgs)
17: subtitle (pgs)
18: subtitle (pgs)
19: subtitle (pgs)
20: subtitle (pgs)
21: subtitle (pgs)
22: subtitle (pgs)
23: subtitle (pgs)
24: subtitle (pgs)
25: subtitle (pgs)
26: subtitle (pgs)
27: subtitle (pgs)
28: subtitle (pgs)
-> End Full Subtitle List
Mux Subtitle in MP4/MKV file: On
Start Advanced AviSynth ->
ColorMatrix: On
-> End Advanced AviSynth
Start Muxing Options ->
Activate Autochapter
<- End Muxing Options
Start Queue ->
prompt $d $t $_$P$G
"C:\Users\jsbenson\Video Apps\HDC\applications\eac3to.exe" "c:\users\jsbenson\videos\bd\poltergeist.m2ts" 2: "C:\Users\jsbenson\Videos\Jobs\job2\hdencodertox-pid2.ac3"
"C:\Users\jsbenson\Video Apps\HDC\applications\x264.exe" --pass 1 --bitrate 8008 --preset medium --tune film --sar 1:1 --output "C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.h264" "C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.avs" --level 4.0
"C:\Users\jsbenson\Video Apps\HDC\applications\x264.exe" --pass 2 --bitrate 8008 --preset medium --tune film --sar 1:1 --output "C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.h264" "C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.avs" --level 4.0
"C:\Users\jsbenson\Video Apps\HDC\applications\tsMuxeR.exe" "C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.meta" "C:\Users\jsbenson\Videos\Done\Poltergeist.m2ts"
-> End Queue
AviSynth Script ->
Working with files: C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.avs
directshowsource("c:\users\jsbenson\videos\bd\poltergeist.m2ts",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last
ColorMatrix(mode="Rec.709->Rec.601")
hqdn3d(4)
return last
-> End AviSynth Script
TSMuxer Script ->
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC,"C:\Users\jsbenson\Videos\Jobs\job2\hdconverttox_poltergeist.h264", fps=23.976, insertSEI, contSPS
A_AC3, "C:\Users\jsbenson\Videos\Jobs\job2\hdencodertox-pid2.ac3", timeshift=0
-> End TSMuxer Script
Also...
This is on my other machine so the code above has nothing to do with this part:
I'm still having a little trouble with the audio. When I was running my test conversions (on a small file), I was getting English at first. But, after a few test conversions I started getting a different language.
I tried everything I could think of to have it encode the English track but it kept coming out French.
Maybe I just don't undrestand what's going on with the the audio.
Here's what I'm seeing...
In order to get ANY audio, I have to have the "Keep only core of HD Audio"
When there are many "ac3, 5.1 channels, 640kbps..." I select the top one (the default), but is the topmost language always going to be English?
When I have "truehd/ac3, 5.1 channels...", should I select this one? If so, will it end up being "ac3 surround, 5.1 channels..." because the "keep only core of HD audio" is checked?
I tried previewing it with different audio options checked but the preview always played in French. I know in TSMuxerGUI the language of all the tracks are displayed. Is there any way to incorporate
that into HDC so that we can tell which is the correct track? Also, because of the window size, it is difficult to read all the text displayed under "audio tracks". Could you maybe stack the "Audio Tracks" above
the "Subtitle Tracks" so that the width of each would occupy the entire length of the window? That would double the width and would allow us to see the entire audio desciption without having to scroll.
Thanks buzqw
buzzqw
16th November 2009, 09:09
@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
flebber
16th November 2009, 11:34
@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
@ALL
this is a busy period
sorry for delay in answer and developing
BHH
Buzzqw I took the m2v file and muxed it to mkv in mkvmerge and then loaded the file into HDC. It then worked like a charm. Is it possible to offer to mux in mkv for m2v like the other not so supported formats?
noee
16th November 2009, 13:15
Bhh:
I've tried the Bitrate= setting in both HDConvertToX_profile.txt and HDConvertToX.INI. I take it this is for a default but I don't see it in the video tab. Not sure how this is supposed to work.
Frozen-Figo
16th November 2009, 14:10
How can I make "Name" & "Location" of output file taken by default as same as input file ? ( Like Automkv )
Regards
:rolleyes:
buzzqw
16th November 2009, 14:37
@noee
just write Bitrate=XXXX in INI file
don't touch profile
you will see this value in manual bitrate
@Frozen-Figo
not possible, actually.
the possibility are:
Input Work Folder= #this set working folder as input folder
Workfolder= #set the working folder...
Default Output Folder= #set the folder for output
BHH
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.