Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JPEG over RTP



Kevin Marks busts a move:
> At 12:07 PM -0800 11/8/00, Jim Van Vorst wrote:
> >I selected Photo JPEG, which produced a file with a series of stand-alone
> >JPEGs with restart markers.  I don't use restart markers (though I probably
> >should).  Does QT expect/require them?
> 
> No, but without them a lost packet will lose the whole frame. You are 
> setting the M bit for end of frame right?

Yes.

> If you check the other box (RFC 2035 compatible) it doesn't generate 
> restart markers.

Another snag - my player doesn't export a hinted file.  This is QuickTime 4 
(free version) on a Mac.  QuickTime on my PC and QuickTime 5 preview doesn't 
even have the export option.  Could you possibly send me one?  Or tell me 
which player or magic little utility will generate one?  I was hoping DSS 
would come with a hint-erizer utility...
Am I correct in assuming that hinting a .mov just adds in the RTP headers and 
strips out the tables such that the streaming server can just send the file 
and it doesn't even have to know about RTP?

> >I don't have OS X server running here, which is apparently required for QTSS. 
> >Will something else do this, like the Darwin source?
> 
> I meant QTSS in the generic sense - anything that reads hinted 
> movies, including QTSS, DSS, Entera & Real8

I've got DSS on my Linux machine running and it streams the included hinted 
file to my player, but it's not JPEG.  I notice that DSS comes with a bunch of 
nifty file utilities which spit out the RTP packets and SDP file and other 
cool things.  So supposedly if I get a .mov in the correct format and run it 
though
QTRTPGen, it'll spit the packet stream to a file.  But then again, if I had 
the right file, I could play it to QTPlayer and sniff it.
 
> >
> >I'm skipping all my tables and markers and starting with my scan line data.
> 
> Good.
> 
> >
> >All that's supposedly what I'm doing.  The RTSP negotiation seems to be happy,
> >then I send my JPEG data (starting with the first scan line) using code
> >verbatim from Appendix C of rfc 2435 (but no restart header).  I'll play
> >around with it some more and see if Darwin can play my QTPlayer-generated
> >hinted jpeg movie.
> 
> If you keep having troubles, give me an rtsp URL and I can look at 
> your packets and see why we are rejecting them

I'd have to fight with our sysadmin to open our firewall.  Would a sniffer 
trace of the session do?

Thanks,
Jim


References: 
 >Re: JPEG over RTP (From: Kevin Marks <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.