public:downloading_certain_videos_of_a_certain_university
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
public:downloading_certain_videos_of_a_certain_university [2019/07/25 17:52] – created fangfufu | public:downloading_certain_videos_of_a_certain_university [2022/07/17 22:24] – fangfufu | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Downloading | + | ====== Downloading |
- | This is a rather amusing story of my successful attempt at downloading | + | This is a rather amusing story of my successful attempt at downloading |
- | ===== The video for The Degree That Matters | + | ===== Ethical Statement ===== |
- | Well, it is called The Degree That Matters, because two of my good friends are in that ceremony. I also happen to know a lot of people who study that degree for some reason. | + | When I was an undergrad, I was told that I have to write ethical statement for my final year project, otherwise I would lose marks. So I think I probably should add an ethical statement for this web page. |
+ | |||
+ | Quite frankly, I don't think it is fair to charge new graduates twenty pounds for the DVD version of the ceremony, or twenty-five pounds for the HD version of the ceremony on a USB memory stick. A lot of university provides this kind of video for free, for example University of York. Rumour says University of Bath also provides it for free for their graduates. | ||
+ | |||
+ | One of the more amusing conversation I had was with a GP. He asked me why I don't charge fifteen pounds for these videos, my reply to him was that "I hate capitalism" | ||
+ | |||
+ | Anyway, the people who studied Medicine have to do a Situational Judgement Test. I definitely would not pass the CS equivalent of Situational Judgement Test. | ||
+ | |||
+ | ===== The video for The Medicine | ||
+ | Well, it is called The Medicine, because two of my good friends are in that ceremony. I also happen to know a lot of people who study that degree for some reason. | ||
- | The certain | + | The graduation |
- | A quick inspection of the source code for the web page with the video recording does not reveal where the source video was located. So I decided to fire up the '' | + | A quick inspection of the source code for the web page with the video recording does not reveal where the source video was located. So I decided to fire up the '' |
- | So I seeked to the beginning and the end of the video, recorded the segment filename. I wrote a for loop in '' | + | So I seeked to the beginning and the end of the video, recorded the segment filename. I wrote a for loop in '' |
I have to say in some ways, it was great that the video live stream failed, otherwise I would not have been able to download the video stream - the best thing I could have done was doing a screen capture. I did not figure out how to download live stream until Wednesday morning. My housemates had their ceremony on Tuesday morning - all I could do for them was doing a screen capture. | I have to say in some ways, it was great that the video live stream failed, otherwise I would not have been able to download the video stream - the best thing I could have done was doing a screen capture. I did not figure out how to download live stream until Wednesday morning. My housemates had their ceremony on Tuesday morning - all I could do for them was doing a screen capture. | ||
- | ===== Downloading | + | ===== Downloading other graduation |
- | Another one of my friend had her certain | + | Another one of my friend had her graduation |
I thought about capturing my own network traffic, then extract the video fragment from the network traffic dump. There are two problems with this approach: | I thought about capturing my own network traffic, then extract the video fragment from the network traffic dump. There are two problems with this approach: | ||
Line 36: | Line 45: | ||
tcpdump chromium | tcpdump chromium | ||
- | We need chromium [(https:// | + | We need chromium [(https:// |
You also need to set up a shared folder between your virtual machine and the host. Please follow the guide here [(https:// | You also need to set up a shared folder between your virtual machine and the host. Please follow the guide here [(https:// | ||
Line 69: | Line 78: | ||
for i in `ls destdir/ | for i in `ls destdir/ | ||
ffmpeg -safe 0 -f concat -i list -c copy -bsf:a aac_adtstoasc output.mp4 | ffmpeg -safe 0 -f concat -i list -c copy -bsf:a aac_adtstoasc output.mp4 | ||
- | | + | |
The first command generates the list of the video fragments to be concatenated. Note the '' | The first command generates the list of the video fragments to be concatenated. Note the '' | ||
- | |||
- | ===== Ethical Statement ===== | ||
- | Jura V jnf na haqretenq, V jnf gbyq gung V unir gb jevgr rguvpny fgngrzrag sbe zl svany lrne cebwrpg, bgurejvfr V jbhyq ybfr znexf. Fb V guvax V cebonoyl fubhyq nqq na rguvpny fgngrzrag sbe guvf jro cntr. | ||
- | |||
- | Dhvgr senaxyl, V qba'g guvax vg vf snve gb punetr arj tenqhngrf gjragl cbhaqf sbe gur QIQ irefvba bs gur prerzbal, be gjragl-svir cbhaqf sbe gur UQ irefvba bs gur prerzbal ba n HFO zrzbel fgvpx. N ybg bs havirefvgl cebivqrf guvf xvaq bs ivqrb sbe serr, sbe rknzcyr Havirefvgl bs Lbex. Ehzbhe fnlf Havirefvgl bs Ongu nyfb cebivqrf vg sbe serr sbe gurve tenqhngrf. | ||
- | |||
- | Bar bs gur zber nzhfvat pbairefngvba V unq jnf jvgu n TC. Ur nfxrq zr jul V qba'g punetr svsgrra cbhaqf sbe gurfr ivqrbf, zl ercyl gb uvz jnf gung "V ungr pncvgnyvfz" | ||
- | |||
- | Naljnl, gur crbcyr jub qb Gur Qrterr Gung Znggref unir gb qb n FWG. V qrsvavgryl jbhyq abg cnff gur PF rdhvinyrag bs FWG. | ||
===== Other notes ===== | ===== Other notes ===== | ||
- | I have no idea why the certain | + | I have no idea why the graduation |