[Live-devel] New LIVE555 version, now supports 'trick play' on H.264 Transport Stream files
Christophe Lemoine
christophe at lemoine-fr.com
Tue Jan 18 07:50:31 PST 2011
Hi,
I finally managed to encode my H264 videos for streaming (but it is not
a very good solution as I need to have a CBR TS file, with about 40%
NULL packets.....)
Tried the new index file: it works perfectly. Thanks a lot Ross for this
!!!!
Just one small detail: when I seek, the stream seems to be stopped
immediately, and then the player start to buffer the new frames. During
that time, the video is of course frozen, and display is a little
"broken" with some artifacts. Would it be possible to pause the stream
at the end of a frame ?
Thanks
Christophe
Global Tech Management SARL
360 route de Navilly
74930 Pers-Jussy France
t: +41 79 212 91 81
e: christophe at lemoine-fr.com <mailto:christophe at lemoine-fr.com>
On 01/06/2011 05:00 PM, Ross Finlayson wrote:
>> We had a similar problem with MPEG2 files that are hardware
>> encoded with a Hauppauge PVR-150 card (CBR file). The PCR
>> timestamps increase regularly but infrequently.
>>
>> I fully understand that the liveMedia code should not be modified
>> but in case it's helpful to anyone, our workaround was to change
>> MPEG2TransportStreamFramer.cpp so that:
>>
>> #define NEW_DURATION_WEIGHT 0.05
>>
>> also due to the size of the jitter buffer on the receiver we have:
>>
>> #define MAX_PLAYOUT_BUFFER_DURATION 0.25
>
> Yes, setting values for those 4 parameters in
> "MPEG2TransportStreamFramer.cpp" is, unfortunately, somewhat of a
> 'black art'; it's going to be hard - if not impossible - to find
> values that will work well for everybody.
>
> Note, though, that each of these definitions is enclosed by
>
> #if !defined( ... )
> #endif
>
> So it's possible to change these values without changing the file
> "MPEG2TransportStreamFramer.cpp" itself. (E.g., you could define your
> new values on the command line when you compile the file.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110118/8e43fd0e/attachment.html>
More information about the live-devel
mailing list