It could be possible that you need to send end-of-stream event once pipeline shuts down. <div><br><br><div class="gmail_quote">On Tue, Aug 2, 2011 at 11:20 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;">Hello all,<br>
<br>
I recently upgraded to the OSSBuild version 10.0.7 because I needed to be able to use x264enc on Windows. I have an application I wrote that worked perfectly in 10.0.6, but it is no longer working now. It reads data from a capture card, encodes it, and writes it to a file. The pipeline is essentially as follows:<br>
<br>
----- appsrc max-bytes=0 is-live=true ! "video/x-raw-yuv,format=(<u></u>fourcc)UYVY,width=(int)720,<u></u>height=(int)486,framerate=(<u></u>fraction)30/1" ! ffmpegcolorspace ! ffenc_mpeg4 ! mpeg4videoparse ! queue ! qtmux ! filesink location="Video.mp4"<br>
<br>
When I run this application it runs with no errors, but the video file produced is very very small and will not play. I have also tried with mp4mux and it seems like just the header is getting written to the file. I tried running a pipeline (appsrc ! videoparse ! autovideosink) and the video plays fine, so I know that the video data is getting pushed through the pipeline correctly. I am not sure why the video is not getting written to the file, especially since it worked perfectly with the older version of gstreamer. Is this a known bug with OSSBuild 10.0.7 or is there something that I am missing to make this work correctly. (Also, I am able to stream the video over a network using rtp payloader and udpsink, so I am very confused as to why I can't write it to a file.)<br>
<br>
Thank you all for your help,<br>
William<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div>