linux – How to cast the contents of a window into a video file with GStreamer

I'm looking for the right settings to stream the contents of a window into a file under Linux with GStreamer.

Here's what I've

gst-launch-1.0 ximagesrc xid = 0x03c00006 
! videoconvert
! x264enc tune = zerolatency bitrate = 500 predefined speeds = super fast 
! file location = ~ / Videos / window.mp4

It does something, but the output file is very small and seems broken.

5th dnd – Does the sniper exploit works on spells cast with the aid of a remote weapon used as a target casting spell?

This only works for spells that require an attack with a ranged weapon

The third benefit of Sharpshooter is clear (it's me who points out):

  • Before doing a attack with a weapon from a distance If you're good at it, you can choose to take a penalty of -5 on the attack roll. If the attack hits, you add +10 to the damage of the attack.

You must explicitly launch an attack with a remote weapon to take advantage of it. The only spells that can benefit as part of their effect are the punishment mark, flash arrow, and hail of thorns spells. In addition, the ranged weapon used for the attack does not need to be a spellcasting focus for the effect to work with these spells.

[Cast XMR] High Speed ​​XMR / CryptoNight Miner for Vega RX Vega (2 KHash / s) – Cryptocurrency Corner

XMR Distribution – Timer for CryptoNight (Monero / Bytecoin / DigitalNote / Loki / Haven / BitTube / Aeon) for Radeon RX Vega GPU and RX 470/480/560/570/580/590


– Full support for:

  • CryptoNightV8 (CNv2)

    • Monero (XMR)

    • Registry (GRFT)

    • Lethean (LTHN)

    • Safex (SAFEX)

  • CryptoNightV7 (CNv1)
    • Quantum Resistant Big Book (QRL)

    • DigitalNote (XDN)

  • CryptoNight (Classic)

    • Electroneum (ETN)

    • Bytecoin (BCN)

  • CryptoNightXTL
  • CryptoNight-Heavy

    • Loki (LOKI)

    • Saronite (XRN)

  • CryptoNightXHV-Heavy
  • CryptoNight V7-Lite

    • Aeon (AEON)

    • Turtlecoin (TRTL)

  • CryptoNightTUBE-Heavy
  • CryptoNight-Fast
  • CryptoNight-SuperFast

– The fastest AMD Radeon RX Vega 64 graphics processors

  • sure 2000 CryptoNight / V7 Hash / s

  • sure 1850 CryptoNightV8 Hash / s (10 min on average)

  • sure 1635 CryptoNight-Heavy Hash / s

  • sure 4100 CryptoNight-Lite Hash / s

– Fastest Miner for AMD Radeon RX Vega56 GPUsl

  • more then 2000 CryptoNight / V7 Hash / s

  • sure CryptoNightV8 from 1825 Hash / s (10 min on average)

  • sure 1550 CryptoNight-Heavy Hash / s

  • sure 4260 CryptoNight-Lite Hash / s

– The fastest AMD Radeon Vega Frontier Edition GPUs

  • sure 2100 CryptoNight / V7 Hash / s

  • sure 1930 CryptoNightV8 Hash / s (10 min on average)

  • sure 2120 CryptoNight-Heavy Hash / s

  • sure 4260 CryptoNight-Lite Hash / s

– Optimized cores for GPUs based on Vega and Polaris
– Automatic detection of the driver version and configuration recommendations
– Supports multiple graphics processors up to 24 Vega GPUs
– Monitor the temperature and fan speed of each GPU
– Full support of the pool
– Nicehash support
– Fast job switching option to minimize obsolete shares
– Surveillance dog to monitor the performance of each GPU
– Includes switch-radeon-gpu command-line tool to restart GPUs, enable / disable HBCC, calculation mode and large pages
– Remote http access for statistics in JSON format
– only 1% of dev fees


– Windows 8 / 8.1 / 10 64 bit or
– Ubuntu Linux 16.04 or later
– AMD Radeon RX Vega 56/64 graphics processor with at least 8 GB of RAM
– or AMD Radeon RX Vega Border Edition with 16 GB of RAM
– or AMD Radeon RX 470 / RX 480 / RX 560 / RX 570 / RX 580 / RX 590 graphics processor with at least 4 GB of RAM
– To obtain hash rates greater than 50%, you must install Radeon Driver 18.5.1 or later.

Version History

Cast XMR version 1.8.0 (2019/02/21)

  • support for added Radeon VII GPUs

Cast XMR version 1.7.1 (2019/01/26)

  • fix for Masari (MSR) to support mining and network upgrade to CryptoNightV8-Fast, now –algo = 6 should be used to extract Masari

Cast XMR version 1.7.0 (2019/01/24)

  • support for CryptoNightV8-Fast (–algo = 6) for exploration of Stellite (XTL). The old algo of CryptoNightXTL has been removed

  • CryptoNight-Turtle support (–algo = 9) for the next Turtlecoin PoW network upgrade (TRTL) (1,200,000 block)

  • Vega FE: intensity option – intensity up to 13 for "fast" variants of CryptoNight in order to obtain higher hash rates of 2%

Cast XMR Version 1.6.6 (2018/11/30)
– Added support for RX 590 GPUs
– fixes for detection of calculation mode on GPUs based on Polaris
– CryptoNight-SuperFast support (–algo = 11) for operating Free Haven Protocol (XFH) protocol
– switch-radeon-gpu update to version 1.2.0, which includes bugfixes for the latest versions of the AMD Radeon drivers

Cast XMR version 1.6.0 (2018/11/07)
– Vega 56/64: improved performance of CryptoNightV8 from 0.5 to 1%
– Vega 56/64: improvement of the speed of 2 to 3% on the CryptoNight-Heavy variants (Loki, BitTube, Haven)
– updated included switch-radeon-gpu to version 1.0.5
– added support for RX 560 GPUs

Cast XMR version 1.5.0 (2018/9/27)
– Monero V8 network upgrade support introduces a new variant of CryptoNight CryptoNightV8 also named CNv2. The update of Monero V8 is scheduled for October 18th. If you are running Monero, be sure to update Cast XMR before that date. Also make sure that Monero's algo is not explicitly set to CryptoNightV7, but on automatic detection with –algo = -1 to automatically switch from CryptoNightV7 to CryptoNightV8 when the upgrade is in progress. Please also note that the CryptoNight V8 algo has additional complexity, which reduces the Vega GPU hashrate by up to 7%.

Cast XMR version 1.4.0 (2018/8/28)
– 3% improvement in CryptoNightTUBE-Heavy performance when running BitTube (TUBE)
– Support for the upcoming Festival Coin update (FEST), which introduces a new variant of CryptoNight: CryptoNightFEST. Use –algo = 9 to continue the operation of Festival Coin after updating the network.
– subtle improvement in performance
– Tested with Radeon Adrenalin Driver 18.5.1

Cast XMR version 1.3.0 (2018/6/29)
– Improved performance for work switches with multiple GPUs
– Support for BitTube (TUBE) V4 Pow Update, which introduces the new algo CryptoNightTUBE-Heavy, also called CN Saber. Stay on –algo = 5 to automatically switch from CryptoNightIPBC-Lite to CryptoNightTUBE-Heavy when the update is in progress (around July 2nd). Please note that the hash rate will drop as it is a transition from a Lite variant to a Heavy variant.

Cast XMR version 1.2.5 (2018/6/19)
– CryptoNight-Fast support introduced with Masari Update (MSR). Set –algo = 8 to extract Masari (MSR). CryptoNight-Fast will produce higher hash rates than classic CryptoNight. The typical hash rates are as follows:
– Vega64, 1025 Mhz Memory: 3630 Hash / s
– Vega56, 945 Mhz MemClock: 3700 Hash / s
– VegaFE, 1025 Mhz MemClock: 3900 Hash / s
– RX 470/570, 2250 Mhz MemClock: 1550 Hashes / s

Cast XMR version 1.2.0 (2018/6/12)
– Fixed "Unauthenticated Shares" pool error
– Support for the next update of Haven (XHV) V3. In case you are running Haven set –algo = 7 now. The broadcast will then automatically switch to CryptoNightXHV-Heavy when updating the network.

Cast XMR Version 1.1.5 (2018/6/7)
– Fix for the mixed order of the device
– Support for Stellite Update (XTL) V4. Add –algo = 6 if you are running Stellite. It will automatically switch to CryptoNightXTL when updating the network.
– Correction of stability

Cast XMR Version 1.1.0 (2018/6/1)
– Any new –intensity option to specify memory allocation in a range from 0 to 10, up to 12 for Vega Frontier Edition. The default settings correspond to the version 1.0 settings and are displayed at startup.
– Added Vega Frontier Support "Large Pages", higher hash rate up to 30% for CryptoNight-Heavy, 5% increase for CryptoNight
– Includes switch-radeon-gpu command-line tool to restart GPUs, enable / disable HBCC, calculation mode and large pages
– Nicehash now supports up to 24 GPUs
The –maxmem option is obsolete, it will now be mapped to a corresponding intensity setting
– –forcecompute is deprecated, the & # 39; calculation mode & # 39; Polaris GPUs will be automatically detected. To overwrite, use the –intensity option
– The default mining algorithm has been replaced by CryptoNightV7, so mine is always taken from CryptoNight Classic –algo = 0
– Tested with Radeon Adrenalin Driver 18.4.1

Cast XMR version 1.0.0 (2018/4/24)
– Support Aeon (AEON) CryptoNight Lite Variant Set –algo = 3 to mine
– Support Turtlecoin (TRTL) CryptoNightV7 Lite variant set –algo = 4 at the mine
– Support Interplanetary Broadcasting Room (IPBC) IPBC CryptoNight Lite Variant Set –algo = 5 to mine
– Up to 3% performance improvement with the new –maxmem option to allocate maximum card memory. For Vega cards, the "HBCC heap" must be disabled in Radeon settings in order to use this option. The disadvantage is a higher risk of lowering the hash rate when the –maxmem option is used.

Cast XMR version 0.9.6 (2018/04/17)
– CryptoNight-Heavy fix for very low hash rates when HBCC is enabled
– HBCC heap performance index for Vega64 when running CryptoNightV7
– Improved 4GB versions of the RX 470/480/570/580 when running CryptoNightV7

Cast XMR version 0.9.5 (2018/04/14)
– 0.5% improvement in CryptoNightV7 kernel performance
– support for CryptoNight Heavy –algo = 2 at the mine:
– Sumokoin (SUMO)
– Haven of peace (XHV)

Cast XMR version 0.9.2 (2018/03/29)
– Enhancements for RX Vegas that achieve 99% Blockchain Compute Beta Driver Performance with the latest Radeon Standard Driver 18.3.4

Cast XMR version 0.9.1 (2018/03/22)
– 0.5% improvement in overall GPU performance based on Vega
– –ratewatchdog experimental option to monitor the hash rate, in case of occasional drop in the hash rate, the kernel will be reset to restore the optimal hash rate.
– CryptoNight (CryptoNightV7) variant fully tested for Monero V7 network upgrade upgrade, which is now scheduled for April 6th.
– If you want to exploit the Graft coin, use the –algo = 0 option, the automatic detection of the CryptoNight variant used is not possible for this coin. For all other known CryptoNight pieces, the hash variant appears to be detected correctly
– If you operate with or any other auto coin switching group that contains the Graft coin in the mix, the –algo = 0 option is recommended to avoid invalid actions on the coin Graft. Please note that this option must be removed when the Monero V7 network upgrade is taking place, otherwise it will run up against the Monero Mining!

Cast XMR version 0.9.0 (2018/03/08)
– Support for Monero V7 network upgrade. Learn more about it right here
– the Monero PoW switch will be automatically detected, no restart of the XMR conversion is required. Be sure to only update the XMR conversion before the network upgrade and that the Monero pool used supports the network upgrade.
– no change in the hash rate for other currencies was introduced by the change
– CryptoNightV7 will work at the same hash rate as CryptoNight
– in any case, there is the new –algo option to force which variant of CryptoNight to use:
– -1 = automatic detection (default)
– 0 = CryptoNight
– 1 = CryptoNightV7 (Monero V7 network upgrade)

Cast XMR version 0.8.5 (2018/02/07)
– 1% performance improvement for Vega Frontier Edition with Blockchain driver (fastest GPU on the market)
– Performance improvement of 1% compared to the current driver (18.1.1) for the RX Vega 56/64 (40% remaining to achieve the performance of the Blockchain driver)
– fix for random block console output
– GPU always always saves with its device ID and not in the order in which they are listed in the -G argument
–Log option to save the console output to a file
– Remote access includes support for CORS in the HTTP header


cast_xmr has a command line interface. For a minimal configuration, run:

cast_xmr -S [pool server] -u [username or wallet address]

For a complete list of configuration options, run:

cast_xmr –help

Download Cast XMR 1.8.0 for Windows (64-bit)

Can you block an attack that an ally is trying to cast?

Background story:
My friend does not stop killing the whole party with his poisoned breath of the original dragon.
I would like to know if I can prevent his poisoned breath from killing everyone by using a shield.

dnd 5th – Does the Clone spell require hardware components to be cast on a zealot barbarian?

The clone is cast before the death of your character.

Cloning spell components are always needed

Clone (edited for brevity)

This spell grows an inert copy of a living being like a
protect against death. This clone forms in a sealed vessel and
reaches its size and maturity after 120 days; you can also choose from
have the clone be a younger version of the same creature.

At any time after the clone, if the original creature dies,
his soul is transferred to the clone, provided that the soul is free and
ready to come back.

Raise Dead, and similar spells, are cast after the death of the character. The clone still needs its components to be launched, since the barbarian is alive at the time of casting the clone.

Barbarian Zealot Elemental Element
At the 3rd level, your soul is marked for an endless battle. If a spell, such
like Raise Dead, has the only effect of giving you back your life (but no
undead), the launcher does not need hardware components to launch the
go out on you.

This is a sufficient distinction for the barbaric trait (zealot) not to render the theoretical content of the clone's material component. (The clone is more complex than "has the only effect of bringing you to life" because the clone can (and must) exist for a long time as long as the player's character is alive).

pathfinder – Cast spells without being seen (roleplaying options)

I have not found any rules regarding the reaction of an NPC when he is cursed by a player character. Assuming a role play requiring little effort, the NPC will blindly call for help, become hostile and attack the leader.

My question is how to hide such activities. After seeing these two feats:

… thought began to emerge. After successfully casting the "Burden of Oracle" spell, with one of these exploits in a non-combat scenario, how would a target act? (Suppose he knows the spell.)

pathfinder – Pathfinger RPG – cast spells without being seen (roleplaying options)

I have not found any rules regarding the reaction of an NPC when he is cursed by a player character. Assuming a role play requiring little effort, the NPC will call for help, become hostile and attack the leader.

My question is how to hide such activities.
After seeing these two feats:
the good began to arise. After successfully casting the spell, say the spell "Burden of Oracle," with one or the other of these exploits in a scenario outside the fight indicating how the target would act.

dnd 5th – Would an object cast by the Catapult spell cause complete damage to a scarecrow?

The catapult is doing a lot of damage

The catapult deals baton damage. Scarecrow, in its most recent version, has Nonmagical Bludgeoning, Piercing and Slashing damage resistance. The attacks (That's me who points out.) See the monster statistics block on DnDBeyond. The catapult, however, is not an attack, as the damage comes from a missed save shot and not from an attack roll, so the resistance does not get caught. not apply.

You can find the change in the wording of the resistor in the overall section of the document errata here.

dnd 5th – Can I use the Shadow Step function to teleport myself in a dark spell that I cast on myself?

I can not find anything that specifically indicates that I am not able to complete the combo I am thinking of, but it looks incredibly broken, so please tell me otherwise.

If I take 2 levels of Warlock (picking eldritch summon from Devil's View) and 6 levels of Shadow Monk to get the Shadow Step feature, I should now be able to cast the Darkness spell on myself, from move my full motion, then use an extra action to move another 15-foot radius (Shadow Step). Thus, I can effectively increase my movements by an additional 15 feet per turn, with an advantage also in the first attack.

Is my interpretation correct? Is it possible in the rules?

apache spark – Cast BoxedUnit scala tuple

Hello everyone I have an error while running my spark scala code.
it says
java.lang.ClassCastException: scala.runtime.BoxedUnit can not be cast to scala.Tuple4

during the backup step wen i'm trying to launch datasets

val datasets = Try (Computing.process (input_bi.asInstanceOf)[(Dataset[SortieFondsct], Dataset[SortieFondIP], Dataset[EntreeFondsct], Dataset[EntreeFondIP])], connector)) match {
case Success (v) => System.out.println ("Success")
case Failure (err) => {
val monitoringToSave = err match {
case _: ArrayIndexOutOfBoundsException => Logger.error (ERROR_TYPE_MISSING_ARGS, "Computers", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: AnalysisException => Logger.error (ERROR_TYPE_INVALID_QUERY, "Informatics", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: FileNotFoundException => Logger.error (ERROR_TYPE_FILE_NOT_FOUND, "Computers", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: EmptyFileException => Logger.error (ERROR_TYPE_FILE_IS_EMPTY, "Informatics", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: EmptyColumnException => Logger.error (ERROR_TYPE_COLUMN_VALUE_EMPTY, "Informatics", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: Throwable => Logger.error (ERROR_UNKNOWN, "Computers", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
CassandraClient.saveMonitoring (monitoringToSave, connector)
throw err

// ********************* SAVE STEP ********************
val persist = Try (Saving.process (datasets.asInstanceOf[(Dataset[SortieFondsct], Dataset[SortieFondIP], Dataset[EntreeFondsct], Dataset[EntreeFondIP])])) match {// error here
case Success (v) => System.out.println ("Success")
case Failure (err) => {
val monitoringToSave = err match {
case _: DifferentNumberInsertedLinesException => Logger.error (ERROR_TYPE_DIFF_NB_LINES_INSERT, "Record", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: CannotGetDataFromCassandra => Logger.error (ERROR_TYPE_CANNOT_GET_DATA_FROM_DB, "Record", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
case _: Throwable => Logger.error (ERROR_UNKNOWN, "Record", DRIVER_VIR_SORT_NAME, err, true, idDimTime)
CassandraClient.saveMonitoring (monitoringToSave, connector)
throw err