[streaming] Re: pb with MPEG-2 streaming

Damien LUCAS nitrox at videolan.org
Sun Apr 6 12:25:01 CEST 2003


Sébastien CLAUDE wrote:
>> I got some troubles with streaming some MPEG-2 files (mpg
>> extension). Here is the trace, I obtain a read error at the
>> end :
>>
>> Synchronised with PS stream
>> New Pid assigned: 80
>> PMT Add, PID : 0x80 , Type : 0x5
>> Synchronised with PS stream
>> New Pid assigned: 81
>> PMT Add, PID : 0x81 , Type : 0x5
>> New Pid assigned: 82
>> PMT Add, PID : 0x82 , Type : 0x5
>> New Pid assigned: 83
>> Video: 0x83 , 131
>> PMT Add, PID : 0x83 , Type : 0x2
>> updating PCR_PID to value 131 (current pid = 0)
>> New Pid assigned: 84
>> Audio: 0x84 , 132
>> PMT Add, PID : 0x84 , Type : 0x4
>> New Pid assigned: 85
>> PMT Add, PID : 0x85 , Type : 0x5
>> 2003-03-31 09:37:41 [ERROR/local1]  Read error for program
>> "blancheneige"
>>
>> It occurs with several other files. What happens?
>> NB: This problem doesn't occur with trp files renamed in
>> mpg. There is also no PMT add in this case.



Hello,

1. About the PMT add
--------------------

.mpg files are usually MPEG-1 files (sometimes MPEG-2). But they are
      always stored in a PS format so you need to construct PAT and PMT
      when streaming in TS format (That is why you got this 'PMT Add'
      Message). This is done by the ps2ts converter.

.trp files are MPEG-2 TS files. They contained a PAT and PMT. You don't
      need to reconstruct them (so you don't have 'PMT Add' message) in
      ts2ts converter.


2. About the looping feature
----------------------------
The looping feature is known to have a bug with PS files (and
particulary with MPEG-1 files). What you can do is convert your PS file
in a TS file (use fileoutput in vls) and stream the TS file with the
loop option. Or you may wait for the next release :-) ... it should be fixed


Regards,


-- 
nitrox

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list