Maarten Baert's website

Game Maker / C++ projects

Home Model Creator ExtremePhysics Game Maker DLLs SimpleScreenRecorder AlterPCB Quadcopters   Recent comments Search

Recent comments

Showing last 30 comments, most recent first.


In Quadcopters / Triple Feed Patch antenna:

Maarten Baert

Administrator

Comment #1: Sun, 15 Apr 2018, 14:26 (GMT+1, DST)

Quote


Quote: Xaled

Hi Maarten,
I was curious if you had any success with 2,45 Ghz design?
The CubeSat communication in S-band 1.98-2.02 GHz and 2.17-2.2 GHz would greatly benefit from an affordable antenna design.

I don't have enough time to redesign this antenna for all possible frequencies. But it shouldn't be too hard to do this yourself, especially if you use the simpler one-port feed network instead of the hybrid LHCP/RHCP version.

In Quadcopters / Triple Feed Patch antenna:

Xaled

Comment #2: Sun, 1 Apr 2018, 20:56 (GMT+1, DST)

Quote


Hi Maarten,
I was curious if you had any success with 2,45 Ghz design?
The CubeSat communication in S-band 1.98-2.02 GHz and 2.17-2.2 GHz would greatly benefit from an affordable antenna design.

In Quadcopters / Triple Feed Patch antenna:

Maarten Baert

Administrator

Comment #3: Sun, 25 Mar 2018, 1:21 (GMT+1, DST)

Quote


Quote: Goatzilla

On the antenna it says, "Keep this area clear".

What exactly does that mean?

For my setup it's easiest if I use a right angle adapter and send the cable out the side. Is that going to cause problems?

No, as long as you keep the cable and connector at least 1 cm away from the tracks it's not going to have an impact.

In Model Creator / Documentation:

Maarten Baert

Administrator

Comment #4: Wed, 21 Mar 2018, 12:15 (GMT+1, DST)

Quote


Quote: Radioactivesean
Help?

I have a slight problem, I like it a lot, but it needs to be on an administrative account to run. It won't work because it is an unknown publisher. Can you please help if I can't figure this out?

Try going into the properties of the Model Creator executable and run it in Windows 7 compatibility mode.

In SimpleScreenRecorder / Troubleshooting:

Maarten Baert

Administrator

Comment #5: Wed, 21 Mar 2018, 12:13 (GMT+1, DST)

Quote


Quote: Burgs

Excellent, much better thanks.
I have put the new video in the same folder - if you can take a look and see if it is as you would expect please. Frame rate was at 35 and CRF 22

Looks good. It's not very smooth but I think that's because of the VM, not SSR.

In Quadcopters / Triple Feed Patch antenna:

Goatzilla

Comment #6: Thu, 15 Mar 2018, 4:30 (GMT+1, DST)

Quote


On the antenna it says, "Keep this area clear".

What exactly does that mean?

For my setup it's easiest if I use a right angle adapter and send the cable out the side. Is that going to cause problems?

In SimpleScreenRecorder / Troubleshooting:

Burgs

Comment #7: Wed, 14 Mar 2018, 19:31 (GMT+1, DST)

Quote


Excellent, much better thanks.
I have put the new video in the same folder - if you can take a look and see if it is as you would expect please. Frame rate was at 35 and CRF 22

In SimpleScreenRecorder / Troubleshooting:

Aidave

Comment #8: Tue, 13 Mar 2018, 15:54 (GMT+1, DST)

Quote


Well, I ended up trying OBS. It works, and I think it is a better fit for streaming than SSR. It has a lot of features, like mic+desktop audio recording out-of-the-box, that I don't think SSR should bother with. SSR is better for recording a game I think. I'm happy with having both opensource tools available for each need on Linux! So I consider my problems solved.

SSR is an awesome tool, and I will continue to use it for recording game clips! Thanks for your help Maarten.

In Model Creator / Documentation:

Radioactivesean

Comment #9: Tue, 13 Mar 2018, 1:43 (GMT+1, DST)

Quote


Help?

I have a slight problem, I like it a lot, but it needs to be on an administrative account to run. It won't work because it is an unknown publisher. Can you please help if I can't figure this out?

In SimpleScreenRecorder / Troubleshooting:

Aidave

Comment #10: Mon, 12 Mar 2018, 17:39 (GMT+1, DST)

Quote


Yeah, that parameter didn't actually work. I must have just got lucky that one time.

[BaseEncoder::Init] Warning: Codec option 'max_muxing_queue_size' was not recognised!

Can you allow arbitrary parameters to be passed to ffmpeg? There are a lot we could pass, and that way you won't have to handcode each one.

I ran SSR as sudo because it got rid of the warning about changing thread priority. I've been using SSR a lot over the years for recording gaming clips. It's when I do streaming+microphone that it runs into problems. Or maybe I just never recorded long enough clips to encounter the audio locking up. SSR also hangs after a while usually whenever the audio locks up.

[Synchronizer::ReadAudioSamples] Warning: Too many audio samples, dropping samples to keep the audio in sync with the video.

At this point I'm out of ideas. It's just not working, in a fundamental way, I can't use it for Twitch the way it is. I have to continually monitor the Twitch stream to see if it's on, which is annoying and often I don't realize the sound has dropped until later. I have to force quit SSR every 30-90 seconds to restart the stream to get the sound back. But that's breaking the flow of the stream. It's a shame because SSR used to work great and I had hour+ streams with no issues.

In SimpleScreenRecorder / Troubleshooting:

Aidave

Comment #11: Sat, 10 Mar 2018, 1:10 (GMT+1, DST)

Quote


I have no special setup, just using the basics. But it is an awfully big coincidence that adding that parameter made things work suddenly. We had at about 40 consistently failed attempts until trying it. We tried every combination, MP3/AAC, etc. Nothing worked except that parameter. Hopefully it wasn't a fluke like you suggest! I'll have to try it again to be sure, now I'm worried. Maybe adding that parameter caused the other parameters to be ignored?

In SimpleScreenRecorder / Troubleshooting:

Maarten Baert

Administrator

Comment #12: Fri, 9 Mar 2018, 19:56 (GMT+1, DST)

Quote


Quote: Aidave

After some digging, I've found this: https://trac.ffmpeg.org/ticket/6375

I tried adding to the video custom options: max_muxing_queue_size=1024

After initial test, the audio did drop out, but came back after ~10 seconds. So it's promising.
I'm still live streaming successfully: http://twitch.dontbe.ca, running SSR as root, for 20 minutes, which is much longer than ever (usually 2-5 min before audio drops).

Running SSR as root is not recommended. I don't see how this could possibly help.

max_muxing_queue_size is not a codec option, adding it in SSR does nothing.

Are you recording a regular microphone, or game audio, or both? Are you using a special PulseAudio setup?

Since the problems start when other applications are launched, I suspect that it's either a performance issue (other applications take away too much CPU time) or a bug in PulseAudio. To verify this, try streaming with ALSA instead of PulseAudio and select one of the 'hw' devices to ensure you are bypassing PulseAudio. If this fixes the problem, it's a PulseAudio bug. If that doesn't help, try switching the video codec to a faster preset and monitor your CPU usage while streaming. If the problems start when CPU usage reaches 100%, that's likely the reason.

If it's an input-related issue, you may be able to see the problem by launching SSR with simplescreenrecorder --syncdiagram. This will visualize the video and audio packets before and after synchronization.

It could also be an output problem, try switching to MP3 instead of AAC. I believe Twitch accepts this too, and the MP3 encoder is of much higher quality than the AAC encoder in FFmpeg.

Last modified: Fri, 9 Mar 2018, 19:58 (GMT+1, DST)

In SimpleScreenRecorder / Troubleshooting:

Aidave

Comment #13: Fri, 9 Mar 2018, 12:39 (GMT+1, DST)

Quote


After some digging, I've found this: https://trac.ffmpeg.org/ticket/6375

I tried adding to the video custom options: max_muxing_queue_size=1024

After initial test, the audio did drop out, but came back after ~10 seconds. So it's promising.
I'm still live streaming successfully: http://twitch.dontbe.ca, running SSR as root, for 20 minutes, which is much longer than ever (usually 2-5 min before audio drops).

Last modified: Fri, 9 Mar 2018, 12:49 (GMT+1, DST)

In SimpleScreenRecorder / Troubleshooting:

Aidave

Comment #14: Fri, 9 Mar 2018, 11:49 (GMT+1, DST)

Quote


I have been having a lot of trouble recently with SSR. A couple years ago it was working fine, but now I'm having problems with audio dropping out, specifically for Twitch casting. It seems to happen the most when new applications are launched, but not always. It happens no matter what audio settings I use for Pulse. The SSR app would freeze up when trying to quit. I ran it from the command line and there were a number of clues. It said can't make thread high priority. Another, it said on exit: "two AAC frames left in queue on closing". After running with gksudo, it seemed to clear up, but it just ran longer, eventually losing video too, and giving the same warning after exit (two AAC frames left in queue on closing). I also get this same behavior on two different machines, one running Ubuntu 16.04, and another running Gallium OS, both up-to-date.

In SimpleScreenRecorder / Troubleshooting:

Maarten Baert

Administrator

Comment #15: Thu, 1 Mar 2018, 1:32 (GMT+1, DST)

Quote


Quote: Burgs

Hi Maarten, nice to come across such a feature rich and intuitive screen recorder, seems to have everything. I'm I novice to this though and seem to have a problem.
My OS is ubuntu 17.10 and I'm running vmware player with w10 resolution set at 1080 and I am trying to record playback of CCTV footage (that was originally recorded at 1080p).
I select the rectangle, fps @ 30 (have tried other rates) scale the video 1960x1080 (no cursor or audio). I guess I want MP4 (best quality for a USB/TV and YouTube?) and H.264, veryfast & have allowed frame skipping.
All seems fine, I save the recording and when I play it back the resolution is perhaps at best 640x480.
The final edit window comes up - I have no idea what I am to do at this point?
I've been on it nearly 6 hours - please help.....
Cheers

Here are files of the settings, the recorded file and screenshot of footage - indicating better resolution
https://drive.google.com/drive/folders/15dywE0XHpw1b3ILbcJ6_yAZlJf_U7zaz?usp=sharing

Several issues:

  • The recording rectangle size doesn't match the size of the final video. Scaling only makes the quality worse, never better. If you want better quality, record in fullscreen such that the resolution is actually 1920x1080, and don't use scaling.

  • CRF 41 is way too high. Higher values produce lower quality, you should use something in the range of 20-25. The default is 23.

  • Frames in SSR may not be aligned with frames in the video, which may result in stuttering. Recording at a higher frame rate may fix this, but will increase the video size.

  • 1080p means 1920x1080, not 1960x1080.

In SimpleScreenRecorder / Troubleshooting:

Andres

Comment #16: Wed, 28 Feb 2018, 15:08 (GMT+1, DST)

Quote


I've found the solution here: https://askubuntu.com/questions/968497/obs-on-ubuntu-17-10-artful-black-screen-only-cursor-in-screen-capture-mode

It says: Ubuntu 17.10 runs on wayland as display manager and most software like SSR are not yet updated for it.

To make SSR work log out and beside "Sign in" button you will see a small cogwheel. click on it and choose "Ubuntu on Xorg" or "Gnome on Xorg" and you're good to go, SSR should work on that, but this reverts you to using X as display manager.

In SimpleScreenRecorder / Troubleshooting:

Andres

Comment #17: Wed, 28 Feb 2018, 13:06 (GMT+1, DST)

Quote


I have tried others screen recorders and it happens the same with all of them....

In SimpleScreenRecorder / Troubleshooting:

Andres

Comment #18: Wed, 28 Feb 2018, 12:42 (GMT+1, DST)

Quote


Hi there, I've been using SSR for years, but this time, after a fresh installation of ubuntu 17.10 I can not make it work properly, I get a video with sound but the only image I can see is the mouse pointer going around on a black background, I have tried all combinations, and always is the same result.

What can I do to fix this?

Thanks

In SimpleScreenRecorder / Troubleshooting:

Burgs

Comment #19: Mon, 26 Feb 2018, 23:51 (GMT+1, DST)

Quote


Hi Maarten, nice to come across such a feature rich and intuitive screen recorder, seems to have everything. I'm I novice to this though and seem to have a problem.
My OS is ubuntu 17.10 and I'm running vmware player with w10 resolution set at 1080 and I am trying to record playback of CCTV footage (that was originally recorded at 1080p).
I select the rectangle, fps @ 30 (have tried other rates) scale the video 1960x1080 (no cursor or audio). I guess I want MP4 (best quality for a USB/TV and YouTube?) and H.264, veryfast & have allowed frame skipping.
All seems fine, I save the recording and when I play it back the resolution is perhaps at best 640x480.
The final edit window comes up - I have no idea what I am to do at this point?
I've been on it nearly 6 hours - please help.....
Cheers

Here are files of the settings, the recorded file and screenshot of footage - indicating better resolution
https://drive.google.com/drive/folders/15dywE0XHpw1b3ILbcJ6_yAZlJf_U7zaz?usp=sharing

Last modified: Tue, 27 Feb 2018, 11:08 (GMT+1, DST)

In Quadcopters / Triple Feed Patch antenna:

Maarten Baert

Administrator

Comment #20: Tue, 13 Feb 2018, 1:29 (GMT+1, DST)

Quote


Quote: Timkostka

Can I remove the 4 holes on this without affecting the performance?

Any guesses on how the performance would change if I made the bottom PCB 57.5mm in diameter instead of 60mm? (to fit 2 into a 10x10cm panel)

The mounting holes have no impact on performance. Changing the diameter has a small effect on the directivity, but 2.5mm won't make a significant difference.

In Quadcopters / Pagoda antenna:

Maarten Baert

Administrator

Comment #21: Tue, 13 Feb 2018, 1:21 (GMT+1, DST)

Quote


Quote: Danrei

Hello,
may I ask what epsilon r (dielectric constant) you used for your design manufactured by elecrow?
Thanks!

I use an anisotropic material model. The value in simulation is tuned to compensate for various effects in order to make simulation match reality (i.e. VNA measurements), so it's not reliable. The most reliable values I have are:
- permittivity = (4.832, 4.832, 4.355)
- loss tangent = (0.02, 0.02, 0.025)
If you really need accurate material specs, you should either use a real RF material or order a test PCB to characterize it yourself :).

In Quadcopters / Triple Feed Patch antenna:

Timkostka

Comment #22: Sun, 4 Feb 2018, 18:33 (GMT+1, DST)

Quote


Can I remove the 4 holes on this without affecting the performance?

Any guesses on how the performance would change if I made the bottom PCB 57.5mm in diameter instead of 60mm? (to fit 2 into a 10x10cm panel)

Last modified: Sun, 4 Feb 2018, 22:15 (GMT+1, DST)

In Quadcopters / Pagoda antenna:

Danrei

Comment #23: Tue, 30 Jan 2018, 5:26 (GMT+1, DST)

Quote


Hello,
may I ask what epsilon r (dielectric constant) you used for your design manufactured by elecrow?
Thanks!

In Quadcopters / Antennas:

W2hro

Comment #24: Tue, 30 Jan 2018, 4:52 (GMT+1, DST)

Quote


Have you designed an RHCP / LHCP antenna for L-Band frequency?

This patch antenna design would be useful as a feed for L-band satellite dishes.

Contact info - w2hro.fn20@gmail.com

In SimpleScreenRecorder / Troubleshooting:

Philipc

Comment #25: Sun, 28 Jan 2018, 23:49 (GMT+1, DST)

Quote


Quote: Philipc

...Can you suggest parameters in the "Custom options:" box?...

Ah, do I ever feel sheepish. All it takes is to add "threads=16" in the custom options. Feel free to delete this and the above message.

Last modified: Sun, 28 Jan 2018, 23:50 (GMT+1, DST)

In SimpleScreenRecorder / Troubleshooting:

Philipc

Comment #26: Sun, 28 Jan 2018, 20:15 (GMT+1, DST)

Quote


Hello,

I've been using SSR for about 5 years. Nowadays I have a dual-Xeon (E5-2696 v3) workstation, each CPU has 18 physical cores, 36 virtual cores, so (x 2 cpu's =) 72 virtual cores total.

I've been trying to record a streaming video using libx265, but I get the error

[BaseEncoder::Init] Error: Can't open codec!
[PageRecord::StartOutput] Error: Something went wrong during initialization

The log shows (omitting escape codes):

[libx265 @ 0x558306c511c0] Application has requested 72 threads. Using a thread count greater than 16 is not recommended.
x265 [info]: HEVC encoder version 2.4
x265 [info]: build info [Linux][GCC 7.1.1][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [error]: frameNumThreads (--frame-threads) must be [0 .. X265_MAX_FRAME_THREADS)
[libx265 @ 0x558306c511c0] Cannot open libx265 encoder.
[BaseEncoder::Init] Error: Can't open codec!
[PageRecord::StartOutput] Error: Something went wrong during initialization.

Can you suggest parameters in the "Custom options:" box? I've already tried

frame-threads=16:lookahead-threads=8

without success.

Thanks much,
Philip

In Game Maker DLLs / Http Dll 2:

Maarten Baert

Administrator

Comment #27: Mon, 8 Jan 2018, 0:46 (GMT+1, DST)

Quote


Quote: Chip

this is for P2P - based on the master server.
under the control of the master server - in order to "punched" the NAT, it is necessary for the server (player) to send a packet to the client (player), and client (player) send to the server (player), they will send each other packets, and NAT is punched! like UDP

UDP hole punching is a lot more complicated than that. You still need an intermediate server to initialize the connection. Port numbers behind the NAT do not necessarily match the one you set. You need an intermediate server without NAT to receive the initial packet, get the IP and port with udpsocket_get_last_address and udpsocket_get_last_port, and send this information to the other side. Everything you need already exists, this does not require any new functions.

TCP hole punching is much harder. It's not guaranteed to work at all, it depends on the type of NAT you use. It's non-standard behaviour. In order to get the ports to work, you either need to create a new connection on an existing port (which breaks the TCP standard and probably will fail with many NATs) or you need to pray that the NAT has preserved the port number (very unreliable) or you need to brute-force the port numbers (very slow, and since it looks like a port scan or DDoS attach, it may trigger firewalls).

My advice: just get a real server and don't worry about all this stuff. A VPS with a dedicated static IP is very cheap and can even be rented at hourly rates.

Last modified: Mon, 8 Jan 2018, 0:58 (GMT+1, DST)

In Quadcopters / Triple Feed Patch antenna:

Race412

Comment #28: Sat, 6 Jan 2018, 1:50 (GMT+1, DST)

Quote


Quote: Maarten Baert
Quote: Race412

Hello Maarten,
We also have the triple feed patch antenna available on our store. Could you add our store to the table as well?

https://race412.com/product/triple-feed-patch/
$15
SMA and RPSMA

Thank You
Race 412

Can you specify which connectors you are using on the PCB as well as the coax? Is the PCB connector also RP-SMA or just one of the connectors on the coax?

Yes, sorry for the long response time, we make the plate exactly the way you do for the connectors, but the coax can be made for either an SMA or RPSMA receiver.

Edit: typo

Last modified: Sat, 6 Jan 2018, 1:51 (GMT+1, DST)

In Game Maker DLLs / Http Dll 2:

Chip

Comment #29: Sun, 24 Dec 2017, 23:51 (GMT+1, DST)

Quote


Quote: Maarten Baert
Quote: Chip

Hi Maarten Baert!
Is it possible to add a some function to the TCP protocol for port definition?
This would be useful for circumventing NAT using the TCP

What exactly do you mean, and how do you expect that it will circumvent NAT?

this is for P2P - based on the master server.
under the control of the master server - in order to "punched" the NAT, it is necessary for the server (player) to send a packet to the client (player), and client (player) send to the server (player), they will send each other packets, and NAT is punched! like UDP

In Game Maker DLLs / Http Dll 2:

Maarten Baert

Administrator

Comment #30: Sat, 23 Dec 2017, 17:37 (GMT+1, DST)

Quote


Quote: Chip

Hi Maarten Baert!
Is it possible to add a some function to the TCP protocol for port definition?
This would be useful for circumventing NAT using the TCP

What exactly do you mean, and how do you expect that it will circumvent NAT?