<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Record RTSP audio stream in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1082436#M479220</link>
    <description>&lt;P&gt;good question on the 5 second stream recording.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent the last hour trying to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basicly with the VLC plugin you do a invoke node "Add Target" then enter in url to the stream and options....this is where im at. The options are tricky and complicated. Every possible file type is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to know what you want to output. This is what i've got but it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For options im creating an array of string with this in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--sout '#transcode{vcodec=h264, vb=800, scale=1, deinterlace=0, acodec=aac, ab=128, channels=1, samplerate=44100}:standard{access=file,mux=mp4,dst='c:\video_test.mpg'}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried several variations to this with no luck. double quotes, single quotes, different vcodec, etc... I can get it to work in VLC so for the most part so these settings should work. And this is just one option. You can add more if needed. like fps output, etc... If i figure out the save file i will report the vi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pRoFiT on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt;03-02-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 05:38 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="local-time"&gt;edit: not sure why the single spaces are so big? It was a copy paste?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pRoFiT on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-02-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 05:39 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 02 Mar 2010 23:39:33 GMT</pubDate>
    <dc:creator>pRoFiT</dc:creator>
    <dc:date>2010-03-02T23:39:33Z</dc:date>
    <item>
      <title>Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1080505#M478476</link>
      <description>&lt;P&gt;Okay im trying to automate an audio test on a IP video encoder. I can find the rtsp stream location but im not sure were to start on retrieving the stream. I have VLC playing the stream...i guess i could run a command line vlc to save a 5 second stream? then open the file for evaluation? What i would like is direct stream copy in labview so that i dont need 3rd party tools installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe a .net call to do this would help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Corey&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2010 01:30:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1080505#M478476</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-02-27T01:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1080669#M478555</link>
      <description>bump? nothing?</description>
      <pubDate>Sun, 28 Feb 2010 09:11:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1080669#M478555</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-02-28T09:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1080861#M478622</link>
      <description>&lt;P&gt;While you could implement RTSP directly in LabVIEW at least to the point that you can receive a simple voice stream, this is not trivial indeed. Especially since RTSP allows for various compression negotiation and what else and implementing compression in LabVIEW itself is not a very efficient idea, mostly in terms of development time, but it's also not easy to get good performance when dealing on bit level with data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So personally I would get a good RTSP Open Source shared library and interface that to LabVIEW. This is also not the most easy approach but I would do it because it keeps the option open to reuse it on other LabVIEW platforms than Windows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using .Net certainly will work too, finding the right component and API documentation is probably the most challenging part. Integrating it into LabVIEW if you only want to retrieve a limited chunk of data should be fairly straight forward, but for seamless streaming into LabVIEW it would certainly require some more advanced programming level, where you would have to interface with some sort of double buffered API. It's main disadvantage in my view is its strict reliance on modern Windows versions only, possibly even limiting your solution to the greatest and newest Windows platform, depending on the .Net dependencies your component has. &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rolfk on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-01-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 09:36 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 01 Mar 2010 08:36:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1080861#M478622</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2010-03-01T08:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1081331#M478794</link>
      <description>&lt;P&gt;Corey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other software, such as audio Logger, let you copy the recording file before it finish recording.&amp;nbsp; So you can evaluate the copy.&lt;/P&gt;&lt;P&gt;Don't know if VLC will let you do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just started to play with VLC last week.&amp;nbsp; How do you run a command line vlc to save a 5 second stream?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2010 19:20:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1081331#M478794</guid>
      <dc:creator>zou</dc:creator>
      <dc:date>2010-03-01T19:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1082436#M479220</link>
      <description>&lt;P&gt;good question on the 5 second stream recording.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent the last hour trying to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basicly with the VLC plugin you do a invoke node "Add Target" then enter in url to the stream and options....this is where im at. The options are tricky and complicated. Every possible file type is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to know what you want to output. This is what i've got but it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For options im creating an array of string with this in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--sout '#transcode{vcodec=h264, vb=800, scale=1, deinterlace=0, acodec=aac, ab=128, channels=1, samplerate=44100}:standard{access=file,mux=mp4,dst='c:\video_test.mpg'}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried several variations to this with no luck. double quotes, single quotes, different vcodec, etc... I can get it to work in VLC so for the most part so these settings should work. And this is just one option. You can add more if needed. like fps output, etc... If i figure out the save file i will report the vi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pRoFiT on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt;03-02-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 05:38 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="local-time"&gt;edit: not sure why the single spaces are so big? It was a copy paste?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pRoFiT on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-02-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 05:39 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Mar 2010 23:39:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1082436#M479220</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-03-02T23:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1083515#M479625</link>
      <description>&lt;P&gt;Well I've spent some time working on this with no luck....I did find a post somewhere that said VLC's activeX does not have recording support? But I could not find anything from vlc to support that. Running wireshark to watch network traffic and streaming video gave me a rough idea of what I need to send and receive using TCP calls. And after reading through the basic RTSP standards it seems simple enough. Only issue now would be how to take the streaming h.264 video and display it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Probably more work then I really want to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running VLC from the command line works but there is no way to stop it or give it a seconds to record option. Maybe a workaround could be to kill the task after a couple seconds. But that would not be very stable or repeatable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next I need to see if&amp;nbsp;there is anything else that has activex RTSP streaming. Something that will allow me to save the stream or dump it strait into labview. Seems VLC is the dominant application for this stuff.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help from you guys would be great. I dont care if its allot of work and tons of subvi's.&amp;nbsp;I just need anything. That's my best "not sounding desperate" plea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Corey aka pRoFiT&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2010 07:26:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1083515#M479625</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-03-04T07:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1083524#M479632</link>
      <description>&lt;P&gt;Yep, RTSP itself isn't that complicated and would be quite easy to implement. It's the various stream formats that are the difficult task with all sorts of compression and what else, which is definitely not something you want to implement in LabVIEW. The development of those algorithmes is tricky, complicated and on a level where you almost certainly will run into performance troubles with LabVIEW, since it's not as ideal for complicated bit banging operations as C and sometimes even assembly is used to get the desired performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still beleive that ActiveX while a promising idea at first is not the ideal solution. It would be quite quick and not to much hassle if there was a good ActiveX component with a well defined API but I haven't seen that yet. In addition I do mislike the lockin into Windows that wouldencompass.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I had the need for that, I would probably look at the code at &lt;A href="http://www.live555.com" target="_blank"&gt;http://www.live555.com&lt;/A&gt; and incorporate that as shared library module into a LabVIEW library. Possibly you could even use their openRTSP application as standalone client and redirect its standard output somehow.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2010 07:44:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1083524#M479632</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2010-03-04T07:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1084410#M479936</link>
      <description>&lt;P&gt;Thanks rolfk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yah the last couple days of looking into RTSP I keep ending back at live555. Looks like they are monopolizing on the RTSP streams &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I pulled there source down to look at. Maybe if I have time to compile it I will try to make it work for me. Always good to learn something new. Specially since I work in video ip security. I might as well understand the underlying code im testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Corey&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2010 07:10:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1084410#M479936</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-03-05T07:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1084412#M479938</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;pRoFiT wrote: &lt;BR /&gt;&lt;P&gt;Thanks rolfk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yah the last couple days of looking into RTSP I keep ending back at live555. Looks like they are monopolizing on the RTSP streams &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I pulled there source down to look at. Maybe if I have time to compile it I will try to make it work for me. Always good to learn something new. Specially since I work in video ip security. I might as well understand the underlying code im testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Corey&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt; No they definitely do not monopolize the RTSP market but if you look for an Open Source RT(S)P library that is still actively maintained you do end up there. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And they seem to be commited to it, as is evidenced by projects relying on it for their RTSP stream such as VLC and MPlayer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I had a real need for this and more importantly a useful test setup to actually test it, I would probably have done a LabVIEW library for it some time ago.&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rolfk on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-05-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 08:18 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Mar 2010 07:18:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1084412#M479938</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2010-03-05T07:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1084720#M480040</link>
      <description>&lt;P&gt;I managed to record mp3 file.&amp;nbsp; I only need audio part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that &lt;STRONG&gt;VLC &lt;/STRONG&gt;let you play the mp3 file&amp;nbsp;while recording.&lt;/P&gt;&lt;P&gt;I can use WMP to play the mp3 file while recording using VLC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Close the VLC window will make it stop recording.&lt;/P&gt;&lt;P&gt;lvwutil32.zip from NI can stop a running application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2010 15:40:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1084720#M480040</guid>
      <dc:creator>zou</dc:creator>
      <dc:date>2010-03-05T15:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1090138#M482361</link>
      <description>&lt;P&gt;Zou,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well in that case I could run a command line VLC and then end it after 10&amp;nbsp;seconds. Seems like the easiest way right now. I think user32.dll in windows will let you kill tasks. i know there is an easy way in .net to start an app and keep the process id so you can kill it later. I used that once to spawn off a bunch of ghostsrvr apps for imaging multiple pc's &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyways, thanks.&amp;nbsp;I think this is my major blocking point for a fully automated video encoder test application.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2010 02:57:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1090138#M482361</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-03-13T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1090176#M482383</link>
      <description>This VI works similar to the System Exec VI but also returns the PID of the process so you can later kill it.&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rolfk on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-13-2010&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 08:04 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Mar 2010 07:04:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1090176#M482383</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2010-03-13T07:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1090479#M482565</link>
      <description>&lt;P&gt;Corey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.net way is the best to terminate a process.&amp;nbsp; But don't "kill" the process, you can use the id to get the main window handle.&amp;nbsp; Close the main window to terminate the process gracefully.&amp;nbsp; No worry about memory leak, and&amp;nbsp;re-start the application again without trouble.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method is just a wrap around the C/WinAPI method (Rolf used in his VIs) I think.&amp;nbsp; I used C/WinAPI method&amp;nbsp;five years ago &lt;STRIKE&gt;to torture&lt;/STRIKE&gt; to test Intel chips: start/stop&amp;nbsp;an application repeatedly, and in multiple instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I moved on to VLM now.&amp;nbsp; It can handle multiple instance of VLC, and for multiple source.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2010 21:15:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1090479#M482565</guid>
      <dc:creator>zou</dc:creator>
      <dc:date>2010-03-14T21:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1097273#M485259</link>
      <description>&lt;P&gt;Thanks for the LvUtils.zip file. I'm am getting back to this and thought, maybe i should just get a working run and kill process working. Then i noticed you posted this file &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've setup a simple vi, using your files, with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"c:\program files\VideoLan\vlc\vlc.exe" rtsp://192.168.1.28/stream1 --sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp3,ab=128,channels=1,samplerate=44100}:std{access=file,mux=mp4,dst=c:\test.mpg}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And that starts the vlc no problem. But if i use the kill process then it does not close the file or something and i dont get video from&amp;nbsp;test.mpg? If i run from command line and click on the X or stop or file/close then the file saves correctly. There has to be a way to maybe use "findwindow" and "sendmessage" to tell VLC to close? I think i have those already put together for labview somewhere &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Corey&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2010 01:40:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1097273#M485259</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-03-24T01:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1097276#M485261</link>
      <description>&lt;P&gt;Okay user32.dll findwindow and sendmessage seem to work. Here is a snippet. also used your create function. I was hoping the PID and the hwnd would be the same and then i wouldn't need findwindow...but they are different. I may need the PID to verify the process closed...Not sure yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/12620iF97546EA0CB38FBB/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="save_stream_test.png" title="save_stream_test.png" align="center" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.s. ignore the &amp;amp;H112 that was hex command for the sendmessage to close window. shown above as 112&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Corey&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2010 02:05:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1097276#M485261</guid>
      <dc:creator>pRoFiT</dc:creator>
      <dc:date>2010-03-24T02:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1097421#M485306</link>
      <description>&lt;P&gt;No the PID is the process ID. It is a unique Windows kernel ID for a process. But a process can have MANY windows, so there is no way they could be the same. Also processes are very low level kernel objects, almost at the basic of the Windows kernel together with events, semaphores, threads and memory. Windows are GDI (Graphics Device Interface) objects, at least 2 layers higher, that make use of many kernel services too but also of other subssytems, one of them being the graphics output system, and handling the basic user input such as mouse, keyboard and such too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are functions to enumerate the windows of a given process but they use callback functions and are therefore not feasable to use directly in LabVIEW without some small C wrapper. &lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2010 08:48:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1097421#M485306</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2010-03-24T08:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1871977#M634018</link>
      <description>&lt;P&gt;Thanks for posting the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having problem with user32.dll: labview crashes the moment I run my vi that uses that dll. (WIN7 normal user account)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you tell what setting do you use for the call library function? Mine are attached to this post.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 10:50:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1871977#M634018</guid>
      <dc:creator>omppu</dc:creator>
      <dc:date>2012-02-10T10:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1872023#M634027</link>
      <description>&lt;P&gt;Could you post the code for the solution please??&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:22:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/1872023#M634027</guid>
      <dc:creator>omppu</dc:creator>
      <dc:date>2012-02-10T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Record RTSP audio stream</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/3621096#M1015685</link>
      <description>&lt;P&gt;Kind of late &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; like 5 years late. but hey, maybe this will help someone.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 01:24:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Record-RTSP-audio-stream/m-p/3621096#M1015685</guid>
      <dc:creator>pRoF1T</dc:creator>
      <dc:date>2017-05-02T01:24:29Z</dc:date>
    </item>
  </channel>
</rss>

