Asis Patra

@asispatra

Bengaluru, India

Useful FFmpeg Commands

by on October 3, 2022 at 4:56 pm

Convert Video File from MKV to MP4

ffmpeg -i input.mkv -codec copy output.mp4

Split Video

ffmpeg -i input.mp4 -ss 00:00:00 -to 00:10:00 -c copy output1.mp4
ffmpeg -i input.mp4 -ss 00:10:00 -to 00:20:00 -c copy output2.mp4

/**
* -i  input file
* -ss start time in seconds or in hh:mm:ss
* -to end time in seconds or in hh:mm:ss
* -c codec to use
*/

Category: FFmpeg

 

Measure Network Performance with qperf

by on September 22, 2022 at 3:51 pm

qperf measures bandwidth and latency between two nodes. It can work over TCP/IP as well as the RDMA transports. How to install qperf? On CentOS/RHEL8, qperf is available from the EPEL repository. Install it like this: The Ubuntu/Debian repositories do not have qperf, so you’ll need to build it from source. Open the firewall on the Server On […]  Read More »

Category: Linux

git: Step by Step

by on October 7, 2022 at 6:34 pm

Set Global Git Username and Email Set Git Username and Email for a Single Repository Add and Commit files to a Git Repository Push the Changes to the Remote Repository  Read More »

Category: Linux