Search the Community
Showing results for tags 'rtp'.
-
Hi, I Have a GUI with 2 VLC instance inside. I use VLC.au3 for receive the rtp streams I can watch the videos and listen the audio streams. Is there a way to read each stream audio volume value? I would like to show near the video stream the audiometers I saw some scripts to show audio meters, but only with mp3 or wav files This is my script: #include <GDIPlus.au3> #include "VLC.au3" Global $vlc128, $vlc129 Global $video_path128 = "128.m3u8" Global $video_path129 = "129.m3u8" _VLCErrorHandlerRegister() $g_hGUI = GUICreate("VLC", 200, 298, 192, 124) GUISetState() Global $Graphic = _GDIPlus_GraphicsCreateFromHWND($g_hGUI) $vlc128 = _GUICtrlVLC_Create(10,10,180,144) $vlc129 = _GUICtrlVLC_Create(10,154,180,144) _GUICtrlVLC_Clear($vlc128) _GUICtrlVLC_Play($vlc128, _GUICtrlVLC_Add($vlc128, $video_path128)) _GUICtrlVLC_SetVolume($vlc128,50) ;set the vlc volume to zero _GUICtrlVLC_Clear($vlc129) _GUICtrlVLC_Play($vlc129, _GUICtrlVLC_Add($vlc129, $video_path129)) _GUICtrlVLC_SetVolume($vlc129,100) ;set the vlc volume to max Do Until False * Not Sleep(100000) ;do nothing, just sleep 128.m3u8 file: #EXTM3U #EXTINF:321,Example Artist - Example title rtp://239.255.0.128:5004 and 129.m3u8 file: #EXTM3U #EXTINF:321,Example Artist - Example title rtp://239.255.0.129:5004 Thanks Marco
-
- audiometer
- vlc
-
(and 2 more)
Tagged with:
-
ciao, Is it possible to play a rtp mpeg2 stream in a gui? The only solution I found is to import in my gui a firefox windows with this html code inside: <html> <title>Live Mpeg Streaming</title> <body> <OBJECT id='mediaPlayer1' width="480" height="550" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x- oleobject'> <param name='url' value="rtp://239.255.0.100:5001"> <param name='fileName' value=url> <param name='animationatStart' value='true'> <param name='transparentatStart' value='true'> <param name='autoStart' value="true"> <param name='showControls' value="false"> <param name ="ShowAudioControls"value="false"> <param name="ShowStatusBar" value="false"> <param name='loop' value="false"> <EMBED type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='6' autosize='1' bgcolor='darkblue' showcontrols="false" showtracker='1' showdisplay='1' showstatusbar='1' videoborder3d='1' width="180" height="144" src="rtp://239.255.0.100:5001" autostart="true" designtimesp='5311' loop="true"> </EMBED> </OBJECT> <br /> </body> </html>The url is 239.255.0.100:5001 and it's a mpeg2 stream Thankyou Marco