VLC doesn't read MPEG-2 TS

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
mIRChele
New Cone
New Cone
Posts: 3
Joined: 02 Jun 2011 19:26

VLC doesn't read MPEG-2 TS

Postby mIRChele » 02 Jun 2011 19:35

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/

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC doesn't read MPEG-2 TS

Postby Rémi Denis-Courmont » 02 Jun 2011 20:21

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 10022
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC doesn't read MPEG-2 TS

Postby Lotesdelere » 03 Jun 2011 08:38

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.

mIRChele
New Cone
New Cone
Posts: 3
Joined: 02 Jun 2011 19:26

Re: VLC doesn't read MPEG-2 TS

Postby mIRChele » 03 Jun 2011 09:13

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...

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC doesn't read MPEG-2 TS

Postby Rémi Denis-Courmont » 03 Jun 2011 13:40

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mIRChele
New Cone
New Cone
Posts: 3
Joined: 02 Jun 2011 19:26

Re: VLC doesn't read MPEG-2 TS

Postby mIRChele » 03 Jun 2011 13:58

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC doesn't read MPEG-2 TS

Postby Rémi Denis-Courmont » 03 Jun 2011 14:22

A PMT defines a program (that is, a TV channel) in the MPEG-TS stream.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 10022
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC doesn't read MPEG-2 TS

Postby Lotesdelere » 03 Jun 2011 17:47

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 50 guests