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. |
21st January 2013, 16:59 | #141 | Link | |
FishmanMod Android Dev
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
|
Quote:
x262 is not there yet.
__________________
"Cinderella story, out of nowhere, former greenskeeper, now about to become the Masters champion. It looks like a mirac- it's in the hole!" |
|
3rd April 2013, 16:30 | #142 | Link |
Registered User
Join Date: Jul 2008
Posts: 17
|
I'm trying to encode video with HC but the resulting DVD doesn't work. I wonder if I'm using some incompatible settings but if I am I'm not getting a warning.
In any case, I encode the avs with these settings (HCenc 0.26 btw): Code:
*INFILE d:\videos\to dvd\hc test\test.avs *OUTFILE d:\videos\to dvd\hc test\test.m2v *LOGFILE d:\videos\to dvd\hc test\test.log *BITRATE 5500 *MAXBITRATE 9200 *FRAMES 0 4999 *PROFILE best *AUTOGOP 12 *DC_PREC 10 *PROGRESSIVE *PROG_SEQ *TFF *BIAS 10 *AVSMEMORY 500 *PULLDOWN *INTRAVLC 2 *CUSTOMMATRIX 8 8 8 10 12 14 16 18 8 10 12 14 16 18 20 20 8 12 14 16 18 20 22 22 10 14 16 18 20 22 24 24 12 16 18 20 22 24 26 26 14 18 20 22 24 26 28 28 16 20 22 24 26 28 30 32 18 20 22 24 26 28 32 64 16 16 16 18 20 22 24 26 16 18 20 22 24 26 28 28 16 20 22 24 26 28 30 30 18 22 24 26 28 30 32 32 20 24 26 28 30 32 34 34 22 26 28 30 32 34 36 36 24 28 30 32 34 36 48 56 26 28 30 32 34 36 56 128 *LUMGAIN 1 *PRIORITY high *CHROMAFORMAT 422 And the main problem: my hardware player doesn't work or rather, like these software players it only shows subtitles. Any ideas? |
3rd April 2013, 16:46 | #143 | Link | |
Registered User
Join Date: May 2006
Posts: 237
|
Max bitrate is usually 8000.
Technical Info for DVD-Video Quote:
|
|
31st May 2013, 10:35 | #146 | Link |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Can anyone help me find (and remove) the bottleneck in my set-up?
I'm using HCenc to create DVD-compliant MPEG-2 streams from ProRes HD .mov files. Using high image quality settings my encoding rig does 16fps in both passes -- but CPU usage never goes above 10%. Here's an example of a Avisynth script I load into HCenc: LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\QTSource.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll") QTInput("X:\HDProRes.mov") Spline36Resize(704,576) AddBorders(8,0,8,0) ColorMatrix(mode="Rec.709->Rec.601",Clamp=false) I've also tested with ffms2: LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll") FFVideoSource("X:\HDProRes.mov", threads=1) Spline36Resize(704,576) AddBorders(8,0,8,0) ColorMatrix(mode="Rec.709->Rec.601",Clamp=false) but fps and CPU usage remain the same. Is there anything I can do to squeeze a faster encoding speed out of the system? |
31st May 2013, 10:50 | #147 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
- How fast is the script itself? (test with AVSMeter) - Have you enabled multithreading in HC? |
|
31st May 2013, 10:57 | #148 | Link | |
Registered User
Join Date: May 2006
Posts: 237
|
Quote:
It's probably lower res than your source, so the 2nd pass encode to MPEG should be faster. Anyway, it won't be slower. It needs 10 or 20 GB per hour of video for the temp lossless file, see the settings if you need to specify where it goes. |
|
31st May 2013, 11:05 | #149 | Link | |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Quote:
Gotta love this forum; one gets to learn new things every day AVSMeter says my scripts are slooooooow. ffms2: Frames processed: 436 (0 - 435) FPS (min | max | average): 10.54 | 23.76 | 17.19 CPU usage (average): 5% Thread count: 18 Physical Memory usage (peak): 201 MB Virtual Memory usage (peak): 202 MB Time (elapsed): 00:00:25.358 QTSource: Frames processed: 362 (0 - 361) FPS (min | max | average): 9.67 | 27.65 | 17.36 CPU usage (average): 7% Thread count: 11 Physical Memory usage (peak): 245 MB Virtual Memory usage (peak): 249 MB Time (elapsed): 00:00:20.851 Of course, those are only a small sample from the start of the file. As for HCenc multithreading... I have some reading to do. |
|
31st May 2013, 11:26 | #151 | Link | |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll") FFVideoSource("X:\HDProRes.mov", threads=1) Spline36Resize(704,576) AddBorders(8,0,8,0) ColorMatrix(mode="Rec.709->Rec.601",Clamp=false) Quote:
|
|
31st May 2013, 11:32 | #152 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Weird. I don't understand why 18 threads are utilized even though you specified only 1 thread for FFVideoSource.
Anyway, your bottleneck is clearly the decoding. Have you tried with "threads=4" or similar for FFVideoSource? |
31st May 2013, 11:42 | #153 | Link | |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Quote:
As for HCenc multithreading, I tried adding *SMP into HC.ini and reloading the .ini... but looking at "Current HC.ini" in "Settings 1" tab I don't see it there. Oh, hang on, could this be because I'm running the latest beta version, dated 16-06-2011? |
|
31st May 2013, 11:48 | #154 | Link |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
I ran AVSMeter again, this time on a FFVideoSource script which had "threads=16":
Frames processed: 373 (0 - 372) FPS (min | max | average): 20.73 | 23.74 | 21.26 CPU usage (average): 6% Thread count: 18 Physical Memory usage (peak): 191 MB Virtual Memory usage (peak): 193 MB Time (elapsed): 00:00:17.547 And yet it pulls 18 threads out of somewhere on its own. Huh? But notice how min FPS doubled compared to "threads=1" script, although max FPS remained the same. Last edited by colinhunt; 31st May 2013 at 11:50. |
31st May 2013, 12:04 | #156 | Link | |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Quote:
OK, found and installed v2.5, changed the script to "clamp=0" and ran it through AVSMeter: no change in FPS and # of threads AVSMeter reports. Last edited by colinhunt; 31st May 2013 at 12:12. |
|
31st May 2013, 12:10 | #157 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Just for testing, remove the ColorMatrix line and run AVSMeter again. |
|
31st May 2013, 12:15 | #158 | Link | |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Quote:
1) raised threads to 32: AVSMeter reports 34 threads. FPS and CPU usage remain the same. 2) threads at 32, commented out ColorMatrix line, ran AVSMeter: thread count 33, no change in FPS or CPU usage. One more: Threads=32, commented out ColorMatrix, Spline36Resize and Padding: Frames processed: 922 (0 - 921) FPS (min | max | average): 18.17 | 54.40 | 29.34 CPU usage (average): 4% Thread count: 33 Physical Memory usage (peak): 272 MB Virtual Memory usage (peak): 274 MB Time (elapsed): 00:00:31.429 Last edited by colinhunt; 31st May 2013 at 12:17. |
|
31st May 2013, 12:20 | #159 | Link |
Registered User
Join Date: Dec 2002
Posts: 1,022
|
Script:
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\QTSource.dll") QTInput("X:\HDProRes.mov") AVSMeter: Frames processed: 1036 (0 - 1035) FPS (min | max | average): 11.07 | 93.67 | 30.59 CPU usage (average): 13% Thread count: 10 Physical Memory usage (peak): 432 MB Virtual Memory usage (peak): 435 MB Time (elapsed): 00:00:33.864 |
|
|