Ultimate Media Center Win8Metro DVblink Client

DVBLink Remote API clients and tools

Re: Ultimate Media Center Win8Metro DVblink Client

Postby gatolus » Tue Dec 16, 2014 2:38 pm

Hi

I have been told that my app no longer works so i have investigated

I am Sending down this.


command=play_channel&xml_param=<?xml version=\"1.0\" encoding=\"utf-8\"?><stream xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.dvblogic.com\">
<channel_dvblink_id>10050000</channel_dvblink_id>
<client_id>22255</client_id>
<server_address>30.0.0.1</server_address>
<stream_type>asf</stream_type>
<transcoder>
<audio_track>eng</audio_track>
<bitrate>4096</bitrate>
<height>768</height>
<width>1024</width>
</transcoder>
</stream>

And i get this

<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<response xmlns=\"http://www.dvblogic.com\">
<status_code>1002</status_code>
<xml_result/>
</response>


BAD PARAMETER.



Nothing changed on my side so it must be Dvblink 5?
I am also getting this
2014-Dec-16 14:58:27: [E] asf/wmv provider is not supported in my log..
And i Found this...
•Windows phone streaming in v5 does not make use of asf anymore. It uses mp4 instead. The compatible Windows Phone app will be released later
in the release notes

if request an RAW HTTP stream i get 0xC004F011 .. this is related to no mpeg2 Lic .. No media center installed.. I think...



Can anyone provide me with sample code or Information for Live TV and Recorded playback with transcoding that will work in Windows 8.1 Universal Apps.

I would like to get my app running an port it to an universal App.. For Windows Phone , WinRT and Xbox one
IF i can get the support i need..

regards
Albert
gatolus
 
Posts: 37
Joined: Mon Aug 20, 2012 4:58 pm


Re: Ultimate Media Center Win8Metro DVblink Client

Postby Oberon » Wed Dec 17, 2014 9:56 am

Please try using "mp4" instead of "asf" in your request.
It should start working then.
Oberon
 
Posts: 11743
Joined: Thu Sep 06, 2007 5:04 am

Re: Ultimate Media Center Win8Metro DVblink Client

Postby gatolus » Tue Dec 23, 2014 8:07 am

Oberon wrote:Please try using "mp4" instead of "asf" in your request.
It should start working then.


Thanks Oberon but it does not seem to work


Req
command=play_channel&xml_param=<?xml version=\"1.0\" encoding=\"utf-8\"?><stream xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.dvblogic.com\"><channel_dvblink_id>10240000</channel_dvblink_id><client_id>22255</client_id><server_address>30.0.0.1</server_address>
<stream_type>mp4</stream_type><transcoder><audio_track>eng</audio_track><bitrate>384</bitrate><height>240</height><width>320</width></transcoder></stream>&count=54


Resp
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<response xmlns=\"http://www.dvblogic.com\"><status_code>1002</status_code><xml_result/></response>\n


I did however manageed to get the raw mpeg2 stream running on Win 8.1 Without Media center installed..
But i wound like to get the transcoder running..

Regards
gatolus
 
Posts: 37
Joined: Mon Aug 20, 2012 4:58 pm

Re: Ultimate Media Center Win8Metro DVblink Client

Postby Oberon » Wed Dec 24, 2014 1:42 pm

Actually if you remove the escaping slashes from the command xml - it should start working.
Oberon
 
Posts: 11743
Joined: Thu Sep 06, 2007 5:04 am

Re: Ultimate Media Center Win8Metro DVblink Client

Postby gatolus » Sun Dec 28, 2014 10:06 am

Oberon wrote:Actually if you remove the escaping slashes from the command xml - it should start working.

Sorry is just to way i captured the xml the escaping slashes are not part the actual request. Bit misleading.

I just went and looked at the logs on dvblink and there was an error about no free concurred streams or something. Restarted the server an killed all clinets and i got an stream back.. like "http://30.0.0.1:8101/dvblink/http_stream_2"



Problem is the stream wont play.
1. i my Windows 8.1 store app i get 0xC00D36C4.
2. Opening the url from media Player wont work.
3. Opening the stream Frm VLC player connects but gives no picture. I did see some strange Codec info from VLC
vlc.jpg
vlc.jpg (99.17 KiB) Viewed 4613 times

4.if I DONT USE THE TRANSCODER i can play to mpeg2 stream in my Windows 8.1. store app and in VLC using the same method.



Is there other stream types /for transcoder i can try.
Can you please confirm that the mp4 Stream at least work using VLC network stream..
What exact width /height / bitrate are supported using mp4..?


See Attached logs..

2014-Dec-28 10:42:54: [I] transcoder request came in
2014-Dec-28 10:42:54: [I] request type is MP4_TYPE
2014-Dec-28 10:42:54: [I] Starting mp4 transcoder: w=720 h=576 br=384
2014-Dec-28 10:42:55: [I] broker::change_channel(): sink: 9b3ef943-314e-4efd-a82a-d04318b7986a, log channel: 10040000, client id: 22255000-0000-0000-0000-000000000000
2014-Dec-28 10:42:55: [I] channel_manager::change_channel(): sink: 9b3ef943-314e-4efd-a82a-d04318b7986a, channel: 10040000
2014-Dec-28 10:42:55: [I] stream_manager::remove_stream_for_sink. Remove stream request for sink 9b3ef943-314e-4efd-a82a-d04318b7986a
2014-Dec-28 10:42:55: [I] stream_manager::add_stream. New stream request: channel 10040000, sink 9b3ef943-314e-4efd-a82a-d04318b7986a, sink prio 0
2014-Dec-28 10:42:55: [I] stream_manager::add_stream_to_existing_path. Added sink 9b3ef943-314e-4efd-a82a-d04318b7986a to an already existing stream path for channel 10040000. Number of sinks 2
2014-Dec-28 10:42:55: [I] channel_manager::change_channel(): sink: 9b3ef943-314e-4efd-a82a-d04318b7986a, ...end
2014-Dec-28 10:42:55: [I] network_streamer::start_channel_streaming: resource_url = http://30.0.0.1:8101/dvblink/http_stream_2
2014-Dec-28 10:42:56: [I] CTSStreamWaiter::GetPidToCheck. PID to check 5000
2014-Dec-28 10:42:56: [I] CTSStreamWaiter::ProcessStream. Found first not encrypted packet. Start streaming
2014-Dec-28 10:43:17: [I] iphone_service::process_http_stream_request: /dvblink/http_stream_2
2014-Dec-28 10:43:17: [I] http_provider::send_thread_func: adding http client
gatolus
 
Posts: 37
Joined: Mon Aug 20, 2012 4:58 pm

Re: Ultimate Media Center Win8Metro DVblink Client

Postby gatolus » Thu Feb 19, 2015 6:24 pm

UMC updated AND UP AN RUNNING AGAIN,
UMC went down after asf streaming was removed on Dvblogic 5.0

Updated app now support native mpeg2 Streaming or transcoding using mp4 transcoder
Please use latest version of dvblogic, as there were fixes in mp4 transcoding..

http://apps.microsoft.com/windows/en-za ... ab9c6a6a7a
gatolus
 
Posts: 37
Joined: Mon Aug 20, 2012 4:58 pm

Previous

Return to Development corner

Who is online

Users browsing this forum: No registered users and 1 guest