digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencodeme: a newbie oriented GUI - 0.23 is out! (http://www.digitalfaq.com/archives/encode/9116-mencodeme-newbie-oriented.html)

bigggt 04-30-2004 06:13 PM

Hi Karl is it mpeg1 because i can't play it :roll:

kwag 04-30-2004 06:16 PM

Quote:

Originally Posted by bigggt
Hi Karl is it mpeg1 because i can't play it :roll:

It's MPEG-1. I played it on WinDVD and VideoLAN Client.

-kwag

rds_correia 04-30-2004 06:24 PM

Quote:

Originally Posted by bigggt
Hi Karl is it mpeg1 because i can't play it :roll:

Hi bigggt,
You do have XviD codec installed haven't you?
Because otherwise you won't be able to play the file at all.
Cheers

bigggt 04-30-2004 06:26 PM

Weird it plays on power dvd but nothing else i have,(winamp,WMP,STamp3)

Anyway looks good

edit-Thanx rds ,yes i do have xvid installed

Edit2 -Hi Karl are you using Makeavsi or are you using the built in filters

kwag 04-30-2004 06:34 PM

I'm going to have to burn it to CD-R, to check the audio in my standalone. I see a little out of sync, "lip sync", when played on WinDVD.
Very small, but it's there.

Burning to CD-R now. report in 10-15 minutes.

-kwag

bigggt 04-30-2004 07:12 PM

Hello again fellas,with the new version what are the settings now as far as ntsc films,are we supposed to use none for field operation still because these are the lines i am getting now

Quote:

1 duplicate frame(s)!
Please supply the text font file (~/.mplayer/subfont.ttf).
Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]subtitle font: load_sub_face failed.
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0][mpeg1video @ 0x9b50a0]rc buffer underflow
Pos: 0.5s 12f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
demux_mpg: 24fps progressive NTSC content detected, switching framerate. Pos: 88.8s 2130f ( 6%) 16fps Trem: 31min 52mb A-V:0.000 [318:0]
Is this normal or what else do i have to do

vmesquita 04-30-2004 07:15 PM

Quote:

Originally Posted by bigggt
demux_mpg: 24fps progressive NTSC content detected, switching framerate.

This is normal in the beggining of the movie, if you keep getting this many time during the encode, it's a hard-telecide/hybrid content, and will get desynched this way. I still don't know exactly how to deal with hybrid stuff in mencoder.

bigggt 04-30-2004 07:18 PM

Thanx vmesquita,it only happened once

So we still keep the field operation to none for progressive material

I was just confused(doesn't take much :roll: )

kwag 04-30-2004 07:38 PM

Well, my results are that audio is in sync in the DVD player (Cyberhome), but it stutters every once in a while. So something is wrong in the stream.
Maybe a muxing issue :idea:
Back to analisys :!:

-kwag

DKruskie 04-30-2004 07:48 PM

I just got done trying MEncoder for the first time today on master and commander. It turned out pretty good. the only thing I couldnt figure out where your supposed to check force film at? and some of the options that are in filtering options so I stuck with the dvd one. All in all I was very happy with it.




David

vmesquita 04-30-2004 08:37 PM

Quote:

Originally Posted by DKruskie
I the only thing I couldnt figure out where your supposed to check force film at?

No need for that: mencoder automatically detects a 24 fps stream and change framerate.

Quote:

and some of the options that are in filtering options so I stuck with the dvd one. All in all I was very happy with it.
And you did the right choise, the DVD filtering was designed to reproduce the optimal script. :wink:

kaper 04-30-2004 09:30 PM

Again, I'm just wondering why on I am getting files that are consitently too small, 550 mb on a 129 min movie, full screen at 352x240?

DKruskie 04-30-2004 09:51 PM

Thanks VMesquita for clearing this up for me. I'm looking forward to using this alot more.




David

vmesquita 04-30-2004 10:36 PM

Quote:

Originally Posted by kaper
Again, I'm just wondering why on I am getting files that are consitently too small, 550 mb on a 129 min movie, full screen at 352x240?

Most parameters are optimized for MPEG2. There hasn't been significant tests with MPEG1 to tweak the parameters.

kaper 04-30-2004 10:49 PM

I'm using mpeg2 with a 352x240 res, the only thing that affects file size for me is when I change the output resolution. Changing any other option such as media size, overhead, or bitrate seems to have no affect on the resulting mpeg video stream size. Is there something I can change or am I doing something wrong? I using an xvid dvd rip, selecting 1cdsvcd, the avi filter and a 352x240 resolution, ive tired various parameters, the only thing as I said that affects the files size is if I change the output resolution to higher. I also try both 2 pass and 1 pass, both produce a 550 mb file.

kwag 04-30-2004 11:00 PM

I'm re-encoding the same movie, but as MPEG-2.
I'll find out tomorrow if I get the same effect :)

-kwag

kwag 04-30-2004 11:01 PM

Hi kaper,

Try a DVD source.

-kwag

kaper 04-30-2004 11:12 PM

I was just thinking that as I came down here to check for replys, thanks Kwag.

Prodater64 05-01-2004 03:34 AM

Some movies I encoded, mpeg1, from avi, reachs 700MB (without audio) and anothers only 650MB.
Does somebody knows why?

Prodater64 05-01-2004 05:31 AM

@VM
It would be very interesting some buttons for:
  1. Edit MencodeMe temp.conf (Notepad.exe c:\path\temp.conf)
  2. Edit MencodeMe encode.bat (Notepad.exe c:path\encode.bat)
  3. Run encode.bat (last action in GUI: Preview or Encode, or last edited action)
Paths must be configurables.


With this buttons, a lot of functionality will be added. Allowing inclusively to add a command line for besweet.
What do you think?

vmesquita 05-01-2004 07:06 AM

Quote:

Originally Posted by Prodater64
Some movies I encoded, mpeg1, from avi, reachs 700MB (without audio) and anothers only 650MB.
Does somebody knows why?

I think mencoder paramters need to be tweaked for mpeg1. Probably it's the "can't quantisize lower than this" thing, tweaking some variables would solve.

Quote:

Edit MencodeMe temp.conf (Notepad.exe c:\path\temp.conf)
Ok, nice idea. The problem is that temp.conf is generated when you click on encode. I would have to change that, but shouldn't be a problem.
Quote:

2. Edit MencodeMe encode.bat (Notepad.exe c:path\encode.bat)
3. Run encode.bat (last action in GUI: Preview or Encode, or last edited action)
The GUI doesn't use encode.bat, so this doesn't make sense in this case. I can't use a batch file and redict the mencoder I/O to a text box.
Quote:

With this buttons, a lot of functionality will be added. Allowing inclusively to add a command line for besweet.
What do you think?
This way I would be starting to make MencodeMe a batch tool. But I have another batch tool program, fully developed that already does all the "thinking" about bitrate calculation, conversions, dowmix, etc (DIKO). So I'd rather add dvd/mencoder support to DIKO. :wink: Otherwise I'll start developing two tools that do the same job. :D

kaper 05-01-2004 10:17 AM

Quote:

Originally Posted by Prodater64
Some movies I encoded, mpeg1, from avi, reachs 700MB (without audio) and anothers only 650MB.
Does somebody knows why?

It also does the same thing with mpeg2, ussually way to small of a file.

rds_correia 05-01-2004 10:47 AM

:idea: Aha :!:
So maybe MEncoder is not respecting the vbitrate value.
I've had this problem and Inc. too.
I don't know if he solved it already but I still have it here.
Most of my tests only go near 3000kbps but sometimes I have vbitrate set to 5000 and vrc_maxrate set to 9800 without vrc_minrate at all.
So can someone else tell us if this small movie is also happening?
Cheers

Prodater64 05-01-2004 10:49 AM

Quote:

Originally Posted by vmesquita
Quote:

Originally Posted by Prodater64
2. Edit MencodeMe encode.bat (Notepad.exe c:path\encode.bat)
3. Run encode.bat (last action in GUI: Preview or Encode, or last edited action)

The GUI doesn't use encode.bat, so this doesn't make sense in this case. I can't use a batch file and redict the mencoder I/O to a text box.


Then, could be, in a easy way for you, that parameters was writed step by step in the test box, meanwhile you are making settings (as besweet way). In addition text box could be edited, I mean paste onto it, besweet command line, and could mencodeme process it when click in encode, like a batch file. Or at least, copy text from text box to a batch file (it would be a help for advanced users)

incredible 05-01-2004 12:02 PM

Quote:

Originally Posted by rds_correia
I don't know if he solved it already but I still have it here.

Thats the point of that looong becoming threads ... there will no be any overwiev anymore :lol:

As I did say some postings above and suggested:

Set lmin to smaller values then 1, I did set that to 0.3 and have no probs.

lmin=1 works like a minimal Quantisation factor and if you set it lower, quantisation also gets lower :arrow: larger filesize incl. even more quality.

Even lmin is set to 0.1 there's still a barrier which didn't let me go aver approx 4000kbit in avg .... but I think thats not our purpose in here to get even more above.

BUT!: This is a Videostream encoding GUI "only" ... and if we could build an 1:1 DVD backup GUI which gives better output then a DVDshrink or so on .... an even higher avg will sometime be needed.

Im just working on a working way to get a full DVD backup incl. orig menues and all extras working with an ENCODED stream (not transformed!) and if that works the next step would be 2DVDs incl EVERYTHING on 1DVD-R.
:wink:

black prince 05-01-2004 12:23 PM

@anyone,

I tried mpeg-1 704x480 resize and a frame rate of 23.976 from dvd2avi.
MEncoder translated that to 23.98 fps. The final video skips every 15 to
20 seconds through the entire movie. It believe MEncoder supports
only certain frame rates and either converts your input to something
it wants, gives you a default frame rate, or stops with an error. :roll:

-BP

digitall.doc 05-01-2004 04:58 PM

Quote:

Originally Posted by incredible
lmin=1 works like a minimal Quantisation factor and if you set it lower, quantisation also gets lower :arrow: larger filesize incl. even more quality.

Well Inc, the minimal quantisation factor is vqmin (together with mbqmin related to macroblocks) indeed. Lmin, to explain in simple words, marks a "tendency". If you set lmin=0.1, this doesn't mean that the minimal quantizer will be 0.1, but minimal will be vqmin, and Q will tend to 0.1... In my tests, with vqmin=2 and lmin<<vqmin, in extreme cases I got an almost flat Q value of 2, but not below nor equal to lmin. But Q was 2 as lmin always was pulling Q as low as possible.

audioslave 05-01-2004 06:30 PM

@vmesquita

About this log:

Writing AVI header...
New_Face failed. Maybe the font path is wrong.
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0][mpeg2video @ 0x9b50a0]rc buffer underflow
Pos: 118.1s 2832f (99%) 8fps Trem: 0min 12mb A-V:0.000 [883:0]

Is there anyway of getting rid of this bufferunderrun that occurs every time I'm doing an encode? I believe that this is the cause of the "2 frames ahead"* that I get with Mencode-me.

*=When comparing the same sample encoded with two different encoders, the clip with Mencode-me is 2 frames ahead of the other sample when looking to the same frame number (I hope you get what I mean? :roll: ) Frames 2 & 3 are gone from the clip...

kwag 05-01-2004 06:53 PM

Quote:

Originally Posted by kwag
I'm re-encoding the same movie, but as MPEG-2.
I'll find out tomorrow if I get the same effect :)

Quoting myself :!:

The encoded MPEG-2, muxed as SVCD and burned as SVCD, plays EXCELENT :!: on my Cyberhome and JVC players :D
No sync issues whatsoever. :cool:
Here's a sample cut.
http://www.kvcd.net/payback.mpeg2.mpg.cut.37.mpg

-kwag

audioslave 05-01-2004 07:03 PM

WOW! 8O Nice clip and good news, Kwag! :D

Off-topic:
PS I did notice a swedish car in the clip. :lol:

incredible 05-01-2004 08:20 PM

Quote:

Originally Posted by digitall.doc
Quote:

Originally Posted by incredible
lmin=1 works like a minimal Quantisation factor and if you set it lower, quantisation also gets lower :arrow: larger filesize incl. even more quality.

Well Inc, the minimal quantisation factor is vqmin (together with mbqmin related to macroblocks) indeed. Lmin, to explain in simple words, marks a "tendency". If you set lmin=0.1, this doesn't mean that the minimal quantizer will be 0.1, but minimal will be vqmin, and Q will tend to 0.1... In my tests, with vqmin=2 and lmin<<vqmin, in extreme cases I got an almost flat Q value of 2, but not below nor equal to lmin. But Q was 2 as lmin always was pulling Q as low as possible.

I understood that :)
And I did set vqmin to 1 and also lmin to 0.3 (or so) and I had a nice dynamically Q curve with more avg bitrate possible above 2000kbit if needed. You already told me your issue with the flat Q curve ... but I never had that issue ...

vmesquita 05-01-2004 09:45 PM

@black prince
Could test encoding in 24 fps (using the command-line)? Maybe it solves this issue.

@audioslave
I don't know why it drops the first frames... :?

@kwag
This is great news!

patchworks 05-02-2004 06:17 AM

Features request
 
I have tried MEncodec-me and i really like it (very fast), but quality results are still far from tmpeg/quenc (due to avs support).

1. implement avs support (raw encoding, no filters)
2. auto crop/resize (gripcrop-like)
3. try to implement better the optimal scripts (wich are avs)

Thanks for the attention !

incredible 05-02-2004 08:52 AM

@ Patchworks

You can still gain from full Avisynth gain as an AVS Import can be done via a fake AVI made by using "Makeavis"

EVEN if autocrop works great in mencoder, you stll have to implementate a automatic calculation routine like in Moviestacker to receive perfect crop/resize/expand parameters for macroblock based images and for shure on individual sized Avi inputs :arrow: MEGA Work ! :wink:
So its very easy to use moviestacker and get the needed crop/resize values wich can be easely used in mencoder by Crop:xxx:yyy:x:y and scale xxx:yyy -- adding borders will then be done by Expand:xxx:yyy

There are already optimal scripts set in the provided templates of MencoderME .. like for AVis or SVCD.
Further OptimalScripting can still be done via Avisynth & Makeavis.

incredible 05-02-2004 09:00 AM

@ Vmesquita

Maybe Im Wrong, but a resulted tmp.conf gots these lines inclued:

Code:

vf=kerndeint=15:0:1yuvcsp,scale=::0:0:60,...................
of=rawvideo=1
ovc=lavc=1
nosound=1
sws=9

kerndeint=15:0:1yuvcsp........

Output of commandline:

Opening video filter: [kerndeint=15:0:1yuvcsp] :arrow: :!:

I think there should be a "," between these to vf parameters as it seems that mencoder just takes it as it is set? As I always used a "," to separate them if encoding via manual generated bat files.

Maybe you give your String in the Programcode a nice "," added

:)

jorel 05-02-2004 09:27 AM

vmesquita....V...we need a new thread of Mencode-me.
who can follow the great changes and features that you did here?

:idea:
this is too big and deserve a new fresh thread with downloads, explanations about changes, general informations, little guide and maybe locked, only you can post and change in that new thread!
:wink:

kwag 05-02-2004 09:41 AM

@vmesquita,

Could you add selectable DC precision to Mencoder-ME :?:
So you can choose 8, 9, 10, 11 bits :?:

Thanks,
-kwag

black prince 05-02-2004 09:52 AM

@inc,

Would be nice to build a list of MEncoder parms similiar Avisynth filters
and Tmpgenc settings. I found some that are part of Mplayer manpage
and have been slowly removing avisynth filters replacing them with
mencoder parms. The results are sometimes surprising. But replacing
them has speeded-up the encoder.

Some more -vf parms:

1) -vf rectangle=704:480 --> (displays rectangle on frame)

2) -vf crop=704:480:0:0 --> (3 and 4 parms are position on screen)

3) -vf scale=704:480 --> (resize frame)

4) -vf expand=0:1:0:1 --> (addborders top/bot, left/right)

5) -vf eq2=A:B:C: D --> (A=alpha, B=contrast, C=brightness, D=saturation)

6) -vf boxblur=2:3 --> (blur)

-BP

vmesquita 05-02-2004 10:00 AM

Quote:

Originally Posted by patchworks
1. implement avs support (raw encoding, no filters)

You can use MakeAVIS for that, look in the forum and read RDS_correia guide
Quote:

2. auto crop/resize (gripcrop-like)
Yes, this needs to be added.
Quote:

3. try to implement better the optimal scripts (wich are avs)
Use the DVD script, it's designed to reproduce optimal script effect.

@incredible
Looks like you found a bug. Actually I should make this field operations another set of txt files or something like that so everyone can add their favorite field operations. :D

@jorel
Maybe we need a new forum then. Because many issues are just being discussed here, it would be better to have a thread for each issue. Maybe it would be better to open a new MencodeMe forum or make the DIKO forum "VMesquita programs forum" (not sure this is a good idea because MencodeMe is totally unrelated to DIKO). I'll PM kwag about this.

Quote:

Originally Posted by kwag
Could you add selectable DC precision to Mencoder-ME
So you can choose 8, 9, 10, 11 bits

If I only knew how to do that in Mencoder... :(

kwag 05-02-2004 10:08 AM

Quote:

Originally Posted by vmesquita
@jorel
Maybe we need a new forum then. Because many issues are just being discussed here, it would be better to have a thread for each issue. Maybe it would be better to open a new MencodeMe forum or make the DIKO forum "VMesquita programs forum" (not sure this is a good idea because MencodeMe is totally unrelated to DIKO). I'll PM kwag about this.

Done ;)
Quote:


Quote:

Originally Posted by kwag
Could you add selectable DC precision to Mencoder-ME
So you can choose 8, 9, 10, 11 bits

If I only knew how to do that in Mencoder... :(
Ok, it's just that I don't see the options, not even on the sources for libavcodec, but I see another program that already gives this precision :!:
I'll look more into it ;)

-kwag


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.