Bug Report: Unable to Convert H264 Encoded Buffer to MP4 File

Sulthan Sharif via gstreamer-devel <[email protected]> Wed, 4 Oct 2023 19:45:53 +0530
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <CAGkbxuB5YhgToaEYUBtn9kbsTJscsdTnfqyfa1qOa2mKT6tpjQ@mail.gmail.com>
Hi Team,

I have tried to convert the H264 encoded buffer to mp4 file using appsrc
element , i am not able to convert the as file, i have attached the
pipeline for getting the buffer and attached the code snippet :

Pipeline :

gst-launch-1.0 -e v4l2src device="/dev/video0" ! videoconvert ! queue !
x264enc tune=zerolatency ! identity ! fakesink

using identity to get the buffers and stord in bufferlist and the using
below code snippet to try to conver h264 encoded buffer to m04 file.

Code snippet:





ERROR

isbuffered is filled and Buffer size is 70
MP4 converted /n0:00:08.391637077 18811 0x7fcd6c0040f0 FIXME
 default gstutils.c:3981:gst_pad_create_stream_id_internal:<source:src>
Creating random stream-id, consider implementing a deterministic way of
creating a stream-id


Can you please provide solution asasp


Regards,
sulthan