Quantcast Mencoder: about Mencoder Speed - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
05-30-2004, 12:35 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
For all people that find the mencoder speed amazing, just look at that :

Code:
Pos:3719.3s 185968f (49%)  23fps Trem: 141min 1571mb  A-V:0.000 [1741:0]
The process was started at 5:10pm localtime. It is now 7:20pm.

2h10 to process 1 hour of video, we are far from 23 fps as annouced on the screen.

So do NOT trust what it's written except "Trem" that is correct. I will need >5 hours to process the first pass of this movie (2h10 length). That is fast compared to any other encoders on my PC but not as much as mencoder try to make you think about.

EDIT : wait a minute !
185968 / 3719.3 = 50

I'm doing a 25 FPS source (clearly identified as 25fps in the first lines of the mencoder output), and I encode into 25 FPS.

What is happenign there
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
  #2  
05-30-2004, 01:13 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
Phil,
Are you doing D2V AVS makeAVIS MEncoder
Or you are working with AVI MEncoder
Or maybe VOB MEncoder
Please post your command line so that I can try to recreate that.
I just hope you're working on a regular progressive PAL source otherwise I won't be able to assist you.
But since you're in PAL land maybe we're both in luck.
Cheers

PS-Mind you Phil, that MEncoder tells you how many FPS it is currently doing and not the average.
That is, you could be on an average 12FPS encoding but you could be, at a given point (due to almost no motion) be doing 23FPS.
__________________
Rui
Reply With Quote
  #3  
05-30-2004, 02:37 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Phil,Are you doing D2V AVS makeAVIS MEncoder
Okay, so let's resume : I'm currently doing a vob directly.

What is strange is that I encoded this same movie last week at a "normal" displayed speed of 13 fps. But I reinstalled all my PC yesterday and I'm currently doing my first encoding since that.
I was first very surprise to encode at this speed until I noticed that it was completly wrong. But I really don't know where is the problem...

the only thing I changed is the post processing that I didn't use in my last week attempts.

Quote:
Please post your command line so that I can try to recreate that.
I just hope you're working on a regular progressive PAL source otherwise I won't be able to assist you.
The DVD is progressive, yes.
Code:
D:\Mes KVCD>"mencoder.exe" -of rawvideo -sws 9 -nosound -vf yuvcsp,pp=hb:100:100
/vb,crop=688:544:-1:-1,hqdn3d=1:1:2,expand=704:576 -ovc lavc -lavcopts vcodec=mp
eg2video:vrc_eq=tex:vmax_b_frames=2:preme=2:precmp=2:vstrict=-1:scplx_mask=0.3:v
qblur=0:mbqmin=1:vqmin=1:lmin=0.3:vpass=1:vrc_buf_size=1835:vbitrate=1740:vrc_ma
xrate=4500:aspect=1.7777:autoaspect=1:keyint=15: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.000 "E:\WE_WERE_
SOLDIERS\VIDEO_TS\VTS_01_1.VOB" -o "D:\Mes KVCD\We were soldiers.m2v"

Quote:
PS-Mind you Phil, that MEncoder tells you how many FPS it is currently doing and not the average.
I think about that but the number did'nt change a lot during these two hours. So whatever it is displayed (current or average) it is wrong.
Since the beguinign the Trem was correct : 270 min announced at first for a 2h10 movie.

Quote:
That is, you could be on an average 12FPS encoding but you could be, at a given point (due to almost no motion) be doing 23FPS.
That is also the purpose of that thread : I'm bored to see people telling how much fps they obtain with this encoder. If they just trust what is displayed, my current case proves that this is just bullcrap. I hope they are smarter than that.
Reply With Quote
  #4  
05-30-2004, 03:39 PM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Well in my case the fps is correct :P
2:03;22 movie pal 25 fps
thats 123:33 minutes
thats 7413 seconds
and 7413*25=185325 frames
Im encoding at 16 fps so that means it would take about 193:05 minutes per pass and thats correct. for the first pass I stil am in my second one but I don't think it's gonna be different.
Reply With Quote
  #5  
05-30-2004, 03:49 PM
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
Hi Phil,

well ... I always do see things how they "come out" and not how they are signed. In Fact almost every time the displayed FPS Speed encoding factor matches the time which is needed ... but it makes me not surprising that also "mencoder" can give confused "console text" outputs.

I also watched in here the "mencoder" drops frames thread and I only can say all my mencoder encodings are in sync with audio and all plays back ok.
Thats why many people do get confusing about "theoretics" but we always should see thinks in their "real" output ... and what comes out on the device where we see our final work is what counts.

I ONLY had crazy framedrops which mad audio out of sync in case of a telecined source (like NTSC Captures) encoded with mencoder ... but thats not the subject in here.

I often heared that after a "system reinstall" things getting weired ... like in the case when Rui had no probs using ffdshow Makeavis BEFORE he had to reinstall his system... after that we had a big "figuring out" time on skype phone.

Whats that build youre using of mencoder?

Do go to the official mplayer team compiled CVS build from may 18th
http://www.mplayerhq.hu/MPlayer/releases/win32-beta/

And see if there things getting solved.

To me it seems that "sasha" from mplayer team does configure the compiling a bit different ... maybe were doing something wrong when compiling .. I dont think so but .... lets do a comparison.
Reply With Quote
  #6  
05-30-2004, 04: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
Quote:
Originally Posted by Dialhot
Okay, so let's resume : I'm currently doing a vob directly.
Good that already takes both Dvd2Avi and makeAVIS out of the deal

Quote:
Originally Posted by Dialhot
What is strange is that I encoded this same movie last week at a "normal" displayed speed of 13 fps. But I reinstalled all my PC yesterday and I'm currently doing my first encoding since that.
I was first very surprise to encode at this speed until I noticed that it was completly wrong. But I really don't know where is the problem...
the only thing I changed is the post processing that I didn't use in my last week attempts.
Reinstalling the whole OS is usually a good thing to do when it's already "tired" and with a full&huge registry.
But also can lead to new problems as the one you're experiencing.
Right now you're a bit dizzy and can't make up your mind if the problem is that you forgot something or that MEncoder simply sucks
MEncoder is eventually ok, I hope.

Quote:
Originally Posted by Dialhot
The DVD is progressive, yes.
Code:
D:\Mes KVCD>"mencoder.exe" -of rawvideo -sws 9 -nosound -vf yuvcsp,pp=hb:100:100
/vb,crop=688:544:-1:-1,hqdn3d=1:1:2,expand=704:576 -ovc lavc -lavcopts vcodec=mp
eg2video:vrc_eq=tex:vmax_b_frames=2:preme=2:precmp=2:vstrict=-1:scplx_mask=0.3:v
qblur=0:mbqmin=1:vqmin=1:lmin=0.3:vpass=1:vrc_buf_size=1835:vbitrate=1740:vrc_ma
xrate=4500:aspect=1.7777:autoaspect=1:keyint=15: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.000 "E:\WE_WERE_
SOLDIERS\VIDEO_TS\VTS_01_1.VOB" -o "D:\Mes KVCD\We were soldiers.m2v"
Again good news that way plenty of us can test your command line.
Unfortunatly not before tomorrow evening as my PC is on another jobs tonight
BTW you got that command line from MencodeMe or Packshot? The later right?

Quote:
Originally Posted by Dialhot
I think about that but the number did'nt change a lot during these two hours. So whatever it is displayed (current or average) it is wrong.
Since the beguinign the Trem was correct : 270 min announced at first for a 2h10 movie.
Yes, which build of MEncoder are u sing Phil. When in doubt I always download from http://www1.mplayerhq.hu/MPlayer/releases/win32-beta/ .
Here is the latest officialy compiled CVS by Sasha Sommer http://www1.mplayerhq.hu/MPlayer/rel...CVS-040518.zip

Quote:
Originally Posted by Dialhot
That is also the purpose of that thread : I'm bored to see people telling how much fps they obtain with this encoder. If they just trust what is displayed, my current case proves that this is just bullcrap. I hope they are smarter than that.
On my case I don't like to talk about frame rate encoding because it is down to too many variables.
But I did give my figures more than a handfull of times.
Of course I just looked at an average amount of movies.
If all my encodings did give me between 33 and 37 I would have told 35 and that will be pretty accurate, don't you think so?
Of course that figure does change a lot during the encoding.
And most probably your problem is that you're getting an almost fixed figure.
Let's see if we can make it happen.
Cheers
__________________
Rui
Reply With Quote
  #7  
05-30-2004, 05:16 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
Hi Phil,
I did a small 5 minutes encode with the command line you gave on your post with the MEncoder build by Sasha Sommer from 18/05.
Mencoder said I was doing flat 18fps and it encoded 5445 frames in 300 seconds of encoding time.
And 5445f/300s=18.15fps.
So I guess the fps calculation is ok unless 5 minutes encoding is not enough.
As I said today I'm having CPU overload with many things undergoing.
So tomorrow night I can run a full encode just to make sure.
NOTE: I said the figure should fluctuate during the movie while in easy parts it should go higher and on harder parts it should go lower but that depends on the filtering used on the command line.
This one seems to treat the movie equaly on easy and hard parts.
Cheers
__________________
Rui
Reply With Quote
  #8  
05-30-2004, 09:04 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
@Inc and Rds

I'm currently using mencoderP4sse2-20040506.rar. I will try an other release next time but in fact I will also probably drop this movie as it it not a good client for mencoder. I explain why there : http://www.kvcd.net/forum/viewtopic.php?t=11275

If somene wants to try it, it's "We were soldiers" as you can see in my previous post.

Quote:
Originally Posted by rds_correia
Mencoder said I was doing flat 18fps and it encoded 5445 frames in 300 seconds of encoding time.
18 fps while I was doing 13 fps last wee. That seems correct (my PC is a little 1.3GHz P4).
But I'm very surprised that this is HELPF what you gave generally. What are you doing (or not doing !) to have a such big fps that you don't have with my encode line ?

Quote:
NOTE: I said the figure should fluctuate during the movie while in easy parts it should go higher and on harder parts it should go lower but that depends on the filtering used on the command line.
This one seems to treat the movie equaly on easy and hard parts.
As I tell you the number didn't change a lot even if it's start at 30 fps to drop slowly and fix arround 23 fps. BTW the problem is that the real speed is half of the lowest number that has been displayed !
It's hard to think that the displayed number is the average when the real value is half below

Note: the line is taken from packshot but I adapt the crop/Expand part to cut existent black borders that are on the source.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder: Can be the 60fps to 25fps conversion done within mencoder? digitall.doc Video Encoding and Conversion 4 06-15-2004 02:21 PM
Mencoder: Color Problems on Mencoder outputs? Koekies Video Encoding and Conversion 60 06-15-2004 06:40 AM
Mencoder: Latest CVS Snapshot Mencoder Builds incredible Video Encoding and Conversion 36 06-02-2004 02:00 PM
Mencoder: A real speed test! glent2k3 Video Encoding and Conversion 11 05-28-2004 11:35 AM
Mencoder: Changing/Setting field order in mencoder tuco1979 Video Encoding and Conversion 1 04-17-2004 09:06 AM




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