Email or username:

Password:

Forgot your password?
69 posts total
Show previous comments
BigRob029

@breadandcircuses "For Pizza?" hit too deep.

the corporate pizza party always makes everything seem ok!!

Your inner monologue

@breadandcircuses Not really. I get what you're saying. And mostly agree. But something here was left out. And it's very important.

Desperate people make ideal workers and distracted citizens,,,,to full on morons.

There's this idea in most countries that stupid people can't plan. Which isn't true. They can. They just can't plan effectively.

It's why fascism always has a natural expiration date. Why capitalism constantly has problems keeping itself afloat. Because the stupidity is built in.

Desperate people make the worst workers and citizens who can be manipulated by almost anyone. As in. The more desperate a person is the more mistakes they make in jobs. Which very often lead to not only the loss of life but categorically less profit.

And. That last part is literally how republicans/conservatives lost overall control of their party to trump to begin with. In general. Everything in this is reasons why so much sucks.

And it sucks because morons instituted it.

@breadandcircuses Not really. I get what you're saying. And mostly agree. But something here was left out. And it's very important.

Desperate people make ideal workers and distracted citizens,,,,to full on morons.

There's this idea in most countries that stupid people can't plan. Which isn't true. They can. They just can't plan effectively.

sss
I only post on Twitter to publicly shame brands.
sss
#software #linux

i am looking for OFFLINE translation solution with support of many languages (ru,en,zh/zt,ja is essential) and preferable input language auto detect.

currently found https://github.com/argosopentech/argos-translate, and nothing more ?
sss
also found this https://huggingface.co/utrobinmv/t5_translate_en_ru_zh_large_1024 , require some basic coding skills, but seems to easy enough to use, some basic wrapper can be implemented in few minutes.
sss
#script #note #hint #ffmpeg #av1 #avif #encoding #photo

so it seems we finally got some fast avif encoder with acceptable quality?
here is a quick and dirty script to encode images into avif format using av1_qsv video encoder via ffmpeg

```
#!/bin/sh

FILE=$(basename "$1")
EXT="${FILE##*.}"
TGT_EXT="avif"

echo -e "\E[32mfile with ext: $EXT\n"

IPARAMS=(
"-hide_banner" "-threads" "0"
# "-hwaccel" "qsv"
# "-hwaccel_output_format" "qsv"
"-init_hw_device" "qsv=hw:hw_any,name=hw" "-filter_hw_device" "hw"
)


OPARAMS=(
"-strict" "experimental"
"-c:v" "av1_qsv"

"-preset:v" "veryslow"
"-extbrc:v" "1"
"-low_power:v" "false"
"-low_delay_brc" "false"
"-q:v" "66"

"-color_primaries:v" "bt2020" "-colorspace:v" "bt2020c"
)

echo "ffmpeg ${IPARAMS[@]} -i "$1" ${OPARAMS[@]} "$1".${TGT_EXT}"
ffmpeg ${IPARAMS[@]} -i "$1" ${OPARAMS[@]} "$1".${TGT_EXT}
if [ $? != 0 ]; then
echo -e "\E[31mShit happened"
exit $?
fi
exiftool -overwrite_original -tagsFromFile "$1" "$1".${TGT_EXT}


if [ $? == 0 ]; then
rm "$1"
NAME=$(echo "$1" | sed 's/\(.*\)\..*/\1/')
mv "$1".${TGT_EXT} "${NAME}".${TGT_EXT}
/home/sss/scripts/syncfs "${NAME}".${TGT_EXT}
echo done "${NAME}".${TGT_EXT}
else
echo -e "\E[31mShit happened"
fi


```

it' also possible to use hwaccel for image decoding, but at least mjpeg_qsv is broken for today which leading to corrupt image instead if errors....
#script #note #hint #ffmpeg #av1 #avif #encoding #photo

so it seems we finally got some fast avif encoder with acceptable quality?
here is a quick and dirty script to encode images into avif format using av1_qsv video encoder via ffmpeg
sss
note what it provides files size twice as large as avifenc results with same image quality
Александр
@sss Да разве таким жителя СНГ напугаешь :)
Go Up