[MPlayer-users] h264 matroska and bitrate

bayrouni bayrouni at brutele.be
Mon Nov 20 15:52:53 CET 2006


Guillaume POIRIER wrote:
> Hi,
>
> On 11/20/06, bayrouni <bayrouni at brutele.be> wrote:
>> Hello all,
>>
>> I encoded some videos with h264 codec and encapsulated them in the
>> matroska container.
>>
>> Is there anyway to know the bitrate for each one?
>
> mencoder input.mkv -ovc copy -oac copy -o /dev/null
>
>
>> The mkvinfo daes'nt give me this information!
>
> Yes, this information is not in the file.
>
> Guillaume
Thank you ,

I tried it, and here is the output:

 mencoder input.mkv -ovc copy -oac copy -o /dev/null
... 
...
Audio format 0x73627276 is incompatible with '-oac copy', please try 
'-oac pcm' instead or use '-fafmttag' to override it

So I tried this instead:  (my audio is ogg)
 mencoder input.mkv -ovc copy -nosound  -o /dev/null :

Video stream:  974.219 kbit/s  (121777 B/s)  size: 31282161 bytes  
256.880 secs  6422 frames



This is exactly what I need . Thanks

But I still have another question :
My  videos are originally coded with mpeg2 at 9800 kbps (I am trying to 
convert all my movies (DVDs) in matroska container with h264 codec),
so I used all the options for the high quality indicated in this link
 http://www.mplayerhq.hu/DOCS/HTML/fr/menc-feat-x264.html
these options are: 
subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b

And my question , what about the bitrate to match the high quality 
options  theses DVDs ?
Is 1000 bps a goog choice?
Thank you Guillaume

Bayrouni



More information about the MPlayer-users mailing list