Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
zsxkib /yolo-world:07aee09f
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run zsxkib/yolo-world using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"zsxkib/yolo-world:07aee09fc38bc4459409caa872ea416717712f4e6e875f8751a0d0d5bbea902f",
{
input: {
nms_thr: 0.5,
score_thr: 0.05,
class_names: "dog, cat, person",
input_media: "https://replicate.delivery/pbxt/KOK7P7rak5qCwCHYR6HkD5tuUQ0LG156xiB57EudHMEefwQG/Untitled.mp4",
max_num_boxes: 10
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run zsxkib/yolo-world using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zsxkib/yolo-world:07aee09fc38bc4459409caa872ea416717712f4e6e875f8751a0d0d5bbea902f",
input={
"nms_thr": 0.5,
"score_thr": 0.05,
"class_names": "dog, cat, person",
"input_media": "https://replicate.delivery/pbxt/KOK7P7rak5qCwCHYR6HkD5tuUQ0LG156xiB57EudHMEefwQG/Untitled.mp4",
"max_num_boxes": 10
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run zsxkib/yolo-world using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "zsxkib/yolo-world:07aee09fc38bc4459409caa872ea416717712f4e6e875f8751a0d0d5bbea902f",
"input": {
"nms_thr": 0.5,
"score_thr": 0.05,
"class_names": "dog, cat, person",
"input_media": "https://replicate.delivery/pbxt/KOK7P7rak5qCwCHYR6HkD5tuUQ0LG156xiB57EudHMEefwQG/Untitled.mp4",
"max_num_boxes": 10
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-02-12T14:54:27.524418Z",
"created_at": "2024-02-12T14:52:01.593272Z",
"data_removed": false,
"error": null,
"id": "a52otndblbfpg35bhv27qgyreu",
"input": {
"nms_thr": 0.5,
"score_thr": 0.05,
"class_names": "dog, cat, person",
"input_media": "https://replicate.delivery/pbxt/KOK7P7rak5qCwCHYR6HkD5tuUQ0LG156xiB57EudHMEefwQG/Untitled.mp4",
"max_num_boxes": 10
},
"logs": "[!] Using batch size 512\n[~] Getting FPS for /tmp/tmpqp8d00fuUntitled.mp4\n[!] Temporary directory for frames: /tmp/tmpz2oys7sv\n[~] Extracting audio from /tmp/tmpqp8d00fuUntitled.mp4 to /tmp/tmpz2oys7sv/audio.mp3\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\nconfiguration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\nlibavutil 56. 70.100 / 56. 70.100\nlibavcodec 58.134.100 / 58.134.100\nlibavformat 58. 76.100 / 58. 76.100\nlibavdevice 58. 13.100 / 58. 13.100\nlibavfilter 7.110.100 / 7.110.100\nlibswscale 5. 9.100 / 5. 9.100\nlibswresample 3. 9.100 / 3. 9.100\nlibpostproc 55. 9.100 / 55. 9.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/tmpqp8d00fuUntitled.mp4':\nMetadata:\nmajor_brand : mp42\nminor_version : 1\ncompatible_brands: isommp41mp42\ncreation_time : 2024-02-12T14:44:46.000000Z\nDuration: 00:00:10.41, start: 0.000000, bitrate: 3339 kb/s\nStream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 2153 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)\nMetadata:\ncreation_time : 2024-02-12T14:44:47.000000Z\nhandler_name : Core Media Video\nvendor_id : [0][0][0][0]\nStream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)\nMetadata:\ncreation_time : 2024-02-12T14:44:47.000000Z\nhandler_name : Core Media Audio\nvendor_id : [0][0][0][0]\nStream mapping:\nStream #0:1 -> #0:0 (aac (native) -> mp3 (libmp3lame))\nPress [q] to stop, [?] for help\nOutput #0, mp3, to '/tmp/tmpz2oys7sv/audio.mp3':\nMetadata:\nmajor_brand : mp42\nminor_version : 1\ncompatible_brands: isommp41mp42\nTSSE : Lavf58.76.100\nStream #0:0(und): Audio: mp3, 44100 Hz, stereo, fltp (default)\nMetadata:\ncreation_time : 2024-02-12T14:44:47.000000Z\nhandler_name : Core Media Audio\nvendor_id : [0][0][0][0]\nencoder : Lavc58.134.100 libmp3lame\nsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nsize= 288kB time=00:00:10.39 bitrate= 226.5kbits/s speed=84.1x\nvideo:0kB audio:287kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.119008%\nProcessing frames: 0%| | 0/465 [00:00<?, ?it/s]\nProcessing frames: 8%|▊ | 35/465 [00:00<00:01, 348.70it/s]\nProcessing frames: 31%|███▏ | 146/465 [00:00<00:00, 793.46it/s]\nProcessing frames: 50%|████▉ | 232/465 [00:00<00:00, 821.89it/s]\nProcessing frames: 67%|██████▋ | 312/465 [00:15<00:00, 821.89it/s]/root/.pyenv/versions/3.10.12/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)\nreturn _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]\nProcessing frames: 67%|██████▋ | 312/465 [00:43<00:21, 7.23it/s]\n[~] All frames processed, generating video...\n[!] Running ffmpeg command: ffmpeg -y -r 30.0 -i /tmp/tmpz2oys7sv/frame_%05d.png -i /tmp/tmpz2oys7sv/audio.mp3 -c:v libx264 -pix_fmt yuv420p -c:a aac -strict experimental /tmp/output_video.mp4\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\nconfiguration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\nlibavutil 56. 70.100 / 56. 70.100\nlibavcodec 58.134.100 / 58.134.100\nlibavformat 58. 76.100 / 58. 76.100\nlibavdevice 58. 13.100 / 58. 13.100\nlibavfilter 7.110.100 / 7.110.100\nlibswscale 5. 9.100 / 5. 9.100\nlibswresample 3. 9.100 / 3. 9.100\nlibpostproc 55. 9.100 / 55. 9.100\nInput #0, image2, from '/tmp/tmpz2oys7sv/frame_%05d.png':\nDuration: 00:00:12.48, start: 0.000000, bitrate: N/A\nStream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc\nInput #1, mp3, from '/tmp/tmpz2oys7sv/audio.mp3':\nMetadata:\nmajor_brand : mp42\nminor_version : 1\ncompatible_brands: isommp41mp42\nencoder : Lavf58.76.100\nDuration: 00:00:10.45, start: 0.025057, bitrate: 225 kb/s\nStream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 225 kb/s\nMetadata:\nencoder : Lavc58.13\nStream mapping:\nStream #0:0 -> #0:0 (png (native) -> h264 (libx264))\nStream #1:0 -> #0:1 (mp3 (mp3float) -> aac (native))\nPress [q] to stop, [?] for help\n[libx264 @ 0x562f302ce680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n[libx264 @ 0x562f302ce680] profile High, level 3.1, 4:2:0, 8-bit\n[libx264 @ 0x562f302ce680] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\nOutput #0, mp4, to '/tmp/output_video.mp4':\nMetadata:\nencoder : Lavf58.76.100\nStream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 1280x720, q=2-31, 30 fps, 15360 tbn\nMetadata:\nencoder : Lavc58.134.100 libx264\nSide data:\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\nStream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s\nMetadata:\nencoder : Lavc58.134.100 aac\nframe= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\n[image2 @ 0x562f302c1940] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)\nframe= 36 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nframe= 73 fps= 70 q=29.0 size= 256kB time=00:00:00.37 bitrate=5645.8kbits/s speed=0.355x\nframe= 124 fps= 79 q=29.0 size= 1024kB time=00:00:02.06 bitrate=4059.1kbits/s speed=1.32x\nframe= 181 fps= 87 q=29.0 size= 1792kB time=00:00:03.97 bitrate=3697.3kbits/s speed=1.91x\nframe= 234 fps= 90 q=29.0 size= 2560kB time=00:00:05.73 bitrate=3656.6kbits/s speed=2.21x\nframe= 288 fps= 93 q=29.0 size= 3072kB time=00:00:07.53 bitrate=3340.6kbits/s speed=2.43x\nframe= 312 fps= 85 q=-1.0 Lsize= 4653kB time=00:00:10.40 bitrate=3664.2kbits/s speed=2.84x\nvideo:4477kB audio:164kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.259937%\n[libx264 @ 0x562f302ce680] frame I:2 Avg QP:24.98 size: 81667\n[libx264 @ 0x562f302ce680] frame P:129 Avg QP:26.06 size: 22347\n[libx264 @ 0x562f302ce680] frame B:181 Avg QP:29.31 size: 8497\n[libx264 @ 0x562f302ce680] consecutive B-frames: 11.2% 28.8% 16.3% 43.6%\n[libx264 @ 0x562f302ce680] mb I I16..4: 3.4% 75.0% 21.6%\n[libx264 @ 0x562f302ce680] mb P I16..4: 5.8% 22.0% 3.3% P16..4: 39.1% 11.5% 4.6% 0.0% 0.0% skip:13.6%\n[libx264 @ 0x562f302ce680] mb B I16..4: 2.7% 5.7% 0.7% B16..8: 39.0% 6.9% 1.1% direct: 2.6% skip:41.1% L0:46.4% L1:49.2% BI: 4.4%\n[libx264 @ 0x562f302ce680] 8x8 transform intra:68.4% inter:78.3%\n[libx264 @ 0x562f302ce680] coded y,uvDC,uvAC intra: 55.7% 60.2% 6.8% inter: 18.7% 13.7% 2.5%\n[libx264 @ 0x562f302ce680] i16 v,h,dc,p: 15% 31% 6% 49%\n[libx264 @ 0x562f302ce680] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 22% 11% 5% 11% 9% 13% 6% 7%\n[libx264 @ 0x562f302ce680] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 28% 11% 4% 11% 8% 10% 4% 4%\n[libx264 @ 0x562f302ce680] i8c dc,h,v,p: 39% 30% 20% 11%\n[libx264 @ 0x562f302ce680] Weighted P-Frames: Y:5.4% UV:1.6%\n[libx264 @ 0x562f302ce680] ref P L0: 66.9% 22.3% 8.1% 2.7% 0.1%\n[libx264 @ 0x562f302ce680] ref B L0: 91.8% 7.0% 1.2%\n[libx264 @ 0x562f302ce680] ref B L1: 97.9% 2.1%\n[libx264 @ 0x562f302ce680] kb/s:3526.15\n[aac @ 0x562f302db300] Qavg: 166.313",
"metrics": {
"predict_time": 49.735458,
"total_time": 145.931146
},
"output": "https://replicate.delivery/pbxt/vuxg0wHsiqIeciyhamfX9TenqwTHf5SupveqHcYwVQ1IkxvSC/output_video.mp4",
"started_at": "2024-02-12T14:53:37.788960Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/a52otndblbfpg35bhv27qgyreu",
"cancel": "https://api.replicate.com/v1/predictions/a52otndblbfpg35bhv27qgyreu/cancel"
},
"version": "07aee09fc38bc4459409caa872ea416717712f4e6e875f8751a0d0d5bbea902f"
}
[!] Using batch size 512
[~] Getting FPS for /tmp/tmpqp8d00fuUntitled.mp4
[!] Temporary directory for frames: /tmp/tmpz2oys7sv
[~] Extracting audio from /tmp/tmpqp8d00fuUntitled.mp4 to /tmp/tmpz2oys7sv/audio.mp3
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/tmpqp8d00fuUntitled.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
creation_time : 2024-02-12T14:44:46.000000Z
Duration: 00:00:10.41, start: 0.000000, bitrate: 3339 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 2153 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
creation_time : 2024-02-12T14:44:47.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
creation_time : 2024-02-12T14:44:47.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:1 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '/tmp/tmpz2oys7sv/audio.mp3':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
TSSE : Lavf58.76.100
Stream #0:0(und): Audio: mp3, 44100 Hz, stereo, fltp (default)
Metadata:
creation_time : 2024-02-12T14:44:47.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
encoder : Lavc58.134.100 libmp3lame
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
size= 288kB time=00:00:10.39 bitrate= 226.5kbits/s speed=84.1x
video:0kB audio:287kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.119008%
Processing frames: 0%| | 0/465 [00:00<?, ?it/s]
Processing frames: 8%|▊ | 35/465 [00:00<00:01, 348.70it/s]
Processing frames: 31%|███▏ | 146/465 [00:00<00:00, 793.46it/s]
Processing frames: 50%|████▉ | 232/465 [00:00<00:00, 821.89it/s]
Processing frames: 67%|██████▋ | 312/465 [00:15<00:00, 821.89it/s]/root/.pyenv/versions/3.10.12/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Processing frames: 67%|██████▋ | 312/465 [00:43<00:21, 7.23it/s]
[~] All frames processed, generating video...
[!] Running ffmpeg command: ffmpeg -y -r 30.0 -i /tmp/tmpz2oys7sv/frame_%05d.png -i /tmp/tmpz2oys7sv/audio.mp3 -c:v libx264 -pix_fmt yuv420p -c:a aac -strict experimental /tmp/output_video.mp4
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, image2, from '/tmp/tmpz2oys7sv/frame_%05d.png':
Duration: 00:00:12.48, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, mp3, from '/tmp/tmpz2oys7sv/audio.mp3':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
encoder : Lavf58.76.100
Duration: 00:00:10.45, start: 0.025057, bitrate: 225 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 225 kb/s
Metadata:
encoder : Lavc58.13
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (mp3 (mp3float) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x562f302ce680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x562f302ce680] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x562f302ce680] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/tmp/output_video.mp4':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 1280x720, q=2-31, 30 fps, 15360 tbn
Metadata:
encoder : Lavc58.134.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc58.134.100 aac
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
[image2 @ 0x562f302c1940] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
frame= 36 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
frame= 73 fps= 70 q=29.0 size= 256kB time=00:00:00.37 bitrate=5645.8kbits/s speed=0.355x
frame= 124 fps= 79 q=29.0 size= 1024kB time=00:00:02.06 bitrate=4059.1kbits/s speed=1.32x
frame= 181 fps= 87 q=29.0 size= 1792kB time=00:00:03.97 bitrate=3697.3kbits/s speed=1.91x
frame= 234 fps= 90 q=29.0 size= 2560kB time=00:00:05.73 bitrate=3656.6kbits/s speed=2.21x
frame= 288 fps= 93 q=29.0 size= 3072kB time=00:00:07.53 bitrate=3340.6kbits/s speed=2.43x
frame= 312 fps= 85 q=-1.0 Lsize= 4653kB time=00:00:10.40 bitrate=3664.2kbits/s speed=2.84x
video:4477kB audio:164kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.259937%
[libx264 @ 0x562f302ce680] frame I:2 Avg QP:24.98 size: 81667
[libx264 @ 0x562f302ce680] frame P:129 Avg QP:26.06 size: 22347
[libx264 @ 0x562f302ce680] frame B:181 Avg QP:29.31 size: 8497
[libx264 @ 0x562f302ce680] consecutive B-frames: 11.2% 28.8% 16.3% 43.6%
[libx264 @ 0x562f302ce680] mb I I16..4: 3.4% 75.0% 21.6%
[libx264 @ 0x562f302ce680] mb P I16..4: 5.8% 22.0% 3.3% P16..4: 39.1% 11.5% 4.6% 0.0% 0.0% skip:13.6%
[libx264 @ 0x562f302ce680] mb B I16..4: 2.7% 5.7% 0.7% B16..8: 39.0% 6.9% 1.1% direct: 2.6% skip:41.1% L0:46.4% L1:49.2% BI: 4.4%
[libx264 @ 0x562f302ce680] 8x8 transform intra:68.4% inter:78.3%
[libx264 @ 0x562f302ce680] coded y,uvDC,uvAC intra: 55.7% 60.2% 6.8% inter: 18.7% 13.7% 2.5%
[libx264 @ 0x562f302ce680] i16 v,h,dc,p: 15% 31% 6% 49%
[libx264 @ 0x562f302ce680] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 22% 11% 5% 11% 9% 13% 6% 7%
[libx264 @ 0x562f302ce680] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 28% 11% 4% 11% 8% 10% 4% 4%
[libx264 @ 0x562f302ce680] i8c dc,h,v,p: 39% 30% 20% 11%
[libx264 @ 0x562f302ce680] Weighted P-Frames: Y:5.4% UV:1.6%
[libx264 @ 0x562f302ce680] ref P L0: 66.9% 22.3% 8.1% 2.7% 0.1%
[libx264 @ 0x562f302ce680] ref B L0: 91.8% 7.0% 1.2%
[libx264 @ 0x562f302ce680] ref B L1: 97.9% 2.1%
[libx264 @ 0x562f302ce680] kb/s:3526.15
[aac @ 0x562f302db300] Qavg: 166.313