我是gstreamer的新手,正在尝试使用VLC媒体播放器上的gstreamer工具播放mp4文件。你们能告诉我这里可能有什么问题
服务器代码:
gst-launch-1.0.exe -v filesrc位置= sample_mp4.mp4! h264parse!视频/ x-h264! rtph264pay! udpsink host = 127.0.0.1 port = 5010
客户代码:
gst-launch-1.0.exe -v udpsrc port = 5010! application / x-rtp,media =(string)video,payload =(int)96,clock-rate =(int)90000,encoding-name = {string)H264! rtph264depay!自动视频接收器
VLC SDP文件:
v = 0 m =视频 5010 RTP / AVP 96 c = IN IP4 127.0.0.1 a = rtpmap:96 H264-ES / 90000
服务器端的输出:
将管道设置为PAUSED ... 管道正在预卷... /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src:caps = video / x-h264,parsed =(boolean)true,stream-format =(string)avc,alignment =(string)au /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src:caps = video / x-h264,parsed =(boolean)true,stream-format =(string)avc,alignment =(string)au /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink:caps = video / x-h264,parsed =(boolean)true,stream-format =(string)avc,alignment =(string)au /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink:caps = video / x-h264,parsed =(boolean)true,stream-format =(string)avc,alignment =(string)au /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src:caps = application / x-rtp,media =(string)video,payload =(int)96,clock-rate =(int)90000,encoding-name = {string )H264,ssrc =(uint)316477758,timestamp-offset =(uint)4247400026,seqnum-offset =(uint)24506 /GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink:caps = application / x-rtp,media =(string)video,payload =(int)96,clock-rate =(int)90000,encoding-name = {string )H264,ssrc =(uint)316477758,timestamp-offset =(uint)4247400026,seqnum-offset =(uint)24506 / GstPipeline:pipeline0 / GstRtpH264Pay:rtph264pay0:时间戳= 4247400026 / GstPipeline:pipeline0 / GstRtpH264Pay:rtph264pay0:seqnum = 24506 管道已预磨... 将管道设置为PLAYING ... 新时钟:GstSystemClock
客户端的输出:
将管道设置为PAUSED ... 管道是活动的,不需要PREROLL ... 将管道设置为PLAYING ... 新时钟:GstSystemClock /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src:caps = application / x-rtp,media =(string)video,payload =(int)96,clock-rate =(int)90000,encoding-name =(string H264 /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src:caps = video / x-h264,stream-format =(string)byte-stream,alignment =(string)nal /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink:caps = application / x-rtp,media =(string)video,payload =(int)96,clock-rate =(int)90000,encoding-name = {string )H264
运行VLC文件时的输出:
VLC无法识别输入的格式: 无法检测到'file:/// C:/Users/gayatri_t/Desktop/vlc_video.sdp'的格式。查看日志以了解详细信息。