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, 15:34   #21  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
I don't know how your script looks, but a simple FFMS2 script would look like:

Code:
V = FFVideoSource("C:\Some Path\input.foo")
A = FFAudioSource("C:\Some Path\input.foo")
AudioDub(V,A)
Also note that Transport Streams (TS) are one of the formats that is not supported well by FFMS2.

I would recommend to use DGDecodeNV for accessing TS files, but you'll have to buy it (and it needs an NVidia card). DGAVCIndex is a dead project and has various problems that won't ever get fixed...

BTW: You know that you can hit "Edit" instead of writing several posts in sequence !?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th August 2012, 15:42   #22  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
I don't know how your script looks, but a simple FFMS2 script would look like:

Code:
V = FFVideoSource("C:\Some Path\input.foo")
A = FFAudioSource("C:\Some Path\input.foo")
AudioDub(V,A)
Also note that Transport Streams (TS) are one of the formats that is not supported well by FFMS2.

I would recommend to use DGDecodeNV for accessing TS files, but you'll have to buy it (and it needs an NVidia card). DGAVCIndex is a dead project and has various problems that won't ever get fixed...

BTW: You know that you can hit "Edit" instead of writing several posts in sequence !?
Here is my current script. I do not have a NVidia card. I have a ATI Radeon HD 6450. Based on the script that I have how might you recommend I change it?

Code:
LoadPlugin("C:\Users\Owner\Desktop\pack\DG\DGAVCDecode.dll")
Load_STDCall_Plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
AVCSource("post.dga")
ConvertToYV12()
Yadif(0,1)
Lanczos4Resize(704,400,6,6,-6,-6)
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 15:49   #23  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
Throw out the AVCSource() and instead insert the code that I just posted. Of course you would give FFVideoSource() the original video file, not the DGA file.

Also throw out the LoadPlugin(). Or, if FFMS2.dll is not located directly in your Avisynth plug-in's folder, change the LoadPlugin() to load FFMS2.dll instead of DGAVCDecode.dll.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th August 2012, 15:55   #24  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
Throw out the AVCSource() and instead insert the code that I just posted. Of course you would give FFVideoSource() the original video file, not the DGA file.

Also throw out the LoadPlugin(). Or, if FFMS2.dll is not located directly in your Avisynth plug-in's folder, change the LoadPlugin() to load FFMS2.dll instead of DGAVCDecode.dll.
Does that look right?

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, 15:57   #25  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
If you don't need to load FFMS2.DLL explicitely (because it is in your Avisynth "plugins" folder) and if the file "post.ts" is located in the same folder as your AVS file, then yes.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th August 2012, 16:00   #26  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
If you don't need to load FFMS2.DLL explicitely (because it is in your Avisynth "plugins" folder) and if the file "post.ts" is located in the same folder as your AVS file, then yes.
[error]: Script error: there is no function named "FFVideoSource"
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 16:10   #27  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,275
So obviously you do NOT have the required plug-in DLL in your Avisynth "plugins" folder

Put the DLL in place or load it explcitely via LoadPlugin() from wherever it is located...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th August 2012, 16:13   #28  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by LoRd_MuldeR View Post
So obviously you do NOT have the required plug-in DLL in your Avisynth "plugins" folder

Put the DLL in place or load it explcitely via LoadPlugin() from wherever it is located...
avs [error]: Unable to load C Plugin: C:\Program Files (x86)\AviSynth 2.5\plugin
s\yadif.dll
(post_x264.avs, line 2)
x264 [error]: could not open input file `post_x264.avs'

Line 2 : Load_STDCall_Plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")

Last edited by wcwman18; 6th August 2012 at 16:21.
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 16:28   #29  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
@wcwman18
This could go on forever if you don't read or understand the replies you're getting.
Get some basic Avisynth knowledge here.
Groucho2004 is offline   Reply With Quote
Old 6th August 2012, 16:33   #30  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by Groucho2004 View Post
@wcwman18
This could go on forever if you don't read or understand the replies you're getting.
Get some basic Avisynth knowledge here.
It does not want to seem to load the plugin

Is ffms2-x64.dll the proper plugin?

Last edited by wcwman18; 6th August 2012 at 16:37.
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 16:55   #31  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by wcwman18 View Post
Is ffms2-x64.dll the proper plugin?
Nope, unless you're using Avisynth x64 which is highly discouraged around here for obvious reasons.
Grab the latest C-Plugin version from this post
kypec is offline   Reply With Quote
Old 6th August 2012, 17:21   #32  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by kypec View Post
Nope, unless you're using Avisynth x64 which is highly discouraged around here for obvious reasons.
Grab the latest C-Plugin version from this post
error: LoadPlugin: unable to load "C:\Program Files(x86)\AviSynth 2.5\plugins\ffms2.dll", error=0x7e
(C:\Users\Owner\Desktop\AVSMeter1.21\AVSMeter1.21\post_x264.avs, line 1)

LoadPlugin("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)


PROCESS EXITED WITH ERROR CODE: 1
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 17:24   #33  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
You have to use LoadCPlugin()/Load_STDCall_Plugin() for C-Plugins.
sneaker_ger is offline   Reply With Quote
Old 6th August 2012, 17:35   #34  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by sneaker_ger View Post
You have to use LoadCPlugin()/Load_STDCall_Plugin() for C-Plugins.
Is this correct?

LoadCPlugin(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)

I get an error could not open line 1 column 14

Last edited by wcwman18; 6th August 2012 at 18:06.
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 18:03   #35  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
The slash ( "/" ) was meant as "either or", not an actual slash.
http://avisynth.org/mediawiki/Plugins
sneaker_ger is offline   Reply With Quote
Old 6th August 2012, 18:14   #36  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by sneaker_ger View Post
The slash ( "/" ) was meant as "either or", not an actual slash.
http://avisynth.org/mediawiki/Plugins
I think I fixed it however now I get this error avs [error]: I don't know what "ffms2" means

Load_STDCall_Plugin(ffms2.dll)
Load_STDCall_Plugin(yadif.dll)
FFVideoSource("post.ts")
ConvertToYV12()
Yadif(0,1)
Lanczos4Resize(704,400,6,6,-6,-6)

Last edited by wcwman18; 6th August 2012 at 18:25.
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 18:27   #37  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Yes, like that. (Though usually ffms2 is not really recommended for TS and whether will see any significant speed-up is also questionable.)
sneaker_ger is offline   Reply With Quote
Old 6th August 2012, 18:30   #38  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by sneaker_ger View Post
Yes, like that. (Though usually ffms2 is not really recommended for TS and whether will see any significant speed-up is also questionable.)
I get this error avs [error]: I don't know what "ffms2" means

What is recommended for TS
wcwman18 is offline   Reply With Quote
Old 6th August 2012, 18:37   #39  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
You have to use quotes for all kind of strings (including filenames and paths).
sneaker_ger is offline   Reply With Quote
Old 6th August 2012, 18:41   #40  |  Link
wcwman18
Registered User
 
Join Date: Jul 2002
Posts: 107
Quote:
Originally Posted by sneaker_ger View Post
You have to use quotes for all kind of strings (including filenames and paths).
avs [error]: Unable to load C Plugin: ffms2.dll
(post_x264.avs, line 1)
x264 [error]: could not open input file 'post_x264.avs'

Load_STDCall_Plugin("ffms2.dll")
Load_STDCall_Plugin(yadif.dll)
FFVideoSource("post.ts")
ConvertToYV12()
Yadif(0,1)
Lanczos4Resize(704,400,6,6,-6,-6)
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:34.


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