Elecard
May 23, 2013, 04:05:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Network Streaming Problem  (Read 4702 times)
sandicz
Newbie
*
Posts: 13


View Profile
« on: August 22, 2011, 08:03:54 am »

Hi,

for testing purposes I try to stream a video file, converted to H.264/AVC, via Network. Currently I'm using GraphEdit (or GraphStudio) to connect the Elecard filters. The connection works well (after spending a while of try&error on the settings).
My problem at the moment is, that the video playback should work, but doesn't. There is just no image on the Video Renderer as seen here:


Im using the Elecard Codec SDK G4 Eval on Windows 7. Firewall disabled. Graphedit runs with admin rights.

I also tried to get the SDK samples to work, especially NWPlayer and NWServer. I already got the connection between server and client, but the problem with that is nearly the same. Sometimes the NWPlayer shows one correct video frame (mostly one of the first ones) and sometimes refreshes to an other frame after a few seconds. The only difference is, that I had to convert the video to mpg (as the NWServer doesn't support avi).

How can I get the streaming source and sink to work together perfectly?

With best regards, Stefan

PS: If you need some more information to help me with my problem, please ask.

[EDIT: corrected mistakes]
« Last Edit: August 22, 2011, 08:06:44 am by sandicz » Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #1 on: September 01, 2011, 03:47:45 am »

Hi Stefan,

Yes, there is such problem in AVC video streaming & decoding.
We are working on it now.

Here are some ways of "roundabout":

1. You can use TS mode instead of ES. I mean, you can connect Encoder to MPEG Multiplexer and then to NWREnderer.
On client side you have to use MPEG Push Demultiplexer after NWSource.

2. It seems that the problem is caused by incorrect work of DXVA mode. So you can turn off hardware acceleration in decoder or connect it to another video renderer such as VMR9(where DXVA mode won't be turned on)

Ivan
Logged
sandicz
Newbie
*
Posts: 13


View Profile
« Reply #2 on: September 12, 2011, 04:11:44 am »

Hello Ivan,

Thanks for your reply. I will give it a try this week and tell you if it works good for me. Smiley

Stefan
Logged
sandicz
Newbie
*
Posts: 13


View Profile
« Reply #3 on: September 12, 2011, 07:31:22 am »

Adding the Multiplexer and Push-Demultiplexer works very well. Thank you again Smiley


(Graph with Preview Output on Server)

[EDIT] One Problem remains: The client graph could not be saved in GraphEdit or GraphStudio. Programs crash when I try to save the graph containing a NetworkSource connected to another filter. Any solutions for that?
« Last Edit: September 12, 2011, 07:35:40 am by sandicz » Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #4 on: September 21, 2011, 12:17:21 am »

Hi Stefan,

This was fixed in the latest version of NWSource, but it hasn't passed through all testing procedures yet.
If you write an email to tsup@elecard.ru I will send you the latest version for tests.
It will be available on our site after official release of this version.

Ivan
Logged
sandicz
Newbie
*
Posts: 13


View Profile
« Reply #5 on: September 21, 2011, 02:18:29 am »

Hello Ivan,

can you say when the next release will be? Otherwise I will write an email as you recommended.
Thank you for your great support Smiley

Stefan
Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #6 on: September 21, 2011, 03:03:34 am »

It's better to write an email.
I can't say the date of release. The filter should pass all the tests first.
Anyway, our preliminary tests show that it is rather stable.

Ivan
Logged
sandicz
Newbie
*
Posts: 13


View Profile
« Reply #7 on: February 21, 2012, 02:16:22 am »

Hello domianatadaha345,

thanks for your answer. I'm using my own very simple Renderer and MPEG Multiplexer (Server) and Push Demultiplexer (Client) as proposed below. So I'm using Transport Stream instead of Elementary Streams. DXVA can be enabled in the H.264 decoder but I don't know if it really works and how to test it.

But so far this solution works fine for me Smiley

Stefan

EDIT: Additionally to the graph above I have an audio stream multiplexed to the video, so using Multiplexer and Push Demux should make sense:

 
« Last Edit: February 21, 2012, 02:22:49 am by sandicz » Logged
sandicz
Newbie
*
Posts: 13


View Profile
« Reply #8 on: May 15, 2012, 01:28:51 am »

Hey,
the network bandwidth used by A/V streaming equates to the selected bitrate of the audio and the video encoder.

In my case the values are the following:
- avc video: 10,000,000 bps (fixed) = 1,250,000 Byte/s
- aac audio: 96 kbps = 12,288 Bytes/s

--> used network bandwidth: ~1,330,000 Byte/s

Stefan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!