gst-launch-1.0 -v audiotestsrc ! voaacenc ! mpegtsmux ! fakesink not-negotiated (-4)

Sebastian Dröge sebastian at centricular.com
Wed Nov 5 04:58:09 PST 2014


On Mi, 2014-11-05 at 19:50 +0800, Zhang.Ping wrote:
> Hi, all
> 
> log msg as follow:
> 
> gst-launch-1.0 -v audiotestsrc ! voaacenc ! mpegtsmux ! fakesink --gst-debug=mpegtsmux:7,voaacenc:7

gst-launch-1.0 -v audiotestsrc ! voaacenc ! aacparse ! mpegtsmux ! fakesink
                                              ^
see here --------------------------------------

You need a parser to convert the voaacenc output to the stream format
that mpegtsmux requires. From the complete debug logs you would see that
something there complains about incompatible caps.

Always add parsers after encoders and before muxers, unless there is no
parser.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141105/94ee8bc2/attachment.sig>


More information about the gstreamer-devel mailing list