RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Software > Streaming / Broadcasting / Audio Recording

Streaming / Broadcasting / Audio Recording Interested in putting your scanner online for others to hear? Want to listen to other radios on the internet. This forum is here for you to discuss these topics related to streaming scanners online.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1081 (permalink)  
Old 12-31-2012, 12:47 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jun 2010
Location: Jackson, New Jersey
Posts: 13
Default SMTPException: STARTTLS extension not supported by server.

I am getting the below error when attempting to send email:

"SMTPException: STARTTLS extension not supported by server"

Below is the entire debug window; however I did modify my email address before posting:

Code:
 
Succesfully retrieved local tone info
Tone1
Tone2
Tone3
Longtone1
516.0 Atone1
516.0Atone2
A Tone Found! 01:42:10
Checking for B Tone 01:42:10
Checking for B Tone2 01:42:15
Tone Set Found! 01:42:15
MONOC 211 01:42:15
mail@domain.com

742.0 Atone1
 Succesfully retrieved local tone info
delay timer 01:42:15
742.0Atone2
A Tone Found! 01:42:15
Checking for B Tone 01:42:15
waiting for audio 01:42:16
recording audio 01:42:16
Checking for Long Tone 01:42:19
699.0 Atone1
1796.0Atone2
699.0 Atone1
473.0Atone2
510.0 Atone1
790.0Atone2
736.0 Atone1
1489.0Atone2
715.0 Atone1
785.0Atone2
done writing WAV 01:42:43
ffmpeg version N-48284-g518239c Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 29 2012 22:38:19 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.104 / 54. 50.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.101 /  3. 30.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[wav @ 002fb940] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from './audio/MONOC_211_2012-12-3101_42_43_947000.wav':
  Duration: 00:00:27.86, bitrate: 352 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 11025 Hz, stereo, s16
, 352 kb/s
Output #0, mp3, to './audio/MONOC_211_2012-12-3101_42_43_947000.mp3':
  Metadata:
    TSSE            : Lavf54.50.104
    Stream #0:0: Audio: mp3, 11025 Hz, stereo, s16p, 32 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
size=     110kB time=00:00:27.90 bitrate=  32.2kbits/s
video:0kB audio:109kB subtitle:0 global headers:0kB muxing overhead 0.216939%
done converting to MP3 01:42:44
Traceback (most recent call last):
  File "<string>", line 449, in mail
  File "D:\Python\build\pyi.win32\TwoToneDetect57_debug\outPYZ1.pyz/smtplib", li
ne 626, in starttls
SMTPException: STARTTLS extension not supported by server.
Also, the audio recorded in the audio folder is not playing clearly. I have attached for your review.
Reply With Quote
Sponsored links
  #1082 (permalink)  
Old 12-31-2012, 11:02 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by iamhere300 View Post
Andy,

My company is providing this service on two RF channels, two complete setups, at absolutely no charge. It is really non-commercial, but if this is considered commercial let me know and I will pay a fee. I am also a fire chief, with our local EMA, and would provide it if I was in the business or not. We provide service for 11 Fire Departments.

In the stead, I have never seen anything about you taking donations for your work. Have I missed that? Do you have a paypal account somewhere? Cash in an ammo box by the third pine tree down by the interstate interchange? Donation to your favorite charity? Gift card at a resteraunt chain?

And I can't fit the tone editor on the screen also...

Thanks for all you do.
No, if you're not profiting from it, that's not commercial use. I don't even mind people charging a nominal fee or asking for donations to cover their own expenses of computers, radios, internet access, electricity, etc. Covering expenses is not the same as profiting.

Sorry about the tone editor...if you up your screen resolution you should be able to make it fit, but I know that's a bad solution.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #1083 (permalink)  
Old 12-31-2012, 11:28 AM
iamhere300's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Jun 2004
Posts: 1,072
Default

Quote:
Originally Posted by aaknitt View Post
No, if you're not profiting from it, that's not commercial use. I don't even mind people charging a nominal fee or asking for donations to cover their own expenses of computers, radios, internet access, electricity, etc. Covering expenses is not the same as profiting.

Sorry about the tone editor...if you up your screen resolution you should be able to make it fit, but I know that's a bad solution.

Andy
Thanks - and still wanting to make a donation. Just let me know how.

Also, I got my issue with 5.7 handled, just a simple matter of turning up the input. Now it records a wav file and sends out the emails.
Reply With Quote
  #1084 (permalink)  
Old 01-01-2013, 7:24 PM
Member
   
Join Date: Feb 2012
Location: Frankfort, Maine
Posts: 24
Default

Quote:
Originally Posted by aaknitt View Post
Yes, just make sure you download the 64 bit version of ffmpeg.exe since Windows 7 is a 64 bit OS.

Andy
Just installed everything and when I go to open the program a box pops up for a split second and disappears and nothing happens. Any ideas?
Reply With Quote
  #1085 (permalink)  
Old 01-01-2013, 7:40 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by FVFD23 View Post
Just installed everything and when I go to open the program a box pops up for a split second and disappears and nothing happens. Any ideas?
Try this:

Instead of double-clicking on the program to start it, start it from a command prompt. Run the TwoToneDetect57_debug.exe version from there. Then if it gives an error you'll be able to see the error without everything disappearing.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
Sponsored links
  #1086 (permalink)  
Old 01-01-2013, 8:30 PM
Member
   
Join Date: Feb 2012
Location: Frankfort, Maine
Posts: 24
Default

Quote:
Originally Posted by aaknitt View Post
Try this:

Instead of double-clicking on the program to start it, start it from a command prompt. Run the TwoToneDetect57_debug.exe version from there. Then if it gives an error you'll be able to see the error without everything disappearing.

Andy
Still not having any luck. Says it can't find the file but it's there.
Reply With Quote
  #1087 (permalink)  
Old 01-02-2013, 10:41 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by FVFD23 View Post
Still not having any luck. Says it can't find the file but it's there.
Did you unzip the files? It won't run from within the .zip file.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #1088 (permalink)  
Old 01-02-2013, 3:23 PM
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2007
Posts: 70
Default

Andy,

Thanks so much for all the work you've put into this. I've assisted several departments in setting up their own copy, and they are insanely happy with the results.

The remote file hosting is a great idea - Does TwoToneDetect refresh the tone sets at any interval, or do you have to manually shut down the program and restart it?

Also, could the file encryption be integrated into the new Editor application?
Reply With Quote
  #1089 (permalink)  
Old 01-02-2013, 3:34 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by kc2kvy View Post
Andy,
The remote file hosting is a great idea - Does TwoToneDetect refresh the tone sets at any interval, or do you have to manually shut down the program and restart it?
It updates the email addresses every time a tone set is detected, but all other information is only refreshed during a restart.

Quote:
Also, could the file encryption be integrated into the new Editor application?
Yeah it could be. I'm a little conflicted about what the future of the Editor should be. I'm toying with eventually scrapping it in favor of something written in PHP so that the editing could also be web-based, but I'm not sure about the viability of a stand-alone PHP application (for those that aren't hosting the file on the web), I've never messed with that before.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
Sponsored links
  #1090 (permalink)  
Old 01-02-2013, 3:37 PM
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2007
Posts: 70
Default

Quote:
Originally Posted by aaknitt View Post
Yeah it could be. I'm a little conflicted about what the future of the Editor should be. I'm toying with eventually scrapping it in favor of something written in PHP so that the editing could also be web-based, but I'm not sure about the viability of a stand-alone PHP application (for those that aren't hosting the file on the web), I've never messed with that before.
What about a Java application? You could run it from the web or locally. Although I do like the PHP idea, as far as I know, running a PHP script locally isn't exactly an easy task.
Reply With Quote
  #1091 (permalink)  
Old 01-02-2013, 7:33 PM
Member
   
Join Date: Feb 2012
Location: Frankfort, Maine
Posts: 24
Default

Quote:
Originally Posted by aaknitt View Post
Did you unzip the files? It won't run from within the .zip file.

Andy
I did unzip the files. I did not have any speakers or radio plugged into my computer. That's why it did not open. I am running TwoToneDetect56 on my WinXP computer. It works great. Trying to set up TwoToneDetect57 on my Win7 computer. I finally got the program to open. It's recognizing the A tone but not the B tone. I have configured everything the same from my XP computer. This is what my screen says:

Successfully retrieved local tone info
Tone1
747.0 Atone1
747.0Atone2
A Tone Found! 20:19:03
Checking for B Tone 20:19:03
Checking for B Tone2 20:19:05
Checking for Long Tone 20:19:05

I only have one A tone and one B tone. I don't have a long tone. My B tone is 789.0. I have tried different settings, etc. with no luck. Any ideas? Thanks.
Reply With Quote
  #1092 (permalink)  
Old 01-02-2013, 8:37 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by FVFD23 View Post
I did unzip the files. I did not have any speakers or radio plugged into my computer. That's why it did not open. I am running TwoToneDetect56 on my WinXP computer. It works great. Trying to set up TwoToneDetect57 on my Win7 computer. I finally got the program to open. It's recognizing the A tone but not the B tone. I have configured everything the same from my XP computer. This is what my screen says:

Successfully retrieved local tone info
Tone1
747.0 Atone1
747.0Atone2
A Tone Found! 20:19:03
Checking for B Tone 20:19:03
Checking for B Tone2 20:19:05
Checking for Long Tone 20:19:05

I only have one A tone and one B tone. I don't have a long tone. My B tone is 789.0. I have tried different settings, etc. with no luck. Any ideas? Thanks.
What do you have Btonelength set to? Also make sure you have the volume up high enough...it could be that the A tone is loud enough to trigger but the B tone isn't, although that's unlikely with tones that close in frequency.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #1093 (permalink)  
Old 01-02-2013, 8:44 PM
Member
   
Join Date: Feb 2012
Location: Frankfort, Maine
Posts: 24
Default

Quote:
Originally Posted by aaknitt View Post
What do you have Btonelength set to? Also make sure you have the volume up high enough...it could be that the A tone is loud enough to trigger but the B tone isn't, although that's unlikely with tones that close in frequency.

Andy
I have the Btonelength set at .6
Reply With Quote
  #1094 (permalink)  
Old 01-02-2013, 8:52 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by FVFD23 View Post
I have the Btonelength set at .6
Any reason you have it so short? If it's a standard Motorola tone set try 3 seconds for Btonelength and see if that helps.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #1095 (permalink)  
Old 01-02-2013, 9:05 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default v58 Released

Hi everyone, I just posted v58 on the project page. If you've been having trouble with stacked tones, give this version a try, I found some pretty significant flaws with certain tone combinations that hopefully are now fixed. The Btonedebounce and Longtonedebounce haven't been working as I had originally thought they were, I think this version gets them closer to correct operation.

Version 58 Release Notes:
  • Fixed a bug with the Long Tone detection that was preventing stacked pages after a long tone from being decoded
  • Fixed a bug with Btonedebounce and Longtonedebounce that was causing some stacked pages to be missed
  • Added variable substitution for alert_command and post_email_command strings: Enter [d] to insert the current Tone Description, enter [mp3] to insert the mp3 filename, [amr] to insert the AMR filename, [wav] to insert the WAV filename (all paths relative to program directory)
  • Audio recordings are now single channel (mono) instead of stereo in preparation for left/right audio selection capability to be added later
  • Program now creates a temporary log file of the debug output called log.txt. This file is overwritten each time the program starts.

Thanks,

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
Sponsored links
  #1096 (permalink)  
Old 01-02-2013, 9:06 PM
Member
   
Join Date: Feb 2012
Location: Frankfort, Maine
Posts: 24
Default

Quote:
Originally Posted by aaknitt View Post
Any reason you have it so short? If it's a standard Motorola tone set try 3 seconds for Btonelength and see if that helps.

Andy
Changed it to 3 still getting the same on the screen.
Reply With Quote
  #1097 (permalink)  
Old 01-03-2013, 2:01 PM
Member
   
Join Date: Feb 2010
Location: Port Orchard, WA
Posts: 61
Default

Quote:
Originally Posted by aaknitt View Post
Hi everyone, I just posted v58 on the project page.
I am not sure why yet, but v58 is not picking up any tone sets. I have v56 running out of the same directory (therefore the same tones.cfg\config.cfg) and it is working without issue. v57 was also working fine.

I am still troubleshooting, but wanted to see if anyone else ran into this.


v56:
A Tone Found! 11:18:59
Checking for B Tone 11:18:59
Checking for B Tone2 11:19:01
Tone Set Found! 11:19:01
Medic1 11:19:01
email@email.com

505.0 Atone1
delay timer 11:19:01
waiting for audio 11:19:01
recording audio 11:19:02
768.0Atone2
768.0 Atone1
768.0Atone2
A Tone Found! 11:19:02
Checking for B Tone 11:19:02
Checking for B Tone2 11:19:03
Tone Set Found! 11:19:03
Medic2 11:19:03
email@email.com

delay timer 11:19:03
waiting for audio 11:19:03
recording audio 11:19:03
768.0 Atone1
768.0Atone2
A Tone Found! 11:19:05
Checking for B Tone 11:19:05
Checking for B Tone2 11:19:06
Tone Set Found! 11:19:06
Engine1 11:19:06
email@email.com


v58:
A Tone Found! 11:19:00
1357240740.16
Checking for B Tone 11:19:00
Checking for Long Tone 11:19:04
784.0 Atone1
773.0Atone2
2567.0 Atone1
2578.0Atone2
A Tone Found! 11:19:12
1357240752.42
Checking for B Tone 11:19:12
Checking for Long Tone 11:19:16
Reply With Quote
  #1098 (permalink)  
Old 01-03-2013, 4:01 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 841
Default

Quote:
Originally Posted by kenmaples View Post
I am not sure why yet, but v58 is not picking up any tone sets. I have v56 running out of the same directory (therefore the same tones.cfg\config.cfg) and it is working without issue. v57 was also working fine.

I am still troubleshooting, but wanted to see if anyone else ran into this.


v56:
A Tone Found! 11:18:59
Checking for B Tone 11:18:59
Checking for B Tone2 11:19:01
Tone Set Found! 11:19:01
Medic1 11:19:01
email@email.com

505.0 Atone1
delay timer 11:19:01
waiting for audio 11:19:01
recording audio 11:19:02
768.0Atone2
768.0 Atone1
768.0Atone2
A Tone Found! 11:19:02
Checking for B Tone 11:19:02
Checking for B Tone2 11:19:03
Tone Set Found! 11:19:03
Medic2 11:19:03
email@email.com

delay timer 11:19:03
waiting for audio 11:19:03
recording audio 11:19:03
768.0 Atone1
768.0Atone2
A Tone Found! 11:19:05
Checking for B Tone 11:19:05
Checking for B Tone2 11:19:06
Tone Set Found! 11:19:06
Engine1 11:19:06
email@email.com


v58:
A Tone Found! 11:19:00
1357240740.16
Checking for B Tone 11:19:00
Checking for Long Tone 11:19:04
784.0 Atone1
773.0Atone2
2567.0 Atone1
2578.0Atone2
A Tone Found! 11:19:12
1357240752.42
Checking for B Tone 11:19:12
Checking for Long Tone 11:19:16
Ken,

What are you using for the Btonelength and Btonedebounce settings?

Are you running the two versions off of the same sound card at the same time? That could be an issue.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first

Last edited by aaknitt; 01-03-2013 at 4:04 PM..
Reply With Quote
  #1099 (permalink)  
Old 01-03-2013, 4:10 PM
Member
   
Join Date: Feb 2010
Location: Port Orchard, WA
Posts: 61
Default

Quote:
Originally Posted by aaknitt View Post
Ken,

What are you using for the Btonelength and Btonedebounce settings?

Are you running the two versions off of the same sound card at the same time? That could be an issue.

Andy
Btonelength = .6 (from the original config why back when)
Btonedebounce is not defined for the tone sets.

I did update a few tone sets to Btonelength = 2 as you suggested for another issue a few posts back. I am still waiting for tones to see if that helps.

I am running two copies off the same sound card, but do not expect an issue here as I have been doing it for a few weeks playing with the different versions. when I noticed the issue this AM, I was only running v58.
Reply With Quote
  #1100 (permalink)  
Old 01-03-2013, 8:22 PM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Aug 2011
Location: Center Harbor,NH
Posts: 13
Default

Andy,

Testing 58 just to me while running 56 to all others, so far just as reliable as 56, Just wanted to say the tone editor and the other adds are a real plus. Thank you.

Ed
Reply With Quote
Reply

Tags
twotonedetect

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 9:38 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2011 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions