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:
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
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.
Hello Frederic,
Please review the following document, it shows how to do the streaming and it was based on VLC
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello jamesbone,
I must only set VIDEO_SRC in sender script: VIDEO_SRC=filesrc location=$FILE ?
Nice day
Frederic
Hi,
Send your post to imx community (e.g. i.MX Community ) to get it visible for active members.
Saurabh