First of all, Sorry for bad English

I have 1 .mkv file ,It's included 3 streams

1. Video
2. Audio
3. Subtitle

I want to convert to mp4 by mencoder and video,subtitle blend together in 1 stream

so I try find and test command for convert this project.

Finally I can found the best result output file for me.

But I forgot command to convert !!!!!!

This is detail of the best result file form convert
Code:
   General
      Complete name : C:\Users\***\Desktop\best.mp4
      Format : AVI
      Format/Info : Audio Video Interleave
      File size : 187 MiB
      Duration : 35mn 29s
      Overall bit rate : 737 Kbps
      Writing application : MEncoder VERSION
      Writing library : MPlayer
   Video #0
      ID : 0
      Format : AVC
      Format/Info : Advanced Video Codec
      Format profile : High@L3.0
      Format settings, CABAC : Yes
      Format settings, ReFrames : 4 frames
      Format settings, GOP : M=1, N=59
      Codec ID : h264
      Duration : 35mn 29s
      Bit rate : 594 Kbps
      Width : 704 pixels
      Height : 396 pixels
      Display aspect ratio : 16:9
      Frame rate : 29.970 fps
      Color space : YUV
      Chroma subsampling : 4:2:0
      Bit depth : 8 bits
      Scan type : Progressive
      Bits/(Pixel*Frame) : 0.071
      Stream size : 151 MiB (81%)
      Writing library : x264 core 107
      Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
   Audio #1
      ID : 1
      Format : 706D
      Codec ID : 706D
      Duration : 35mn 28s
      Bit rate : 128 Kbps
      Channel(s) : 2 channels
      Sampling rate : 48.0 KHz
      Stream size : 32.5 MiB (17%)
      Interleave, duration : 21 ms (0.64 video frame)
      Interleave, preload duration : 660 ms
How to write command for this result.
Help me please

Thank you