unable to get graph from 0.10 to work on 1.0

Rapsey rapsey at gmail.com
Tue Sep 25 22:26:49 PDT 2012


I'm trying to transcode from .ts to .flv. I have tee elements in there
because this is a slimmed down version of the graph I actually use and I
need those there. Strangely the graph does not work on 0.10 or 1.0 without
the tee elements.

On 0.10 this works fine:

gst-launch-0.10 --gst-debug-level=2 \
 flvmux name=mflv1 ! filesink location="high.flv" \
 filesrc location="romantica.ts" ! tsdemux name=d \
  d. ! queue ! mad ! tee name=audstr \
  d. ! queue ! ffdec_h264 !  tee name=vidstr \
  audstr. ! queue ! audioconvert ! ffenc_aac bitrate=128000 ! tee
name=aud128 \
  vidstr. ! queue ! videoscale ! video/x-raw-yuv, width=640, height=360 !
x264enc byte-stream=true bitrate=1024  speed-preset=superfast ! tee
name=vid1024 \
  vid1024. ! queue ! h264parse ! mflv1. \
  aud128. ! queue ! aacparse !  mflv1.


Switching from ffdec to avdec and a bit different caps for 1.0
gst-launch-1.0 --gst-debug-level=3 \
 flvmux name=mflv1 ! filesink location="high.flv" \
 filesrc location="romantica.ts" ! tsdemux name=d \
  d. ! queue ! mad ! tee name=audstr \
  d. ! queue ! avdec_h264 !  tee name=vidstr \
  audstr. ! queue  ! audioconvert ! avenc_aac bitrate=128000 ! tee
name=aud128 \
  vidstr. ! queue !  videoscale ! video/x-raw,format=YV12, width=640,
height=360 ! x264enc byte-stream=true bitrate=1024  speed-preset=superfast
! tee name=vid1024 \
  vid1024. ! queue ! h264parse ! mflv1. \
  aud128. ! queue ! aacparse !  mflv1.


0:00:00.037175202  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue0:src> pad has no peer
0:00:00.037271975  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue0:sink> pad has no peer
0:00:00.037325604  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue0:sink> pad has no peer
0:00:00.037406149  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue1:src> pad has no peer
0:00:00.037451318  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue1:sink> pad has no peer
0:00:00.037487569  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue1:sink> pad has no peer
0:00:00.037563089  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue2:src> pad has no peer
0:00:00.037660254  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue2:src> pad has no peer
0:00:00.037709868  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<audioconvert0:src> pad has no peer
0:00:00.037821469  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<audioconvert0:src> pad has no peer
0:00:00.038201627  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue3:src> pad has no peer
0:00:00.038276133  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue3:src> pad has no peer
0:00:00.038335529  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<videoscale0:src> pad has no peer
0:00:00.038609869  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<videoscale0:src> pad has no peer
0:00:00.039271772  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<capsfilter0:src> pad has no peer
0:00:00.039915460  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue4:src> pad has no peer
0:00:00.039990688  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue4:src> pad has no peer
0:00:00.040159459  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue5:src> pad has no peer
0:00:00.040228617  9098      0x1ef8d00 WARN                GST_PADS
gstpad.c:3570:gst_pad_peer_query:<queue5:src> pad has no peer
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.042705495  9098      0x1ee9a30 WARN              mpegtsbase
mpegtsbase.c:548:mpegts_base_program_add_stream: Stream already present !
0:00:00.042790523  9098      0x1ee9a30 WARN                 tsdemux
tsdemux.c:1318:gst_ts_demux_queue_data: Didn't get the first packet of this
PES
0:00:00.042835255  9098      0x1ee9a30 WARN                 tsdemux
tsdemux.c:1318:gst_ts_demux_queue_data: Didn't get the first packet of this
PES
0:00:00.043809893  9098      0x1ee9a30 WARN              mpegtsbase
mpegtsbase.c:1639:mpegts_base_loop:<d> error: Internal data stream error.
0:00:00.043849775  9098      0x1ee9a30 WARN              mpegtsbase
mpegtsbase.c:1639:mpegts_base_loop:<d> error: stream stopped, reason
not-negotiated
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:d: Internal data
stream error.
Additional debug info:
mpegtsbase.c(1639): mpegts_base_loop ():
/GstPipeline:pipeline0/GstTSDemux:d:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.044225183  9098      0x1efe800 WARN               baseparse
gstbaseparse.c:1061:gst_base_parse_sink_default:<aacparse0> error: No valid
frames found before end of stream
Freeing pipeline ...



Sergej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120926/a1201441/attachment-0001.html>


More information about the gstreamer-devel mailing list