i.MX27 ADS Board Video GST Encode

Showing results for 
Search instead for 
Did you mean: 

i.MX27 ADS Board Video GST Encode

No ratings

i.MX27 ADS Board Video GST Encode


From YUV to H.264

gst-launch-0.10 filesrc location=file_in.yuv blocksize=w*h*1.5 ! \ mfw_vpuencoder codec type=std_avc framerate=fr ! filesink location=file_out.mpg 


  • file_in.yuv: is the input file, a raw file.
  • w*h*1.5: is the blocksize, it's calculated from input file dimensions: width * height * 1.5
  • mfw_vpuencoder: is the encoder with hardware acceleration for iMX27
  • std_avc: chooses the codec type for output file
  • fr: indicates the framerate in that input file was created
  • file_out.mpg: is the output file encoded in H.264

From Camera to H.264

gst-launch-0.10 mfw_v4lsrc ! mfw_vpuencoder codec-type=std_avc \ width=176 height=144 framerate=25 ! filesink location=test.video 

Labels (1)
Version history
Revision #:
2 of 2
Last update:
‎09-10-2020 02:59 AM
Updated by: