document_scanner
Ad Tag Tester
CPU/RAM usage, Dimensions, SSL...
document_scanner
HTML5 Ad Validator
Initial Load, Click Tags, Meta ad.size...
document_scanner
Video Validator
MOOV Atoms, Audio Loudness, Bit Rates...
document_scanner
Banner Ad Validator
Dimensions, Aspect ratio, SFW, Creative Border...

Video Transcoder

Endpoint

post
/v3/videoTranscoder



Parameters

data
string, required
Either a URL pointing to the video, or the complete file as a base64-encoded string.
optimize_moov_atom
boolean
Places the MOOV atom at the beginning of the file for immediate playback.
optimize_loudness
boolean
Normalizes the audio's loudness levels to -23 LUFS.
optimize_video
boolean
Transcodes the video to find a balance between high quality and low file size.
name
string, optional
The file name of the video. Will be added to the JSON result, allowing you to keep track of which video you transcoded.


Response
200
400
401
429

job_id
string
A unique ID assigned to the job.
meta
array
Meta-data about the scan, like the CPU used, the time it took to complete the scan, the server location, etc.
name
string
The original name of the video.
tips_and_updatesvideo
array
An array with video data. The url points to the transcoded video.
cURL
curl "https://{your_name}.api.advalify.io/v3/videoTranscoder"
  -H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
  -X POST
  -d '{
    "data": "dGhpcyBpcyBzb21lIGltYWdlIGRhdGE..."
  }'
Example Response
{
     "job_id": "c2450-81e0a-ae2fa",
     "meta": {
         "api_version": "v3",
         "cpu": "AMD 16-Core EPYC 7302P",
         "ram": "128GB",
         "server_location": "ams",
         "timestamp": 1652869385,
         "duration": "1.207079"
    },
     "name": "video.mp4",
     "video": {
         "bytes": 9932890,
         "extension": "mp4",
         "url": "https://try.cdn.advalify.io/img/9k30d-79707058-54ad6e51-c2450-81e0a-ae2fa-5csfh9m4.mp4",
        
    }
}