Why the vpu output a color changed video?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why the vpu output a color changed video?

560 Views
lvsmalight
Contributor I

Hello, Experts and friends!

Now, I want to transform a yuv video to mp4.

I run the mxc_vpu_test.out in the i.MX53 platform.

(mxc_vpu_test.out is a example program int the i.MX53 development board)

the command line as follow:

./mxc_vpu_test.out  -E  "-i test.yuv -o testvpu.mp4 -w 720 -h 576 -f 2 -g 25"

 

the format of the input file "test.yuv" as follow:

Sampling Format: yuv422 planar progressive

Componet Order:  Y,U,V

Progressive,Planar

PAL 720*576

 

 

After encording finished, I got the video file "testvpu.mp4".

I play it int microsoft media player in my PC. But I find the picture's color of testvpu.mp4

is more yellow than test.yuv. It's so obvious that I don't satisfied the result.

there are the two files in attachments. you can play them and view the effect.

 

if ther are some parameter is error or the "mxc_vpu_test.out" need some other parameters?

How can I get a more clearly video? Thanks for any help.


Original Attachment has been moved to: testvideo.rar.zip

Labels (4)
Tags (2)
0 Kudos
2 Replies

450 Views
LeonardoSandova
Specialist I

By default, the encoder expects interleaved data. Add the parameter -t 0 and see if that helps.

Leo

0 Kudos

450 Views
lvsmalight
Contributor I

In this program, Default is none-interleave, as follow:

-t <chromaInterleave> CbCr interleaved

         default is none-interleave(0).



I try to Add the parameter -t 0, the result is same with before. if Add the parameter -t 1, encorder will output a incorrent video.

0 Kudos