<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user">
    <title>gmane.comp.video.mjpeg.user</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11319"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11318"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11317"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11316"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11315"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11314"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11313"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11312"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11311"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11310"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11309"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11308"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11307"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11306"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11305"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11304"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11303"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11300"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11299"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11298"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11319">
    <title>latest windows version broke?</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11319</link>
    <description>&lt;pre&gt;


Hi,

I downloaded mjpegtools-2.0.0ext-mingw-bin.tar.bz2.
MD5 and SHA1 are correct, but extraction fails:

My output:
prompt$ bunzip2 mjpegtools-2.0.0ext-mingw-bin.tar.bz2
prompt$ tar xvf mjpegtools-2.0.0ext-mingw-bin.tar
bin/
bin/anytovcd.sh
bin/jpeg2yuv.exe
tar: Skipping to next header
tar: A lone zero block at 2375
tar: Exiting with failure status due to previous errors

Can anyone upload a non-broken version?

kind regards,

Kris.
       
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Kris Hermans</dc:creator>
    <dc:date>2012-04-30T19:40:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11318">
    <title>Re: MJPEG Transcoding - commercial products</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11318</link>
    <description>&lt;pre&gt;Good afternoon Jim,

Sorry, I haven't been in this "business" for &amp;gt; 5 years - at that time, 
MJPEG was hardly standardized; nowadays, it seems like there are various 
standards?

What do you mean by stream-stream transcoding - unchanged copying of the 
JPEG frame content from one stream format to the other? I am not sure that 
this is possible very often - the MJPEG stream formats might expect 
slightly different JPEG encoding options.

I am not aware of any transcoders that would do that - I would imagine 
www.mainconcept.de to be a typical "suspect", or maybe
http://en.wikipedia.org/wiki/VirtualDub
http://en.wikipedia.org/wiki/MEncoder
(see 
http://en.wikipedia.org/wiki/List_of_video_editing_software#Open_source_software 
for a complete list)

I have also added your e-mail to the mjpeg-users mailing list - maybe 
someone else has good ideas.

Good luck!
   Gernot


Servus,
   Gernot

GPU. 3D Vision. Europe. Future. Now.
Drop by: www.mpi-sb.mpg.de/~gziegler - www.geofront.eu
--------------------------------&lt;/pre&gt;</description>
    <dc:creator>Gernot Ziegler</dc:creator>
    <dc:date>2012-03-18T14:25:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11317">
    <title>Re: lav2yuv scene detection</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11317</link>
    <description>&lt;pre&gt;Hallo

But with your distribution you did not have installed the mjpegtools 
before ?

Wen you go into the directory where you did run the configure and make, 
please go into the utils/.libs directory and check if there are the 
files that start with libmjpeg*

Was everything compiled sucessfully ? If not please run configure again. 
It would be interesting to find out if it was a compilor error, or 
something different.

Glad to hear, I think Ubuntu has precompiled packages.

Mplayer is your friend.

In the mjpegtools doumentation you should find the hints and examples:
http://sourceforge.net/apps/mediawiki/mjpeg/index.php?title=Creating_videos_from_other_sources

You basically have to play back the video and feed it into yuv2lav or 
mpeg2enc.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowlord&amp;lt; at &amp;gt;utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The mos&lt;/pre&gt;</description>
    <dc:creator>Bernhard Praschinger</dc:creator>
    <dc:date>2012-01-18T16:47:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11316">
    <title>Re: lav2yuv scene detection</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11316</link>
    <description>&lt;pre&gt;Hallo


Can you please provide details information what you did install on which 
os, and the command you did execute.

How did you find out that this option is missing ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowlord&amp;lt; at &amp;gt;utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
&lt;/pre&gt;</description>
    <dc:creator>Bernhard Praschinger</dc:creator>
    <dc:date>2012-01-16T17:18:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11315">
    <title>Re: Query on mplex MPTS to SPTS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11315</link>
    <description>&lt;pre&gt;Hallo

Can you please post the exact url where you have downloaded mplex.

For further help please post information about the source stream.  For 
example with mplayer (or some other tool):
 &amp;gt; mplayer file1.ts
TS file format detected.
VIDEO MPEG2(pid=3051) AUDIO MPA(pid=3052) NO SUBS (yet)!  PROGRAM N. 28655
VIDEO:  MPEG2  544x576  (aspect 2)  25.000 fps  9000.0 kbps (1125.0 kbyte/s)

The output of mplex when you multiplex the streams would also be very 
helpful. Also the command you use for multiplexing the stream.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowlord&amp;lt; at &amp;gt;utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
&lt;/pre&gt;</description>
    <dc:creator>Bernhard Praschinger</dc:creator>
    <dc:date>2011-11-22T16:45:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11314">
    <title>Re: mjpg webcam image to jpg</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11314</link>
    <description>&lt;pre&gt;Hi Gernot,

Am 19.11.2011 20:04, schrieb Gernot Ziegler:
The DHT segment is constant. So it would be possible to insert some non
changing data into the broken frames. The question here is: Where to
insert? I really have no idea and so far found nothing about the
internal structure of jpeg images.

Regards
Christian


&lt;/pre&gt;</description>
    <dc:creator>Christian Verbeek</dc:creator>
    <dc:date>2011-11-20T08:40:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11313">
    <title>Re: mjpg webcam image to jpg</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11313</link>
    <description>&lt;pre&gt;Hej Christian,

sorry for disappointing you, but AFAIK, JPEG has different DCT 
coefficients, and thus you can't recode JPG frames into MPEG1.

Regarding missing DHT segements, I don't know more than:
You could try inserting the DHT segment from an encoded JPEG into the 
"broken" frames arriving from the stream? Or does the DHT segment differ 
for every frame? But that is the only "hack" I could think of (without 
getting deeper into the subject, I left it 10 years ago)

Sorry to be of so little help,
   Gernot


Servus,
   Gernot

GPU. 3D Vision. Europe. Future. Now.
Drop by: www.mpi-sb.mpg.de/~gziegler - www.geofront.eu
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d_________________________&lt;/pre&gt;</description>
    <dc:creator>Gernot Ziegler</dc:creator>
    <dc:date>2011-11-19T19:04:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11312">
    <title>Re: mjpg webcam image to jpg</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11312</link>
    <description>&lt;pre&gt;Hi,

Am 18.11.2011 10:27, schrieb Christian Verbeek:

Well if you are able to decode the image without DHT (which means, that
some kind of default Huffman table is used), you might as well be able
to add the DHT segment to the encoded JPEG data.


No. Although the JPEG compression is based on the same principles as MPEG
I-Frames, there are fundamental differences.

Burkhard

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
&lt;/pre&gt;</description>
    <dc:creator>Burkhard Plaum</dc:creator>
    <dc:date>2011-11-18T11:19:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11311">
    <title>mjpg webcam image to jpg</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11311</link>
    <description>&lt;pre&gt;Dear all,

It might be that my question is a bit out of topic but I think you guys
might be able to help.

You maybe know that a couple of modern webcams output some kind of
motion JPG image. The Logitech C905 webcam does so. The data is a
jpg-image without DHT segment. With the help of google I managed to
patch libjpeg to be able to decode these crippled jpg-images. The code
can be found here

http://svn.openrobotino.org/common/trunk/lib/rec/cv_lt/jpeg_dec.cpp

Still it would be nice to take the webcam's output and stream it
directly to a web browser. But because of the missing DHT segment
browsers are not able to decode the data. My work around right now is to
decode the data with my patched libjpeg and encode again as real jpg.
This works but puts my embedded platform to almost 100% cpu load.

The question is if there is a way to insert the missing DHT segment to
the mjpg data without the need of decoding/encoding the image. Or is
there a simple way to make a mpg1 stream from these mjpg single images
comi&lt;/pre&gt;</description>
    <dc:creator>Christian Verbeek</dc:creator>
    <dc:date>2011-11-18T09:27:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11310">
    <title>Re: Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11310</link>
    <description>&lt;pre&gt;
On 15/11/2011, at 4:47 PM, sam wrote:



ffmpeg can be used to mux without encoding.

this is what I used to mux my mpeg files to transport streams to work  
with my IPTV system.

ffmpeg -i file.mpg -acodec copy -vcodec copy stream.ts


Since yours is a special case, you will probably need to write some  
code, I recommend looking at libav, which is the library behind ffmpeg.
http://libav.org/

Mark


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
&lt;/pre&gt;</description>
    <dc:creator>Mark Heath</dc:creator>
    <dc:date>2011-11-15T21:01:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11309">
    <title>Re: Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11309</link>
    <description>&lt;pre&gt;Hi Mark,

Thank you for your reply,

I have hardware encoder , which gives IP out , and it has 8 channels , each
channel gives me 2 ts.

ffmpeg will encode again , then it is no use of using my encoder.

my case to mux n number of ts into single ts , which means MPTS , contains
number of programs with PIDS.
Sending the data and receiving the data is not a problem , i can do this by
UDP port , i have tool to receive IP IN and OUT.

Regards
Sam


I only thought that mplex could produce program streams.
I had to use ffmpeg to produce transport streams for my IPTV system.

Have you tried looking at the libav libraries? (what ffmpeg is based on)
I know that they can produce transport streams.

Not sure how easy it would be to write a stand alone app.

Mark


On Tue, Nov 15, 2011 at 10:27 AM, Mark Heath &amp;lt;mjpeg0&amp;lt; at &amp;gt;silicontrip.org&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>sam</dc:creator>
    <dc:date>2011-11-15T05:47:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11308">
    <title>Re: Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11308</link>
    <description>&lt;pre&gt;

On 14/11/2011, at 3:37 PM, sam wrote:



I only thought that mplex could produce program streams.
I had to use ffmpeg to produce transport streams for my IPTV system.

Have you tried looking at the libav libraries? (what ffmpeg is based on)
I know that they can produce transport streams.

Not sure how easy it would be to write a stand alone app.

Mark



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
&lt;/pre&gt;</description>
    <dc:creator>Mark Heath</dc:creator>
    <dc:date>2011-11-15T04:57:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11307">
    <title>Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11307</link>
    <description>&lt;pre&gt;*Dear Friend ,*

I am a professor , i want to do it for my research project for
students.partial please help me.

I want to Multiplex n number of TS using *mplex*, i got downloaded from *
mjpeg.sourceforge.ne*t and installed , how to mux continuously Real time.

Command :* iso13818ts &amp;lt;file1.ts&amp;gt; &amp;lt;file2.ts&amp;gt;.....&amp;lt;filen.ts&amp;gt; &amp;gt; Muxout.ts  *

the output "*muxout.ts*" not playing in al lvideo player but i can able to
play the video in *mplayer* by giving specific *ProgramID* of TS file.And
also i cant see any PID Values in *TSReader *and *Streamxpert* Software, i
think it has no SI table , how to generate the Mux out TS with SI table ,
which should play in all video player such as vlc player.

I can give *Remote login to my mux server* , do can you help me, i also
mailed to Oskar , author of *mplex* softweare but he was busy.

*Thank for reading mail*

*Regards
Sam*
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/s&lt;/pre&gt;</description>
    <dc:creator>sam</dc:creator>
    <dc:date>2011-11-15T04:19:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11306">
    <title>Re: Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11306</link>
    <description>&lt;pre&gt;Hi Sam,

Sorry, I haven´t worked with the software for a long time (approx. 9 
years), so I know very little about it - at that time, it was not always 
possible to demux all transport streams, simply because the standard was 
too vague.

I can only refer to the mailing list mjpeg-users, which I have CC:d above.

Sorry that I can´t be of any more help,
   Gernot

RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________
Mjpeg-users mailing list
Mjpeg-users&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users
&lt;/pre&gt;</description>
    <dc:creator>Gernot Ziegler</dc:creator>
    <dc:date>2011-11-14T18:19:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11305">
    <title>Re: Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11305</link>
    <description>&lt;pre&gt;Hallo

sam wrote:
I think that is not possible to mux in realtime. I think there is a big 
misunderstanding with that mplex can do and what you intend to do. mplex 
can multiplex (mpeg) audio, (mpeg) video and subtitle together with 
control information so the resulting stream corresponds to the mpeg 
format. And can be played back by the typical mpeg player either hard or 
software.

For more help it would be very helpful to know how the *ts streams are 
created. .ts is often used for transport streams from digital satellite 
receivers, which are already multiplexed. And can't be feed into mplex.

Who is Oskar ? He is no member of the mjpegtools project ;)


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowlord&amp;lt; at &amp;gt;utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
&lt;/pre&gt;</description>
    <dc:creator>Bernhard Praschinger</dc:creator>
    <dc:date>2011-11-14T16:48:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11304">
    <title>Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11304</link>
    <description>&lt;pre&gt;*Dear Friend ,*

I am a professor , i want to do it for my research project for
students.partial please help me.

I want to Multiplex n number of TS using *mplex*, i got downloaded from *
mjpeg.sourceforge.ne*t and installed , how to mux continuously Real time.

Command :* iso13818ts &amp;lt;file1.ts&amp;gt; &amp;lt;file2.ts&amp;gt;.....&amp;lt;filen.ts&amp;gt; &amp;gt; Muxout.ts  *

the output "*muxout.ts*" not playing in al lvideo player but i can able to
play the video in *mplayer* by giving specific *ProgramID* of TS file.And
also i cant see any PID Values in *TSReader *and *Streamxpert* Software, i
think it has no SI table , how to generate the Mux out TS with SI table ,
which should play in all video player such as vlc player.

I can give *Remote login to my mux server* , do can you help me, i also
mailed to Oskar , author of *mplex* softweare but he was busy.

*Thank for reading mail*

*Regards
Sam*
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/s&lt;/pre&gt;</description>
    <dc:creator>sam</dc:creator>
    <dc:date>2011-11-14T04:37:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11303">
    <title>Help reading Muxing TS</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11303</link>
    <description>&lt;pre&gt;*Dear Friend ,*

I am a professor , i want to do it for my research project for
students.partial please help me.

I want to Multiplex n number of TS using *mplex*, i got downloaded from *
mjpeg.sourceforge.ne*t and installed , how to mux continuously Real time.

Command :* iso13818ts &amp;lt;file1.ts&amp;gt; &amp;lt;file2.ts&amp;gt;.....&amp;lt;filen.ts&amp;gt; &amp;gt; Muxout.ts  *

the output "*muxout.ts*" not playing in al lvideo player but i can able to
play the video in *mplayer* by giving specific *ProgramID* of TS file.And
also i cant see any PID Values in *TSReader *and *Streamxpert* Software, i
think it has no SI table , how to generate the Mux out TS with SI table ,
which should play in all video player such as vlc player.

I can give *Remote login to my mux server* , do can you help me, i also
mailed to Oskar , author of *mplex* softweare but he was busy.

*Thank for reading mail*

*Regards
Sam*
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/s&lt;/pre&gt;</description>
    <dc:creator>sam</dc:creator>
    <dc:date>2011-11-14T04:41:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11300">
    <title>Re: writing multi threaded code</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11300</link>
    <description>&lt;pre&gt;
On Fri, 23 Sep 2011, Alan Cox wrote:


I disagree.  I do not see how having a thread which obtained a lock
be the one which  releases it causes any performance change.  The same
amount of unlocking is done.


Better name would 

defined(NON_PORTABLE_MUTEXES)

linux is the only system I've encountered which doesn't use the 
concept of thread ownership.  And it was a big pain to port a program
written to use the 'ownerless mutex' concept to systems which did
use that concept. 

If the program is written to use the concept of thread ownershio (by
turning on either DEBUG_MUTEXES or NON_PORTABLE_MUTEXES) then WHERE
is the performance difference coming from?   Turning that option off
would make it easy to produce non portable threaded code.


To me it is an egregious error for a thread which did not lock a
mutex to unlock it -that's the way it's been for as long as I can
remember.  It has, in MY experience, always been a logic or design
error for a thread to unlock a thread of which is it not the&lt;/pre&gt;</description>
    <dc:creator>Steven M. Schultz</dc:creator>
    <dc:date>2011-09-23T17:03:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11299">
    <title>Re: writing multi threaded code</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11299</link>
    <description>&lt;pre&gt;
A program the relies on undefined behaviour is broken.


It's a very sane default because the performance difference is
astronomical


Far better is

if (defined __linux__) &amp;amp;&amp;amp; defined(DEBUG_MUTEXES)

then you can build for debug or for performance as needed with a compile
option.


Even better still for many applications is not using pthreads in the
first place. The fundamental models pthreads use are basically
'everything is shared, nothing is locked unless you remember to do so'
and there is no object access v locking validation.

In short it's got default behaviour of 'break invisibly'

Java at least tried to get chunks of this right.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcop&lt;/pre&gt;</description>
    <dc:creator>Alan Cox</dc:creator>
    <dc:date>2011-09-23T15:55:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11298">
    <title>Re: writing multi threaded code</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11298</link>
    <description>&lt;pre&gt;
I think this talk of threaded applications says it's time for
a reposting of my caution and plea for portability...


Threaded programming is hard.  PORTABLE threaded programming is 
very hard.

Two things to keep in mind:  1) Check ALL return values and status
indications (I've seen too many programs *assume* that pthred_mutex_unlock() 
can not/will not fail) and 2) all the world is NOT linux (as much as
some might think otherwise ;)).

With those two cautions here's what I've posted several times over
the years (and is what mjpegtools uses in mpeg2enc).  Happy reading :)

        With linux a mutex can, according to the manpages, be of type 'fast',
        'recursive' or 'error checking'.  The 'fast' type has no concept of
        thread "ownership" and any thread can unlock any mutex *even if it is
        not the thread that locked it*.   On the other hand the 'error checking'
        type does enforce mutex "ownership" and only the thread that locked
        a mutex may unlock it, attempting &lt;/pre&gt;</description>
    <dc:creator>Steven M. Schultz</dc:creator>
    <dc:date>2011-09-23T14:47:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11297">
    <title>Re: writing multi threaded code</title>
    <link>http://permalink.gmane.org/gmane.comp.video.mjpeg.user/11297</link>
    <description>&lt;pre&gt;
On 23/09/2011, at 11:37 AM, Steven Boswell II wrote:


I assume I'd need to use glib but it appears to be broken on my system.
I also tried the gcc atomic operations but I've only got gcc 4.0.1.

I've also sig_atomic_t but I've got no idea if it's reading and  
incrementing as an atomic action.  The read and increment is such a  
short duration I cannot get it to break even without locking.

Doesn't look like there is a simple atomic method I can add to the code.


Are you making your output frame solely from the input frame(s) ?
Or are you using pixels from the output frame to generate other pixels ?
Or updating the frame data in place?

If you aren't using any of the data from the output frame then there  
won't be any artifacts.
Just remember to pass in the entire input frame into your worker  
thread, not just a slice.  But you only need to generate the output  
pixels for the slice.

Does this make sense?

Mark------------------------------------------------------------------------------
All of the dat&lt;/pre&gt;</description>
    <dc:creator>Mark Heath</dc:creator>
    <dc:date>2011-09-23T04:58:25</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.video.mjpeg.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.video.mjpeg.user</link>
  </textinput>
</rdf:RDF>

