Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:downloading_certain_videos_of_a_certain_university [2019/07/25 17:52]
fangfufu created
public:downloading_certain_videos_of_a_certain_university [2019/07/25 17:54]
fangfufu [Processing the network traffic dump]
Line 13: Line 13:
 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 ​certain ​other videos =====+===== Downloading other certain ​videos =====
 Another one of my friend had her certain ceremony on Friday. After obtaining videos for two separate ceremonies, I wonder if I could take my art further. I felt the screen captures I did for my housemates was not good enough. ​ Another one of my friend had her certain ceremony on Friday. After obtaining videos for two separate ceremonies, I wonder if I could take my art further. I felt the screen captures I did for my housemates was not good enough. ​
  
Line 69: Line 69:
     for i in `ls destdir/​*.ts* | grep -v \( |sort -V`; do echo file $i >> list; done     for i in `ls destdir/​*.ts* | grep -v \( |sort -V`; do echo file $i >> list; done
     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 ''​-V''​ option in ''​sort'',​ by using that option, the filenames are sorted in "​natural sort". So if you have numbers "1 3 10 2", it gets sorted into "1 2 3 10" rather than "1 10 2 3". Normally ''​sort''​ sorts texts character-by-character. ​ The first command generates the list of the video fragments to be concatenated. Note the ''​-V''​ option in ''​sort'',​ by using that option, the filenames are sorted in "​natural sort". So if you have numbers "1 3 10 2", it gets sorted into "1 2 3 10" rather than "1 10 2 3". Normally ''​sort''​ sorts texts character-by-character. ​
  
  • public/downloading_certain_videos_of_a_certain_university.txt
  • Last modified: 2019/07/25 17:54
  • by fangfufu