gstreamer错误:文件格式错误

时间:2016-05-31 09:26:59

标签: video-streaming gstreamer h.264

我希望可视化来自摄像机的h264流,但是使用我发现它的正常管道会出现这个错误:

C:\gstreamer\1.0\x86\bin>gst-launch-1.0.exe udpsrc caps="application/x-rtp, medi
a=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int
)96" port=5002 ! queue2 ! rtph264depay ! decodebin ! autovideosink sync=false
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: Coul
d not decode stream.
Additional debug info:
gstrtph264depay.c(1205): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/G
stRtpH264Depay:rtph264depay0:
Undefined packet type
WARNING: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: Coul
d not decode stream.
Additional debug info:
gstrtph264depay.c(1205): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/G
stRtpH264Depay:rtph264depay0:
Undefined packet type
ERROR: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: The st
ream is in the wrong format.
Additional debug info:
gstrtph264depay.c(1216): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/G
stRtpH264Depay:rtph264depay0:
NAL unit type 26 not supported yet
Execution ended after 0:00:00.048525141
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

rtph264depay可能存在问题,但我想知道问题是在管道中还是在相机输出中......

谢谢你!

0 个答案:

没有答案