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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,460件の閲覧回数
reinholdfrederi
Contributor I

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.

ラベル(2)
タグ(3)
0 件の賞賛
返信
3 返答(返信)

892件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

Hello Frederic,

Please review the following document, it shows how to do the streaming and it was based on VLC

GStreamer RTP Streaming


Have a great day,
Jaime

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

892件の閲覧回数
reinholdfrederi
Contributor I

Hello jamesbone,

I must only set VIDEO_SRC in sender script: VIDEO_SRC=filesrc location=$FILE ?


Nice day

Frederic

0 件の賞賛
返信

892件の閲覧回数
saurabh206
Senior Contributor III

Hi,

Send your post to imx community (e.g. i.MX Community ) to get it visible for active members.

Saurabh

0 件の賞賛
返信