[Live-devel] use livemedia transport mpeg4streame problem
杨志祥
yangzx at acejet.com.cn
Thu Nov 25 23:22:34 PST 2010
thanks.if use the encode to file,the file use "testondemandrtpserver" tansport,VLC player is GOOD.(use i frame and p frame).
i have two question:
1、i look devicesource exsample,it say if use livesource,then "fDurationInMicroseconds" is no set.yes? if no,how to set it?
2、whatever livemeida receive is I frame and P frame,my owndevicesource deliverFrame use same gettimeofday(&fPresentationTime,NULL),i dont know it's right and error?
________________________________
From: live-devel-bounces at ns.live555.com 代表 Ross Finlayson
Sent: 2010-11-25 (星期四) 23:23
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] use livemedia transport mpeg4streame problem
> I use livemeida transport xvid mpeg4 video,i implement own
>mpeg4serverseesion class and owen devicesource class.I find I set
>xvid codec only use I frame,then use vlc play is good.but, if i set
>xvid codec use I frame and p frame(not use B frame) encodec,then use
>vlc player is abnormal.vlc only display I frame video is good,p
>frame is abnormal. why? (note:i frame and p frame i use same
>gettimeday() code).
Unfortunately I can't help you with your custom code. However, I
suggest that you first try using the supplied demo applications
"testMPEG4VideoStreamer" and/or "testOnDemandRTSPServer" to stream a
MPEG-4 Elementary Stream Video (i.e., ".m4e") file, made from your
encoder. If these applications cannot properly stream your file,
then please send us a link to the file, so we can download it and
test it for ourself.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
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