Page 1 of 1

Won't play MPEG2-TS video from Android device

Posted: 26 Jul 2013 18:54
by dbrant
Hi all,
I'm developing some Android applications that record (and will also stream) video from the device. I've configured the Android media recorder to output the video with a MPEG2-TS container.

However, the video that is created doesn't seem to be playable in VLC. The video does in fact play correctly in Media Player Classic, but not in any other player, including VLC. I would like it to play correctly in VLC, because eventually I want to stream the content to VLC using the same container format.

What could be going on?

Here's a link to download a sample video: http://dmitrybrant.com/files/video.ts

Re: Won't play MPEG2-TS video from Android device

Posted: 29 Jul 2013 14:03
by Jean-Baptiste Kempf
Probably borken muxer.

Re: Won't play MPEG2-TS video from Android device

Posted: 29 Jul 2013 15:25
by dbrant
You mean the encoder on the Android (device) side isn't doing something properly?

Re: Won't play MPEG2-TS video from Android device

Posted: 29 Jul 2013 15:43
by Jean-Baptiste Kempf
Yes.