[Live-devel] Reg. converting mpeg1/2 to mpeg2ts
Raja Jessayen
raja.jessayen at gmail.com
Wed Jan 18 21:56:26 PST 2006
Hi DJ,
As per ISO-IEC 13818-1(section 2.4.3.8), MPEG1 system stream can be carried
over mpeg2 transport. Here it is mentioned that the system stream packet
headers are replaced with
MPEG2 PES packet headers copying all the ISO/IEC11172-1 header field values
to equivalent ISO/IEC 13818-2PES packet header fields.
In our case, the mpeg2t analyzer might expect only mpeg2 stream while
parsing the mpeg2t
Stream which might cause the errors to be thrown up. I hope it does not
actually transcode mpeg1 to mpeg2 stream before forming MPEG2TS and the
actually payload it carries is still MPEG1. Please correct me if I am wrong.
The converted out.ts file when streamed from testMPEG2TransportStreamer, VLC
player is able to play it successfully. Is there any STB (or any other
players) tested successfully with this kind of program.
Thanks,
Raja.
-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Derk-Jan Hartman
Sent: Wednesday, January 18, 2006 8:09 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Reg. converting mpeg1/2 to mpeg2ts
> Hi DJ & Rose,
>
> Thanks for your responses.
> I found that these error are seen when trying to convert mpeg1 files
> to mpeg2ts.
> There are no problems when converting mpeg2 PS to mpeg2ts.
>
> I have attached s sample PrjectX log taken while converting a mpeg1
> file for your kind inspection.
1: The audio is not in the PMT table (minor issue possibly caused by #2)
2: PTS information in the MPEG-TS is completely messed up/missing.
(Project X recreates and resynchronizes the audio PTS)
I believe you cannot simply convert MPEG1 -> MPEG2-TS. it might work by
accident, but MPEG1 is quite different then MPEG2-PS.
DJ
> Please find
> -----Original Message-----
> From: live-devel-bounces at ns.live555.com
> [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Derk-Jan
> Hartman
> Sent: Saturday, January 14, 2006 1:36 AM
> To: LIVE555 Streaming Media - development & use
> Subject: Re: [Live-devel] Reg. converting mpeg1/2 to mpeg2ts
>
> Just out of interest,
>
> Try ProjectX analyzer and put the log from that on your movie online
> or in the mail. It's probably quite easy to identify any issues with
> the TS produced by testMPEG1or2ProgramToTransportStream
>
> DJ
>
> On 13-jan-2006, at 17:14, Raja Jessayen wrote:
>
>> Hi,
>>
>> For a future project requirement need to take standard mpeg1 and
>> mpeg2 files (PS) and convert / stream it as mpeg2 TS.
>> Just want to know that the sample program
>> testMPEG1or2ProgramToTransportStream created .ts file is as per
>> standards.
>> Because when I analyzed the .ts file with mpeg2T analyzer it showed
>> more warnings / errors and parsing got stopped. But it is playable
>> using VLC.
>>
>> 1. In this process Instead of writing into file, could it be possible
>> to directly stream it after conversion on-the-fly. ( Could I follow
>> testMPEG2TransportStreamer for this).
>>
>> 2. How could I unicast the stream to particular IP and port instead
>> of multicast.
>>
>> 3.Heard that most STB's understand raw UDP for streaming MPEG 2T .
>> ( Only few understands RTP streaming). Is there any provision
>> for this available. Also is there any standard available for UDP
>> streaming in this case.
>>
>> 4. I have a live mpeg1/2 program relayed from darwin streaming
>> server.
>> Can I use this as a source, convert it intoMPEG2 TS and stream it
>> using this library. (kind of transcoder).
>>
>>
>> Thanks,
>>
>> Raja.
>> _______________________________________________
>> live-devel mailing list
>> live-devel at lists.live555.com
>> http://lists.live555.com/mailman/listinfo/live-devel
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
> <out_log_1.txt>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list