Fragment duration issue in Audio and video - MP4 recording
Nicolas Dufresne
nicolas at ndufresne.ca
Tue Sep 26 23:41:04 UTC 2023
Hi,
Le mardi 26 septembre 2023 à 12:43 +0530, Sulthan Amanu a écrit :
> Hi Team,
>
> Please provide a update for my query , I had waiting to long time.
Please consider that all the help provided over the mailing list is provided on
voluntary basis with no pay or reward. Asking over and over will be considered
rude and will likely cause you thread to be ignored.
regards,
Nicolas
p.s. fragement mp4 have dedicated elements (for the various standards) that are
part of gst-plugins-rs. A split element, like splitmuxsink should be used.
>
> Regards,
> Sulthan
>
> On Mon, 25 Sept 2023 at 12:49, Sulthan Amanu <sulthan4380 at gmail.com> wrote:
> > Hi Team,
> >
> > Can you please provide a solution to my query?
> >
> > Regards,
> > Sulthan Amanu
> >
> > On Sat, 23 Sept 2023 at 18:04, Sulthan Amanu <sulthan4380 at gmail.com> wrote:
> > > Any update regarding on this?
> > >
> > > On Thu, Sep 21, 2023, 20:49 Sulthan Amanu <sulthan4380 at gmail.com> wrote:
> > > > Hi Team,
> > > >
> > > > I have successfully created a pipeline for recording audio and video
> > > > buffers into an MP4 file for IP Camera. Below, you'll find the pipeline
> > > > for your reference:
> > > >
> > > > Pipeline
> > > >
> > > > gst-launch-1.0 -e rtspsrc location=rtsp://192.168.0.10/cam0_0 latency-
> > > > time=0 ! rtph264depay ! avdec_h264 ! videoconvert ! queue ! x264enc
> > > > tune=zerolatency ! mux_av. rtspsrc location=rtsp://192.168.0.10/cam0_0
> > > > latency-time=0 ! rtppcmudepay ! mulawdec ! audioconvert ! audioresample
> > > > ! avenc_aac ! mp4mux name=mux_av fragment-duration=2000 ! queue !
> > > > filesink location=file.mp4
> > > >
> > > > I did encounter an issue after muxing both audio and video. The
> > > > fragmented `moof` data did not get created properly. I recorded the
> > > > video for 10 seconds with 2-second fragments, but instead of generating
> > > > 5 `moof` data fragments, it created more than 9 `moov` data fragments.
> > > > Can you please provide a solution for my issue.
> > > >
> > > > image
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230927/82d2a4e4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpeg
Type: image/jpeg
Size: 25862 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230927/82d2a4e4/attachment-0001.jpeg>
More information about the gstreamer-devel
mailing list