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 22nd September 2018, 22:46   #161  |  Link
zorr
Registered User
 
Join Date: Mar 2018
Posts: 93
Quote:
Originally Posted by Groucho2004 View Post
@zorr
Found the problem, should be fixed now. Please try this test build.
That's better, but still something is not quite right. I can now read the stderr sometimes. But quite often the process "hangs" when I try to read the stream and never returns. The same happens even when I don't try to read the stream but just wait for the avsr process to finish. Note that this doesn't happen when I run avsr from the command line, only when I start it with Java.

Version 0.1.4 behaves differently, it never hangs when I wait for it to finish.
zorr is offline   Reply With Quote
Old 23rd September 2018, 00:37   #162  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
Quote:
Originally Posted by zorr View Post
That's better, but still something is not quite right. I can now read the stderr sometimes. But quite often the process "hangs" when I try to read the stream and never returns. The same happens even when I don't try to read the stream but just wait for the avsr process to finish. Note that this doesn't happen when I run avsr from the command line, only when I start it with Java.

Version 0.1.4 behaves differently, it never hangs when I wait for it to finish.
I don't know. I do think that the sentence I highlighted in blue might be a clue. Maybe a timing issue?

Last edited by Groucho2004; 23rd September 2018 at 00:41.
Groucho2004 is offline   Reply With Quote
Old 23rd September 2018, 23:14   #163  |  Link
zorr
Registered User
 
Join Date: Mar 2018
Posts: 93
Quote:
Originally Posted by Groucho2004 View Post
I don't know. I do think that the sentence I highlighted in blue might be a clue. Maybe a timing issue?
Progress! Turns out I need to read both streams. If I only read stderr the thing is going to hang when the script is run successfully. With this fix I can get the error message out and display it.
zorr is offline   Reply With Quote
Old 24th September 2018, 02:06   #164  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
avsr 0.1.6
  • Changed console write functions a bit making it (hopefully) easier to capture stdout/stderr
  • Removed switch "-p". Will be implemented differently at a later stage.
  • Various fixes

Last edited by Groucho2004; 1st October 2018 at 18:00.
Groucho2004 is offline   Reply With Quote
Old 1st October 2018, 17:59   #165  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
avsr 0.1.7
  • Minor fixes/cosmetics
Groucho2004 is offline   Reply With Quote
Old 1st October 2018, 18:13   #166  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,648
I see AVSMeter 2.86 is new as well.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 6th November 2018, 16:25   #167  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
avsr 0.1.8
  • Added switch "-i" which displays just the script properties
  • Error handling improvements
Groucho2004 is offline   Reply With Quote
Old 9th November 2018, 00:15   #168  |  Link
zorr
Registered User
 
Join Date: Mar 2018
Posts: 93
I'd like to request a new feature for the avsr: a switch similar to AVSMeter's -range but it would be a list of frames to run (preferably in the order specified).

I have a new feature planned for the AvisynthOptimizer, an automated frame selection. This switch would make implementing the feature much easier.
zorr is offline   Reply With Quote
Old 9th November 2018, 01:04   #169  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
Quote:
Originally Posted by zorr View Post
I'd like to request a new feature for the avsr: a switch similar to AVSMeter's -range but it would be a list of frames to run (preferably in the order specified).
Need more info - list of frames from a file or supplied on the command line?
Groucho2004 is offline   Reply With Quote
Old 9th November 2018, 07:54   #170  |  Link
zorr
Registered User
 
Join Date: Mar 2018
Posts: 93
Quote:
Originally Posted by Groucho2004 View Post
Need more info - list of frames from a file or supplied on the command line?
From the command line. Could be called like this:

Code:
avsr script.avs -frames 1,3,8,23,4
zorr is offline   Reply With Quote
Old 9th November 2018, 12:11   #171  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
Quote:
Originally Posted by zorr View Post
From the command line. Could be called like this:

Code:
avsr script.avs -frames 1,3,8,23,4
I sent you a PM.
Groucho2004 is offline   Reply With Quote
Old 9th November 2018, 22:37   #172  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,896
avsr 0.1.9
  • Added switch "-frames=n,n,n...". The user can specify the frames to be read from a script on the command line.
Groucho2004 is offline   Reply With Quote
Old 10th November 2018, 21:28   #173  |  Link
zorr
Registered User
 
Join Date: Mar 2018
Posts: 93
Quote:
Originally Posted by Groucho2004 View Post
avsr 0.1.9
  • Added switch "-frames=n,n,n...". The user can specify the frames to be read from a script on the command line.
Just what the doctor ordered.
zorr 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 04:37.


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