Regarding iMX53 freescale codecs for gstreamer

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

Regarding iMX53 freescale codecs for gstreamer

2,316 Views
tarakpatel
Contributor I

Hi,

I have managed to compile gst-fsl-plugins-2.0.3 with gstreamer 0.10.36 on the iMX53 and Ubuntu 10.04. Everything works. But I have few issues as mentioned below.

  1. Whenever I close my pipeline gdm does not respond. I need to restart the gdm to make it work. The screen remains blank.
  2. No matter whatever display resolution i give to the mfw_v4lsink it shows full screen video only.

I don't know how to debug it. Sometimes on gstreamer I found warning with not able to query latency.

My full screen video size 1024 x 600 and i am launching below pipelines.


Receiver end:

gst-launch udpsrc port=5002 caps="application/x-rtp, media=video, payload=113, clock-rate=90000, encoding-name=H264" ! rtph264depay ! mfw_vpudecoder loopback=true ! mfw_v4lsink disp-width=720 disp-height=576 sync=false


Transmitter end:

gst-launch mfw-v4lsrc capture-mode=3 capture-width=720 capture-height=576 ! mfw_ipucsc ! "video/x-raw-yuv, format=(fourcc)I420, width=720, height=576, framerate=(fraction)90000/3000" ! mfw_vpuencoder codec-type=2 bitrate=512 ! rtph264pay config-interval=5 pt=113 mtu=1444 ! udpsink host=$HOST port=5002


Let me add, before i had gstreamer0.10.28 and gst-fsl-plugins2.01. and i compiled gstreamer 0.10.36 and gst-fsl-plugins2.0.3 on the imx53 board directly not using ltib method.

Thanks,

Tarak Patel

Labels (4)
0 Kudos
9 Replies

1,395 Views
maxmustermann
Contributor I

Perhaps you'd like to try recent 4.0.4 kernel w/ the IPUv3 patches:

Commits · metux/linux · GitHub

(using the v4l2 plugins)

0 Kudos

1,395 Views
LeonardoSandova
Specialist I

I am not sure what is the problem with the gdm. For the display resolution issue, can you try using mfw_isink?

0 Kudos

1,395 Views
tarakpatel
Contributor I

Can i just compile the gst-fsl-codec on to the imx53 board. I mean my imx53 board is already up and running with gstreamer0.10.28 and gst-fsl-2.0.1 plugins. I compiled manually gstreamer 0.10.36 and gst-fsl-2.0.3 on to it. While compiling gst-fsl-2.0.3 i got error regarding ipu.h and mxcfb.h. It was looking inside /usr/include/linux but it was not their so i copied it from /usr/src/linux/include/linux. after that i can able to compile the gst-fsl-2.0.3 so after installing this compilation i had this problem. Does it related to it? or gstreamer0.10.36 itself is not compatible with imx53?

Thanks,

0 Kudos

1,395 Views
LeonardoSandova
Specialist I

Before looking into versions and compatibility, why did you upgrade to those versions? any particular code not present on the default BSP? Try to use the default gstreamer version and from there run the pipeline with mfw_isink.

Leo

0 Kudos

1,395 Views
tarakpatel
Contributor I

I need to upgrade it because there was a problem either in gstreamer or gst-fsl plugins. When we try to do fire pipeline with udpsrc and udpsink over a network audio was not working. If we do same thing as a loopback it was working. Their could be a bug in gstreamer or freescale plugins because the parameters which should sent automatically over the network was not working properly. I tested same pipelines on imx6 with the given gstreamer and gst-fsl plugins it was working fine. So we need to upgrade it to the newer version of gstreamer and gst-fsl plugins.

0 Kudos

1,395 Views
LeonardoSandova
Specialist I

Hi Tarak.

The best would be to patch the default code with the audio fix, in case there is one. In the other hand,  How are you doing this upgrades? through LTIB? Post your audio problem in a separate thread.

Leo

0 Kudos

1,395 Views
tarakpatel
Contributor I

No i am compiling it separetly once the kernel is up and running.

0 Kudos

1,395 Views
tarakpatel
Contributor I

Hi Leo,

Can you elaborate what changes i need to do if i want to use isink instead of v4lsink? I am pretty new to this stuff.

Thanks,

Tarak Patel

0 Kudos

1,395 Views
tarakpatel
Contributor I

Hi Leo,

Doesnot work for me. It gives me this error "can not create threadmfw_gst_isink_setcaps:1390" Basically i had same pipeline just changed mfw_v4lsink to mfw_isink.

Thanks,
Tarak Patel

0 Kudos