“My food is included in rent. Which is convenient for day-to-day eating but gives me less capacity for cooking my own meals. Like, I admit it, the system works really well for normal people, I’m just a weirdo who likes tinkering with recipes, hosting dinner parties, and whatnot”
There, I highlighted the absurdity even more for you. You’re not a wierdo, you’re a tech-chef.
Not to worry; there’s definitely no sensitive information in here and it’s from a preprod environment.
(If you’re able to figure out a way to use that key field, you’re either going to get shot by the FBI or hired by the CIA.)
It is a file created that records information about files in another folder. I just want to extract some values from it. I would have expected this to be in like, xml or json. I believe the program that generated this file is written in Lua, but I don’t know Lua.
I think you mean this one
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:
#!/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
}
Unreasonable? Depends on what you consider reasonable. Yes absolutely they would try to exploit the users, in which case we go back to piracy. Perhaps a better solution would be federated content providers with some sort of combined (reasonable) fee determined by the providers collectively. We get one system to subscribe to, and pay one fee.
Already read this? https://github.com/nextcloud/server/issues/39162
Seems like there is active work on improving search with nextcloud.
I’ve never heard of it before this.
I use Mega. It has a search function. No idea how fast it would be in your use case though.
Not open source though.
Some family friends brought back cam rips from Egypt of several Disney movies, Beauty and the beast, Aladdin, and a couple others.
They had strange ads for burgers in Arabic, and the cam was really low quality.
We didn’t really know any better being kids, so I always thought that Beauty and the Beast was a dark, terrifying, grainy, nightmarish movie.
Having seen the real version, I have to say the shitty cam copy stuck better in my mind.
Anyways, sorry I can’t answer any of your questions OP.
Appimages available here
Never heard of this before, so I just downloaded an image to check out later when I remember
There should be an app or something for this…