Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th April 2009, 13:02   #381  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
yea, you need correct decoder (but afaik latest ffdshow should handle it...)

also.. about bitrate/size and dts-ma: the dts-ma is encoded at variable bitrate.. so when copy it it's near impossible to achive correct size

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 14th April 2009, 13:58   #382  |  Link
spida_singh
Registered User
 
Join Date: Aug 2002
Posts: 125
Quote:
Originally Posted by buzzqw View Post
yea, you need correct decoder (but afaik latest ffdshow should handle it...)

also.. about bitrate/size and dts-ma: the dts-ma is encoded at variable bitrate.. so when copy it it's near impossible to achive correct size

BHH
ok, that being the case, i don't see any point in spending more time and effort into final output size calculation when using dtshd-ma copy audio? It will save you work, and, all that is required is a final output size calculated for video only, taking into account an overhead of 3GB-4GB for the audio track in the end. This way, the user can estimate the final output file size themselves using 3GB-4GB as a guide line.

many thanks again for your efforts.
spida_singh is offline   Reply With Quote
Old 14th April 2009, 14:19   #383  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
if you copy dts-ma HDC will compute
1536kbps if core is stripped
3840kbps (very empirical) if core is keeped

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 14th April 2009, 14:27   #384  |  Link
spida_singh
Registered User
 
Join Date: Aug 2002
Posts: 125
cool, i will test when i am back.
spida_singh is offline   Reply With Quote
Old 14th April 2009, 21:15   #385  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,228
@buzzqw
The manual still refers to v1327.
For some reason you have deleted under "Compression Test" that for 1-pass encodes the crf (or quant) as selected by the user in the Video Encoder Tab is used for the compression test.
I find this to be a useful feature because it allows to estimate the expected video file size of a 1-pass (crf) encode. With 2 or 3 quick trial-and-error compressioin tests one can estimate the resulting crf (or quant) to approximately fill the target medium with a fast 1-pass encode (actually these iterations could even be automated....)
Sharc is offline   Reply With Quote
Old 15th April 2009, 04:15   #386  |  Link
Crono141
Registered User
 
Join Date: Jun 2007
Posts: 150
I just want to make sure of something. Has anyone else gotten an m2ts made by HDC to successfully stream to the PS3? I'm not having any luck, and if someone else is I'd like to know what the proper settings are. I'm going for X264+ac3 in m2ts. Thanks.
Crono141 is offline   Reply With Quote
Old 15th April 2009, 04:34   #387  |  Link
Crono141
Registered User
 
Join Date: Jun 2007
Posts: 150
Quote:
Originally Posted by Chengbin View Post
buzzqw, why does HDC have to extract the video out every time it encodes? It is a waste of time and space. If I'm encoding blu-ray for example, the movie itself is 30GB. I have to rip it to my HDD first, and it HDC extracts it again, I need about 60GB of HDD, which I don't have. Not only that, copying 30GB again would take enormously long.
If you're using AnyDVD, you should be able to access the files directly off the disc without having to rip them to HDD first.

Otherwise, I'm not sure how else to go about doing this. Even commercial DVD ripping tools required at least twice the DVD's capacity in available HDD space for the exact same reason.

And how can you expect to deal in BR discs if you don't have at least 100 gb of free disc space? Even an external USB disc can be cheaply aquired for use as temporary working space.
Crono141 is offline   Reply With Quote
Old 15th April 2009, 08:58   #388  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
@Sharc

update manual (was just a missing)

about compression test: sorry pal, unable to replicate
here is ok

could you please describe what are you doing (and what kind of files are you using)

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 15th April 2009, 13:44   #389  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
update HDC

>added a new resizer for quality 10 (see thread http://forum.doom9.org/showthread.ph...34#post1274134)
>fixed language subtitles muxing (mkv)

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 15th April 2009, 14:22   #390  |  Link
Havokdan
Registered User
 
Havokdan's Avatar
 
Join Date: Apr 2009
Location: Gurupi, Tocantins, Brasil
Posts: 172
You can add the fast first pass for xvid/divx/x264?

Great jobs with your softwares, i like AutoMKV e HDConvertToX, congratulations

Sorry bad english.
Havokdan is online now   Reply With Quote
Old 15th April 2009, 14:59   #391  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
Hi Havokdan ans welcome to the forum!

The first pass is already "turbo"

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 15th April 2009, 17:24   #392  |  Link
Havokdan
Registered User
 
Havokdan's Avatar
 
Join Date: Apr 2009
Location: Gurupi, Tocantins, Brasil
Posts: 172
Thanks for the welcome, I wonder if you want to add in the future, the option to open .Mp4.
When I said fast first pass, I saw that was when I add a conversion in a queue, the row of the first step and second step has the same controls except for number of step. Disabling some unnecessary options in the first step in the conversion would be faster?
When I convert in VirtualDub, using the same configuration and combination of avisynth filters, the step 1 is faster than with Hdconvertox?
This tool you are developing is that for many years I looked online because I am fan of anime and would like to see them on my DVD player that has support for divx / xvid. Thanks again.

Sorry bad English, Translated by Google Translation, I read better than writing in English.
Havokdan is online now   Reply With Quote
Old 15th April 2009, 19:44   #393  |  Link
alpha_125
Registered User
 
Join Date: Feb 2008
Posts: 18
Quote:
Originally Posted by buzzqw View Post
update HDC

>added a new resizer for quality 10 (see thread http://forum.doom9.org/showthread.ph...34#post1274134)
>...

BHH

interesting, but it is too complicated for me: D
For now I find good results of Spline36Resize

Audio section Question:
When "Force DirectShowSource as decoder" is chosen, is there any chance to process the other audio tracks too?
If i select the second track, in the final mkv, i find i only have the first track twice.

This option is the only one that in the process ac3-640 (or AAC) to ac3-448 keep the volume like the original.
If i use eac3to, with or without normalization, the volume is significantly lower and it seem also, i don't know how say...different
alpha_125 is offline   Reply With Quote
Old 15th April 2009, 19:53   #394  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
Quote:
When "Force DirectShowSource as decoder" is chosen, is there any chance to process the other audio tracks too?
as stated in manual too, isn't possible, only the first audio is keep

BUT , if you have "problem" of volume, try BassAudio option, should give a good bost (also, can keep the "second" track)

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 15th April 2009, 20:52   #395  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,228
Quote:
Originally Posted by buzzqw View Post
@Sharc

about compression test: sorry pal, unable to replicate
here is ok

could you please describe what are you doing (and what kind of files are you using)

BHH
Nothing to replicate. HDC is ok. I was only mentioning that the description in the manual for the compression test of a 1-pass encode (using the actual crf or qnatizer value in order to estimate the expected file size) is missing. It was described in an earlier version, but somehow got lost.
Never mind.
Sharc is offline   Reply With Quote
Old 15th April 2009, 21:03   #396  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
thanks Sharc

i will look at this

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 16th April 2009, 02:05   #397  |  Link
Crono141
Registered User
 
Join Date: Jun 2007
Posts: 150
I'd like to ask a stupid question.

What is the difference between HDC h264 at crf 0 (for lossless encode) and the lossless h264 profile in autoMKV? I ask because the AutoMKV profile produced nice high quality encodes at only slightly higher filesize than crf 18, and was about twice as fast at doing it. I'd like to be able to replicate that behavior in HDC.

Everyone says CRF 18 is transparent, but it really isn't, especially in scenes with lots of fog or smoke. And CRF 16 increases the file size exponentially, as well as the encode times, and doesn't produce much better of a picture. Lossless encodes (from AutoMKV) looked great, and were a great filesize to boot.

Any possibility of getting that profile, or something close to it, in HDC for h264 encodes?

Edit: I think I figured it out. I just took the command line from AutoMKV and copied it into the HDC profiles file. Encoding now. Got a few warnings:

Code:
E:\Programs\HDConvertToX\temp>"E:\Programs\HDConvertToX\applications\x264.exe" -
-crf 16 --threads auto --thread-input --no-psnr --progress --qp 0 --keyint 250 -
-bframes 0 --qpmin 0 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 2 --direc
t temporal --vbv-maxrate 25000 --me hex --no-ssim --level 4.1 --merange 12 --nf
--b-adapt 1 --partitions p8x8,b8x8,i4x4,p4x4 --threads auto --thread-input  --sa
r 1:1  --output "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.h264" "E:\P
rograms\HDConvertToX\temp\hdconverttox_vts_01_1.avs" --level 4.0
avis [info]: 720x336 @ 23.98 fps (157140 frames)
x264 [info]: using SAR=1/1
x264 [warning]: VBV bitrate (25000) > level limit (20000)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT

x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: profile High 4:4:4 Predictive, level 4.0
[4.6%] 7190/157140 frames, 50.18 fps, 16863.21 kb/s, eta 0:49:48
Mayhaps someone with better knowledge of x264 can help me sort out these warning. And filesize too, because it seems obvious from that bitrate that I'm going to get a huge file. At least the encoding is quick.

It seems there shouldn't be a CRF value if we're using x264 lossless encoding.

Edit 2: On a new issue. I fixed my problem with WMP12 crashing when trying to open an M2ts file. Also fixed the annoying com surrogate crash that MS blames on Haali media splitter. I had this software called AVSYOU that had crappy conflicting codecs that were messing me up, but I digress.

Anyway, since I had m2ts playback fixed (included BR content decrypted with AnyDVD) i decided to give BR conversion a go again, and here's what happenned:

Code:
E:\Programs\HDConvertToX\temp>"E:\Programs\HDConvertToX\applications\x264.exe" -
-pass 1 --bitrate 84123344 --threads auto --thread-input --no-psnr --progress --
keyint 250 --bframes 3 --mixed-refs --trellis 0 --ref 1 --filter -1,-1 --subme 2
 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --weig
htb --b-adapt 1 --no-chroma-me  --aud --nal-hrd --aq-mode 1 --aq-strength 1 --ps
y-rd 1.1:0.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_00007.h264" "E
:\Programs\HDConvertToX\temp\hdconverttox_00007.avs" --level 4.0
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'E:\Programs\HDConvertToX\temp\hdconvert
tox_00007.avs'

E:\Programs\HDConvertToX\temp>"E:\Programs\HDConvertToX\applications\x264.exe" -
-pass 2 --bitrate 84123344 --threads auto --thread-input --no-psnr --progress --
keyint 250 --bframes 3 --mixed-refs --trellis 0 --ref 3 --filter -1,-1 --subme 9
 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weig
htb --b-adapt 1 --no-chroma-me --8x8dct --aud --nal-hrd --aq-mode 1 --aq-strengt
h 1 --psy-rd 1.1:0.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_00007.
h264" "E:\Programs\HDConvertToX\temp\hdconverttox_00007.avs" --level 4.0
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'E:\Programs\HDConvertToX\temp\hdconvert
tox_00007.avs'
Both passes only took about 2 minutes each due to error message.

Here's the report

Code:
HDConvertToX v.1.0.216.1679 report

Input File: g:\bdmv\stream\00007.m2ts
Codec Video: vc-1
Width: 0
Heigh: 0
Framerate: 0.000
Framecount: 0
Duration(hh:mm:ss): 0:0:1
Aspect Ratio: 1.7778
Resized resolution: 0 / 0
Crop Left: 0
Crop Top: 0
Crop Right: 0
Crop Bottom: 0

Start Hidden Options ->
Activate Hidden Option: NMT
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: X264 in M2TS
NMT Compatibility: On
Encoding Preset: 7
Final Size: 10000
Priority: idle
Denoise Level: None
Set Manual Bitrate: 
Force DirectShowSource: Off
Deinterlace: none
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
3: ac3, english, 5.1 channels, 640kbps, 48khz
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String: 
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\x264.exe" --pass 2 --bitrate 84123344 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 3 --mixed-refs --trellis 0 --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 1 --no-chroma-me --8x8dct --aud --nal-hrd --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_00007.h264" "E:\Programs\HDConvertToX\temp\hdconverttox_00007.avs" --level 4.0 
"E:\Programs\HDConvertToX\applications\tsMuxeR.exe" "E:\Media\Movies\DVD\Action\The Dark Knight BR.meta" "E:\Media\Movies\DVD\Action\The Dark Knight BR.M2TS"
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_00007.avs
#HDConvertToX Avisynth Script
#
#Input File = g:\bdmv\stream\00007.m2ts
#Original Resolution = 0x0
#Aspect Ratio = 1.7778
#Frame rate =0.000
#Number of Frames = 0
#Lenght (hour:minutes:seconds) = 0:0:1
#Display Aspect Ratio = -1.#IND
#Aspect Error = -1.#IND
#
#Resized resolution = 0 / 0
#Crop Left = 0
#Crop Top = 0
#Crop Right = 0
#Crop Bottom = 0
#

#Source File
directshowsource("g:\bdmv\stream\00007.m2ts",audio=false)
last = isRGB(last) ? ConvertToYV12(last) : last
last = isYUY2(last) ? ConvertToYV12(last) : last


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

#Insert Filters As Requested
ColorMatrix(mode="Rec.709->Rec.601")

-> End AviSynth Script
Virtual Dub error on AVS script reports Timeout waiting for graph to start (line 61). I know my directshow filters will display this file. VC1 with ac3. Not sure what the deal is. Thanks for all your help.

Last edited by Crono141; 16th April 2009 at 05:35.
Crono141 is offline   Reply With Quote
Old 16th April 2009, 07:17   #398  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
Quote:
directshowsource("g:\bdmv\stream\00007.m2ts",audio=false)
open this file with mediaplayer classic (just hit preview)

check FFDSHOW . and set VC-1 decoder to WMV9

EDIT: @ Havokdan , i have recked and TURBO is on, just try to add a 2 pass encode with a "hight profile" (7 or more)
check subme, trellis, partitions, me, subme, ref...

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8

Last edited by buzzqw; 16th April 2009 at 07:42.
buzzqw is offline   Reply With Quote
Old 16th April 2009, 08:21   #399  |  Link
Havokdan
Registered User
 
Havokdan's Avatar
 
Join Date: Apr 2009
Location: Gurupi, Tocantins, Brasil
Posts: 172
Thanks for the reply. Keep up good work.
Havokdan is online now   Reply With Quote
Old 17th April 2009, 04:24   #400  |  Link
Crono141
Registered User
 
Join Date: Jun 2007
Posts: 150
Media Player classic says "Cannot render the file." FFDShow already has VC-1 set to wmv 9. However, media player classic will open the file directly, instead of trying to open the avs.

When HDC analyzes the file, this is what pops up



Perhaps therein lies the problem?

Also, I have another problem. I tried to do a 2 pass encode x264+ac3 in m2ts, and got a 0 byte sized file output. Here's the code.

Code:
HDConvertToX v.1.0.216.1679 report

Input File: e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
Codec Video: mpeg
Width: 720
Heigh: 480
Framerate: 29.970
Framecount: 196213
Duration(hh:mm:ss): 1:49:7
Aspect Ratio: 1.7778
Resized resolution: 720 / 336
Crop Left: 0
Crop Top: 40
Crop Right: 0
Crop Bottom: 40
Activate: Crop Obey to AR

Start Hidden Options ->
Activate Hidden Option: NMT
Activate Hidden Option: Mod16
-> End Hidden Options

Start Video Configuration ->
Encoding Settings: X264 in M2TS
NMT Compatibility: On
Encoding Preset: 8
Final Size: 2000
Priority: idle
Denoise Level: None
Set Manual Bitrate: 
Force DirectShowSource: Off
Deinterlace: Telecine
-> End Video Configuration

Start Audio Configuration ->
Audio Codec: Copy Audio
Audio Bitrate/Quality: 128
Audio Channels: 2
MP3 Mode: abr
SpeedUP: Off
SlowDonw: Off
Normalize: On
-> End Audio Configuration

Start Audio Tracks Selected ->
80: English (AC3 6ch, 0xBD 0x80) [0]
-> End Audio Tracks Selected

Start Subtitles Tracks Selected ->
-> End Subtitles Tracks Selected
Mux Subtitle in MP4/MKV file: On
Encrust Subtitle in Video file: Off

Start Advanced AviSynth ->
Basic Filter: NONE
QMF Filter: NONE
MVDegrain: NONE
FreeAVS String: 
ColorMatrix: On
GreyScale: Off
-> End Advanced AviSynth

Start Queue ->
"E:\Programs\HDConvertToX\applications\x264.exe" --pass 2 --bitrate 2176 --threads auto --thread-input --no-psnr --progress --keyint 250 --bframes 3 --mixed-refs --trellis 2 --ref 3 --filter -1,-1 --subme 7 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --merange 20 --weightb --b-adapt 1  --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --aud --nal-hrd --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --output "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.h264" "E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs" --level 4.0 
"E:\Programs\HDConvertToX\applications\tsMuxeR.exe" "E:\Media\Movies\DVD\Comedy\School of Rock.meta" "E:\Media\Movies\DVD\Comedy\School of Rock.m2ts"
-> End Queue

AviSynth Script ->
Working with files: E:\Programs\HDConvertToX\temp\hdconverttox_vts_01_1.avs
#HDConvertToX Avisynth Script
#
#Input File = e:\rippeddvd\mainmovie\school_of_rock_16x9\video_ts\vts_01_1.vob
#Original Resolution = 720x480
#Aspect Ratio = 1.7778
#Frame rate =29.970
#Number of Frames = 196213
#Lenght (hour:minutes:seconds) = 1:49:7
#Display Aspect Ratio = 2.1334
#Aspect Error = -0.4432
#
#Resized resolution = 720 / 336
#Crop Left = 0
#Crop Top = 40
#Crop Right = 0
#Crop Bottom = 40
#

#Source File
mpeg2source("E:\Programs\HDConvertToX\temp\movie.d2v")

#Insert Deinterlacer
tfm(last,d2v="E:\Programs\HDConvertToX\temp\movie.d2v").tdecimate()

#Applying Resizing
Lanczos4Resize (720,336,0,40,-0,-40)

#Insert Filters As Requested
ColorMatrix(d2v="E:\Programs\HDConvertToX\temp\movie.d2v")

-> End AviSynth Script

Last edited by Crono141; 17th April 2009 at 04:33.
Crono141 is offline   Reply With Quote
Reply

Tags
bluray, hdc, hdconverttox, m2ts, network media tank, playstation, x264 gui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:21.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.