luthis

joined 2 years ago
[–] luthis@lemmy.nz 2 points 2 years ago (1 children)

If you're doing hammer curls it wouldn't make a difference because the weight is vertically oriented. With horizontal orientation, I wouldn't recommend because it would be off balance.

[–] luthis@lemmy.nz 3 points 2 years ago* (last edited 2 years ago)

It was. Kanye 2020 Forever!!!

[–] luthis@lemmy.nz 1 points 2 years ago (1 children)

Exactly. No issues with moderates, but moderates aren't the ones suicide-bombing and throwing suspected gays off the top of buildings. An Islamic society creates safe spaces for the extremists, and the extremists will do whatever they can to take power.

Other Muslims are the ones targeted most by Islamist extremists. It's in the Muslims' best interest that they be kept a minority and out of power. There is insurmountable evidence that when the majority is Muslim, life gets worse for everyone, women's rights are stripped away, and freedom of thought and religion is gone.

Quite similar to how if Scientology became mainstream we would all be worse off.

[–] luthis@lemmy.nz 1 points 2 years ago

I did when I was younger. It made me really empathetic to sufferers of violence. I can't stand it now. It's also made me realise when there is 'agreed violence', like a shootout with cops, or war, I'm more ok seeing it. When it's torture inflicted on someone who can't fight back, it makes me want to drop a nuke.

Violence is never ok unless you're being threatened with violence.

[–] luthis@lemmy.nz 1 points 2 years ago

One of my favorite video games

[–] luthis@lemmy.nz 7 points 2 years ago

Rational take.

[–] luthis@lemmy.nz 2 points 2 years ago

Duuude I had forgotten about this!

[–] luthis@lemmy.nz 7 points 2 years ago (1 children)

That's the general sentiment I've seen a lot. China was really going places and dramatically improving until Xi turned up

[–] luthis@lemmy.nz 1 points 2 years ago* (last edited 2 years ago)

I wrote a bash script for this, but I'm not sure of the correct settings so I haven't used it to re-encode my whole library yet.

Here's my script in case anyone has any tips:

spoiler#!/bin/sh

shopt -s globstar

for FILE in */

{

if [[ -d $FILE ]]; then

	continue

fi

match="*-re.mp4"
if [[ $FILE == $match ]]; then
	echo already encoded, skipping $FILE
	continue
fi
match="*-ex.mp4"
if [[ $FILE == $match ]]; then
	echo already excluded, skipping $FILE
	continue
fi

if [[ $(du "${FILE}" | awk '{print $1}') -lt 10000 ]]; then		
	#echo $(date),$(pwd)/,$FILE,toosmall >> errors.csv
	echo $(date),$(pwd)/,$FILE, 0,0,0,0, original too small >> encoding.csv
	continue
fi
if [[ $(mediainfo "${FILE}" | grep -c -e'Audio #') -gt 1 ]]; then
	#echo $(date),$(pwd)/,$FILE,skip-audio >> errors.csv
	echo $(date),$(pwd)/,$FILE, 0,0,0,0, multiple audio tracks >> encoding.csv
	continue
fi
if [[ $(mediainfo "${FILE}" | grep -c -e'Text #') -gt 1 ]]; then
	#echo $(date),$(pwd)/,$FILE,skip-subs >> errors.csv
	echo $(date),$(pwd)/,$FILE, 0,0,0,0, contains subtitles >> encoding.csv
	continue
fi


FULLM=${FILE%.*}
REN="$FULLM-re.mp4"
echo writing $REN

#ffmpeg -y -i "${FILE}" -vcodec libx264 -crf 23 "${REN}" 
#ffmpeg -y -i "${FILE}" -vcodec h264_nvenc -crf 23 "${REN}" 
ffmpeg -y -i "${FILE}" -vcodec libx265 -crf 23 "${REN}" 

ORIGSIZE=$(du "${FILE}" | awk '{print $1}')
NEWSIZE=$(du "${REN}" | awk '{print $1}')
ORIGBITRATE=$(mediainfo "${FILE}" | grep Overall | sed 's/[^0-9]*//g')
NEWBITRATE=$(mediainfo "${REN}" | grep Overall | sed 's/[^0-9]*//g')

echo $FILE vs $REN
echo $ORIGBITRATE vs $NEWBITRATE

#if [[ $NEWBITRATE -gt $ORIGBITRATE ]]; then
	#echo new bitrate is too big, renaming $FILE to $FULLM-ex.mp4
	#echo $(date),$(pwd)/,$FILE, $ORIGBITRATE, $NEWBITRATE, $ORIGSIZE, $NEWSIZE, bitrate increased >> encoding.csv
	#mv "${FILE}" "${FULLM}"-ex.mp4
	#rm -f "${REN}"
	#continue
#fi

if [[ $ORIGSIZE -lt $NEWSIZE ]]; then
	#echo $(date),$(pwd)/,$FILE,sizeToSmall: $ORIGSIZE vs $NEWSIZE >> errors.csv
	echo $(date),$(pwd)/,$FILE, $ORIGBITRATE, $NEWBITRATE, $ORIGSIZE, $NEWSIZE, filesize increased >> encoding.csv
	echo deleting "${REN}"
	rm -f "${REN}"
	mv "${FILE}" "${FULLM}"-ex.mp4
else
	echo $(date),$(pwd)/,$FILE, $ORIGBITRATE, $NEWBITRATE, $ORIGSIZE, $NEWSIZE, ENCODED >> encoding.csv
	rm -f "${FILE}"
fi

}

[–] luthis@lemmy.nz 5 points 2 years ago* (last edited 2 years ago)
[–] luthis@lemmy.nz 0 points 2 years ago (1 children)

I was all in favour until I saw it was a Chinese research organisation.

[–] luthis@lemmy.nz 1 points 2 years ago* (last edited 2 years ago) (4 children)

Lower class : box of beer ( brown glass) or a tinny

Upper lower : box of beer ( green glass) or a fifty

middle class : flowers, tickets to the rugby , or vouchers for a fancy restaurant

Upper middle and beyond : I'll tell you when I get there

view more: ‹ prev next ›