Elecard
May 21, 2013, 03:11:27 am
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Elecard
>
PC Development Kits
>
PC SDK
>
Elecard SDK
>
Elecard Codec SDK G4
(Moderators:
IvanR
,
IrinaM
) >
Configuring RTSP Source filter
Pages: [
1
]
« previous
next »
Print
Author
Topic: Configuring RTSP Source filter (Read 2086 times)
Arianit
Newbie
Posts: 30
Configuring RTSP Source filter
«
on:
May 24, 2010, 06:00:08 am »
I have problems with the following code which is taken from SDK:
CComPtr<IModuleConfig> rtsp_config;
HRESULT hr = m_fNWSourceRTSP->QueryInterface(IID_IModuleConfig, (void**)&rtsp_config);
if (FAILED(hr))
return hr;
CComVariant val;
//val = m_cur_config.rtsp_config.server_url.c_str();
val.vt = VT_BSTR;
val.bstrVal = SysAllocString(m_cCurrentConfig.rtsp_config.server_url.c_str());
hr = rtsp_config->SetValue(&ERTSP_server_url, &val);
/******* This Allways returns E_UNEXPECTED *******/
if (FAILED(hr))
return hr;
Logged
IrinaM
Moderator
Posts: 138
Re: Configuring RTSP Source filter
«
Reply #1 on:
May 24, 2010, 07:26:43 pm »
Hello Arianit,
I think you use wrong type of server URL.
The Elecard RTSP NetSource filter requests the selected media file from VOD server with string of the following type:
elecard_rtsp://server_address:port[/data_path]
where
server_address – server IP address
port – number of port used for RTSP connections (unsigned integer value from 1 to 65535; default value is 554)
data_path – media file for playback
For example: elecard_rtsp://127.0.0.1:554/movie.mpg
Logged
Arianit
Newbie
Posts: 30
Re: Configuring RTSP Source filter
«
Reply #2 on:
May 25, 2010, 01:49:12 am »
Hi Irina,
I would expect to see that problem (wrong type of URL) later on , when I try to run the graph. This is still in the phase of trying to configure the RTSP source filter. I tried different formats of URL: with IP, with dns name, with port without port number it just doesn’t like the SetValue(&ERTSP_server_url, &val); and it always always returns E_UNEXPECTED *******/. This seems to be behaviour as if I try to set value of a parameter with the wrong vt type.
I tried in two ways by not setting vt:
CComVariant val;
val = m_cur_config.rtsp_config.server_url.c_str();
hr = rtsp_config->SetValue(&ERTSP_server_url, &val);
Or setting vt:
CComVariant val;
val.vt = VT_BSTR;
val.bstrVal = SysAllocString(m_cCurrentConfig.rtsp_config.server_url.c_str());
hr = rtsp_config->SetValue(&ERTSP_server_url, &val);
Again all the code has been lifted from you SDK and the graph is not running yet at this point.
By the way thank you very much for your prompt replies.
Logged
IrinaM
Moderator
Posts: 138
Re: Configuring RTSP Source filter
«
Reply #3 on:
May 25, 2010, 08:46:01 pm »
Arianit, what server application do you use? Elecard VOD Server? Maybe server application has wrong settings.
Do you try to use other client (for example, VLC Player) for playing this RTSP request? What results?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
PC Products
-----------------------------
=> Consumer Players
===> Elecard MPEG Player
===> Elecard DVD Player
=> Consumer Converters
===> Elecard Converter Studio
===> Elecard Converter Studio AVC HD Edition
===> Elecard Converter Studio AVC HD Edition Mac
===> Elecard XMuxer Lite
=> Professional Converters
===> Elecard Converter Studio Pro
===> Elecard Converter Studio Pro HD
===> Elecard XMuxer Pro
=> Elecard PlugIns
===> Elecard AVC PlugIn
===> Elecard AVC PlugIn for ProgDVB
===> Elecard AVC Streaming PlugIn for WMP
===> Elecard MPEG2 Decoder and Streaming PlugIn for WMP
===> Adobe Premiere AVC HD Compiler Plugin
===> Adobe Premiere AVC HD Import & Player Plugin
=> Professional Analyzing tools
===> Elecard StreamEye Studio
=====> Elecard YUV Viewer
=====> Elecard Video QuEst
=====> Elecard Stream Analyzer
=====> Elecard Buffer Analizer
=====> Elecard StreamEye
===> Elecard Stream Inspector
-----------------------------
PC Development Kits
-----------------------------
=> Media Foundation SDK
=> PC SDK
===> Elecard SDK
=====> Elecard Codec SDK G4
=====> Elecard Codec .NET SDK G4
=====> Elecard Video Transform SDK
===> Elecard SRD
=====> Elecard IPTV Player SRD
=====> Elecard XMuxer SRD
=> Components
===> AVC/H.264 solutions
===> Elecard AAC coding technology
===> MPEG-4 Intermedia Format (MP4)
===> OneClick Compressor
===> Audio Decoders
===> Audio Encoders
===> Networking components
===> Muxers-Demuxers
===> Transform components
===> Various components
===> Video Decoders
=====> Elecard Decoder Pack
===> Video Encoders
=====> Elecard MPEG-2 Encoder Pack
-----------------------------
DVB/IPTV Products
-----------------------------
=> DVB/IPTV Servers
===> CodecWorks
===> V-Cinema TimeShift Server
===> V-Cinema VoD Server
===> XWorks IP-DVB Encapsulator
===> XWorks DVB IP Gateway, XWorks RD
===> IPTV solutions
=> DVB/IPTV STB's
===> STB 820
===> STB 83x/84x
===> STB 610
===> Upcoming HD STB
===> Поддержка пользователей
=====> Прошивки
=====> Подключение
=====> Настройки(Settings)
=====> Интернет-вещание(IPTV)
=====> Vidimax(VoD)
=====> Видео по запросу(VoD)
=====> Интернет-услуги(Web Serviсes)
=====> Интернет-телефония(VoIP)
=====> USB
=====> Оплата товаров и уcлуг
=====> Пожелания и предложения
=====> Другое
-----------------------------
Embedded & Hardware Products
-----------------------------
=> PC Cards
===> HD SDI Capture and Playback boards (HD Access 2.0)
===> Deblock IP Core
===> DVB-ASI TX\RX
===> IP Cores under development
=> DSP Codec SDK
===> SC-1500
===> NXP Codecs
=====> PNX 1500/1700
=======> Audio Decoders
=======> Audio Encoders
=======> Muxer/Demuxer PS/TS
=======> Video Decoders
=======> Video Encoders
=====> PNX 8950
=======> AAC Decoder
=======> AVC Decoder
=======> MPEG Audio Decoder
=======> MPEG-2 Decoder
===> TI DaVinci Codecs
=====> DaVinci 6446
=======> AAC Decoder
=======> AVC Decoder
=======> AVC Encoder
=====> DaVinci 6467
=======> AVC HD Decoder
=======> AVC HD Encoder
-----------------------------
Solveig Multimedia
-----------------------------
=> Solveig Multimedia products
-----------------------------
Student developments
-----------------------------
=> Student developments
-----------------------------
Bug Reports
-----------------------------
=> Bugs Found / Bugs Fixed
-----------------------------
General
-----------------------------
=> General Discussions
=> Questions and Answers
=> Your Elecard Wishlist
-----------------------------
Website
-----------------------------
=> Site Comments and Feedback
Loading...