[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-developer
Subject:    Re: [Mjpeg-developer] mplex library segfault
From:       "Ronald S. Bultje" <rbultje () ronald ! bitfreak ! net>
Date:       2006-06-26 20:01:21
Message-ID: Pine.LNX.4.56.0606262156360.21404 () www ! ithos ! nl
[Download RAW message or body]

Hey,

On Sun, 25 Jun 2006, Mark Nauwelaerts wrote:
> When trying to use mplex as a library (in gstreamer 0.10 plugin), I ran into
> some segfaults.
[..]

I you're going to do something like this, you should understand mjpegtools
and gstreamer first. The problem is unaligned (ptr&16!=0) memory access in
the pointer as provided by GStreamer. The solution is to turn off
optimizations, copy data or write allocation functons for GStreamer to
provide 16-byte aligned pointers.

However, in the end, it won't get you anywhere. Mplex and mpeg2enc cannot
sync on non-linear timestamps, which is what GStreamer provides (in the
buf->time field). Therefore, the resulting file will practically always be
out of sync.

Ronald

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mjpeg-developer mailing list
Mjpeg-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic