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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th August 2012, 18:48   #41  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Try the complete path, not just the filename.
sneaker_ger is offline   Reply With Quote
Old 6th August 2012, 18:58   #42  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by sneaker_ger View Post
Try the complete path, not just the filename.
Did not work

avs [error]: Unable to load C Plugin: C:\Program Files (x86)\AviSynth 2.5\plugin
s\ffms2.dll
(ufcfoxpost_x264.avs, line 1)
x264 [error]: could not open input file `post_x264.avs'

Load_STDCall_Plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
Load_STDCall_Plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
FFVideoSource("post.ts")
ConvertToYV12()
Yadif(0,1)
Lanczos4Resize(704,400,6,6,-6,-6)
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 19:31   #43  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
Either the path to the DLL is wrong or it's not actually a C plug-in (but a regular C++ plug-in). Or your are trying to load a 64-Bit plug-in from 32-Bit Avisynth (or vice versa).
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th August 2012, 19:52   #44  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
Either the path to the DLL is wrong or it's not actually a C plug-in (but a regular C++ plug-in). Or your are trying to load a 64-Bit plug-in from 32-Bit Avisynth (or vice versa).
Since I am trying to use your software can you make sense of this?

Code:
Simple x264 Launcher (Build #346), built 2012-07-22

Job started at 2012-08-06, 14:49:13.

Source file: C:/Users/Owner/Desktop/AVSMeter1.21/AVSMeter1.21/post_x264.avs
Output file: C:/Users/Owner/Desktop/AVSMeter1.21/AVSMeter1.21/post_x264.mkv

--- SETTINGS ---

RC Mode: ABR
Preset:  Medium
Tuning:  Film
Profile: Auto
Custom:  (None)

--- CHECK VERSION ---

Creating process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x264_8bit_x64.exe" --version

x264 0.125.2208 d9d2288
(libswscale 2.1.100)
(libavformat 54.17.100)
(ffmpegsource 2.17.2.1)
built by Komisar on Jul 19 2012, gcc: 4.7.1 (multilib.generic.Komisar)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat/ffmpegsource license: GPL version 2 or later

Creating process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/avs2yuv_x86.exe"

Avs2YUV 0.24bm2

x264 revision: 2208 (core #125)
Avs2YUV version: 0.24.2

--- AVS INFO ---

Creating process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/avs2yuv_x86.exe" -frames 1 C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\post_x264.avs NUL

C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\post_x264.avs: 704x400, 60001/1001 fps, 189712 frames

Resolution: 704x400
Frame Rate: 60001/1001
No. Frames: 189712

--- ENCODING ---

Creating Avisynth process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/avs2yuv_x86.exe" C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\post_x264.avs -

Creating x264 process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x264_8bit_x64.exe" --bitrate 1500 --preset medium --tune film --output C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\ufcfoxpost_x264.mkv --frames 189712 --demuxer y4m --stdin y4m -

y4m [info]: 704x400p 0:0 @ 60001/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
x264 [info]: profile High, level 3.1
x264 [info]: frame I:1 Avg QP:27.09 size: 785
x264 [info]: mb I I16..4: 24.9% 75.1% 0.0%
x264 [info]: final ratefactor: 27.29
x264 [info]: 8x8 transform intra:75.1%
x264 [info]: coded y,uvDC,uvAC intra: 3.2% 6.1% 0.0%
x264 [info]: i16 v,h,dc,p: 53% 34% 7% 6%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 38% 33% 0% 0% 0% 0% 0% 0%
x264 [info]: i8c dc,h,v,p: 91% 5% 4% 0%
x264 [info]: kb/s:376.43
encoded 1 frames, 0.04 fps, 729.36 kb/s

WARNING: Avisynth process exited with error code: -1073741819
Final file size is 1,730 bytes.

--- DONE ---

Job finished at 2012-08-06, 14:49:48. Process took 0 minutes, 35 seconds.
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 20:07   #45  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Am I getting closer?
LoadCPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
Load_STDCall_Plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
FFIndex(C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\ffmsindex.exe)
AudioDub(FFVideoSource(post.ts), FFAudioSource(post.ts))
ConvertToYV12()
Yadif(0,1)
Lanczos4Resize(704,400,6,6,-6,-6)
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 20:27   #46  |  Link
detmek
Registered User
 
Join Date: Aug 2009
Posts: 463
Can you try this way?
Remove your FFMS2 plugin and unpack this one into your Avisynth plugin folder, both files http://megui.org/auto/ffms2-r683.7z
Use this script:
Quote:
Load_Stdcall_Plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
a = FFAudioSource("post.ts")
v = FFVideoSource("post.ts")
AudioDub(v,a)
ConvertToYV12()
Yadif(0,1)
Lanczos4Resize(704,400,6,6,-6,-6)
P.S. You may need Haali Media Splitter to properly open TS file.

Last edited by detmek; 6th August 2012 at 20:40. Reason: Haali Splitter
detmek is offline   Reply With Quote
Old 6th August 2012, 20:54   #47  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by detmek View Post
Can you try this way?
Remove your FFMS2 plugin and unpack this one into your Avisynth plugin folder, both files http://megui.org/auto/ffms2-r683.7z
Use this script:
Simple x264 Launcher (Build #346), built 2012-07-22

Job started at 2012-08-06, 15:33:56.

Source file: C:/Users/Owner/Desktop/AVSMeter1.21/AVSMeter1.21/post_x264.avs
Output file: C:/Users/Owner/Desktop/AVSMeter1.21/AVSMeter1.21/post_x264.mkv

--- SETTINGS ---

RC Mode: ABR
Preset: Medium
Tuning: Film
Profile: Auto
Custom: (None)

--- CHECK VERSION ---

Creating process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x264_8bit_x64.exe" --version

x264 0.125.2208 d9d2288
(libswscale 2.1.100)
(libavformat 54.17.100)
(ffmpegsource 2.17.2.1)
built by Komisar on Jul 19 2012, gcc: 4.7.1 (multilib.generic.Komisar)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat/ffmpegsource license: GPL version 2 or later

Creating process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/avs2yuv_x86.exe"

Avs2YUV 0.24bm2

x264 revision: 2208 (core #125)
Avs2YUV version: 0.24.2

--- AVS INFO ---

Creating process:
"C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/avs2yuv_x86.exe" -frames 1 C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\post_x264.avs NUL

error: Evaluate: Unrecognized exception!
(C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\post_x264.avs, line 2)

PROCESS EXITED WITH ERROR CODE: 1

With a CMD Prompt

avs [error]: Evaluate: System exception - Access Violation
(post_x264.avs, line 2)
x264 [error]: could not open input file `post_x264.avs'

Just installed avisynth 2.5.8 same issue

Last edited by wcwman18; 6th August 2012 at 21:57.
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 21:56   #48  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
Looks like Avisynth (or more likely one of the plug-ins involved) has crashed.

Do you use the "stable" Avisynth 2.5? If not, I would suggest trying with that one first:
http://sourceforge.net/projects/avis...Synth%202.5.8/

Furthermore you should clean up your Avisynth plug-ins directory. I encountered strange crashes with "buggy" plug-in DLL's, even when that plug-in wasn't even used in the script.

Also you may want to kick out Yadif for now (you can re-add it later). Last but not least you may want to try the last official FFMS2 release from here.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th August 2012, 23:11   #49  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
Looks like Avisynth (or more likely one of the plug-ins involved) has crashed.

Do you use the "stable" Avisynth 2.5? If not, I would suggest trying with that one first:
http://sourceforge.net/projects/avis...Synth%202.5.8/

Furthermore you should clean up your Avisynth plug-ins directory. I encountered strange crashes with "buggy" plug-in DLL's, even when that plug-in wasn't even used in the script.

Also you may want to kick out Yadif for now (you can re-add it later). Last but not least you may want to try the last official FFMS2 release from here.
Thank you. That did the trick. Sadly that even with the presets I still only get 16-18fps while encoding video
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 23:45   #50  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
Using the Preset system does not speed-up things per se!

The x264 presets simply provide a very convenient and foolproof way to tweak the "speed -vs- quality" trade-off. If your goal is to squish out more speed, you have to switch from your current preset to a faster one.

If switching, e.g., from "slower" to "faster" preset doesn't give a significant speed-up, you are very likely bottlenecked by slow input. As mentioned earlier, you can benchmark your AVS script with AVSMeter...

(You certainly won't be able to encode any faster than what AVSMeter reports for your input script, even with the "ultrafast" preset)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 7th August 2012 at 00:02.
LoRd_MuldeR is offline   Reply With Quote
Old 7th August 2012, 00:17   #51  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
Using the Preset system does not speed-up things per se!

The x264 presets simply provide a very convenient and foolproof way to tweak the "speed -vs- quality" trade-off. If your goal is to squish out more speed, you have to switch from your current preset to a faster one.

If switching, e.g., from "slower" to "faster" preset doesn't give a significant speed-up, you are very likely bottlenecked by slow input. As mentioned earlier, you can benchmark your AVS script with AVSMeter...

(You certainly won't be able to encode any faster than what AVSMeter reports for your input script, even with the "ultrafast" preset)
Is their any ways to fix bottle necking? 16-18fps takes forever.

Here is my current set up if you have any ideas for me to try.

I use a HD PVR and it records 1920 x 1080 at 13.5mbps. It records to a .ts file that I then edit in videoredo. Then I encode that edited file with x264. Any other details that might help?
wcwman18 is offline   Reply With Quote
Old 7th August 2012, 01:26   #52  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wcwman18 View Post
Is their any ways to fix bottle necking?
Several options (not mutually exclusive):
- Get a faster CPU/MB
- Use DGDecodeNV to offload decoding and de-interlacing
- Use a faster de-interlacer
Groucho2004 is offline   Reply With Quote
Old 7th August 2012, 01:33   #53  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by Groucho2004 View Post
Several options (not mutually exclusive):
- Get a faster CPU/MB
- Use DGDecodeNV to offload decoding and de-interlacing
- Use a faster de-interlacer
I don't have a nvidia card. How might I use a faster deinterlacer?
wcwman18 is offline   Reply With Quote
Old 7th August 2012, 01:51   #54  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
I thought yadif is pretty fast so I don't really know what to recommend that is faster and doesn't suck. Search the forum.

Whenever I need to de-interlace I use QTGMC which is in a completely different league in terms of quality. But it's also quite slow. It does have fast modes but I don't know how those compare to yadif.
Groucho2004 is offline   Reply With Quote
Old 7th August 2012, 02:37   #55  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Here is my current PC if anyone can look at the specs and recommend anything. Maybe Avisynth MT?

http://h20000.www2.hp.com/bizsupport...odTypeId=12454
wcwman18 is offline   Reply With Quote
Old 7th August 2012, 02:51   #56  |  Link
AnonCrow
Registered User
 
Join Date: Aug 2009
Location: 61.45° , 23.86°
Posts: 120
Crazy idea: Don't deinterlace, remove those lines from the avisynth script, add the necessary option to your x264 commandline to encode as interlaced, then see what kind of speeds and CPU usage you get. Deinterlace during playback if necessary.

Or get a ~30-70 € Nvidia card (about the same speed or slightly faster than your current Radeon that it would replace)
AnonCrow is offline   Reply With Quote
Old 7th August 2012, 03:18   #57  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by AnonCrow View Post
Crazy idea: Don't deinterlace, remove those lines from the avisynth script, add the necessary option to your x264 commandline to encode as interlaced, then see what kind of speeds and CPU usage you get. Deinterlace during playback if necessary.

Or get a ~30-70 € Nvidia card (about the same speed or slightly faster than your current Radeon that it would replace)
Can't deinterlace during playback. I stream this files in my flash media player.
wcwman18 is offline   Reply With Quote
Old 7th August 2012, 07:59   #58  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wcwman18 View Post
Here is my current PC if anyone can look at the specs and recommend anything. Maybe Avisynth MT?

http://h20000.www2.hp.com/bizsupport...odTypeId=12454
QTGMC and Avisynth MT are probably worth a try, considering that you have 6 CPU cores to play with.
Groucho2004 is offline   Reply With Quote
Old 7th August 2012, 14:44   #59  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
Yadif probably is the fastest (software) deinterlacer you want to use.

Even faster would be a simple "Bob()" or a "SeparateFields().SelectEven()" followed by a resize, but result won't be nice.

I second the suggestion to get a cheap NVidia card plus DGDecodeNV and use hardware deinterlacing...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 7th August 2012, 15:42   #60  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Is their a faster way since my files capture in h264 that I can make AAC 192 audio and mp4 x264 without the long encode?
wcwman18 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 01:26.


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