Part Number: AM5716
Other Parts Discussed in Thread: AM5718
Tool/software: Linux
Hello Experts,
I'd like to play the streaming video captured by Gstreamer to VLC player on Ubuntu. But I can't do that. Please give me some advice.
AM5718-IDK
PSDK-Linux v4.03
Utuntu 14.04
I enter the following command on the EVM terminal with reference to TI Wiki.
gst-launch-1.0 -e v4l2src device=/dev/video1 io-mode=5 ! 'video/x-raw, format=(string)NV12, width=(int)640, height=(int)480, framerate=(fraction)30/1' ! ducatih264enc bitrate=1000 ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=192.168.10.1 sync=false port=5000
The following execution results are showed and the access lamps of the Hub blink.
root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1 io-mode=5 ! 'video/x-raw, format=(string)NV12, width=(int)640, height=(int)480, framerate=(fraction)30/1' ! ducatih264enc bitrate=1000 ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=192.168.10.1 sync=false port=5000
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
I operate the VLC player as follows.
Open Media -> Open Network: udp://192.168.10.22:5000 (Also tried -> udp://@192.168.10.22:5000)
I can see the streaming from YouTube on the VLC. The PINGs between Ubuntu and EVM pass. The mp4 file can be saved by Gstreamer to the SD card.
Regards,
Kazu