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 > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th May 2008, 01:35   #1  |  Link
acesea
Registered User
 
Join Date: Dec 2003
Posts: 6
Freezing Video: 26 Const. Quality - Megui & x264 - HDV 1440x1080 -> Bobbed 1920x1088

NLE: Vegas 8,
Camera: Sony FX1
Video Specs: hdv 1440x1080 60i 29.97fps mpeg2
*Disclaimer*: I have scaled this same source to 1280x720 and encoded it with otherwise identical avs and x264 settings, bobbed etc, and it replays perfectly on the same machine that the 1920x1088 freezes on.


Video data is sent to Megui through Avisynth and gets encoded with x264.



Here are the x264 encoding setting:
===
--crf 26 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me esa --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "output" "input"
===



Here is the avs file:
===
AVISource("C:\_VIDEO WORK\6444\frameserve\6444.avi", audio = false)
LeakKernelBob(order=1, threshold=10)
lanczos4resize(1920,1088)
FFT3DFilter (sigma=1.9,sigma2=2.55, sigma3=2.95,sigma4=3.90,bw=16, bh=16, ow=8, oh=8, sharpen=.8)
ConvertToYV12()
===


After encoding this 9:24min long video for 23 hours (!!) as 1920x1088 bobbed it will play for 3 seconds in VLC Player and then freeze and intermittently every 20 seconds or so display the video in a corrupted fashion again for a few seconds and freeze again, continually behaving this way. I am playing this on a intel C2D 3ghz 2gb machine. My cpu usage never goes above 50%.

When checking View> 'Stream and Media info', then the 'Statistics' tab in VLC player, the 1920x1088 video freezes more at times of higher stream bitrate, ie over 6000kb/s. However, the smaller encoding scaled to 1280x720, bobbed, and encoded with identical x264 settings will never freeze even when stream bitrate gets near such kb/s.

Is my issue an encoding problem? Or is it a replay problem (again, which I find unlikely given my machine specs and minimal cpu usage)?
Why does the 1280x720 encoding replay flawlessly, yet the 1920x1088 freezes?

TIA.

Last edited by acesea; 15th May 2008 at 02:17.
acesea is offline   Reply With Quote
Old 15th May 2008, 01:36   #2  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by acesea View Post
I am playing this on a intel C2D 3ghz 2gb machine. My cpu usage never goes above 50%.
Which means your CPU is maxed, because 50% means one core, and VLC isn't multithreaded for H.264 playback.
Dark Shikari is offline   Reply With Quote
Old 15th May 2008, 01:54   #3  |  Link
acesea
Registered User
 
Join Date: Dec 2003
Posts: 6
Quote:
Originally Posted by Dark Shikari View Post
Which means your CPU is maxed, because 50% means one core, and VLC isn't multithreaded for H.264 playback.
Ok. Mistakenly, when viewing the CPU Usage History I saw fluctuations in both cores and figured that VLC was multithreaded. I was wrong.

Are their any playback applications that are multithreaded?

EDIT: I see CoreAVC is MT. I will give it a try and post back.
acesea is offline   Reply With Quote
Old 15th May 2008, 01:58   #4  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by acesea View Post
Ok. Mistakenly, when viewing the CPU Usage History I saw fluctuations in both cores and figured that VLC was multithreaded. I was wrong.

Are their any playback applications that are multithreaded?

EDIT: I see CoreAVC is MT. I will give it a try and post back.
CoreAVC and Cyberlink. FFDshow has partial multithreading, which is often sufficient to put what won't play "over the line" into something that will play.
Dark Shikari is offline   Reply With Quote
Old 15th May 2008, 02:12   #5  |  Link
acesea
Registered User
 
Join Date: Dec 2003
Posts: 6
Media Player Classic with CoreAVC 1.7 decode this file flawlessy. Thanks Dark Shikari.
acesea is offline   Reply With Quote
Reply

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 14:06.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.