[vlc-devel] problems using libvlc.

ChengYQ crashboat at hotmail.com
Sun Sep 30 12:39:10 CEST 2007


Hi,
 
When I run the original installed vlc, all modules works fine, but when I use libvlc,and try to put
arguments ":sout=#transcode{vdev=mp4v......." and run it, the system said that "there are no modules
matched the transcode", I think maybe because of the options when I compile/link it.I used:export VLC_SRC=/tmp/vlc-0.8.6cgcc -I ${VLC_SRC}/include/ -lvlc -L ${VLC_SRC}/src/.libs/ demo.c -o demoHow can I specify a typical location of the transcode? Should this be done when link or through passing arguments to libvlc_new?thanks a lot!
 



> From: vlc-devel-request at videolan.org> Subject: vlc-devel Digest, Vol 4, Issue 99> To: vlc-devel at videolan.org> Date: Fri, 28 Sep 2007 18:34:51 +0200> > Send vlc-devel mailing list submissions to> vlc-devel at videolan.org> > To subscribe or unsubscribe via the World Wide Web, visit> http://mailman.videolan.org/listinfo/vlc-devel> or, via email, send a message with subject or body 'help' to> vlc-devel-request at videolan.org> > You can reach the person managing the list at> vlc-devel-owner at videolan.org> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of vlc-devel digest..."> > > Today's Topics:> > 1. Recording incoming stream (Amaresh Ram)> 2. vlc: svn commit r22291 (jb) (Subversion daemon)> 3. Re: Pass variables between modules (R?mi Denis-Courmont)> 4. vlc: svn commit r22292 (markfm) (Subversion daemon)> 5. Re: DCCP support in VLC (R?mi Denis-Courmont)> 6. vlc: svn commit r22293 (courmisch) (Subversion daemon)> 7. vlc: svn commit r22294 (funman) (Subversion daemon)> 8. vlc: svn commit r22295 (funman) (Subversion daemon)> 9. vlc: svn commit r22296 (funman) (Subversion daemon)> 10. EOF Check for RTP/UDP streams (Anand Anand)> 11. Re: EOF Check for RTP/UDP streams (R?mi Denis-Courmont)> > > ----------------------------------------------------------------------> > Message: 1> Date: Fri, 28 Sep 2007 15:47:05 +0530> From: Amaresh Ram <Amaresh.Ram at lntinfotech.com>> Subject: [vlc-devel] Recording incoming stream> To: Mailing list for VLC media player developers> <vlc-devel at videolan.org>> Cc: vlc-devel at videolan.org, vlc-devel-bounces at videolan.org> Message-ID:> <OF76E3992B.6A8E1E88-ON65257364.003698D7-65257364.00382AAC at lntinfotech.com>> > Content-Type: text/plain; charset=US-ASCII> > Hi,> > At this moment we are using VLC for just playing the incoming stream in> linux environment. We are planning to use it to record the same stream. As> per the HOW to documentation, it can be done through command line parameter> to VLC as well as through Advance option. It means that we can not start> recording in the middle of the video rendering. We are trying to add couple> of interface in libvlc to provide runtime record support.> > As per my understanding, we need to create sout instance, packetizer> instance, etc... . But we don't know the exact flow of the media recording.> so can someone guide us to add this feature.> > regards,> Amaresh> > > ______________________________________________________________________> > > ------------------------------> > Message: 2> Date: Fri, 28 Sep 2007 16:41:43 +0200 (CEST)> From: Subversion daemon <svn at videolan.org>> Subject: [vlc-devel] vlc: svn commit r22291 (jb)> To: <vlc-devel at videolan.org>> Message-ID: <20070928144143.EDA5F164B0 at ganesh.localdomain>> Content-Type: text/plain; charset=UTF-8> > r22291 | jb | 2007-09-28 16:41:43 +0200 (Fri, 28 Sep 2007) | 3 lines> Changed paths:> M /trunk/extras/contrib/src/Makefile> D /trunk/extras/contrib/src/Patches/flac-cross.patch> > Contribs: Flac does not need the cross compiling patch anymore.> > > > http://trac.videolan.org/vlc/changeset/22291> > > ------------------------------> > Message: 3> Date: Fri, 28 Sep 2007 17:44:52 +0300> From: R?mi Denis-Courmont <rdenis at simphalempin.com>> Subject: Re: [vlc-devel] Pass variables between modules> To: Mailing list for VLC media player developers> <vlc-devel at videolan.org>, "Michael Eberhard" <michael_eberhard at gmx.at>> Message-ID: <200709281744.52586.rdenis at simphalempin.com>> Content-Type: text/plain; charset="iso-8859-1"> > Le Friday 28 September 2007 12:29:56 Michael Eberhard, vous avez ?crit?:> > I have implemented two custom modules for the VLC, one interface plug-in> > and one packetizer built-in. Now I want to pass some data received by the> > interface module to the packetizer. So far I have tried the following:> >> > - I set the char** array with the data as a global variable in the> > interface:> >> > p_intf->p_sys->val_test.psz_string = (char *)psz_test;> > var_Create( p_intf, "test", VLC_VAR_STRING );> > var_Set( p_intf, "test", p_intf->p_sys->val_test );> >> > - I subsequently access the data in the packetizer:> >> > p_list = vlc_list_find( p_this, VLC_OBJECT_INTF, FIND_ANYWHERE );> > for( int i = 0; i < p_list->i_count; i++ )> > {> > p_intf = (intf_thread_t *)p_list->p_values[i].p_object;> > if ( var_Get( p_intf, "test", &val_test ) == VLC_SUCCESS )> > break;> > p_intf = NULL;> > }> >> > psz_test = (char **)val_test.psz_string;> >> > The problem with the code above is that it works, but only sometimes. It> > seems that sometimes the data of the array is overwritten, and only> > parts/nothing of the array can be accessed (the access leads to a> > segmentation fault), and sometimes the program works without any problems.> > So I guess there might be a problem with the memory management, I just> > don't seem to find the right solution.> > You are not releasing the list, so object references leak, and > vlc_object_destroy() screws up later.> > In any case, that a packetizer would access an interface object strikes me as > most likely wrong. I don't know what you are trying to do. Still, it would > seem more logical that the interface would try to find the packetizer.> > -- > R?mi Denis-Courmont> http://www.remlab.net/> > > ------------------------------> > Message: 4> Date: Fri, 28 Sep 2007 17:07:47 +0200 (CEST)> From: Subversion daemon <svn at videolan.org>> Subject: [vlc-devel] vlc: svn commit r22292 (markfm)> To: <vlc-devel at videolan.org>> Message-ID: <20070928150747.C3FA71F4D6 at ganesh.localdomain>> Content-Type: text/plain; charset=UTF-8> > r22292 | markfm | 2007-09-28 17:07:47 +0200 (Fri, 28 Sep 2007) | 2 lines> Changed paths:> M /trunk/extras/contrib/src/Makefile> > Cygwin adjustments -- skip x264 win32 patch, rename the pthreadGC2.a, build full gettext> > > http://trac.videolan.org/vlc/changeset/22292> > > ------------------------------> > Message: 5> Date: Fri, 28 Sep 2007 18:25:58 +0300> From: R?mi Denis-Courmont <rdenis at simphalempin.com>> Subject: Re: [vlc-devel] DCCP support in VLC> To: Gerrit Renker <gerrit at erg.abdn.ac.uk>> Cc: Gorry Fairhurst <gorry at erg.abdn.ac.uk>, Mailing list for VLC media> player developers <vlc-devel at videolan.org>, dccp at vger.kernel.org> Message-ID: <200709281825.58935.rdenis at simphalempin.com>> Content-Type: text/plain; charset="utf-8"> > Le Friday 28 September 2007 14:33:51 Gerrit Renker, vous avez ?crit?:> > When the Reset closing the connection arrives, the same shutdown mask is> > set as in TCP. What I thus think you could do as a> > test-for-end-of-connection is to test whether the socket descriptor is> > still read/writeable.> > If it works like TCP, shutdown-for-recv will make the socket always readable, > and will not affect writeability at all, since the sending half may still be > open. As such, I don't think it will solve the problem.> > Currently, I am assuming that length == 0 means end-of-connection, because I > only use RTP/RTCP, so zero bytes is not a valid packet length. But that's a > little bit ugly.> > Other than that, and apart from pending DCCP service code support I am happy > to announce that the official VLC development tree now support DCCP > out-of-the-box with RTP.> > Manually, on the sender (assuming sender IP is 2001:db8::1):> $ vlc -vv /dev/dvd \> --sout '#rtp{dccp,mux=ts,port=5004}'> > On the receiver:> $ vlc -vv dccp://[2001:db8::1]:5004> > Or advertized with SAP, on the sender:> $ vlc -vv /dev/dvd \> --sout '#rtp{dccp,mux=ts,port=5004,dst=2001:db8::1,sdp=sap,name=MyDVD}'> > On the receiver, enable SAP service discovery and click MyDVD from the > playlist.> > > We cannot support multiple streams per session, because the live555 library > does not support DCCP at this time. But TS multiplexing works great anyway.> > Thanks for your help!> > -- > R?mi Denis-Courmont> http://www.remlab.net/> > > ------------------------------> > Message: 6> Date: Fri, 28 Sep 2007 18:07:42 +0200 (CEST)> From: Subversion daemon <svn at videolan.org>> Subject: [vlc-devel] vlc: svn commit r22293 (courmisch)> To: <vlc-devel at videolan.org>> Message-ID: <20070928160742.72BDA1F532 at ganesh.localdomain>> Content-Type: text/plain; charset=UTF-8> > r22293 | courmisch | 2007-09-28 18:07:42 +0200 (Fri, 28 Sep 2007) | 2 lines> Changed paths:> M /trunk/NEWS> > News> > > http://trac.videolan.org/vlc/changeset/22293> > > ------------------------------> > Message: 7> Date: Fri, 28 Sep 2007 18:08:55 +0200 (CEST)> From: Subversion daemon <svn at videolan.org>> Subject: [vlc-devel] vlc: svn commit r22294 (funman)> To: <vlc-devel at videolan.org>> Message-ID: <20070928160855.D204C1F535 at ganesh.localdomain>> Content-Type: text/plain; charset=UTF-8> > r22294 | funman | 2007-09-28 18:08:55 +0200 (Fri, 28 Sep 2007) | 4 lines> Changed paths:> M /trunk/include/vlc_playlist.h> M /trunk/src/input/input.c> M /trunk/src/playlist/loadsave.c> > Adds an input option "meta-file" to be used by input that aren't real inputs (like playlists).> Re-enables media library.> Fixes #1047 (nth attempt).> > > http://trac.videolan.org/vlc/changeset/22294> > > ------------------------------> > Message: 8> Date: Fri, 28 Sep 2007 18:14:07 +0200 (CEST)> From: Subversion daemon <svn at videolan.org>> Subject: [vlc-devel] vlc: svn commit r22295 (funman)> To: <vlc-devel at videolan.org>> Message-ID: <20070928161408.B4EF11F537 at ganesh.localdomain>> Content-Type: text/plain; charset=UTF-8> > r22295 | funman | 2007-09-28 18:14:07 +0200 (Fri, 28 Sep 2007) | 1 line> Changed paths:> M /trunk/NEWS> > NEWS: typo> > http://trac.videolan.org/vlc/changeset/22295> > > ------------------------------> > Message: 9> Date: Fri, 28 Sep 2007 18:18:30 +0200 (CEST)> From: Subversion daemon <svn at videolan.org>> Subject: [vlc-devel] vlc: svn commit r22296 (funman)> To: <vlc-devel at videolan.org>> Message-ID: <20070928161830.AB38F1F45C at ganesh.localdomain>> Content-Type: text/plain; charset=UTF-8> > r22296 | funman | 2007-09-28 18:18:30 +0200 (Fri, 28 Sep 2007) | 1 line> Changed paths:> M /trunk/src/modules/modules.c> > modules.c: removes unneeded hack> > http://trac.videolan.org/vlc/changeset/22296> > > ------------------------------> > Message: 10> Date: Fri, 28 Sep 2007 21:59:25 +0530> From: "Anand Anand" <taknevski at gmail.com>> Subject: [vlc-devel] EOF Check for RTP/UDP streams> To: streaming at videolan.org, "Mailing list for VLC media player> developers" <vlc-devel at videolan.org>> Message-ID:> <713fe210709280929w284b48dfv1ebb7cbb662f3b7d at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Hi,> could someone please tell me how the EOF checking is done for incoming> RTP /UDP streams(without RTSP)... It seems to me as if there is no such> check.. Could someone please point out where in the source code the eof> check is being done for rtp/udp streams if there is one?> > thank you,> anand> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070928/31b196e2/attachment-0001.htm > > ------------------------------> > Message: 11> Date: Fri, 28 Sep 2007 19:34:48 +0300> From: R?mi Denis-Courmont <rdenis at simphalempin.com>> Subject: Re: [vlc-devel] EOF Check for RTP/UDP streams> To: Mailing list for VLC media player developers> <vlc-devel at videolan.org>> Message-ID: <200709281934.48739.rdenis at simphalempin.com>> Content-Type: text/plain; charset="utf-8"> > Le Friday 28 September 2007 19:29:25 Anand Anand, vous avez ?crit?:> > Hi,> > could someone please tell me how the EOF checking is done for incoming> > RTP /UDP streams(without RTSP)... It seems to me as if there is no such> > check.. Could someone please point out where in the source code the eof> > check is being done for rtp/udp streams if there is one?> > There is none.> > -- > R?mi Denis-Courmont> http://www.remlab.net/> > > ------------------------------> > _______________________________________________> vlc-devel mailing list> vlc-devel at videolan.org> http://mailman.videolan.org/listinfo/vlc-devel> > > End of vlc-devel Digest, Vol 4, Issue 99> ****************************************
_________________________________________________________________
Windows Live Custom Domain,您的免费电子邮局。
https://domains.live.com/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070930/92d77cea/attachment.html>


More information about the vlc-devel mailing list