Re: mp4 generation with both video and audio fails
On Wed, 2014-03-12 at 15:20 -0700, manickam palaniappan wrote:
> gst-launch-1.0 rtspsrc
> location=rtsp://188.8.131.52/vod/mp4:BigBuckBunny_115k.mov !
> decodebin name=dm mp4mux name=mux ! filesink location=f.mp4 dm. !
> x264enc ! mux. dm. ! faac ! mux.
> File resides at 0 bytes all the time. If I remove the audio
> component, it starts working.
> And if somebody could provide the rtpdepay based cmdline instead of
> decodebin, it would be helpful.
This assumes the rtsp stream contains H264 and AAC. If that fails, try
adding an aacparse element after rtpmp4depay and an h264parse element
after rtph264depay as well (to add some extra fields on the output caps
that mp4mux might want).