title: VLC MPTS streaming
body: <p>I'm trying to stream MPEG-TS using VLC as UDP Multicast. I have a recorded file with several programs. I need receive each program on my output as single program TS. </p>
  
  <p>I do it with console interface in ubuntu 14.04 and I have a problem. I cannot get on my output any program except the first one.</p>
  
  <pre><code>cvlc MyMPTS.ts --sout '#duplicate{dst=udp{mux=ts,dst=239.233.1.1:5510},select="program=1"}' -
  </code></pre>
  
  <p>this command works well, but if I try adding another program to chain or I change my program number to another I got a following output:</p>
  
  <pre><code>[0x7ff748c93c38] main decoder error: cannot create packetizer output (mpga)
  [0x7ff748c8c168] main decoder error: cannot create packetizer output (mpgv)
  </code></pre>
  
  <p>And there is nothing on output</p>
  
  <p>If I stream using GUI it works well. I can select any program in my MPTS and get it on output, I can launch several windows of VLC and setup streaming with different programs as well. But GUI doesn't work in my case.</p>
  
  <p>Why vlc cannot work with programs except the first defined from source file</p>