Hey all,<div><br></div><div>First off, I'm using FFMPEG 2.5 built from source with all features enabled.</div><div><br></div><div>I have a stream of MPEGTS data. I know the properties of stream and I don't really need to use `avformat_find_stream_info( )`. I've noticed this function fails sometimes with `-1` with certain sources and I can't seem to find why. I've messed with most input options and I can get it to fail repeatedly with my custom stream ; most time's it's ok.</div><div><br></div><div>What is the best way to manually set up an MPEGTS demuxer? I know all of the stream properties, etc. I do not need to associate any decoders ; just a demuxer.</div><div><br></div><div>Workflow intended: </div><div>1: open input via avformat_open_input(&options)<br>2: set up stream mapping manually</div><div>3: av_read_frame( )<br>4: switch on type and decode myself.</div><div><br></div><div>Thanks!</div><div><br></div><div>ac</div>