Changing Frame Rate

Peter Maersk-Moller pmaersk at gmail.com
Fri Jun 24 07:55:00 UTC 2016


Hi ht Techdev.

Couple of things.
1. num-frames should be num-buffers in your example.
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.



On Fri, Jun 24, 2016 at 5:03 AM, ht techdev <ht.techdev at gmail.com> wrote:

> Hi
>
> 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:
>
>
>
> gst-launch-1.0 videotestsrc is-live=true num-frame=10 !  video/x-raw,
> framerate=\(fraction\)”30/1” ! \ ! x264enc ! filesink location=t.mp4
>
> gst-launch-1.0 videotestsrc is-live=true num-frame=10 !  video/x-raw,
> framerate=\(fraction\)”50/1” ! \ ! x264enc ! filesink –append location=t.mp4
>
> Cheers,
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160624/26ac3e84/attachment.html>


More information about the gstreamer-devel mailing list