👨‍🏫 Tutorial YT 1M trick - ffmpeg (how to avoid copyright)

Status
Not open for further replies.
lods eto ba ilalagay na code kapag pag sasamahin na yung audio and video?

cd /storage/emulated/0/ffmpeg

# Set random values for each parameter
RAND_RESOLUTION=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_VOLUME=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_GAMMA=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_SATURATION=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_BRIGHTNESS=$(awk "BEGIN {print 0.0 + (rand() * (0.10 - 0.00))}")

echo "Resolution: $RAND_RESOLUTION, Volume: $RAND_VOLUME, Gamma: $RAND_GAMMA, Saturation: $RAND_SATURATION, Brightness: $RAND_BRIGHTNESS"

# Apply command to each .mp4 file in the current directory
for file in *.mp4; do
filename=$(basename "$file")
ffmpeg -i "$file" \
-vf "scale=ceil(iw*$RAND_RESOLUTION/2)2:ceil(ih$RAND_RESOLUTION/2)*2,eq=gamma=$RAND_GAMMA:saturation=$RAND_SATURATION:brightness=$RAND_BRIGHTNESS" \
-af "volume=$RAND_VOLUME" \
-preset fast -threads 4 \
"output_${filename%.*}.mp4"
 
lods eto ba ilalagay na code kapag pag sasamahin na yung audio and video?

cd /storage/emulated/0/ffmpeg

# Set random values for each parameter
RAND_RESOLUTION=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_VOLUME=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_GAMMA=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_SATURATION=$(awk "BEGIN {print 0.9 + (rand() * (1.10 - 0.90))}")
RAND_BRIGHTNESS=$(awk "BEGIN {print 0.0 + (rand() * (0.10 - 0.00))}")

echo "Resolution: $RAND_RESOLUTION, Volume: $RAND_VOLUME, Gamma: $RAND_GAMMA, Saturation: $RAND_SATURATION, Brightness: $RAND_BRIGHTNESS"

# Apply command to each .mp4 file in the current directory
for file in *.mp4; do
filename=$(basename "$file")
ffmpeg -i "$file" \
-vf "scale=ceil(iw*$RAND_RESOLUTION/2)2:ceil(ih$RAND_RESOLUTION/2)*2,eq=gamma=$RAND_GAMMA:saturation=$RAND_SATURATION:brightness=$RAND_BRIGHTNESS" \
-af "volume=$RAND_VOLUME" \
-preset fast -threads 4 \
"output_${filename%.*}.mp4"
Nagpm ako
 
basic tanong ts, may pagkakaiba talaga if ffmpeg gamitin kaysa normal editors like capcut? para no copyright talaga and "magiging original ang video sa mata ni yt"?



IMG_20241104_145314.webp
 
Status
Not open for further replies.

About this Thread

  • 328
    Replies
  • 29K
    Views
  • 107
    Participants
Last reply from:
mie-san

Online now

Members online
305
Guests online
1,185
Total visitors
1,490

Forum statistics

Threads
2,273,067
Posts
28,947,371
Members
1,236,580
Latest member
bernardopogi
Back
Top