AnsweredAssumed Answered

How display AVI video stream imx.6 (Linux 3.10.17)  to PC (Ubuntu 3.13.0-44)

Question asked by Frederic RVE on Jan 6, 2015
Latest reply on Jan 22, 2015 by Frederic RVE

Hi,

 

I would like to display a stream AVI video file from i.mx6 to PC based on Ubuntu with g-streamer 0.10 with plugin 'base' and 'good'.

I have tried with this parameters:

  • Server: iMX6
CLIENT_IP=10.251.101.58  
FILE=Video_1080p.avi  
gst-launch filesrc location=$FILE   typefind=true ! aiurdemux  ! queue  ! rtpmp4vpay ! udpsink host=$CLIENT_IP -v 

Console:

/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)1920, height=(int)1080, framerate=(fraction)5000000/208333

/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)1920, height=(int)1080, framerate=(fraction)5000000/208333

/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)1920, height=(int)1080, framerate=(fraction)5000000/208333

/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800c53c04871463000001b24c61766335312e34342e30, payload=(int)96, ssrc=(uint)1834147004, clock-base=(uint)462164955, seqnum-base=(uint)16877

/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0: timestamp = 462164955

/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0: seqnum = 16877

/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800c53c04871463000001b24c61766335312e34342e30, payload=(int)96, ssrc=(uint)1834147004, clock-base=(uint)462164955, seqnum-base=(uint)16877

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

 

  • Client: Ubuntu PC

CAPS=application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)MP4V-ES,

profile-level-id=(string)1,config=(string)000001b001000001b58913000001000000012000c48d8800c53c04871463000001b24c61766335312e34342e30,

payload=(int)96,ssrc=1303818908,clock-base=1090442294,seqnum-base=(uint)63287

PORT=5000

gst-launch udpsrc port=$PORT ! $CAPS ! rtpmp4vdepay ! queue ! ffdec_mpeg4 ! xvimagesink sync=false -v

 

Console:

bash: ./ReceiverVideoPC_MP4.sh: ligne 3: Erreur de syntaxe près du symbole inattendu « string »

bash: ./ReceiverVideoPC_MP4.sh: ligne 3: `profile-level-id=(string)1,config=(string)000001b001000001b58913000001000000012000c48d8800c53c04871463000001b24c61766335312e34342e30,'

 

What's the good parameters ?

 

Thanks for your response.

Outcomes