Hi, I have a camera sending video stream to my NX devkit through multicast channel. I extracted the format of the video stream as following:
Analyzing udp://224.100.10.10:3001
Opening in BLOCKING MODE
Done discovering udp://224.100.10.10:3001
Topology:
container: video/mpegts, systemstream=(boolean)true, packetsize=(int)188
video: video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, pixel-aspect-ratio=(fraction)1/1, width=(int)640, height=(int)480, framerate=(fraction)30/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, profile=(string)baseline, level=(string)3
Tags:
video codec: H.264
Codec:
video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, pixel-aspect-ratio=(fraction)1/1, width=(int)640, height=(int)480, framerate=(fraction)30/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, profile=(string)baseline, level=(string)3
Additional info:
None
Stream ID: d373b570d63985f2f90c9655bb22aa695cf476072a2c255d0fd6a9501fa65c1d:1/00000011
Width: 640
Height: 480
Depth: 24
Frame rate: 30/1
Pixel aspect ratio: 1/1
Interlaced: false
Bitrate: 0
Max bitrate: 0
Properties:
Duration: 99:99:99.999999999
Seekable: no
Live: yes
Tags:
video codec: H.264
I want to use gst-lunch-1.0 to display the video, and tried different pipelines, all failed.
gst-launch-1.0 udpsrc port=3001 auto-multicast=true multicast-group="224.100.10.10" ! "application/x-rtp,encoding-name=H264,paylod=96" ! rtph264depay ! avdec_h264 ! autovideosink
gst-launch-1.0 udpsrc port=3001 auto-multicast=true multicast-group="224.100.10.10" ! tsparse ! autovideosink
Anyone can provide a help ? Appreciated.