Quantcast FFmpeg vs FFvfw vs Mencoder ? - Page 26 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #501  
04-08-2004, 11: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
Hi guys,
Sorry for repeating myself but it seems noone notice this question of mine yesterday.
Can someone be positive that using the latest set of arguments and ini file posted by bilu we're not filtering twice (once in the avisynth and once more in mencoder arguments)?
Thanks.
Cheers
__________________
Rui
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
  #502  
04-08-2004, 11:06 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
Bilu youre right, as you wont see it that much on Tv
So many users would say "wow!" as the whole movie in average comes out totally clear an fine (well you can assume what Q avg 2 will output).

BUT .... as I personally assume there's potential to get that encoder behaving even better at low bitrate scenes!
Reply With Quote
  #503  
04-08-2004, 12:18 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
Quote:
Originally Posted by incredible
And thats the way: to set predictions by using vbitrate and not the quantizer etc.
Sorry inc, friend, but in this point I don't completely agree with you. I think the better way to set predictions, or better, the better way to get final file size bigger or smaller should be through quality... and that may mean play with vbitrate, but also (else for me) playing with quantizers (of course, without going too far). And this last is the way we're used to with other encoder. You don't change bitrate (well, I do sometimes, but is not the ususal way) in TMPGenc or CCE to change filesize, you change CQ or Q value. And this was my proposal for mencoder, adjust quality through lmin, without raising it too much. I mean, begin with vqmin=1:lmin=1, raise lmin for instance until 2 (even 2.5 if looks well), and if not enough raise vqmin=2:lmin=1.5, and begin raising again lmin.
This of course means file size predictions, but we are used to it, isn't it?. I think (and my tests showed that to me) that limiting bitrate (through vbitrate) will make that we find blocks more often than with lmin...
Sorry my insistance, but I don't see the point of using vqmin=1:lmin=2.49 (I know bilu tested it well, but I also did, and still don't see the point), since quantizers keep always high... even higher than vqmin=2:lmin=1.5.
@rds,
Rui, I think that bilu was feeding mencoder with vobs, so no avs filtering. Anyway, why do you think that there will be double filtering?, is it because scplx_mask?.
Reply With Quote
  #504  
04-09-2004, 05:26 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 digitall.doc
@rds,
Rui, I think that bilu was feeding mencoder with vobs, so no avs filtering. Anyway, why do you think that there will be double filtering?, is it because scplx_mask?.
Hi Digi.doc,
No, I don't just mean scplx_mask.
I mean all the arguments I don't quite know what they do since the man-pages are not so specifical.
But if you're sure that the arguments you've been using lately are not "touching" the
original movie, then I think we're ok to use avisynth as well.
Thanks for the info.
Cheers
__________________
Rui
Reply With Quote
  #505  
04-09-2004, 08:37 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@digitall.doc and incredible
I agree 100% with digitall.doc. Simply there's no way that a encoder can do the best bitrate distribution and still keep an specified average, because it doesn't know what lies ahead. Let's take and extreme example. Imagine the following: you have a movie that starts very calm. A good example is "Missing" (featuring Tommy Lee Jones). After an hour, it becomes full of action. How can the encoder "know" that the last hour has more action and save bitrate? There's no way this can work, you see? Yes, it may not look bad, but the bitrate distribution will not be optimal, never... Unless you have a time machine, like someone once said in a thread.

I know you are experienced users and probably know that, I just wanted to make it completelly clear.

I really think lmin in the way to go for 1 pass VBR... Or we can use two pass (but nobody tested yet).
Reply With Quote
  #506  
04-09-2004, 09:33 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 incredible
Get the version I do use here.
(this link will expire tomorrow evening! as I want to avoid traffic overload!)
Ahamm,
Inc. I tried that build and I see that that's 1.0pre3 a very old (last stable!) release of mplayer/mencoder.
With that one you still have to demux your video stream before muxing it with your encoded audio stream.
Don't get me wrong: I love it but it lacks support for other latest arguments.
I agree that later CVS builds also have lot's of other problems.
I think mplayer is still very young and we have to wait some more time until it really stabilises.
Cheers
__________________
Rui
Reply With Quote
  #507  
04-09-2004, 10:19 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
Ok,
Enough of these mambo-jambo's like the ones I wrote in the newbie guide because of
the Avisynth compatibility.
I just compiled both mplayer and mencoder from 09/04/2004.
Just copy mencoder.exe (and optionally mplayer.exe) to a new and empty folder!
Now try to encode a fake avi built with makeAVIS.
It works doesn't it? At least I hope so...
No codecs.conf (thanks VMesquita) and no worries about dir structure at all.
Sorry for not having done the man pages. I'll do it later today.
Here are the links valid until next monday due to monthly traffic issues:
Mplayer CVS 20040409
Mencoder CVS 20040409
P.S.-I think that maybe 1.0pre3 is still smoother than this one on dark super low motion...
__________________
Rui
Reply With Quote
  #508  
04-09-2004, 10:37 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
thanx rds, I'm going to give your compilation a try in a minute.
I think that inc, bilu and I are using three different compilations, and I think we have different output from each. Let's see if your compilation is the one we all begin to use. It'll be easier to share results and make improvements. I don't mind to use one or another, I "just" ask I can feed directly vobs to it (faster encoding) and I can use raw output. I hope yours will be the consensum (is this an english word?). BTW, what ffmpeg version did you put in?.
Quote:
Originally Posted by vmesquita
I really think lmin in the way to go for 1 pass VBR... Or we can use two pass (but nobody tested yet).
Well, I already tested 2pass (it was in the prehistory of this thread, and I posted then), and if I remember well, I used then vbitrate=maxrate=8000 (to test it), and obtained an almost constant Q value of 2. But it takes, of course, double of time. We could explore this way, but I don't see a way to make it faster, and not double time.
Reply With Quote
  #509  
04-09-2004, 10:48 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
Hi Digi.doc,
Yes, no problems loading both VOB and AVI, here.
I suppose we could even feed it many other formats besides these two .
I just did my own compiling because since we started using other versions besides
official 1.0pre3 I just haven't been able to use makeAVIS anymore...
Have someone experienced the same?
I did my compiling with MinGW and MSIS.
I would do it with Cygwin but I don't know which components to download...
Maybe Vinicius could give me some help on it
Cheers
__________________
Rui
Reply With Quote
  #510  
04-09-2004, 11:05 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
rds,
already downloaded them. I'll take a look now. What about the version of ffmpeg you compiled in?.
It would be nice you also compiled a version with cygwim, as vinicius did, since in my test it's faster (1-2 fps ) than with MinGW.
Thanx again for the effort
Reply With Quote
  #511  
04-09-2004, 11:09 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digitall.doc
Well, I already tested 2pass (it was in the prehistory of this thread, and I posted then), and if I remember well, I used then vbitrate=maxrate=8000 (to test it), and obtained an almost constant Q value of 2. But it takes, of course, double of time. We could explore this way, but I don't see a way to make it faster, and not double time.
Looks like I missed, this thread is bigger everyday...
You're right, 2-pass will double time, and there's no way to help it. But mencoder is very fast, so maybe it's worth using 2-pass if the quality is better. I actually tried 1-pass once (a lot of time ago, I just remembered now), and the quality was much better than 2pass but the command-lines were much different from the ones used today (I think I was using vbitrate), so it doesn't mean much.

Let's get back to testing. Since most of you are trying to find the best mencoder parameters, I decide to improve this AVI input thing, because mencoder is much faster without avisynth. I just wanted to let you know that I am working a good filtering for MPEG4 matherial, using internal filters. Because I want to test the filters and not the compression itself, I am using MJPEG with vqsacle=1, because looks like mencoder can't use Huffyuv YUY2, only huffyuv YV12 which doesn't have a codec in windows. I tried forcing colorsparce conversion using the internal filter yuy2, but it doesn't work. Anyone knows how to fix it?
Reply With Quote
  #512  
04-09-2004, 11:11 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
Hi Digi.doc,
I just downloaded the CVS tarball.
Didn't make any changes on the libavcodec version that came with it.
I really wanted to know if I could do it.
Now I can refine it later today
Cheers
__________________
Rui
Reply With Quote
  #513  
04-09-2004, 11:11 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
I would do it with Cygwin but I don't know which components to download...
Maybe Vinicius could give me some help on it
Just use the standard components. When you unpack mplayer package and run configure, it will tell you if something is missing. I could tell you the exact components I have but looks like my cygwin install is now broken, I have to reinstall it again...
Reply With Quote
  #514  
04-09-2004, 11:19 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
@ Digi.doc

Sorry I expolained that a bit confusing.
I meant that I would like to use the PAREMETER Vbitrate for determining endfilesize .... as I saw/see that its possible.
Shure that this will affect the Q curve and therefore the quality.

I will go further with my tests....

(Im reallly mega pissed off as I try to get Knoppix on another partition running where I need to have an exchange possibility to write to NTFS Volumes..... means Encoding using mencoder in Linux and the encode will be safed on a NTFS Partition so I can author the dvd afterwards in Windows)
Reply With Quote
  #515  
04-09-2004, 11:23 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
(Im reallly mega pissed off as I try to get Knoppix on another partition running where I need to have an exchange possibility to write to NTFS Volumes..... means Encoding using mencoder in Linux and the encode will be safed on a NTFS Partition so I can author the dvd afterwards in Windows)
The only way to write to a NTFS partition from linux right now is using the captive NTFS drivers. They actually load ntfskrnl.exe and ntfs.sys from Windows XP in linux and let you use for read and writing. The latest NTFS driver (the one that comes with most linux) does not allow writting, unfortunatelly. And if I remember correctly, captive-ntfs doesn't come with any version with knoppix, but you can add yourself if you want (I never tried).
Captive is free, get it here: http://www.jankratochvil.net/project/captive/
Reply With Quote
  #516  
04-09-2004, 12:08 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
I did exactly try to install the captive already, ... but no luck ....

To get not offtopic in here I gonna open a new threat in the linux section, and I would apriciate it Vmesquita if you could help me there
Reply With Quote
  #517  
04-09-2004, 12:37 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
And I'll meet you both there
__________________
Rui
Reply With Quote
  #518  
04-09-2004, 12:54 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Just an small update: Its possible to decode yv12 huffyuv in windows using ffdshow. Since it's a directshow filter, the only way to use it in aviynth is using directshowsource, but work perfectly. Another idea to test filters is use the lossless ffv1, but looks like it doesn't decode correctly via avisynth.
Reply With Quote
  #519  
04-09-2004, 08:04 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
I just did a cygwin build of mencoder using the latest CVS (grabbed using CVS command) and the latest FFMPEG (also straight from cvs).

<edit>Removed links for old builds, get the new link below</edit>
Reply With Quote
  #520  
04-10-2004, 04:45 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
Hi VM,
I tried your compilation of mencoder on cygwin and I noticed several issues:
1st - I can't use fake avis made with makeAVIS with it!
2nd - It's bundled with a lot of dlls instead of cygwin1.dll. I did my compilation on cygwin and it only requires cygwin1.dll...
3rd - Using so many dlls it makes the package bigger 6.44Mb instead of mine 5,00Mb. Though your mencoder.exe is 3.84Mb and mine is 3,93Mb.

I've compiled mencoder with MinGW and with Cygwin.
MinGW makes the whole package smaller for distribution.
Cygwin is a bit larger but IT IS faster encoding than MinGW version.
Could you explain these differences since you work with Cygwin for longer than I do (just 24h...).
Cheers
__________________
Rui
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG: Ffvfw VIDEO CODEC kwag Video Encoding and Conversion 364 08-12-2005 07:49 AM
FFMPEG: Curious about H.263 in ffvfw poerschr Video Encoding and Conversion 14 02-25-2004 07:54 PM
FFMPEG: Observation about ffvfw poerschr Video Encoding and Conversion 28 02-24-2004 05:50 PM
FFMPEG: Do ffvfw and mencoder/ffmpeg give the same results? Razorblade2000 Video Encoding and Conversion 4 02-06-2004 04:23 PM
FFMPEG: XMPEG 5.03 and ffvfw kwag Video Encoding and Conversion 2 02-05-2004 10:57 AM




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