<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am quite new in vlc. I am reading these mailing lists for few days, but i still have two main questions.<o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none;
mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1) I try to extend vlm in order to change on the fly the transcode parameters of a stream. What i did, was adding a new control command in vlm interface, which in fact stops the first stream, resetting the output with the new #transcode{ ...... } parameters, and start again the streaming.<o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But this approach has two disadvantages. Firstly it doesn't seem too stable. Sometimes when i change the parameters, the receiver stops playing, either due to TS discontinuity, or ffmpeg warning of damaged header. If i restart the receiver, the stream is normally played, but the point is to keep the "change parameters" procedure as transparent as possible to the receiver. <o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in
0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Secondly, even if i want to change only one parameter (i.e. fps) i have to type the whole output format in the change_param command. <o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I tried to search into the vlm.c, stream_output.c, and transcode.c files, but i couldn't find out where the encoder is initialized, in order to call it again from vlm and assign the new parameters. <o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any help, would be really valuable for me. Is it possible to call some structures that belong to transcode module from the vlm thread? Is the receiver's or the transmitter`s fault that these TS
discontinuity or damaged header errors occured?<o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2) The second question has to do with the integration of another encoder in Vlc. Is there a how-to, or any starting help, about the way and the steps i have to follow for such a work??<o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV
class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I use vlc 0.8.5.<o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank you in advance,<o:p></o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards,<o:p></o:p></SPAN></DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial;
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA">Nick</SPAN><p> 
                <hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>