video - encoding a yuv file into mpeg2 using mpegencoder -


i wanted compress .yuv using mpeg-2 standard. so, have downloaded mpegencoder of mssg. below code parameters file. don't know how store output video. please me issue. want single , double compressed videos using mpeg-2 standard.is there software serve purpose.

 akiyo_cif    /* name of source files */ -        /* name of reconstructed images ("-": don't store) */ -         /* name of intra quant matrix file     ("-": default matrix)  */  -         /* name of non intra quant matrix file ("-": default matrix)  */ -         /* name of statistics file ("-": stdout ) */ 1         /* input picture file format: 0=*.y,*.u,*.v, 1=*.yuv,             2=*.ppm    */  3 00         /* number of frames */ 0         /* number of first frame */ 23:59:59:24 /* timecode of first frame */ 6         /* n (# of frames in gop) */ 2         /* m (i/p frame distance) */ 0         /* iso/iec 11172-2 stream */ 0         /* 0:frame pictures, 1:field pictures */ 352       /* horizontal_size */ 288       /* vertical_size */ 2         /* aspect_ratio_information 1=square pel, 2=4:3, 3=16:9,  4=2.11:1 */ 3         /* frame_rate_code 2=23.976, 3=25, 4=29.97, 5=30             frames/second */ 400000.0  /* bit_rate (bits/s) */ 6         /* vbv_buffer_size (in multiples of 16 kbit) */ 0         /* low_delay  */`enter code here` 0         /* constrained_parameters_flag */  4         /* profile id: simple = 5, main = 4, snr = 3, spatial = 2,               high = 1 */`enter code here`  8         /* level id:   low = 10, main = 8, high 1440 = 6, high = 4                         */  0         /* progressive_sequence */  1         /* chroma_format: 1=4:2:0, 2=4:2:2, 3=4:4:4 */ 1         /* video_format: 0=comp., 1=pal, 2=ntsc, 3=secam, 4=mac,  5=unspec. */ 5         /* color_primaries */ 5         /* transfer_characteristics */ 5         /* matrix_coefficients */  352       /* display_horizontal_size */  288       /* display_vertical_size */ 1         /* intra_dc_precision (0: 8 bit, 1: 9 bit, 2: 10 bit, 3: 11            bit */ 1         /* top_field_first */ 1 0 0     /* frame_pred_frame_dct (i p b) */ 0 0 0     /* concealment_motion_vectors (i p b) */ 0 1 1     /* q_scale_type  (i p b) */ 1 1 0     /* intra_vlc_format (i p b)*/ 1 0 1     /* alternate_scan (i p b) */ 0         /* repeat_first_field */ 0         /* progressive_frame */ 0         /* p distance between complete intra slice refresh */ 0         /* rate control: r (reaction parameter) */ 0         /* rate control: avg_act (initial average activity) */  0         /* rate control: xi (initial frame global complexity         measure) */  0         /* rate control: xp (initial p frame global complexity       measure) */  0         /* rate control: xb (initial b frame global complexity         measure) */     0         /* rate control: d0i (initial frame virtual buffer         fullness) */   0         /* rate control: d0p (initial p frame virtual buffer             fullness) */   0         /* rate control: d0b (initial b frame virtual buffer           fullness) */       2 2 11 11 /* p:  forw_hor_f_code forw_vert_f_code          search_width/height */       1 1 3  3  /* b1: forw_hor_f_code forw_vert_f_code         search_width/height */       1 1 7  7  /* b1: back_hor_f_code back_vert_f_code         search_width/height */        1 1 7  7  /* b2: forw_hor_f_code forw_vert_f_code         search_width/height */    1 1 3  3  /* b2: back_hor_f_code back_vert_f_code          search_width/height */ 


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -