splitmuxsink save as mp4 not mkv
keith Thornton
keith.thornton at gmx.de
Fri Oct 29 08:59:56 UTC 2021
Hi,
if you gst-inspect-1.0 splitmuxsink, you will see that the default muxer
is mp4mux .rename your output to video%02d.mp4 or use the muxer
parameter to specify a mkv muxer
Gruesse
Am 28.10.2021 um 19:38 schrieb Dwight Kulkarni via gstreamer-devel:
> Hi Anton,
>
> The pipeline is as follows:
>
> v4l2src device=/dev/video1 ! video/x-raw, width=1920, height=1080,
> framerate=15/1 ! vpuenc_h264 ! h264parse
> ! splitmuxsink name=filesink location=./videos/video%02d.mkv
> max-size-time=10000000000 muxer-properties="properties,streamable=true"
>
> On Thu, Oct 28, 2021 at 1:15 PM Anton Pryima <zingfrid at gmail.com> wrote:
>
> Hello Dwight.
>
> The output format depends on encoder you're using, but not on
> filename or extension. Post all your pipeline, because sink is not
> specifying an format.
>
> Best regards,
> Anton.
>
> On Mon, Oct 25, 2021, 21:38 Dwight Kulkarni via gstreamer-devel
> <gstreamer-devel at lists.freedesktop.org> wrote:
>
> Hi all,
>
> I am using splitmuxsink as follows:
>
> splitmuxsink name=filesink location=video%02d.mkv
> max-size-time-10000000000
> muxer-properties="properties,streamable=true"
>
> This is saving the file as .mkv. I want to save the file as .mp4.
>
> In other examples, they just set the file extension to .mp4,
> there doesn't seem to be a specific place where the video
> format is specified.
>
> If I want to save the file as .mp4, should I just change the
> extension of the filename or do I need to specify the format
> explicitly somewhere ?
>
>
> --
> Sincerely,
>
> Dwight Kulkarni
>
>
>
> --
> Sincerely,
>
> Dwight Kulkarni
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211029/0a0fca90/attachment.htm>
More information about the gstreamer-devel
mailing list