You can try using videoparse before x264enc. And use -v option with gst-launch to get some caps related logs.<div><br></div><div><br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 6:33 PM, William Metcalf <span dir="ltr"><<a href="mailto:wmetcalf@niftytv.com">wmetcalf@niftytv.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have a pipeline I am using to convert an .ogg file to an .mp4. I am currently using ffenc_mpeg4 to encode the video, and this encoder sets the video format as .mp4v. I need my video to be encoded as AVC so I am trying to use x264enc instead. However every time I try to use x264enc, I get the error "failed to encode stream". Below is a sample pipeline I am using in my converter. Can any one tell my why x264enc is failing to encode the stream? Thank you in advance.<br>
<br>
gst-launch filesrc location="c:\\video(low_res).ogg" ! oggdemux ! theoradec ! ffmpegcolorspace ! x264enc ! qtmux ! filesink location="c:\\video(blah).mp4<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div>