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

List:       mjpeg-developer
Subject:    [Mjpeg-developer] mplex (fwd)
From:       Gernot Ziegler <gz () geofront ! eu>
Date:       2006-09-15 11:23:04
Message-ID: Pine.LNX.4.64.0609150622450.6333 () alpha ! routhost ! com
[Download RAW message or body]

[Attachment #3 (MULTIPART/RELATED)]

[Attachment #5 (MULTIPART/ALTERNATIVE)]


Hi

 

We are using mplex in a project to create a DVD recorder for a customer.

First I would like to say thank you for very good quality software.

While using the program I discovered two minor things that you might 
want to consider for future releases. These are:

 

1) an update to aunitbuffer.hpp where size of the deque is maintained as 
a separate variable. This has a considerable speed improvement. My 
version of the file is attached.

 

2) Interprate output file name = - as output to stdout. This makes the 
pipe functionality of dvdauthor work. I.e. mplex can be opened as 
inputfile of dvdauthor using popen.

 

int FileOutputStream::Open()

{

 if (!strcmp(cur_filename, "-"))

 {

  strm = stdout;

 }

 else

 {

  strm = fopen( cur_filename, "wb" );

  if( strm == NULL )

  {

   mjpeg_error_exit1( "Could not open for writing: %s", cur_filename );

  }

 }

 

 return 0;

}



Best regards

Geir

 

GEIR ØLNES 	  	

 	

SENIOR DEVELOPMENT ENGINEER



	

Data Respons Norge AS	 	 	

Kongsberg Næringspark	 Tel:	 +47 32 29 94 00	

P.O. Box 1022 	 Dir:	 +47 32 29 94 05	

NO-3601 Kongsberg	 Fax:	 +47 32 29 94 40	

Norway	 Mob:	 +47 41 41 12 48	

	 	 	

www.datarespons.no <http://www.datarespons.no/> 	 go@datarespons.no 
<mailto:go@datarespons.no> 	

	

	

	  	































 


[Attachment #8 (TEXT/HTML)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; 
charset=iso-8859-1">

<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>

<BODY>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 

size=2>Hi</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 

size=2></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>We are 
using mplex 

in a project to create a DVD recorder for a 
customer.</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>First 
I would like 

to say thank you for very good quality software.</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>While 
using the 

program I discovered two minor things that you might want to consider 
for future 

releases. These are:</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 

size=2></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>1) an 
update to 

aunitbuffer.hpp where size of the deque is maintained as a separate 
variable. 

This has a considerable speed improvement. My version of the file is 

attached.</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 

size=2></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>2) 
Interprate output 

file name = - as output to stdout. This makes the pipe functionality 
of 

dvdauthor work. I.e. mplex can be opened as inputfile of dvdauthor using 


popen.</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 

size=2></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>int 

FileOutputStream::Open()<BR>{<BR>&nbsp;if (!strcmp(cur_filename, 

"-"))<BR>&nbsp;{<BR>&nbsp;&nbsp;strm = 

stdout;<BR>&nbsp;}<BR>&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;strm = 
fopen( 

cur_filename, "wb" );<BR>&nbsp;&nbsp;if( strm == NULL 

)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;mjpeg_error_exit1( "Could not 
open for 

writing: %s", cur_filename 
);<BR>&nbsp;&nbsp;}<BR>&nbsp;}</FONT></SPAN></DIV>

<DIV>&nbsp;</DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 
size=2>&nbsp;return 

0;<BR>}<BR></FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial size=2>Best 

regards</FONT></SPAN></DIV>

<DIV><SPAN class=707595910-15092006><FONT face=Arial 

size=2>Geir</DIV></FONT></SPAN>

<DIV>&nbsp;</DIV>

<DIV align=left>

<TABLE cellSpacing=0 cellPadding=0 width=320 align=left>

  <TBODY>

  <TR>

    <TD width="100%">

      <TABLE 

      style="BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px 
solid; BORDER-LEFT: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid" 


      cellSpacing=0 cellPadding=0 width=320>

        <TBODY>

        <TR>

          <TD style="PADDING-LEFT: 10px; BORDER-BOTTOM: #999999 1px 
solid" 

          width=295 height=24><FONT face=Verdana size=2>GEIR 
ØLNES</FONT> </TD>

          <TD 

          style="BACKGROUND-POSITION: right center; BORDER-BOTTOM: 
#999999 1px solid; BACKGROUND-REPEAT: no-repeat" 

          width=25 

          
background=http://www.datarespons.no/_images/logos/dr_arrow_mail.jpg 

          height=24><IMG height=24 

            
src="http://www.datarespons.no/_images/logos/dr_arrow_mail.jpg" 

            width=25 align=right> </TD></TR>

        <TR>

          <TD width="100%" colSpan=2 height=1><IMG height=5 

            src="http://www.datarespons.no/_images/pix.gif" 
width=320></TD></TR>

        <TR>

          <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px" 
width="100%" 

          colSpan=2 height=10>

            <P align=left><FONT face=Verdana color=#d4422a 
size=1>SENIOR 

            DEVELOPMENT ENGINEER</FONT></P></TD></TR>

        <TR>

          <TD colSpan=2 height=5><IMG height=10 

            src="http://www.datarespons.no/_images/pix.gif" 
width=320></TD></TR>

        <TR>

          <TD width="100%" colSpan=2>

            <TABLE cellSpacing=0 cellPadding=0 width=320 
border=0>

              <TBODY>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><B><FONT 
face=Verdana 

                  
size=1>Data&nbsp;Respons&nbsp;Norge&nbsp;AS</FONT></B></TD>

                <TD style="PADDING-LEFT: 10px" width=45><IMG 
height=8 

                  src="http://www.datarespons.no/_images/pix.gif" 
width=35></TD>

                <TD style="PADDING-RIGHT: 10px" align=right 
width=125><IMG 

                  height=8 
src="http://www.datarespons.no/_images/pix.gif" 

                  width=115></TD></TR>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><FONT 
face=Verdana 

                  color=black 
size=1>Kongsberg&nbsp;Næringspark</FONT></TD>

                <TD style="PADDING-LEFT: 10px" width=45><FONT 
face=Verdana 

                  color=black size=1>Tel:</FONT></TD>

                <TD style="PADDING-RIGHT: 10px" align=right 
width=125><FONT 

                  face=Verdana color=black 

                  
size=1>+47&nbsp;32&nbsp;29&nbsp;94&nbsp;00</FONT></TD></TR>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><FONT 
face=Verdana 

                  color=black 
size=1>P.O.&nbsp;Box&nbsp;1022&nbsp;</FONT></TD>

                <TD style="PADDING-LEFT: 10px" width=45><FONT 
face=Verdana 

                  color=black size=1>Dir:</FONT></TD>

                <TD style="PADDING-RIGHT: 10px" align=right 
width=125><FONT 

                  face=Verdana color=black 

                  
size=1>+47&nbsp;32&nbsp;29&nbsp;94&nbsp;05</FONT></TD></TR>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><FONT 
face=Verdana 

                  color=black 
size=1>NO-3601&nbsp;Kongsberg</FONT></TD>

                <TD style="PADDING-LEFT: 10px" width=45><FONT 
face=Verdana 

                  color=black size=1>Fax:</FONT></TD>

                <TD style="PADDING-RIGHT: 10px" align=right 
width=125><FONT 

                  face=Verdana color=black 

                  
size=1>+47&nbsp;32&nbsp;29&nbsp;94&nbsp;40</FONT></TD></TR>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><FONT 
face=Verdana 

                  color=black size=1>Norway</FONT></TD>

                <TD style="PADDING-LEFT: 10px" width=45><FONT 
face=Verdana 

                  color=black size=1>Mob:</FONT></TD>

                <TD style="PADDING-RIGHT: 10px" align=right 
width=125><FONT 

                  face=Verdana color=black 

                  
size=1>+47&nbsp;41&nbsp;41&nbsp;12&nbsp;48</FONT></TD></TR>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><IMG 
height=8 

                  src="http://www.datarespons.no/_images/pix.gif" 
width=140></TD>

                <TD style="PADDING-LEFT: 10px" width=45 
height=5><IMG height=8 

                  src="http://www.datarespons.no/_images/pix.gif" 
width=35></TD>

                <TD style="PADDING-LEFT: 10px" width=125 
height=5><IMG 

                  height=8 
src="http://www.datarespons.no/_images/pix.gif" 

                  width=115></TD></TR>

              <TR>

                <TD style="PADDING-LEFT: 10px" width=150><A 

                  style="TEXT-DECORATION: none" 

                  href="http://www.datarespons.no/"><FONT 
face=verdana 

                  color=black 
size=1>www.datarespons.no</FONT></A></FONT></TD>

                <TD style="PADDING-LEFT: 10px" width=170 
colSpan=2><FONT 

                  face=Verdana size=1><A style="TEXT-DECORATION: 
none" 

                  href="mailto:go@datarespons.no"><FONT face=verdana 
color=black 

                  
size=1>go@datarespons.no</FONT></A></FONT></TD></TR></TR></TBODY></TABL
E>

        <TR>

          <TD width="100%" colSpan=2 height=5><IMG height=3 

            src="http://www.datarespons.no/_images/pix.gif" 

        width=320></TD></TR></TBODY></TABLE>

      <TABLE cellSpacing=0 cellPadding=0 width=320 border=0>

        <TBODY>

        <TR>

          <TD width="100%" colSpan=2 height=3><IMG height=3 

            src="http://www.datarespons.no/_images/pix.gif" 
width=320></TD></TR>

        <TR>

          <TD style="PADDING-LEFT: 10px" width=160><IMG height=8 

            src="http://www.datarespons.no/_images/pix.gif" 
width=150></TD>

          <TD align=right width=162><IMG height=28 

            
src="http://www.datarespons.no/_images/logos/dr_logo_mail.jpg" 

            
width=162></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV><BR
><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>

<DIV>&nbsp;</DIV></BODY></HTML>


------_=_NextPart_003_01C6D8B8.0458D078--
["dr_arrow_mail.jpg" (IMAGE/JPEG)]
["pix.gif" (IMAGE/GIF)]
["dr_logo_mail.jpg" (IMAGE/JPEG)]
["aunitbuffer.hpp" (APPLICATION/OCTET-STREAM)]

-------------------------------------------------------------------------
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