Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Dude uploads video to YouTube, rips it, uploads again a thous...  (Read 3299 times)

0 Members and 1 Guest are viewing this topic.

Computer Hope Admin

    Topic Starter
  • Administrator


  • Prodigy

    Thanked: 248
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Pretty fascinating. Didn't think that the compression would cause that much of an issue, even at 1,000 times.

What happens when you upload a video to YouTube, then rip it from YouTube, and repeat that process again, a thousand times. The final digitally-distilled product bears little resemblance to the original, and becomes something of its own.

Link
Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #1 on: June 04, 2010, 04:52:08 AM »
My Computer Science teacher did something similar with a Visual Basic program saving and loading the same jpeg over and over.

First, we did it with a blue square overlapped by a red circle. after a while it just because a purple blur.

for a photo it just became a bunch of splotches.


I guess this is a sort of mpeg version of that jpeg experiment, :P
I was trying to dereference Null Pointers before it was cool.

rthompson80819



    Specialist

    Thanked: 94
  • Experience: Experienced
  • OS: Windows 7
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #2 on: June 04, 2010, 03:41:37 PM »
Wow.  I think this is called "too much free time".

Helpmeh



    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #3 on: June 05, 2010, 06:41:38 PM »
Wow.  I think this is called "too much free time".
Just make a macro.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

Salmon Trout

  • Guest
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #4 on: June 06, 2010, 05:27:56 AM »
Wow.  I think this is called "too much free time".


Fun to play with... I played around with Imagemagick's command line converter, convert.exe. Two things govern the degradation: the number of conversions, and the compression (quality) setting. I found that with 80% quality even 1000 cycles didn't do much; on the other hand if I chose 1% (very severe compression) quality, the changes happen more quickly. There comes a point where the image settles down and doesn't degrade much more as you can see...

Original


System specs Shuttle SN78SH7, 4 GB DDR2 RAM, 3.0 GHz AMD Phenom II 945 (quad core), Windows 7 Pro 64 bit, images stored on a USB 2.0 external hard drive, converted with ImageMagick 6.6.2-2, image size 401x433, 24 bit colour.

Converted 10 times at 1% quality setting (0.61 seconds)



Converted 100 times at 1% quality setting (6.4 seconds)



Converted 5000 times at 1% quality setting (240.38 seconds)


the script I used (a quick hack, I know)

jpegloop.bat
Code: [Select]
@echo off
setlocal enabledelayedexpansion
set limit=%2
set quality=%3
set /a stop=%limit%-1
del "%~n1-converted-*.jpg"
copy "%~n1.jpg" "%~n1-converted-0.jpg"
set stime=%time%
for /l %%N in (0,1,%stop%) do (
set num1=%%N
set /a num2=!num1!+1
echo !num2!.jpg
convert %~n1-converted-!num1!.jpg -quality %quality%%% %~n1-converted-!num2!.jpg
if %%N LSS %stop% del %~n1-converted-!num1!.jpg
)
del %~n1-converted-%num1%.jpg
set etime=%time%
echo start %stime%
echo end   %etime%

command line example

Code: [Select]
jpegloop.bat face.jpg 5000 1






« Last Edit: June 06, 2010, 06:15:58 AM by Salmon Trout »

Salmon Trout

  • Guest
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #5 on: June 06, 2010, 09:04:47 AM »
By the way, after 10 compressions, the file size went from 23 KB to 3 KB and stayed there.



Computer Hope Admin

    Topic Starter
  • Administrator


  • Prodigy

    Thanked: 248
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #6 on: June 07, 2010, 11:04:46 AM »
Very nice post Salmon Trout. Very interesting and good fast way of playing around with it.
Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #7 on: June 07, 2010, 12:48:57 PM »
Salmon Trout's post should be the post of the month.  :)

Computer Hope Admin

    Topic Starter
  • Administrator


  • Prodigy

    Thanked: 248
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: Dude uploads video to YouTube, rips it, uploads again a thous...
« Reply #8 on: June 07, 2010, 04:31:59 PM »
I'd agree if we had some type of setup that would allow that. ;) Maybe something that could be thought out and added to the community.
Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein