mp4 generation with both video and audio fails

manickam palaniappan manickam79 at yahoo.com
Wed Mar 12 17:15:24 PDT 2014


I followed your cmd and it is not helping. Could you pls check hwat is wrong. the rtsp url would be accessible to you too. And the audio is aac:

gst-launch-1.0 mp4mux name=mux ! filesink location=a.mp4 rtspsrc location=rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov name=src src. ! queue ! rtph264depay ! h264parse ! mux.video_0 src. ! queue ! rtpmp4adepay ! aacparse ! mux.audio_0

manickam at manickam-Aspire-5738:~$ ffprobe rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
avprobe version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers
  built on Feb  6 2014 20:56:59 with gcc 4.6.3
[rtsp @ 0x169d980] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov':
  Metadata:
    title           : BigBuckBunny_115k.mov
  Duration: 00:09:56.48, start: 0.000000, bitrate: N/A
    Stream #0.0: Audio: aac, 12000 Hz, stereo, s16
    Stream #0.1: Video: h264 (Constrained Baseline), yuv420p, 240x160, 24 fps, 1k tbr, 90k tbn, 48 tbc








On Thursday, March 13, 2014 3:50 AM, manickam palaniappan <manickam79 at yahoo.com> wrote:
 
Pls help: I tried the following:

gst-launch-1.0 rtspsrc location=rtsp://184.72.239.149/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.

Thanks,
Manickam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140312/e8f0e867/attachment-0001.html>


More information about the gstreamer-devel mailing list