Fwd: Fragment duration issue in Audio and video - MP4 recording
Sulthan Amanu via gstreamer-devel <[email protected]>
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CACnfP3UGY=xt55VdWjjxmeQNDvANePR133dUpC9fXc34CHhBfA@mail.gmail.com> |
Any update regarding this? On Thu, Sep 21, 2023, 20:49 Sulthan Amanu <[email protected]> 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: image] >
image.jpeg
(image/jpeg, 25.3 KB) - not displayed