The source preview has really nothing to do with
smooth playback.
The preview is a "get a frame, show a frame",
with
no timing information at all.
The playback is based on timestamps; most likely,
the timestamps that you are passing are not
correct, or are inconsistent (that's why we
want you to use the v4l2 interface; the frames
are timestamped upon capture).
I would start with there; making sure that
the timestamps are consistent.
You can add a debug_message in
CVideoEncoder::ProcessVidoeYUVFrame.
Bill
Jon Dufresne wrote:
> Hi,
>
> I am developing a new video source for a custom piece
of hardware (non
> v4l) that I want to use within the mp4live framework.
>
> I have it mostly working, except when I finally view it
the playback is
> a little slow and choppy.
>
> Now if I use the "preview source"
functionality of the mp4live gui I see
> a nice smooth video. Does this mean that my video
source is working
> properly and perhaps it is the encoding library? Or
does this the
> preview source not offer a robust test in fixing this?
>
> I'm just not quite sure where to start debugging this
because it looks
> to me that my source is working fine, but the end
result isn't good.
>
> Thanks,
> Jon
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Mpeg4ip-discussion mailing list
> Mpeg4ip-discussion lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mpeg
4ip-discussion
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Mpeg4ip-discussion mailing list
Mpeg4ip-discussion lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mpeg
4ip-discussion
|