Resolution modification in decoder

cancel
Showing results for 
Search instead for 
Did you mean: 

Resolution modification in decoder

574 Views
ramakrishnakama
Contributor I

When we play video using mfw_wmvdecoder, video resolution getting changed.

Actual video resolution is 320 X 240. But decoder output resolution is 384 X 304.

Because of this setting video property not proper and video not getting played in

middle of the screen.

gst-lauch-0.10 filesrc location=/mnt/usb/320x240_WMV7_WMA7.asf typefind=true !

aiurdemux name=demux demux. ! queue ! mfw_wmvdecoder ! mfw_v4lsink -v

We can see change in resolution of in output of deocder.

Video property of the video we are using for testing is as follows :

Topology:

container: Advanced Streaming Format (ASF)

audio: Windows Media Audio 7

video: Windows Media Video 7

Properties:

Duration: 0:01:53.791000000

Seekable: yes

Tags:

container format: ASF

video codec: Microsoft Windows Media 7

audio codec: WMA Version 7

We are using gst-fsl-plugins version 3.5.7 and gstreamer version 10.36

Result of "uname -a" is

Linux freescale 3.0.35-2154-g94689e1 #180 SMP PREEMPT Wed Mar 4 15:24:49

CST 2015 armv7l GNU/Linux

BSP version is 3.0.35 based customized BSP.

Board is IM6D based customized board .

This is very urgent, for a production program. SOP is very close.

Please help us analysing this ASAP.

Thanks and Regards:

Ramakrishna Kamath

Labels (1)
Tags (1)
0 Kudos
16 Replies

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna kamath,

       I got the video clip and the detail description, from the description, your engineer  meet two width/height values for the video size, both of them are not the correct width/height, the demux return value only indicate that the container size setting, this value could be incorrect, the 384x304, 1920x1088 is also not the video size, it 's only used to allocate bigger memory for vpu,  you should use the VUP decoder returned value for your counting.

best regards

Jack

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi Jack,

Vpudec doesn't support WMV1 and WMV2.

How can we get resolution values from DECODER?

Please help us to fix this issue.

Thanks and Regards,

Ramakrishna Kamath.

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna Kamath,

      For ms decoder I don't know if you use our decoder or open source decoder , if it's our decoder, there is decoder header file, init API will parser the sequence header and return thr resolution value. If you use open source, you have to find it by yourself.

best regards

Jack

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi ramakrishnakamath,

    Please share the video to us, that will be helpful for us to debug this issue.

best regards

Jack

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi Junping Mao

I have uploaded video in https://community.freescale.com/videos/3268.

Best Regards,

Ramakrishna Kamath

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna Kamath,

      I can't access the link, seems there is right limitation, could you use transweb? or any other method?

best regards

Mao junping

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi,

Please share mail id, I'll share video with you, or Please give me transweb link where i can upload video.

Thanks and Regards,

Ramakrishna Kamath

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna Kamath,

best regards

jack

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna Kamath,

    I still have no right to access your video link https://community.freescale.com/videos/3268

best regards

Jack

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi,

Please give me transweb link where i can upload video.

Thanks and Regards,

Ramakrishna Kamath

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi ramakrishnakamath

      Transweb is a intenal site which customer transfer file to freescale http://transweb.freescale.net, but you need a account to login, I'm not sure you could access it, is there any cloud site which can put your file on it then I can download?

best regards

Jack

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi,


Can you access file from  Welcome to Freescale Semiconductor

Thanks and Regards,

Ramakrishna Kamath

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna Kamath,

    I can't access this site, it's for external user, we have internel site as mentioned in my reply to access the tranfered file, you could try if you can access from the external link.

best regards

Jack

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi Junping Mao,

I don't have access to internal site. How can i send file. I have transferred file to 1-3720719951 SR Number. Can you get it from there?

0 Kudos

283 Views
ramakrishnakama
Contributor I

Hi Junping Mao,

Please let me know how can i send files. Is there any other way to send a file?

Thanks and Regards,

Ramakrishna kamath

0 Kudos

283 Views
jack_mao
NXP Employee
NXP Employee

Hi Ramakrishna kamath,

    Please find a free net disk to upload  your video clip, then tell me to download. Thanks!

best regards

Mao junping

0 Kudos