[Live-devel] Problem with Amino set-top box.
Ross Finlayson
finlayson at live555.com
Fri Dec 29 19:55:10 PST 2006
>The inputFilename is a MPEG2 Program Stream file.
There's your problem right there. The code you wrote was for
streaming a MPEG-2 *Transport* Stream file. A Program Stream file is
very different (and you can't stream it to an Amino STB, without
first converting it a Transport Stream).
You must add filters - between your "ByteStreamFileSource" and your
"MPEG2TransportStreamFramer" - that converts from a Program Stream to
a Transport Stream. See the code for the
"testMPEG1or2ProgramToTransportStream" demo application to see how to
do this.
>But I kept getting the error message:
>
>RTCPInstance[0x949e7a0]::RTCPInstance()
>schedule(1.798675->1167432428.065084)
>Beginning to read...
>Missing sync byte!
>Missing sync byte!
>
>The "Missing sync byte!" would repeat itself for quite a few times,
>then exit.
grep "Missing sync byte" liveMedia/*.cpp
Remember, You Have Complete Source Code.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list