[Bug 758160] splitmuxsink with mpegtsmux, curlftpsink generates only the first fragment and pipeline exits with a timeout error.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jan 19 04:23:25 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=758160
--- Comment #9 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
(In reply to Randeep from comment #8)
> (In reply to Jan Schmidt from comment #7)
> > (In reply to Randeep from comment #6)
> > > Hi,
> > >
> > > I'm able to interleave audio and video using splitmuxsink for avimux. But
> > > this is not happening for mpegtsmux. For mpegtsmux I'm getting negotiation
> > > error.
> > > Pipeline which i used for avimux is given below,
> > >
> > > gst-launch-1.0 videotestsrc do-timestamp=true num-buffers=300 !
> > > 'video/x-raw,width=720,height=480,format=NV12,framerate=30/1' ! splitmuxsink
> > > name=mux location= <Output_File.avi> muxer=avimux filesrc location=
> > > ./audio.wav ! wavparse ! teaacenc ! mux.audio_0
> > >
> > > Can anyone please provide the pipeline to interleave audio and video using
> > > splitmuxsink using mpegtsmux ?
> >
> > If you look at the gst-inspect output for mpegtsmux, you'll see that it
> > doesn't support muxing raw video frames. Input has to be H.264, MPEG-2 or
> > Dirac video.
>
> The example pipeline was for avimux, for mpegtsmux i used the below pipeline
> with encoded video as input. But still i'm not able to connect the audio to
> the right pad of mpegtsmux. mpegtsmux expects audio in sink_%d and
> splitmuxsink expects audio in audio_%0, will this be a problem ?
> can you please check the pipeline i used for splitmuxsink for mpegtsmux and
> correct me if i'm wrong somewhere.
>
> gst-launch-1.0 filesrc location= ./Drive_safe.mp4.h264 ! h264parse !
> splitmuxsink name=mux location=Output_File.ts muxer=mpegtsmux filesrc
> location= ./audio.wav ! wavparse ! teaacenc ! mux.audio_0
>
> My final goal is to interleave both audio and video using splitmuxsink for
> mpegtsmux. For 'avimux' i was able to interleave the same.
You just request audio_%u for splitmuxsink and it will request a sink_%d from
mpegtsmux. It works here with a simple example:
gst-launch-1.0 videotestsrc num-buffers=10000 ! x264enc ! splitmuxsink
muxer=mpegtsmux location=test%03d.ts max-size-time=2000000000
This seems unrelated to this bug, please open a separate one if you still have
problems.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list