<div>If this helps, I have written the code but haven't tested it. I don't have the environment setup for it, neither do I have subversion. I hope I am not stepping on anyones toes here. I just want to help the best I can.
</div>
<div> </div>
<div>/**************************************************************************<br> * Create a new media descriptor object with options<br> **************************************************************************/<br>
libvlc_media_descriptor_t * libvlc_media_descriptor_new_extended(<br> libvlc_instance_t *p_instance,<br> const char * psz_mrl,<br> int i_options,
<br> const char ** ppsz_options,<br> libvlc_exception_t *p_e )<br>{<br> input_item_t * p_input_item;<br> libvlc_media_descriptor_t * p_md;</div>
<div> </div>
<div> p_input_item = input_ItemNewExt( p_instance->p_libvlc_int, psz_mrl, i_options, ppz_options, NULL );</div>
<div> </div>
<div> if (!p_input_item)<br> {<br> libvlc_exception_raise( p_e, "Can't create md's input_item" );<br> return NULL;<br> }</div>
<div> </div>
<div> p_md = libvlc_media_descriptor_new_from_input_item( p_instance,<br> p_input_item, p_e );</div>
<div> </div>
<div> return p_md;<br>}</div>
<div> </div>
<div>for even better code practice, libvlc_media_descriptor_new could be changed to:</div>
<div> </div>
<div>**************************************************************************<br> * Create a new media descriptor object<br> **************************************************************************/<br>libvlc_media_descriptor_t * libvlc_media_descriptor_new(
<br> libvlc_instance_t *p_instance,<br> const char * psz_mrl,<br> libvlc_exception_t *p_e )<br>{<br> return libvlc_media_descriptor_new_extended(p_instance, psz_mrl, 0, NULL, p_e);
<br>}<br></div>
<div>Jacques</div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Dec 14, 2007 9:10 AM, jboileau <<a href="mailto:jboileau@gmail.com">jboileau@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>I had tried using the ':' notation first. The results are the same:</div>
<div> </div>
<div>creating access '' path=' test.avi :sout-all'</div>
<div> </div>
<div>I just gave the trace of my second attempt using the '--' notation. Never hurts to try things :-)</div>
<div> </div>
<div>I also tried:</div>
<div><font size="2"></font> </div>
<div><font size="2">file://test.avi :volume=10</font></div>
<div><font size="2"></font> </div>
<div><font size="2">which also fails. Every format I tried works if I remove options but fail with options added. It seems the options are taken as part of the path and thus the file is not found.</font></div>
<div><font face="arial,sans-serif" size="2"></font> </div>
<div><font face="arial,sans-serif" size="2">`file://test.avi :volume=10' gives access `file' demux `' path `test.avi :volume=10'</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Jacques</font></div>
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Dec 13, 2007 10:45 PM, Pierre d'Herbemont <<a href="mailto:pdherbemont@free.fr" target="_blank">pdherbemont@free.fr</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div><br>On Dec 13, 2007, at 11:11 PM, Rafaël Carré wrote:<br><br>> Le Thu, 13 Dec 2007 17:09:27 -0500,<br>> jboileau <<a href="mailto:jboileau@gmail.com" target="_blank">jboileau@gmail.com</a>> a écrit :<br>
> <br>>> creating demux: access='' demux='' path='test.avi --sout-all'<br>><br>>> On Dec 13, 2007 2:57 PM, Pierre d'Herbemont <<a href="mailto:pdherbemont@free.fr" target="_blank">
pdherbemont@free.fr </a>><br>>> wrote:<br>>>> libvlc_media_descriptor_new( p_libvlc, "myfile.avi :sout-all", &e);<br>><br>> You used "--" (command line) instead of ":" (mrl)
<br><br></div></div>Well, that's the point, err. Is there a misunderstanding.<br><font color="#888888"><br>Pierre.<br></font>
<div>
<div></div>
<div>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel
</a><br></div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Jacques Boileau </font></blockquote></div><br><br clear="all"><br>-- <br>Jacques Boileau