RTSP on i.MX6 Nitrogen6X board

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

RTSP on i.MX6 Nitrogen6X board

1,710 Views
alokkumar
Contributor III

Hi,

It seems latest build I received has h.264 HW codec support using gst-luanch pipeline. So playing an mp4 file is not a problem. I was trying to look for RTSP using gsteamer. Could someone provide some guidance for how to make RTSP work using gst-luanch  pipeline or otherwise.

Thanks

Alok

Labels (2)
0 Kudos
Reply
2 Replies

675 Views
alokkumar
Contributor III

Dear All,

I have following pipeline somewhat working for rtsp client (video only).

gst-launch rtspsrc location= rtsp://xx.yy.zz.ww/aaStream1S1 typefind=true !  rtph264depay ! capsfilter caps="video/x-h264,width=1920,height=1080,framerate=(fraction)60/1" ! vpudec ! queue max-size-buffers=0 max-size-time=0 ! mfw_v4lsink

When I am trying to add audio codec like

! mfw_aacdecoder ! audioconvert ! 'audio/x-raw-int,channels=! alsasink   device='hw:1,0'

I get following warning and even video does not play.

"WARNING: erroneous pipeline: could not link mfw_gst_v4lsink_info_t0 to mfw_gst_aacdec_info_t0"

Could someone put some pointers for RTSP client video and hdmi audio.

Thanks

Alok

0 Kudos
Reply

675 Views
alokkumar
Contributor III

Ok following pipeline works with RTSP video and audio.

gst-launch rtspsrc location= rtsp://10.10.4.11/vbStream1S1 name =demux ! queue max-size-buffers=0 max-size-time=0  ! \ rtph264depay ! vpudec ! queue max-size-buffers=0 max-size-time=0 ! mfw_v4lsink \

sync=false demux. ! rtpmp4gdepay ! beepdec ! queue max-size-buffers=0 \

max-size-time=0 ! 'audio/x-raw-int, channels=2' ! alsasink \

device='hw:1,0' sync=false \

Depending on your hdmi audio is 0:0 or 1:0 (check with /proc/asound/cards)

0 Kudos
Reply