Home/Support/Support Forum/output size of mfw_vpudecoder.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

output size of mfw_vpudecoder.

0 votes
Environment

OS : ubuntu12.04 32bit
Board : Wi-i.MX53
Digi ESP for Embedded Linux
Version: 2.0 for Digi Embedded Linux 5.9.7.1
Build id: 20130211 DEL-5.9.7.1

Hi,

The following command will work.

# gst-launch filesrc location=/640_360.mp4 ! qtdemux ! ff
dec_h264 ! ffmpegcolorspace ! video/x-raw-rgb ! mfw_v4lsink.

But the following command does not work.

# gst-launch filesrc location=/640_360.mp4 ! qtdemux ! mfw_vpudecoder ! ffmpegcolorspace ! video/x-raw-rgb ! mfw_v4lsink.

console message

** (gst-launch-0.10:2066): WARNING **: ffmpegcsp0: size 353280 is not a multiple of unit size 345600

The size of 640_360.mp4 is 640*360.

The output size of mfw_vpudecoder seems 640*368.

What are the reasons to be output at 640 * 368?

Please advice.
asked Feb 9, 2015 in Linux by chung New to the Community (37 points)

Please log in or register to answer this question.

2 Answers

0 votes
The warning message,

** (gst-launch-0.10:2066): WARNING **: ffmpegcsp0: size 353280 is not a multiple of unit size 345600

Does not come from the VPU plugin but from the ffmpegcolorspace one.

I think the pipeline is not correct. Did you try something like we have in the DEL documentation?

gst-launch filesrc location=file.ext ! 'video/quicktime' ! aiurdemux !
queue max-size-time=0 ! mfw_vpudecoder ! mfw_v4lsink

What happens if you use playbin2?

gst-launch playbin2 uri=file:///file.ext

Or even,

gplay file.ext
answered Feb 10, 2015 by LeonidM Veteran of the Digi Community (3,654 points)
0 votes
Problem does not occur with the following command.
~ # ... mfw_vpudecoder ! ffmpegcolorspace ! video/x-raw-yuv ! mfw_v4lsink
or
~ # ... mfw_vpudecoder ! mfw_v4lsink
or
~ # gplay /640_360.mp4
or
~ # gst-launch playbin2 uri=file:/640_360.mp4 flags="0x63"

Problem occurs with the following command.
~ # ... mfw_vpudecoder ! ffmpegcolorspace ! video/x-raw-rgb ! mfw_v4lsink
or
~ # gst-launch playbin2 uri=file:/640_360.mp4

Problem occurs in the case of the RBG.

Please advice.
answered Feb 11, 2015 by chung New to the Community (37 points)
...