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

Zhang.Ping dqzhangp at 163.com
Wed Nov 5 03:50:38 PST 2014


Hi, all

log msg as follow:

gst-launch-1.0 -v audiotestsrc ! voaacenc ! mpegtsmux ! fakesink --gst-debug=mpegtsmux:7,voaacenc:7
0:00:00.026643052 34454      0x1790380 DEBUG               voaacenc gstvoaacenc.c:290:gst_voaacenc_generate_sink_caps: generated sink caps: audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)1; audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)2, channel-mask=(bitmask)0x0000000000000003
Setting pipeline to PAUSED ...
0:00:00.027446020 34454      0x1790380 DEBUG               voaacenc gstvoaacenc.c:188:gst_voaacenc_start:<voaacenc0> start
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)1"
/GstPipeline:pipeline0/GstVoAacEnc:voaacenc0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)1"
0:00:00.029185327 34454      0x179af70 DEBUG               voaacenc gstvoaacenc.c:321:gst_voaacenc_negotiate:<voaacenc0> allowed caps: audio/mpeg, mpegversion=(int)4, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)[ 1, 2 ], stream-format=(string){ adts, raw }, base-profile=(string)lc, framed=(boolean)true
0:00:00.029474367 34454      0x179af70 LOG                 voaacenc gstvoaacenc.c:494:gst_voaacenc_handle_frame:<voaacenc0> encoded to 371 bytes
/GstPipeline:pipeline0/GstVoAacEnc:voaacenc0.GstPad:src: caps = "audio/mpeg\,\ mpegversion\=\(int\)4\,\ channels\=\(int\)1\,\ rate\=\(int\)44100\,\ stream-format\=\(string\)raw\,\ level\=\(string\)2\,\ base-profile\=\(string\)lc\,\ profile\=\(string\)lc\,\ codec_data\=\(buffer\)1208"
0:00:00.029888797 34454      0x179af70 DEBUG               voaacenc gstvoaacenc.c:452:gst_voaacenc_handle_frame:<voaacenc0> no data
ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0: Internal data flow error.
0:00:00.030005637 34454      0x179af70 DEBUG              mpegtsmux mpegtsmux.c:1098:mpegtsmux_collected_buffer:<mpegtsmux0> Pads collected
Additional debug info:
gstbasesrc.c(2932): gst_base_src_loop (): /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.030095660 34454      0x179af70 DEBUG              mpegtsmux mpegtsmux.c:726:mpegtsmux_create_stream:<mpegtsmux0:sink_65> Sink pad caps were not set before pushing
0:00:00.030199715 34454      0x179af70 WARN               mpegtsmux mpegtsmux.c:798:mpegtsmux_create_streams:<mpegtsmux0> error: Could not create handler for stream
/GstPipeline:pipeline0/GstVoAacEnc:voaacenc0.GstPad:src: caps = "NULL"
0:00:00.030438731 34454      0x1790380 DEBUG               voaacenc gstvoaacenc.c:204:gst_voaacenc_stop:<voaacenc0> stop
/GstPipeline:pipeline0/GstVoAacEnc:voaacenc0.GstPad:sink: caps = "NULL"
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = "NULL"
Freeing pipeline ...
0:00:00.031142592 34454      0x1790380 DEBUG              mpegtsmux mpegtsmux.c:1312:mpegtsmux_release_pad:<mpegtsmux0> Pad <mpegtsmux0:sink_65> being released

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141105/0329c49d/attachment.html>


More information about the gstreamer-devel mailing list