Sorry, I was confused. When I looked up the libraries vlc made, I found libps but libts. So I tried to compile ffmpeg --enable-demuxer=mpegts then vlc still did not make libts library. Then I tried to compile ffmpeg --disable-demuxers . vlc still made all demux libaried. I thinks the modules vlc mad...