public MediaVideoItem createMediaItem(VideoEditor videoEditor,String MediaId,String filename,int renderingMode){
  MediaVideoItem mvi=null;
  try {
    mvi=new MediaVideoItem(videoEditor,MediaId,filename,renderingMode);
    assertNotNull("Can not create an object of MediaVideoItem",mvi);
  }
 catch (  IllegalArgumentException e) {
    throw new IllegalArgumentException("Can not create an object of Media Video Item with file name = " + filename + " Issue = "+ e.toString());
  }
catch (  IOException e) {
    assertTrue("Can not create an object of Media Video Item with file name = " + filename + " Issue = "+ e.toString(),false);
  }
  return mvi;
}

public MediaVideoItem createMediaItem ( VideoEditor videoEditor , String MediaId , String filename , int renderingMode ) { MediaVideoItem mvi = null ; try { mvi = new MediaVideoItem ( videoEditor , MediaId , filename , renderingMode ) ; assertNotNull ( "Can not create an object of MediaVideoItem" , mvi ) ; } catch ( IllegalArgumentException e ) { throw new IllegalArgumentException ( "Can not create an object of Media Video Item with file name = " + filename + " Issue = " + e . toString ( ) ) ; } catch ( IOException e ) { assertTrue ( "Can not create an object of Media Video Item with file name = " + filename + " Issue = " + e . toString ( ) , false ) ; } return mvi ; }
this method create a media video item with the specified params
