chung
February 9, 2015, 1:15am
1
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.
LeonidM
February 10, 2015, 8:22am
2
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
chung
February 11, 2015, 7:08pm
3
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.