Page 1 of 1

VLC doesn't read MPEG-2 TS

Posted: 02 Jun 2011 19:35
by mIRChele
i have a mvision hd-300 dvb-s2 receiver and i registered some tv programs. The decoder saves in MPEG-2 TS (.ts) format . VLC (win32, 1.1.9) doesn't play these files, but i tried with kmplayer and it works. I have uploaded a little registration here: http://www.zshare.net/download/90923577ab4d897b/

Re: VLC doesn't read MPEG-2 TS

Posted: 02 Jun 2011 20:21
by Rémi Denis-Courmont
I have two DVB-T / DVB-C receivers and VLC plays MPEG2-TS just fine.

There is something fishy about your files, as FFplay fails too.

Re: VLC doesn't read MPEG-2 TS

Posted: 03 Jun 2011 08:38
by Lotesdelere
VLC can't play files without PAT/PMT:

Code: Select all

Format : MPEG-TS Format profile : No PAT/PMT
As a matter of fact it's not a problem to play this kind of files for many other players, such as the open source MPC-HC.

Re: VLC doesn't read MPEG-2 TS

Posted: 03 Jun 2011 09:13
by mIRChele
VLC can't play files without PAT/PMT:

Code: Select all

Format : MPEG-TS Format profile : No PAT/PMT
As a matter of fact it's not a problem to play this kind of files for many other players, such as the open source MPC-HC.
so there's nothing that can be done? i prefer not to have so many different media player on my pc...

Re: VLC doesn't read MPEG-2 TS

Posted: 03 Jun 2011 13:40
by Rémi Denis-Courmont
You need to pass the PMT manually if you want to play TS without built-in PMT; that is the 'ts-extra-pmt' option. Or better get a proper recording tool that does not strip the PMT from records.

Re: VLC doesn't read MPEG-2 TS

Posted: 03 Jun 2011 13:58
by mIRChele
You need to pass the PMT manually if you want to play TS without built-in PMT; that is the 'ts-extra-pmt' option. Or better get a proper recording tool that does not strip the PMT from records.
well i can't change the way the decoder records program and i don't know what is this "pmt" and why it is so important for vlc. I found the "extra pmt" option in preferences, what i have to write in here?

Re: VLC doesn't read MPEG-2 TS

Posted: 03 Jun 2011 14:22
by Rémi Denis-Courmont
A PMT defines a program (that is, a TV channel) in the MPEG-TS stream.

Re: VLC doesn't read MPEG-2 TS

Posted: 03 Jun 2011 17:47
by Lotesdelere
so there's nothing that can be done? i prefer not to have so many different media player on my pc...
The file is also playing fine when VLC is using the FFmpeg demuxer so what you can do is to use the "--demux ffmpeg" parameter (without quotes) when running VLC.
You may want to create a new shortcut with this command line (for Windows but the parameter itself is the same on other OSes):

Code: Select all

"C:\Path\to\VLC.exe" --demux ffmpeg
So you can use the standard regular shortcut for normal use and this shortcut for your recorded files.