splitmuxsink save as mp4 not mkv
Dwight Kulkarni
dwight at realtime-7.com
Thu Oct 28 17:38:04 UTC 2021
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/20211028/2cf7cf40/attachment.htm>
More information about the gstreamer-devel
mailing list