luismanson
Newbie
Offline
Posts: 41
|
 |
« Reply #105 on: April 18, 2008, 11:51:55 pm » |
|
ok, i have al the deps now, readed all the thread and i still have no luck, i have a new challenge for you ppl  amsn $ ./utils/farsight/farsight 1 2 ** ** ERROR:(utils/farsight/farsight.c:303):main: assertion failed: (src != NULL) Aborted
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #106 on: April 19, 2008, 12:34:52 am » |
|
humm.. this means that you don't have an audio source, in other words, you don't have alsasrc or osssrc, did you install gst-plugins-base and gst-plugins-good correctly ? type 'gst-inspect alsasrc' it should show you some info about alsasrc (which should be in /usr/lib/gstreamer-0.10/libgstalsa.so) or 'gst-inspect osssrc' which should give you info about osssrc also.. the file should be in /usr/lib/gstreamer-0.10/libgstossaudio.so
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
H@t Trick
|
 |
« Reply #107 on: April 19, 2008, 08:42:43 am » |
|
hehe, welcome back H@t Trick. Yeah, I've advanced quite a bit in this thing! (final exam in a few days, so I had to do something to take it off my mind :p).. About windows, I have just commited the binaries for it, so in theory, as soon as you upgrade the SVN, you should be able to make a call.. but farsight was never tested on windows, and while I quickly tested it, I found a bug, something about glib recusive mutexes not working correctly on windows, so we get a 'freeze' (farsight 2 tries to take a lock/mutex that was already taken but never released, it was ok on linux since it's a recursive lock which means you can lock it multiple times from the same thread, but on windows it doesn't seem to work). End result, you will not be able to hear the other person but I think it would work fine for sending only... hopefully, I'll find and fix this bug sometime next week, in the meantime, use it as is. Hopefully, farsight 0.0.3 will soon be finalized and we can move to that and hope it doesn't have that bug anymore... (many API changes in the current git trunk, so we have to port the code I wrote that uses farsight 2 to the new API). Hopefully, tomorrow or in a few days, mac users will also get their binaries in SVN and everyone can enjoy the feature!  Thanks, it's good to be back! You sure have done some great work! I will be sure to update my svn for the 2nd time this week to test this out, I almost did tonight before I read this but I didnt get a chance to test the feature out, I will make a point to try it. keep it up kakaroto! <off-topic>man I can't believe I am approaching 200 posts in just under a year, wow! That means I made the switch to aMSN about a year ago, time sure flies eh?</off-topic>
|
|
|
|
|
Logged
|
There's no place like 127.0.0.1!
|
|
|
|
kakaroto
|
 |
« Reply #108 on: April 19, 2008, 10:07:18 am » |
|
hehe, ok cool, let me know the results, as i've been the only one testing on windows (apart from someone else on vista where it didn't work, i'll have a look at it monday). <offtopic>and yeah, 200 posts is near.. you registered the 24th of may, so it's been almost a year (since you registered at least)... for me in 2.5 years, I'm way over 5000... man, I need to do something with my life.. lol :p</offtopic>
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
luismanson
Newbie
Offline
Posts: 41
|
 |
« Reply #109 on: April 20, 2008, 07:16:11 am » |
|
humm.. this means that you don't have an audio source, in other words, you don't have alsasrc or osssrc, did you install gst-plugins-base and gst-plugins-good correctly ? type 'gst-inspect alsasrc' it should show you some info about alsasrc (which should be in /usr/lib/gstreamer-0.10/libgstalsa.so) or 'gst-inspect osssrc' which should give you info about osssrc also.. the file should be in /usr/lib/gstreamer-0.10/libgstossaudio.so weird, on gentoo there are separate packages :| my new present is:
luis@Vger ~ $ /usr/share/amsn/utils/farsight/farsight 1 2 LOCAL_CODEC: 96 MPA 90000 LOCAL_CODEC: 8 PCMA 8000 LOCAL_CODEC: 0 PCMU 8000 LOCAL_CODEC: 97 SIREN 16000 LOCAL_CODECS_DONE ** ** ERROR:(utils/farsight/farsight.c:370):main: assertion failed: (gst_element_set_state (pipeline, GST_STATE_PLAYING) != GST_STATE_CHANGE_FAILURE) Aborted
...i probably should get a life too 
|
|
|
|
|
Logged
|
|
|
|
|
billiob
|
 |
« Reply #110 on: April 20, 2008, 09:10:20 am » |
|
If you're using oss, remove the following lines from farsight.c: if (src == NULL) src = gst_element_factory_make ("alsasrc", NULL);
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #111 on: April 20, 2008, 07:23:51 pm » |
|
right... I'll have to fix that of course, riht now it checks whether or not you have the element, but not if it works...
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
luismanson
Newbie
Offline
Posts: 41
|
 |
« Reply #112 on: April 20, 2008, 08:37:21 pm » |
|
i do use alsa :S
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #113 on: April 21, 2008, 12:44:33 am » |
|
then maybe you don't have a card named '0' or whatever it is by default... try launching it with an export GST_DEBUG=3 you can also see the default card name used by looking at the output of 'gst-inspect alsasrc'
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
luismanson
Newbie
Offline
Posts: 41
|
 |
« Reply #114 on: April 21, 2008, 02:45:25 am » |
|
I dont see anything wrong: (lots of output striped) device : ALSA device, as defined in an asound configuration file flags: readable, writable String. Default: "default" Current: "default" device-name : Human-readable name of the sound device flags: readable String. Default: "" Current: null
i could try OSS, but i dont know how, is there any setup GUI or config file?
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #115 on: April 21, 2008, 05:57:54 am » |
|
just like what billiob told you.. it will use oss then.
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
kakaroto
|
 |
« Reply #116 on: April 21, 2008, 07:44:48 pm » |
|
Hi, pjhn, I just tested it on vista and it works, so I don't know what your problem is.. can you retry with the latest SVN please? Also, if it still doesn't work, can you run cmd.exe and type : cd utils\windows\gstreamer set GST_PLUGIN_PATH=. set FS_PLUGIN_PATH=. set GST_DEBUG=3 farsight.exe x y 2>log
wait until it crashes then send me the log file...
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
PjhN
Newbie
Offline
Posts: 36
|
 |
« Reply #117 on: April 21, 2008, 08:23:43 pm » |
|
@kakaroto: Well I followed your instructions and PMed you the logfile, hope it helps in general. However...
I was just playing with the compatibility settings, and realised I'd forgotten to try running aMSN with admin privileges (had only tried farsight.exe). It turns out that if I run aMSN elevated, then no error message comes up, therefore hopefully all's well.
To clarify, that's ONLY aMSN set to 'Run as Admin', not farsight.exe, and neither set to 'XP SP2' (or any other) Compatibility mode.
Hopefully, since it's not crashing on load it'll work fine in conversation, but there's no one in my friends list online and using aMSN right now, so I can't actually test whether it works. Will do ASAP, and get back to you. Thanks for looking into this, hope it hasn't wasted your time.
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #118 on: April 21, 2008, 09:14:30 pm » |
|
Hi, thanks for the fast answer.. first, if you get no error, maybe it means it didn't crash, which is a good thing.. best way to check would be to actually do what I told you to do above, from your log, it looks like you didn't do it correctly, or more like there's something wrong in there, not sure what! It can't find fsrtpconference (which should be in libfsrtpconference.dll in that directory).. no idea why it wouldn't find it... anyways, it did find it before (your first message in page 6 or 7) so it's probably a different issue, or you did something wrong... I'm not sure about the error box if it's an 'elevated bullshit' thingy or not, but for sure vista is crap :p About 64bits, I know the binaries are for x86 and not sure if it will work on 64bits.. hopefully windows is able to run compatible 32bit binaries without the need of a 64bits version.. anyways, we'll see when you do a conf and we'll see how it goes.. in theory, you could just open amsn twice and do a call from one account to the other (assuming one of them is configured to use MSNP15) or you can do a call from your amsn to windows live messenger from the same PC... doing like that would make it work at least one way. if aMSN says 'calling ...' then farsight worked, otherwise it will tell you that you need to install farsight2.
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
PjhN
Newbie
Offline
Posts: 36
|
 |
« Reply #119 on: April 21, 2008, 09:38:48 pm » |
|
Ooops, I think I missed those decimal points after the 'PATH=' lines, sorry, so tried again and have PMed new log (much longer now!!).
Just tried aMSN -> WLM 8.5; aMSN announced it was 'Calling' WLM, and WLM allowed me to pick-up, so I take it it's working? I couldn't hear anything coming down the line though... would you expect me to be able to receive audio in WLM? If a successful connection is all that's needed to prove it works, then all's good. I'll have to figure out how to log-in to two copies of aMSN on the same computer before I can test otherwise.
I did find that, after I tried the call, aMSN started to interfere with my audio (Winamp output), making it hitch a lot and sound 'staticy'.
EDIT: Although I can't hear anything (i.e. WLM isn't outputting the sound I'm inputting via aMSN), it does look like the volume indicator in WLM is reacting to my voice (with a slight delay), so I'm hopeful that means it will work aMSN -> aMSN!
|
|
|
|
|
Logged
|
|
|
|
|