Just use the command below:
ffmpeg -i INPUT_FILE \
-vf scale=3840x2160:flags=lanczos \
-c:v libx264 \
-crf 13 \
-c:a aac -b:a 512k \
| import requests | |
| import json | |
| from time import sleep | |
| API_KEY = "INSERT YOUR API KEY HERE" | |
| AUTHORIZATION = "INSERT YOUR AUTHORIZATION TOKEN HERE" | |
| url = "https://api.monsterapi.ai/apis/add-task" | |
| fetch_url = "https://api.monsterapi.ai/apis/task-status" |
| ffmpeg -loop 1 -i logo.jpg -i source.mp3 -c:a libmp3lame -c:v libx264 -b:a 128k -shortest output.mp4 |
| FROM node:iron-alpine as builder | |
| WORKDIR /usr/src/app | |
| ARG NODE_ENV=production | |
| ENV NODE_ENV=${NODE_ENV} | |
| COPY package.json yarn.lock ./ | |
| RUN yarn global add @nestjs/cli@^10.0.0 \ |
| <?php | |
| $dblink1=mysqli_connect('[server ip1]', '[username]', '[password]'); // connect server 1 | |
| mysqli_select_db($dblink1,'[db name]'); // select database 1 | |
| $dblink2=mysqli_connect('[server ip2]', '[username]', '[password]'); // connect server 2 | |
| mysqli_select_db($dblink2,'[db name]'); // select database 2 | |
| $tables = mysqli_fetch_array(mysqli_query($dblink1,"SHOW TABLES ")); |
| ffmpeg -loop 1 -i logo.jpg -i source.mp3 -c:a libmp3lame -c:v libx264 -b:a 128k -shortest output.mp4 |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.media.MediaPlayer; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| import com.mklimek.framevideoview.FrameVideoView; | |
| import com.mklimek.framevideoview.FrameVideoViewListener; |
| - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
| VideoCell *videoCell = (VideoCell *)[self.tableView dequeueReusableCellWithIdentifier:@"VideoCell"]; | |
| NSString *urlString = @"streaming://download.wavetlan.com/SVV/Media/HTTP/MOV/ConvertedFiles/MediaCoder/MediaCoder_test11_36s_H263_VBR_590kbps_176x144_25fps_MPEG1Layer3_CBR_160kbps_Stereo_22050Hz.mov"; | |
| dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0ul); | |
| // Configure Video Cell Here: | |
| NSURL *url = [NSURL URLWithString:urlString]; | |
| videoCell.contentView.backgroundColor = [UIColor clearColor]; | |
| videoCell.backgroundColor = [UIColor clearColor]; |
| All the changes that are fit to print. Droppin’ Mo’ Science 52 All Your IOPS Are Belong To Us: Ernie Souhrada, Database Engineer @ Pinterest - Percona Live MySQL Conference & Expo 2015 Full list of customizations / changes deployed: | |
| - Linux kernel 3.18.7 | |
| - irqbalance 1.0.8 | |
| - RPS enabled | |
| - Jemalloc instead of Glibc | |
| - Disk IO scheduler = noop | |
| - XFS + 64K RAID block size | |
| - Mount options: - noatime,nobarrier,discard,inode64,logbsize=256k | |
| - my.cnf changes: | |
| innodb_max_dirty_pages_pct = 75 |
| from flask import Flask | |
| from flask import request | |
| import simplejson as json | |
| from decimal import Decimal | |
| import numpy as np | |
| import os | |
| import sys |