video file as a source and live stream on rtsp out getting corruption


My team refer this code from the below link:

I provided the video file (1920x1080) as a input which is recommended as per code (in sample/stream folder) . While running the code i am getting this error
Error: gst-stream-error-quark: Internal data stream error. (1): gstbaseparse.c(3611): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH264Parse:h264-parser:
streaming stopped, reason not-negotiated (-4)

I also tried with 1280x720 and 1280x960 resolution video and its showing corrupted video at rtsp out.

Please Look towards my issue.

And I also want to modify this code and include detector and tracker in it (with input video 1280x960). Please provide the code for the same.

Issue got resolved

by changing the bitrate parameter at input side.

Glad to know you resolved your issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.