[Live-devel] TS Files and Sound
Derk-Jan Hartman
hartman at videolan.org
Thu Jul 6 17:01:45 PDT 2006
Actually more likely the issue lies here:
main debug: `http://208.131.130.36/zyban_b.ts' successfully opened
ts debug: PATCallBack called
ts debug: new PAT ts_id=1 version=1 current_next=1
ts debug: * number=1 pid=16
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=1 pid_pcr=224
ts debug: * es pid=224 type=1 fcc=mpgv
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=2 pid_pcr=224
ts debug: * es pid=192 type=3 fcc=mpga
ts debug: * es pid=224 type=1 fcc=mpgv
liveMedia sends a PMT with only the video track, and then (when in
the PS it finds another track) sends an updated PMT which contains
all tracks. The amino probably does not support updating of the PMT
table. That's a big bug btw, and you should contact them to get that
fixed.
DJ
On 6-jul-2006, at 18:24, Napoleon Cornejo wrote:
> Thank you, Ross.
>
> I have placed the original mpeg video here:
> http://208.131.130.36/zyban_b.mpg
>
> And the converted to TS using liveMedia is here:
> http://208.131.130.36/zyban_b.ts
>
> My code to convert from mpeg to ts is basically this:
>
> FramedSource* inputSource = ByteStreamFileSource::createNew(*env,
> inputFile);
> MPEG1or2Demux* baseDemultiplexor = MPEG1or2Demux::createNew(*env,
> inputSource);
> MPEG1or2DemuxedElementaryStream* pesSource = baseDemultiplexor-
> >newRawPESStream();
> FramedSource* tsFrames =
> MPEG2TransportStreamFromPESSource::createNew(*env, pesSource);
> MediaSink* outputSink = FileSink::createNew(*env, outputFile);
> outputSink->startPlaying(*tsFrames, afterConverting, NULL);
>
> My code, to stream it over the network is this:
>
> ServerMediaSession* sms = ServerMediaSession::createNew(*env,
> streamName, streamName, descriptionString);
> sms->addSubsession
> (MPEG2TransportFileServerMediaSubsession::createNew(*env,
> inputFileName, False));
> rtspServer->addServerMediaSession(sms);
>
>
>
>
> On 7/6/06, Ross Finlayson < finlayson at live555.com> wrote:
> >Thank you for your fast response. I have analyzed the TS stream
> >produced by the "testMPEG1or2ProgramToTransportStream"
> >program. Apparently, the problem is caused because there is no
> >Audio PID present in the stream.
>
> Please put your original MPEG Program Stream (*not* the Transport
> Stream) file on a web server, and send us the URL, so we can take a
> look at this ourselves.
>
>
> Ross Finlayson
> Live Networks, Inc. (LIVE555.COM)
> < http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
> --
> Napoleon E. Cornejo
> ncornejo at gmail.com
> San Salvador, 2006
> _______________________________________________
> 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