TsWriter might not detect that the stream is still encrypted. Check the TsReader log. If it is full of PES 0-0-1 errors then the stream is encrypted; otherwise it could be interesting to see log files.Although it is strange that tvserver can tune and open the stream