<div>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.</div>
<div><br></div>On 0.10 this works fine:<div><br><div><div>gst-launch-0.10 --gst-debug-level=2 \</div><div> flvmux name=mflv1 ! filesink location="high.flv" \</div><div> filesrc location="romantica.ts" ! tsdemux name=d \</div>
<div> d. ! queue ! mad ! tee name=audstr \</div><div> d. ! queue ! ffdec_h264 ! tee name=vidstr \</div><div> audstr. ! queue ! audioconvert ! ffenc_aac bitrate=128000 ! tee name=aud128 \</div><div> vidstr. ! queue ! videoscale ! video/x-raw-yuv, width=640, height=360 ! x264enc byte-stream=true bitrate=1024 speed-preset=superfast ! tee name=vid1024 \</div>
<div> vid1024. ! queue ! h264parse ! mflv1. \</div><div> aud128. ! queue ! aacparse ! mflv1. </div></div></div><div><br></div><div><br></div><div>Switching from ffdec to avdec and a bit different caps for 1.0</div><div>
<div>gst-launch-1.0 --gst-debug-level=3 \</div><div> flvmux name=mflv1 ! filesink location="high.flv" \</div><div> filesrc location="romantica.ts" ! tsdemux name=d \</div><div> d. ! queue ! mad ! tee name=audstr \</div>
<div> d. ! queue ! avdec_h264 ! tee name=vidstr \</div><div> audstr. ! queue ! audioconvert ! avenc_aac bitrate=128000 ! tee name=aud128 \</div><div> vidstr. ! queue ! videoscale ! video/x-raw,format=YV12, width=640, height=360 ! x264enc byte-stream=true bitrate=1024 speed-preset=superfast ! tee name=vid1024 \</div>
<div> vid1024. ! queue ! h264parse ! mflv1. \</div><div> aud128. ! queue ! aacparse ! mflv1.</div></div><div><br></div><div><br></div><div><div><div>0:00:00.037175202 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue0:src> pad has no peer</div>
<div>0:00:00.037271975 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue0:sink> pad has no peer</div><div>0:00:00.037325604 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue0:sink> pad has no peer</div>
<div>0:00:00.037406149 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue1:src> pad has no peer</div><div>0:00:00.037451318 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue1:sink> pad has no peer</div>
<div>0:00:00.037487569 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue1:sink> pad has no peer</div><div>0:00:00.037563089 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue2:src> pad has no peer</div>
<div>0:00:00.037660254 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue2:src> pad has no peer</div><div>0:00:00.037709868 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<audioconvert0:src> pad has no peer</div>
<div>0:00:00.037821469 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<audioconvert0:src> pad has no peer</div><div>0:00:00.038201627 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue3:src> pad has no peer</div>
<div>0:00:00.038276133 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue3:src> pad has no peer</div><div>0:00:00.038335529 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<videoscale0:src> pad has no peer</div>
<div>0:00:00.038609869 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<videoscale0:src> pad has no peer</div><div>0:00:00.039271772 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<capsfilter0:src> pad has no peer</div>
<div>0:00:00.039915460 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue4:src> pad has no peer</div><div>0:00:00.039990688 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue4:src> pad has no peer</div>
<div>0:00:00.040159459 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue5:src> pad has no peer</div><div>0:00:00.040228617 9098 0x1ef8d00 WARN GST_PADS gstpad.c:3570:gst_pad_peer_query:<queue5:src> pad has no peer</div>
<div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>0:00:00.042705495 9098 0x1ee9a30 WARN mpegtsbase mpegtsbase.c:548:mpegts_base_program_add_stream: Stream already present !</div>
<div>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</div><div>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</div>
<div>0:00:00.043809893 9098 0x1ee9a30 WARN mpegtsbase mpegtsbase.c:1639:mpegts_base_loop:<d> error: Internal data stream error.</div><div>0:00:00.043849775 9098 0x1ee9a30 WARN mpegtsbase mpegtsbase.c:1639:mpegts_base_loop:<d> error: stream stopped, reason not-negotiated</div>
<div>ERROR: from element /GstPipeline:pipeline0/GstTSDemux:d: Internal data stream error.</div><div>Additional debug info:</div><div>mpegtsbase.c(1639): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:d:</div><div>
stream stopped, reason not-negotiated</div><div>ERROR: pipeline doesn't want to preroll.</div><div>Setting pipeline to NULL ...</div><div>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</div>
<div>Freeing pipeline ...</div></div></div><div><br></div><div><br></div><div><br></div><div>Sergej</div>