I am trying to get gstreamer for Windows to do things that I have been doing on linux. So far, it seems like nothing works correctly when I am trying to use h264. Here is a pipeline that works just fine on linux which gives errors on Windows.<div>
<br></div><div><div>Doesn&#39;t make sense to me.</div><div><br></div><div>C:\Users\Morris Ford&gt;</div><div>C:\Users\Morris Ford&gt;gst-launch -v videotestsrc ! x264enc ! rtph264pay ! rtph264</div><div>depay ! ffdec_h264 ! autovideosink</div>
<div>Setting pipeline to PAUSED ...</div><div>/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-</div><div>raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fracti</div>
<div>on)30/1</div><div>Pipeline is PREROLLING ...</div><div>/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = video/x-h264, widt</div><div>h=(int)320, height=(int)240, framerate=(fraction)30/1, stream-format=(string)avc</div>
<div><br></div><div>/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw-yuv,</div><div>format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1</div><div>ERROR: from element /GstPipeline:pipeline0/GstX264Enc:x264enc0: Could not encode</div>
<div> stream.</div><div>Additional debug info:</div><div>..\..\..\..\..\Source\gst-plugins-ugly\ext\x264\gstx264enc.c(737): gst_x264_enc_</div><div>header_buf (): /GstPipeline:pipeline0/GstX264Enc:x264enc0:</div><div>Unexpected x264 header.</div>
<div>ERROR: pipeline doesn&#39;t want to preroll.</div><div>Setting pipeline to NULL ...</div><div>/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = NULL</div><div>/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = NULL</div>
<div>/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL</div><div>Freeing pipeline ...</div><div><br></div><div>C:\Users\Morris Ford&gt;</div></div><div><br></div><div>Morris</div>