couldn,t realize processor.........

hi ,

i am new to JMF...

and i am using...VideoTransmit.java file...

after compiling..

when i wrote...

java VideoTransmit file:/E:/video/crash.avi 10.112.154.234 42060

it gives an Error...

Video transmitted as:

JPEG/RTP, 592x256, FrameRate=23.9

ContentDescriptorRAW/RTP

processorcom.sun.media.processor.unknown.Handler@fabe9

Controller.Realized300

Failed to build a graph for the given custom options.

Failed to realize: com.sun.media.ProcessEngine@181afa3

Cannot build a flow graph with the customized options:

Unable to transcode format: XVID, 592x256, FrameRate=23.9, Length=909312 0 e

xtra bytes

to: JPEG/RTP, 592x256, FrameRate=23.9

outputting to: RAW/RTP

Error: Unable to realize com.sun.media.ProcessEngine@181afa3

resultfalse

Error : Couldn't realize processor

thats my problam...

so please help me out...

what should i do for this...

thanks..n Regards..(adv)

[1026 byte] By [pawan_sun_299a] at [2007-10-3 11:06:39]
# 1
i just tried VideoTransmit myself. Works fine..did you try with any other file except crash.avi? did you try some .mov file?
andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 2
can u send me..ur .mov files..to my mail id..pawan_bpl007@yahoo.com...thanks..n regards..
pawan_sun_299a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 3
The movie that I used u can download from here http://fmj.cvs.sourceforge.net/fmj/fmj/samplemedia/
andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 4
directions:clieck on safexmas.mov.. this will take you to next page... in the next page you will see"download"... right-click on the link and choose "Save Target As..."
andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 5
dude..due to firewall..sttings..i cant..open that..page..so pls...send tht file to my mail id..pawan_bpl007@yahoo.com..thanks n regards..
pawan_sun_299a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 6
thanks..dude..now i see..what happen next..
pawan_sun_299a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 7

dude i tried..

but i got this error..

Processor.Realized300

The input format is not compatible with the given codec plugin: com.sun.media.c

dec.video.colorspace.RGBScaler@15ff48b

Failed to realize: com.sun.media.ProcessEngine@181afa3

Cannot build a flow graph with the customized options:

Unable to transcode format: SVQ3, 880x660, FrameRate=5.0, Length=56622

to: JPEG/RTP, 880x656, FrameRate=5.0

outputting to: RAW/RTP

Error: Unable to realize com.sun.media.ProcessEngine@181afa3

result for Controller.Realizedfalse

Error : Couldn't realize processor

what should i do..

thanks n regards..

pawan_sun_299a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 8

> due to firewall..sttings..

As an aside, how do you go with some of the media here?

http://www.javasaver.com/testjs/jmf/#media

(the top listed file is only around 200Kb)

(I am almost guessing, since it is a plain old

HTML link, that it is OK for you, but it would be

nice to confirm).

And andreyvk, since I know you're tuned to

this thread..I noted the FMJ site had requests

for media - feel free to use any media listed at

that URL above - it is all copyright to me and

freely distributable.A 'special thanks' with a

link back to the JavaSaver site would be nice.

AndrewThompson64a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 9
hi..andreyvk can u tell me which media server..u use..and did u make any change in the file...if yeh then ...what are they...any special..jar files..required..for that...thanks..n regards..
pawan_sun_299a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 10
BIG thanx Andrew!
andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 11
I dont use no media server (what for actually?) and the movie was not modified or tampered with in any way. It's just a plain .mov file.
andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 12

Andrew, I am gonna put some screenshots on FMJ site quite soon, so that will be the time I'll use your files. When javasaver link is in the site, I'll let you know the URL right away. Plus, your project is based on JMF isnt it? I might as well include it in existing JMF project list on the website. So, that would make 2 links for javasaver on FMJ ;-)

Thanx again.

Andrey.

andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 13
hi..then which IP address..and port number u use...and where u kept...that file...
pawan_sun_299a at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 14

you can keep the file whereever you want, as long as you give the right path (e.g. file:/E:/video/samples/inside/five/directories/safexmas.mov) . The IP address and port you can also choose at your whim: it can be IP of other PC or the same one, but dont use loopback IP (127.0.0.1), and as for port, choose any even number above 10000, for instance.

andreyvka at 2007-7-15 13:29:30 > top of Java-index,Security,Cryptography...
# 15
thanks..bro..4 this..help.....but dude..when.. i want to transmit..the data to the client side..it cant..happening..although..i am able to see video on my(same) comp..for this problam what should i do..
pawan_sun_299a at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 16

> ...link..

> ..your project is based on JMF isnt it?

Well.. not really. JavaSaver is simply my site for

promoting Java Screensavers (mine or other

good ones) and will be the site where people

can get most of my media (image slideshows,

etc.).

Maybe it is better to simply link to my personal*

site which, when I update it, should point back

to my current site(s)?

* http://www.athompson.info/andrew/index.jsp

AndrewThompson64a at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 17
Hi Andrew,Well, if at least one of the codes is javasaver is based on JMF, it's still ok. How about that oscilloscope of yours? I can put that link under the JMF projects page, dont you think?
andreyvka at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 18

REALLY depends where you want to transmit...

1. If you are transmitting over Internet, then you might be in trouble. Firewalls and NATs are your worst enemies.

2. But if you transmit in local LAN, it should work ok, just check your client's firewall settings (or just disable it for the test time).

good luck

andreyvka at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 19

hi ..

thanks..bro...now its working...

but tell me one thing...

if i want to transmit my video..to Media Server... and from there..

Media server will brodcast to all the clients..

so for this ..what i have to do...

which media server should i use...and how to procesed...

thanks...n regards...(adv)

pawan_sun_299a at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 20
sorry mate. never used media server with JMF, so I cant tell you. You can try with Windows Media Server though... might work
andreyvka at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 21
no probs..dude...thanks..4 this..
pawan_sun_299a at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 22

Dear andreyvk ,

I've read your post

http://forum.java.sun.com/thread.jspa?threadID=785134&tstart=165

about how to use a single RTP session for both media reception and trasmission (I'm referring to you RTPSocketAdapter modified version), but, at the moment, I'receive a BIND error.

I think that your post is an EXCELLENT solution. I'modified AVReceive3 and AVTransmit3 in order to accept all parameters (Local IP & Port, Remote IP & Port).

Can you please give me a simple scenario so I can understand what the mistake?

I'use AVTransmit3 and AVReceive3 from different prompts and if I run these 2 classes contemporarely both in 2 different PC (172.17.32.27 and 172.17.32.30) I can transmit the media (vfw://0 for example) using AVTransmit3 but I'can't receive nothing if I run also AVReceive3 in the same PC?

What's the problem? Furthermore, If I run first AVReceive3 from a MSDOS Prompt and subsequently I run AVTransmit3 from another prompt I see a BIND error (port already in use).

How can I use your modified RTPSocketAdapter in order to send and receive a single media from the same port (e.g. 7500).

I've used this scenario PC1: IP 172.17.32.30 Local Port 5000 and PC2:IP 172.17.32.27 LocalPort 10000

So in the PC1 I run:

AVTransmit3 vfw://0 <Local IP 172.17.32.30> <5000> <Remote IP 172.17.32.27> <10000>

AVReceive3 <Local IP 172.17.32.30/5000> <Remote IP 172.17.32.27/10000>

and in PC2:

AVTransmit3 vfw://0 <Local IP 172.17.32.27> <10000> <Remote IP 172.17.32.30> <5000>

AVReceive3 <Local IP 172.17.32.27/10000> <Remote IP 172.17.32.30/5000>

I'd like to use the same port 5000 (in PC1) and 10000 (in PC2) in order to transmit and receive rtp packets. How can i do that without receive a Bind Error? How can I receive packets (and playing these media if audio &/or video) from the same port used to send stream over the network?

How can I obtain a RTP Symmetric Transmission/Reception solution?

Please give me an hint. If you can't post this is my email: Siracg99@libero.it

TheSiraca at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 23

Dear andreyvk ,

I've read your post

http://forum.java.sun.com/thread.jspa?threadID=785134&tstart=165

about how to use a single RTP session for both media reception and trasmission (I'm referring to you RTPSocketAdapter modified version), but, at the moment, I'receive a BIND error.

I think that your post is an EXCELLENT solution. I'modified AVReceive3 and AVTransmit3 in order to accept all parameters (Local IP & Port, Remote IP & Port).

Can you please give me a simple scenario so I can understand what the mistake?

I'use AVTransmit3 and AVReceive3 from different prompts and if I run these 2 classes contemporarely both in 2 different PC (172.17.32.27 and 172.17.32.30) I can transmit the media (vfw://0 for example) using AVTransmit3 but I'can't receive nothing if I run also AVReceive3 in the same PC?

What's the problem? Furthermore, If I run first AVReceive3 from a MSDOS Prompt and subsequently I run AVTransmit3 from another prompt I see a BIND error (port already in use).

How can I use your modified RTPSocketAdapter in order to send and receive a single media from the same port (e.g. 7500).

I've used this scenario PC1: IP 172.17.32.30 Local Port 5000 and PC2:IP 172.17.32.27 LocalPort 10000

So in the PC1 I run:

AVTransmit3 vfw://0 <Local IP 172.17.32.30> <5000> <Remote IP 172.17.32.27> <10000>

AVReceive3 <Local IP 172.17.32.30/5000> <Remote IP 172.17.32.27/10000>

and in PC2:

AVTransmit3 vfw://0 <Local IP 172.17.32.27> <10000> <Remote IP 172.17.32.30> <5000>

AVReceive3 <Local IP 172.17.32.27/10000> <Remote IP 172.17.32.30/5000>

I'd like to use the same port 5000 (in PC1) and 10000 (in PC2) in order to transmit and receive rtp packets. How can i do that without receive a Bind Error? How can I receive packets (and playing these media if audio &/or video) from the same port used to send stream over the network?

How can I obtain a RTP Symmetric Transmission/Reception solution?

Please give me an hint. If you can't post this is my email: Siracg99@libero.it

TheSiraca at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 24

Dear andreyvk ,

I've read your post

http://forum.java.sun.com/thread.jspa?threadID=785134&tstart=165

about how to use a single RTP session for both media reception and trasmission (I'm referring to you RTPSocketAdapter modified version), but, at the moment, I'receive a BIND error.

I think that your post is an EXCELLENT solution. I'modified AVReceive3 and AVTransmit3 in order to accept all parameters (Local IP & Port, Remote IP & Port).

Can you please give me a simple scenario so I can understand what the mistake?

I'use AVTransmit3 and AVReceive3 from different prompts and if I run these 2 classes contemporarely both in 2 different PC (172.17.32.27 and 172.17.32.30) I can transmit the media (vfw://0 for example) using AVTransmit3 but I'can't receive nothing if I run also AVReceive3 in the same PC?

What's the problem? Furthermore, If I run first AVReceive3 from a MSDOS Prompt and subsequently I run AVTransmit3 from another prompt I see a BIND error (port already in use).

How can I use your modified RTPSocketAdapter in order to send and receive a single media from the same port (e.g. 7500).

I've used this scenario PC1: IP 172.17.32.30 Local Port 5000 and PC2:IP 172.17.32.27 LocalPort 10000

So in the PC1 I run:

AVTransmit3 vfw://0 <Local IP 172.17.32.30> <5000> <Remote IP 172.17.32.27> <10000>

AVReceive3 <Local IP 172.17.32.30/5000> <Remote IP 172.17.32.27/10000>

and in PC2:

AVTransmit3 vfw://0 <Local IP 172.17.32.27> <10000> <Remote IP 172.17.32.30> <5000>

AVReceive3 <Local IP 172.17.32.27/10000> <Remote IP 172.17.32.30/5000>

I'd like to use the same port 5000 (in PC1) and 10000 (in PC2) in order to transmit and receive rtp packets. How can i do that without receive a Bind Error? How can I receive packets (and playing these media if audio &/or video) from the same port used to send stream over the network?

How can I obtain a RTP Symmetric Transmission/Reception solution?

Please give me an hint. If you can't post this is my email: Siracg99@libero.it

TheSiraca at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...
# 25

Dear andreyvk ,

I've read your post

http://forum.java.sun.com/thread.jspa?threadID=785134&tstart=165

about how to use a single RTP session for both media reception and trasmission (I'm referring to you RTPSocketAdapter modified version), but, at the moment, I'receive a BIND error.

I think that your post is an EXCELLENT solution. I'modified AVReceive3 and AVTransmit3 in order to accept all parameters (Local IP & Port, Remote IP & Port).

Can you please give me a simple scenario so I can understand what the mistake?

I'use AVTransmit3 and AVReceive3 from different prompts and if I run these 2 classes contemporarely both in 2 different PC (172.17.32.27 and 172.17.32.30) I can transmit the media (vfw://0 for example) using AVTransmit3 but I'can't receive nothing if I run also AVReceive3 in the same PC?

What's the problem? Furthermore, If I run first AVReceive3 from a MSDOS Prompt and subsequently I run AVTransmit3 from another prompt I see a BIND error (port already in use).

How can I use your modified RTPSocketAdapter in order to send and receive a single media from the same port (e.g. 7500).

I've used this scenario PC1: IP 172.17.32.30 Local Port 5000 and PC2:IP 172.17.32.27 LocalPort 10000

So in the PC1 I run:

AVTransmit3 vfw://0 <Local IP 172.17.32.30> <5000> <Remote IP 172.17.32.27> <10000>

AVReceive3 <Local IP 172.17.32.30/5000> <Remote IP 172.17.32.27/10000>

and in PC2:

AVTransmit3 vfw://0 <Local IP 172.17.32.27> <10000> <Remote IP 172.17.32.30> <5000>

AVReceive3 <Local IP 172.17.32.27/10000> <Remote IP 172.17.32.30/5000>

I'd like to use the same port 5000 (in PC1) and 10000 (in PC2) in order to transmit and receive rtp packets. How can i do that without receive a Bind Error? How can I receive packets (and playing these media if audio &/or video) from the same port used to send stream over the network?

How can I obtain a RTP Symmetric Transmission/Reception solution?

Please give me an hint. If you can't post this is my email: Siracg99@libero.it

TheSiraca at 2007-7-21 13:39:46 > top of Java-index,Security,Cryptography...