Hot answers tagged

33 votes
Accepted

How can I tell when FFMPEG is done writing a file?

Add -hls_flags temp_file to all your outputs. FFmpeg will write data to a temp file and rename once done. So then if the segment file exists, it is complete.
user avatar
  • 31.4k
2 votes
Accepted

See htop tree evolve in slow-motion

Limited generic way to replay in slow motion You can use script to record htop, like: script -O typescript -T typescript.timing -c 'htop -t' script will exit just after htop exits. Alternatively: ...
user avatar
1 vote
Accepted

Cannot Connect VNC through SSH to Windows from Unix

Thanks to Romeo Ninov for pointing this out. When building the SSH tunnel to windows, the loopback address needs to be used, not localhost. So instead of: ssh -L 5901:localhost:5900 username@10.0.0....
user avatar
1 vote

Generate distribution of file sizes from the command prompt

Building on top of a couple of the earlier answers, a script (longer) with more detailed output. $ cat ~/bin/fszdist #!/bin/bash AWK_SCRIPT=' # prettyfier function psize(s) { kilo = 0; mega = ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible