Skip to content

Instantly share code, notes, and snippets.

View ashikns's full-sized avatar
🏠
Working from home

Ashik Salim ashikns

🏠
Working from home
View GitHub Profile
@zenglian
zenglian / cisco-anyconnect-auto-login.md
Last active November 25, 2025 12:33
auto login with cisco anyconnect (password saved, silent mode)

Cisco AnyConnect: auto login in silent mode

This gist is for Linux. For windows is the same thing.

Connect

create a file .login_info as below:

connect your.server.url    
usernanme 
@yohhoy
yohhoy / ffmpeg_tb.md
Last active November 19, 2024 04:43
time-base in FFmpeg

https://www.ffmpeg.org/doxygen/trunk/dump_8c_source.html#l00454

  • fps = st->avg_frame_rate
  • tbr = st->r_frame_rate
  • tbn = st->time_base
  • tbc = st->codec->time_base

AVStream::avg_frame_rate

Average framerate.

  • demuxing: May be set by libavformat when creating the stream or in avformat_find_stream_info().
  • muxing: May be set by the caller before avformat_write_header().