AnsweredAssumed Answered

Encode problem with imxvpuenc_h264

Question asked by Tu Tran on Jun 3, 2016
Latest reply on Jun 6, 2016 by Tu Tran

Hi all,

 

I use gstreamer plugin on iMX6DL board to capture image from camera, encode to H.264 format and stream it to PC

The pipeline I use is:

gst-launch-1.0 -v imxv4l2src device=/dev/video1 ! video/x-raw, format=I420,width=1920, height=1080 ! imxvpuenc_h264 gop-size=30 bitrate=512 ! h264parse ! rtph264pay name=pay0 pt=96 timestamp-offset=0 ! udpsink host=192.168.2.100 port=5000 &

 

In the client PC, I create SDP file to display the streaming video in VLC, but there is a warning "wait for SPS/PPS" looping in log, I cannot see any video content.

 

Could anyone point out the issue is?

 

I also test by saving to file by the pipeline:

gst-launch-1.0 -v imxv4l2src device=/dev/video1 ! video/x-raw, format=I420,width=1920, height=1080 ! imxvpuenc_h264 gop-size=30 bitrate=512 ! filesink location=/home/root/file.mp4

 

vlc can not render to play the video neither.

 

I just was thinking about the encoding problem of imxvpuenc_h264 problem, or please correct me if there is any incorrect in my pipeline setting.

Outcomes