[Live-devel] MPEG4
Jeff Shanab
jshanab at smartwire.com
Thu Feb 9 17:15:57 PST 2012
I have an application modeled after the newer async openRTSP code. It pulls from IP cameras via RTSP.
This has been working great for H264 but I am having a bit of trouble with the MPEG4.
In debugging I have found that the problem is I get called with a chuck of data that contains 3 or 4 P-VOP's right after the I-VOP. This ends up having all the same presentation timestamp and messes up playback. As far as I understand it, the source is setup to be the MultiFramedRTPSource by the Session Handling code.
Do I need to insert the MPEG4VideoStreamFramer as a filter to data mine the timestamps from the VOP headers?
The subsession expects to be told who the sink is and has it's own source.
I tried :
... if mpeg4
{
framedSource = MPEG4VideoStreamFramer::createNew(*env_,currentSubsession_->readSource());
...
currentSubsession_->sink->startPlaying(*(framedSource),callbackSubsessionAfterPLAYING, (void*) playHandlerData_);
}
But it just stopped progressing. (Using the MPEG4VideoStreamDescriteFramer made progress but not effect on the timestamps.)
Jeff Shanab, Manager, Software Engineering
D 630.633.4515 | C 630.453.7764 | F 630.633.4815 | jshanab at smartwire.com
[Description: Description: Description: Description: cid:706AA5FB-B29A-4B95-B275-FE31EE559CF0 at hsd1.il.comcast.net.]<http://www.smartwire.com/>
[Description: Description: Description: Description: Description: Description: Description: sig4] <https://twitter.com/#!/WindyCityWire> [Description: Description: Description: Description: Description: Description: Description: sig3] <http://www.youtube.com/user/WindyCityWire> [Description: Description: Description: Description: Description: Description: Description: sig2] <https://www.facebook.com/pages/Windy-City-Wire/270745609656461>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120210/13b8986c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 7675 bytes
Desc: image001.gif
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120210/13b8986c/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1494 bytes
Desc: image002.gif
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120210/13b8986c/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 1470 bytes
Desc: image003.gif
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120210/13b8986c/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 1506 bytes
Desc: image004.gif
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120210/13b8986c/attachment-0007.gif>
More information about the live-devel
mailing list