MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Wednesday, April 23, 2008

Re: [MEncoder-users] framerate denominator and numerator got much bigger after encoding

Corey Hickey wrote:
> RC wrote:
>
>> On Wed, 23 Apr 2008 09:06:38 +0800
>> JRaSH <jrash06@163.com> wrote:
>>
>>
>>> Could anyone tell me how I can control the behaviour of MEncoder so
>>> that the denominator and numerator will stay the same as the source?
>>>
>> There is no numerator or denominator. There is only a single frame-rate
>> value stored in the file. There are millions of possible different ways
>> to represent that number it, for the sake of humans.
>>
>
>
> To the original poster: what values are you seeing? Run "mplayer -v
> outputfile.avi" and look for a block like this:
>
>
> ====== STREAM Header =====
> Type: vids FCC: xvid (64697678)
> Flags: 0
> Priority: 0 Language: 0
> InitialFrames: 0
> Rate: 24000/1001 = 23.976 <---------look at this line
> Start: 0 Len: 83093
> Suggested BufferSize: 108990
> Quality 10000
> Sample size: 0
> ==========================
>
>
Interestingly, I tried your way to check the header, and it turned out
to be right!!!

My way to check the dominator was writing a avs script like:

a=directshowsource("encoded.avi")
messageclip(string(a.FramerateNumerator)+" "+string(a.FramerateDenominator))

and then when this avs was played, it showed a message: "52484375
2189038", which means the numerator is 52484375, and the dominator
2189038. Obviously, it is avisynthis that has a bug not mencoder.

Thank you for your advice.

JRaSH


_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy