<div dir="ltr"><div><div>Hi ht Techdev.<br><br></div>Couple of things. <br>1. num-frames should be num-buffers in your example.<br></div>2. Using filesink to save into a file with the extension mp4 does not make it a file using the mp4 containerforat. You need to add a mp4 muxer. What you are saving is a raw h264 stream.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 24, 2016 at 5:03 AM, ht techdev <span dir="ltr"><<a href="mailto:ht.techdev@gmail.com" target="_blank">ht.techdev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal">Hi<u></u><u></u></p><p class="MsoNormal">Is there a way, within gst-launch, to change the frame rate on fly? Failing that is it possible to append to an existing encoded file, using a different rate:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">gst-launch-1.0 videotestsrc is-live=true num-frame=10 !  video/x-raw, framerate=\(fraction\)”30/1” ! \ ! x264enc ! filesink location=t.mp4<u></u><u></u></p><p class="MsoNormal">gst-launch-1.0 videotestsrc is-live=true num-frame=10 !  video/x-raw, framerate=\(fraction\)”50/1” ! \ ! x264enc ! filesink –append location=t.mp4<u></u><u></u></p><p class="MsoNormal">Cheers,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>