Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Streaming content and SOAP

 
Anwar M. Haneef
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Let us assume that there is a SOAP web service that reduces the framerate of an input video file and returns it. This can be implemented rather easily. I cand upload a movie file to a SOAP server, get is transformed and get the processed file in return.
Is is possible for me to implement this as a SOAP service in case when I would like to input the video file as a continuous stream, get it processed in real time and obtain the result as a video stream ? What I want to know is whether I can do real-time processing of some media content and retrieve part of it while some parts are actually being processed by a SOAP server.
Analogous to this situation would be a media transcoding software that reads from a video file (say MPEG), transcodes it to AVI and writes it out to an AVI file as and when the transcoding occurs. The reason I have my query in relation to SOAP is since SOAP seems so much like a simple messaging mechanism for RPC.
Any feedback on this topic would be highly appreciated.
Regards,
Anwar
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think all the encoding and decoding would reduce your frame rate to very low levels. You could use SOAP to set up the processing but for decent speed I think you are going to need socket to socket transfer of binary data.
Bill
 
Roy Huang
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anwar, I'm interested in your media soap transform case. For the uploading media file to soap server,
U use what kind of the soap binding?
take the media file as an attachment for the soap binding? or directly from URI transfer?
I agree with Bill's advice, It's wise to use socket transfer for media file, since it doesn't lose interoperability either. and here soap will not bring any advance for us.
 
Anwar M. Haneef
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Roy, Bills advice is well taken. I would ideally have wanted a SOAP based streaming media transcoder where I could tunnel RTP packets over SOAP, get it transcoded and returned as SOAP messages. But I am unsure whether this is possible.
In case I am not streaming media, uploading a media file, transcoding it and returning it does not seem too mamoth a task.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!