Quantcast Mencoder: FFmpeg with Avisynth Support - Page 3 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #41  
05-13-2004, 02:26 PM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry everybody. Almost 5 hours I can't connect to the forum.
@milan
Source: MPEG-2 capture 720x576 (PVR 250) 12000 kbps CBR
moved through DVD2AVI 1.76 - d2v
Script:
Code:
Mpeg2source("blahblah.d2v")
Crop(16,76,-16,-76)
RemoveDirt()
HybridFupp(672,400,preset="very high")
AddBorders(16,88,16,88)
Command line:
Code:
Mencoder.exe -include temp.conf -lavcopts vbitrate=1447:vpass=1 "E:\Burton\burton.avs" -o "E:\Burton\burton.mpv"
And the include file:
Code:
of=rawvideo=1
ovc=lavc=1
nosound=1
sws=9
lavcopts=vcodec=mpeg2video:vrc_eq=tex:vmax_b_frames=2:vrc_maxrate=5000:
aspect=1.3333:keyint=15:vrc_buf_size=1835:preme=2:precmp=2:vstrict=-1:
autoaspect=1:scplx_mask=0.3:vqblur=0:mbqmin=1:vqmin=1:mbqmin=1:
lmin=1:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,
18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,
34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:
inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,
26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,
32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
ofps=25
In fact the command line and temp.conf were generated from MencodeMe.
Greetings.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #42  
05-13-2004, 04:07 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
milan,
already downloaded your last mencoderAVS version. I did a 5 second test ( ) and stopped it to post.
Well, it loaded my avs script without a problem.
Related to speed, it was encoding at 22 fps when I stopped. The same script through makeAVIS run at max 21 fps. So it's faster.
When I closed the cmd window, it gave me a crash error (I guess the same you posted here).

Very good feelings
Reply With Quote
  #43  
05-14-2004, 03:55 AM
yaz yaz is offline
Free Member
 
Join Date: Aug 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
wouv ... what a great app ! many many thx ! anyway ... as this thread seems to turn to a 'mencoder' related one would it be better to move it to there. or open a new one there for mencoderavs ? just a humble quest
the bests
y
Reply With Quote
  #44  
05-14-2004, 08:34 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
@yaz,
Wish granted as I have the same opinion as you do.
We'll see us in the Mencoder Mencodeme forum
Cheers all
__________________
Rui
Reply With Quote
  #45  
05-14-2004, 08:36 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hmm ,
BTW since I don't have rights on Mencoder forum can any Mod change this topic back to Sticky
TIA
Cheers
__________________
Rui
Reply With Quote
  #46  
05-14-2004, 08:41 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@rds_correia
I don't think this topic should be a sticky, because it's an active topic right now, but as soon as milan completes adding avs support, there won't be much benefit in reading the thread for people coming later. Don't you agree?
Reply With Quote
  #47  
05-14-2004, 12:59 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
@VM,
Hi Vê
Indeed, and as always, you are right pal.
This is a very active thread and either way, it's results will have to be implemented in our compilings available at the forum.
A bit OT, and since I touch the subject, I'm not quite sure if it's "legal" to make Mencoder compilings available at the forum.
Could someone clarify that?
Cheers
__________________
Rui
Reply With Quote
  #48  
05-14-2004, 02:33 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@rds_correia
This is a very complex subject. I think mencoder binaries are illegal in countries where there are patent laws, like in the US. In Brasil thank god there are no patent laws. This depends on which country kvcd.net is hosted (what I don't know).
Reply With Quote
  #49  
05-14-2004, 02:53 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
@VM,
Thanks Vê, I just hope we can make them available at the forum otherwise it's very unconfortable for newbies.
They'll have to grab the Cygwin/MinGW packages along with MPlayer CVS and DirectX headers, and we'll have to explain in full detail the steps to compile.
Not to mention that on older PCs like the one I had it takes ages to compile...
So let's all cross our fingers and hope KVCD.net or KVCD.org are in a "patentless issuable" country
Cheers
__________________
Rui
Reply With Quote
  #50  
05-14-2004, 03:01 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
So let's all cross our fingers and hope KVCD.net or KVCD.org are in a "patentless issuable" country
Cheers
I'll check on that.
(MUTE is a wonderful virtual world )
So it would be the responsibiliy of whoever downloads it, to follow the local laws of it's country.
KVCD.Net is hosted in the U.S, and we are a U.S. company.

-kwag
Reply With Quote
  #51  
05-15-2004, 10:30 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Well, in the meanwhile I keep encoding with it. I know we have the possibility to encode with mencoder and makeAVIS, but I prefer those 1-2 fps (or whatever) of speed.

I think you all know, but it crashes everytime on exit...

I already tested several resolutions, 1 or 2 pass, and several avisynth scripts, and works well.
We just need to solve ( "we", as if I was the one to do that ) this crash issue, and to know how to implement it in every mencoder update.
Reply With Quote
  #52  
05-15-2004, 03:52 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Another irrelevant problem with mencoderAVS:
- It doesn´t show percentage of film encoded
- Time remanent is not shown (Trem
- Aproximate final file size is not predicted.

It's not that important, just don't know why this became screwed up, not even if I'm the only one that noticed this.
Reply With Quote
  #53  
05-16-2004, 04:08 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Try clicking clear log it works for me
Reply With Quote
  #54  
05-16-2004, 05:05 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Koekies
Try clicking clear log it works for me
Hi Koekies
Stop eating so many cookies
Although this is MencodeME forum I bet digi.doc is still running MEncoder from his batch file
And there, my friend, there is no clear log button to press .
What digi.doc means is that when using Mencoder with internal mod by milan for avs scripts, mencoder stops doing the statistics.
And that already happened before with command lines like:
Code:
type mencoder.exe options input output -
As input you would write the name of all your VOB files.
That was before we started doing long 5-7GB VOB files when extracting.
Cheers
__________________
Rui
Reply With Quote
  #55  
05-16-2004, 05:07 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
yeeeees Rui, your're right

Koekies,
Reply With Quote
  #56  
05-16-2004, 05:54 AM
Fl0ppy Fl0ppy is offline
Free Member
 
Join Date: May 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
don't work for me i tried to downlaod the last mencoderavs and the result is:

libavformat file format detected.
LAVF_header: av_open_input_stream() failed
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.
Exiting...

and the script it' too easy:

Quote:
Avisource("c:\test\test.avi",false)
temp.conf
Quote:
of=rawvideo=1
ovc=lavc=1
nosound=1
sws=2
lavcopts=vcodec=mpeg2video:vrc_eq=tex:vmax_b_frame s=2:
vrc_maxrate=2500:aspect=1.3333:keyint=24:vrc_buf_s ize=917reme=2recmp=2:vstrict=-1:autoaspect=1:
scplx_mask=0.3:vqblur=0:mbqmin=1:vqmin=1:mbqmin=1: lmin=1:
intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,2 9,34,37,12,14,18,27,
29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39 ,38,40,48,27,29,34,
37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40 ,48,58,69,79
:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24, 26,28,30,32,20,22,24,
26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32 ,34,34,36,38,26,28,
30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34 ,36,38,40,42,44
ofps=23.976
What's wrong ?? my cpu it's a p4 witjh sse2
Reply With Quote
  #57  
05-16-2004, 10:33 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Never happened to me.

A silly question, does it open well in other encoder, or VirtuaDub?
Reply With Quote
  #58  
05-17-2004, 08:02 AM
yaz yaz is offline
Free Member
 
Join Date: Aug 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
hmmm ... still doesn't work for me i simply changed my old bat files to do the job but no success. i used my avisynth scripts that were used before as (make)avis with success so no problem on this side. besides the problems digi.doc mentioned mencavs makes some quite strange things. on kickin in it starts to identify the source but it seems to fail. afterward it tries to make some inner filterings (???) but no success. then suddenly it recognises that the source is an avs script (what a great surprise ) here i got two way out. one is kickin off as mencavs does not finds a proper codec(???) for making the encoding. the other is a kinda encoding (with some fake screen output) but the result is always a 0(!)kbps stream.
what do i do wrong ???
the bests
y
Reply With Quote
  #59  
05-17-2004, 09:32 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
I don't believe you do something wrong. I have the same output
Reply With Quote
  #60  
05-17-2004, 09:59 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Try adding a converttoYV12() or ConverttoYUY2() at the end of you script and retry ... well test both possibilities.

Maybe I missed something but someone told that he got success if importing a HuffYUV file into avisynth??? Would mean a YUY2 output of the avisynth script
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie guide for Mencoder with Avisynth support rds_correia Video Encoding and Conversion 44 05-02-2004 05:07 PM
FFMPEG: Do ffvfw and mencoder/ffmpeg give the same results? Razorblade2000 Video Encoding and Conversion 4 02-06-2004 04:23 PM
FFMPEG: Mencoder/ffmpeg aspect-ratio tetra Video Encoding and Conversion 10 12-11-2003 11:19 AM
FFMPEG: [FAQ] AC3 Support Razorblade2000 Video Encoding and Conversion 0 09-13-2003 06:21 AM
FFMPEG: What will/does Japie ffmpeg support? ak47 Video Encoding and Conversion 1 09-06-2003 07:21 AM




 
All times are GMT -5. The time now is 01:05 PM  —  vBulletin © Jelsoft Enterprises Ltd