Hello everybody,<br><br>I fixed my API problems (0.9.0). I followed API guidelines given. But I'm facing a problem, within API, as argv arguments given (mainly for transcoding), I got those error messages :<br><br>/* error messages */
<br>[00000328] stream_out_standard private error: no access _and_ no muxer (fatal error)<br>[00000327] main stream output error: stream chain failed for `std{mux="",access=""#transcode{vcodec=mp2v,vb=512k,scale=1,acodec=128,ab=128}",dst="duplicate{dst=std{access=file,dst=/home/videogate/FRANCE.ts}}""}'
<br>[00000326] main input error: cannot start stream output instance, aborting<br>[00000317] access_mms access error: error while asking for file -1<br>[00000317] access_mms access error: error while asking for file -1<br>
[00000317] access_mms access error: cannot connect to server<br>[00000317] access_mms access error: no stream selected<br>[00000317] access_mms access error: cannot start stream<br>/* ************ */<br><br>and this is my source code :
<br><br>int Transcoder::transcoder_init()<br>{<br>    cout << "Transcoder_init() : " << this->home << endl;<br>    string trspts = "\"#transcode{vcodec=mp2v,vb=512k,scale=1,acodec=128,ab=128}:duplicate{dst=std{access=file,dst="+ this->home +"}}\"";
<br>    char *opts[] = {"vlc","--sout",(char *)trspts.c_str()};<br>    libvlc_exception_init (&_transexcep);<br>    _transcoder = libvlc_new(3,opts,&_transexcep);<br><br>    if(libvlc_exception_raised(&_transexcep))
<br>    {<br>            cerr << "Transcoder init : " << libvlc_exception_get_message(&_transexcep);<br>        MSG_GENERIC("Cannot init Transcoder")<br>        libvlc_exception_clear(&_transexcep);
<br>            exit(1);<br>    }<br><br>    if(_transcoder == NULL)<br>    {<br>        cerr << "No Transcoder instance found !";<br>        MSG_GENERIC("Cannot init Transcoder")<br>        exit(1); 
<br>    }<br><br>    MSG_GENERIC("Transcoder successfully initialized")<br>    return 0;<br>} <br><br>My VLC instance is successfully initialized. But I don't understand why a "std{mux="",access=" in addition to my args ?
<br>Is there a special format for argv in order to transcode my streams ? When I tried "-vvv", it works fine, but no way for my transcode args.<br><br>Thanks a lot one more time.<br><br>regards,<br><br>JF<br>