trap/test_tracker.ipynb

651 lines
1 MiB
Text
Raw Normal View History

2024-04-25 16:31:51 +02:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"/tmp/ipykernel_1756367/2768163695.py:4: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
2024-04-25 16:31:51 +02:00
" from tqdm.autonotebook import tqdm\n"
]
}
],
"source": [
"import cv2\n",
"from pathlib import Path\n",
"import numpy as np\n",
"from tqdm.autonotebook import tqdm\n",
2024-04-29 14:46:44 +02:00
"from trap.frame_emitter import DetectionState, Frame, Detection, Track\n",
"from collections.abc import Iterable"
2024-04-25 16:31:51 +02:00
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[PosixPath('../DATASETS/hof/webcam20240110-4.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20231103-4.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20231103-2.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20231103-3.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20240110-2.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20240111-2.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20240111-1.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20240110-3.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20240110-1.m4v'),\n",
" PosixPath('../DATASETS/hof/webcam20240111-3.m4v')]"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"video_srcs = list(Path('../DATASETS/hof/').glob('*.m4v'))\n",
"\n",
"video_srcs"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"import torch\n",
"\n",
"\n",
"device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"import collections\n",
"from torchvision.models.detection import maskrcnn_resnet50_fpn_v2, MaskRCNN_ResNet50_FPN_V2_Weights, KeypointRCNN_ResNet50_FPN_Weights, keypointrcnn_resnet50_fpn\n",
"from deep_sort_realtime.deepsort_tracker import DeepSort\n",
"from ultralytics import YOLO\n",
"from ultralytics.engine.results import Results as YOLOResult\n",
"\n",
"def tracker(frame_generator: collections.abc.Iterable[Frame]) -> collections.abc.Iterable[Frame]:\n",
" first_frame: Frame = frame_generator.__next__()\n",
"\n",
" t = torch.from_numpy(cv2.cvtColor(first_frame.img, cv2.COLOR_BGR2RGB))\n",
" # change axes of image loaded image to be compatilbe with torch.io.read_image (which has C,W,H format instead of W,H,C)\n",
" t = t.permute(2, 0, 1)\n",
"\n",
" # weights =KeypointRCNN_ResNet50_FPN_Weights.DEFAULT\n",
" # model = keypointrcnn_resnet50_fpn(weights=weights, box_score_thresh=0.3)\n",
"\n",
" model = YOLO('EXPERIMENTS/yolov8x.pt')\n",
"\n",
" # weights = MaskRCNN_ResNet50_FPN_V2_Weights.COCO_V1\n",
" # model = maskrcnn_resnet50_fpn_v2(weights=weights, box_score_thresh=0.50)\n",
" # model.to(device)\n",
" # # Put the model in inference mode\n",
" # model.eval()\n",
"\n",
" # Get the transforms for the model's weights\n",
" # preprocess = weights.transforms().to(device)\n",
" # mot_tracker = DeepSort(n_init=1, max_iou_distance=1, max_cosine_distance=0.7, max_age=20, nms_max_overlap=1,\n",
" # # embedder='torchreid', embedder_wts=\"../MODELS/osnet_x1_0_imagenet.pth\"\n",
" # )\n",
" \n",
" tracks = collections.defaultdict(lambda: Track())\n",
"\n",
"\n",
" for frame in frame_generator:\n",
" # detections: [Detection] = _resnet_track(model, preprocess, mot_tracker, frame.img, scale = 1)\n",
2024-04-29 14:46:44 +02:00
" detections: [Detection] = _yolov8_track(frame, model)\n",
2024-04-25 16:31:51 +02:00
" for detection in detections:\n",
" track = tracks[detection.track_id]\n",
" track.track_id = detection.track_id # for new tracks\n",
"\n",
" track.history.append(detection)\n",
" \n",
" active_track_ids = [d.track_id for d in detections]\n",
" active_tracks = {t.track_id: t for t in tracks.values() if t.track_id in active_track_ids}\n",
" # logger.info(f\"{trajectories}\")\n",
" frame.tracks = active_tracks\n",
" yield frame\n",
"\n",
2024-04-29 14:46:44 +02:00
"def _yolov8_track(frame: Frame, model: YOLO) -> [Detection]:\n",
" results: [YOLOResult] = model.track(frame.img, persist=True, tracker=\"bytetrack.yaml\", verbose=False)\n",
2024-04-25 16:31:51 +02:00
" if results[0].boxes is None or results[0].boxes.id is None:\n",
" # work around https://github.com/ultralytics/ultralytics/issues/5968\n",
" return []\n",
2024-04-29 14:46:44 +02:00
" return [Detection(track_id, bbox[0]-.5*bbox[2], bbox[1]-.5*bbox[3], bbox[2], bbox[3], 1, DetectionState.Confirmed, frame.index) for bbox, track_id in zip(results[0].boxes.xywh.cpu(), results[0].boxes.id.int().cpu().tolist())]\n",
2024-04-25 16:31:51 +02:00
"\n",
"def _resnet_track(model, preprocess, mot_tracker: DeepSort, img, scale: float = 1) -> [Detection]:\n",
" if scale != 1:\n",
" dsize = (int(img.shape[1] * scale), int(img.shape[0] * scale))\n",
" img = cv2.resize(img, dsize)\n",
" detections = _resnet_detect_persons(model, preprocess, img)\n",
" tracks: [DeepsortTrack] = mot_tracker.update_tracks(detections, frame=img)\n",
" return [Detection.from_deepsort(t).get_scaled(1/scale) for t in tracks]\n",
"\n",
"def _resnet_detect_persons(model, preprocess, frame) -> [Detection]:\n",
" t = torch.from_numpy(cv2.cvtColor(frame, cv2.COLOR_BGR2RGB))\n",
" # change axes of image loaded image to be compatilbe with torch.io.read_image (which has C,W,H format instead of W,H,C)\n",
" t = t.permute(2, 0, 1)\n",
"\n",
" batch = preprocess(t)[None, :].to(device)\n",
" # no_grad can be used on inference, should be slightly faster\n",
" with torch.no_grad():\n",
" predictions = model(batch)\n",
" prediction = predictions[0] # we feed only one frame at once\n",
"\n",
" # TODO: check if we need e.g. cyclist\n",
" mask = prediction['labels'] == 1 # if we want more than one label: np.isin(prediction['labels'], [1,86])\n",
"\n",
" scores = prediction['scores'][mask]\n",
" labels = prediction['labels'][mask]\n",
" boxes = prediction['boxes'][mask]\n",
" \n",
" # TODO: introduce confidence and NMS supression: https://github.com/cfotache/pytorch_objectdetecttrack/blob/master/PyTorch_Object_Tracking.ipynb\n",
" # (which I _think_ we better do after filtering)\n",
" # alternatively look at Soft-NMS https://towardsdatascience.com/non-maximum-suppression-nms-93ce178e177c\n",
"\n",
" # dets - a numpy array of detections in the format [[x1,y1,x2,y2,score, label],[x1,y1,x2,y2,score, label],...]\n",
" detections = np.array([np.append(bbox, [score, label]) for bbox, score, label in zip(boxes.cpu(), scores.cpu(), labels.cpu())])\n",
" detections = detect_persons_deepsort_wrapper(detections)\n",
" \n",
" return detections\n",
"\n",
"def detect_persons_deepsort_wrapper(detections):\n",
" \"\"\"make detect_persons() compatible with\n",
" deep_sort_realtime tracker by going from ltrb to ltwh and\n",
" different nesting\n",
" \"\"\"\n",
" return [([d[0], d[1], d[2]-d[0], d[3]-d[1]], d[4], d[5]) for d in detections]\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"from tsmoothie.smoother import KalmanSmoother, ConvolutionSmoother\n",
"\n",
"def smooth_detections(frame_generator: collections.abc.Iterable[Frame]):\n",
" smoother = ConvolutionSmoother(window_len=2, window_type='ones', copy=None)\n",
" # smoother = KalmanSmoother(component='level_trend', \n",
" # component_noise={'level':0.01, 'trend':0.01})\n",
"\n",
" for frame in frame_generator:\n",
" new_tracks = []\n",
" for track in frame.tracks.values():\n",
" ls = [d.l for d in track.history]\n",
" ts = [d.t for d in track.history]\n",
" ws = [d.w for d in track.history]\n",
" hs = [d.h for d in track.history]\n",
" smoother.smooth(ls)\n",
" ls = smoother.smooth_data[0]\n",
" smoother.smooth(ts)\n",
" ts = smoother.smooth_data[0]\n",
" smoother.smooth(ws)\n",
" ws = smoother.smooth_data[0]\n",
" smoother.smooth(hs)\n",
" hs = smoother.smooth_data[0]\n",
2024-04-29 14:46:44 +02:00
" new_history = [Detection(d.track_id, l, t, w, h, d.conf, d.state, d.frame_nr) for l, t, w, h, d in zip(ls,ts,ws,hs, track.history)]\n",
2024-04-25 16:31:51 +02:00
" new_track = Track(track.track_id, new_history, track.predictor_history, track.predictions)\n",
" new_tracks.append(new_track)\n",
" frame.tracks = {t.track_id: t for t in new_tracks}\n",
" yield frame\n"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
2024-04-29 14:46:44 +02:00
"source": [
"import csv\n",
"\n",
"#TODO _afmaken_, schrijf pas in de achteraf vanwege smoothing? NEE, store voor smoothen, maar OOK frame_index in detection\n",
"def store_tracks_for_training(frame_generator: Iterable[Frame]):\n",
" tracks = {}\n",
" \n",
" try:\n",
" for frame in frame_generator:\n",
" if frame.tracks:\n",
" for track_id, track in frame.tracks.items():\n",
" tracks[track_id] = track\n",
" yield frame\n",
" \n",
" except KeyboardInterrupt as e:\n",
" print(\"stopped with keyboard\")\n",
" finally:\n",
" print('Write file')\n",
" with open(\"EXPERIMENTS/test_track.csv\", 'w') as fp:\n",
" training_csv = csv.DictWriter(fp, fieldnames=['frame_id', 'track_id', 'l', 't', 'w', 'h', 'x', 'y', 'state'], delimiter='\\t', quoting=csv.QUOTE_NONE)\n",
" for track in tracks.values():\n",
" training_csv.writerows([{\n",
" 'frame_id': round(detection.frame_nr * 10., 1), # not really time\n",
" 'track_id': track.track_id,\n",
" 'l': detection.l,\n",
" 't': detection.t,\n",
" 'w': detection.w,\n",
" 'h': detection.h,\n",
" 'x': projected_detection[0],\n",
" 'y': projected_detection[1],\n",
" 'state': detection.state.value\n",
" # only keep _actual_detections, no lost entries\n",
" } for detection, projected_detection in zip(track.history, track.get_projected_history(frame.H))\n",
" # if t.history[-1].state != DetectionState.Lost\n",
" ])"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
2024-04-25 16:31:51 +02:00
"source": [
"\n",
"import ffmpeg\n",
"\n",
"from trap.renderer import decorate_frame\n",
"\n",
"def streamer(frame_generator: collections.abc.Iterable[Frame]):\n",
" render_url = \"zmq:tcp://0.0.0.0:5556\"\n",
" frame_size = (1280,720)\n",
" streaming_process = start_streaming(frame_size, render_url, 25)\n",
" first_time = None\n",
" try:\n",
" for frame in frame_generator:\n",
" if not first_time:\n",
" first_time = frame.time\n",
" # img = frame.img\n",
" img = decorate_frame(frame, frame,first_time)\n",
" streaming_process.stdin.write(img.tobytes())\n",
" yield frame\n",
" finally:\n",
" streaming_process.stdin.close()\n",
" streaming_process.wait()\n",
"\n",
"def start_streaming(frame_size, render_url, fps):\n",
" return (\n",
" ffmpeg\n",
" .input('pipe:', format='rawvideo',codec=\"rawvideo\", pix_fmt='bgr24', s='{}x{}'.format(*frame_size))\n",
" .output(\n",
" render_url,\n",
" #codec = \"copy\", # use same codecs of the original video\n",
" codec='libx264',\n",
" listen=1, # enables HTTP server\n",
" pix_fmt=\"yuv420p\",\n",
" preset=\"ultrafast\",\n",
" tune=\"zerolatency\",\n",
" g=f\"{fps*2}\",\n",
" analyzeduration=\"2000000\",\n",
" probesize=\"1000000\",\n",
" f='mpegts'\n",
" )\n",
" .overwrite_output()\n",
" .run_async(pipe_stdin=True)\n",
" )"
]
},
{
"cell_type": "code",
2024-04-29 14:46:44 +02:00
"execution_count": 8,
2024-04-25 16:31:51 +02:00
"metadata": {},
"outputs": [],
"source": [
"def frame_generator(video_srcs: [Path]) -> collections.abc.Iterable[Frame]:\n",
" i = 0\n",
" for video_path in video_srcs:\n",
" print(video_path)\n",
" video = cv2.VideoCapture(str(video_path))\n",
" fps = video.get(cv2.CAP_PROP_FPS)\n",
"\n",
" duration = video.get(cv2.CAP_PROP_FRAME_COUNT)\n",
"\n",
2024-04-29 14:46:44 +02:00
" # start = video.set(cv2.CAP_PROP_POS_FRAMES, 1900+45000)\n",
2024-04-25 16:31:51 +02:00
"\n",
" if '-' in video_path.stem:\n",
" path_stem = video_path.stem[:video_path.stem.rfind('-')]\n",
" else:\n",
" path_stem = video_path.stem\n",
" path_stem += \"-homography\"\n",
" homography_path = video_path.with_stem(path_stem).with_suffix('.txt')\n",
" print(f'check homography file {homography_path}')\n",
"\n",
" if homography_path.exists():\n",
" print(f'Found custom homography file! Using {homography_path}')\n",
" video_H = np.loadtxt(homography_path, delimiter=',')\n",
" else:\n",
" video_H = None\n",
"\n",
2024-04-29 14:46:44 +02:00
" # pbar = tqdm(total=duration)\n",
2024-04-25 16:31:51 +02:00
" while True:\n",
2024-04-29 14:46:44 +02:00
" # pbar.update(1)\n",
2024-04-25 16:31:51 +02:00
" ret, img = video.read()\n",
"\n",
" # seek to 0 if video has finished. Infinite loop\n",
" if not ret:\n",
" # now loading multiple files \n",
" # TODO trigger detector reset\n",
" break\n",
" \n",
" \n",
" if \"DATASETS/hof/\" in str(video_path):\n",
" # hack to mask out area\n",
" cv2.rectangle(img, (0,0), (800,200), (0,0,0), -1)\n",
"\n",
" frame = Frame(index=i, img=img, H=video_H)\n",
" i += 1\n",
" yield frame\n"
]
},
{
"cell_type": "code",
2024-04-29 14:46:44 +02:00
"execution_count": 9,
2024-04-25 16:31:51 +02:00
"metadata": {},
"outputs": [],
"source": [
"from IPython.display import display, Markdown"
]
},
{
"cell_type": "code",
2024-04-29 14:46:44 +02:00
"execution_count": 10,
2024-04-25 16:31:51 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"view stream with `ffplay zmq:tcp://100.109.175.82:5556`"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"0it [00:00, ?it/s]ffmpeg version 5.1.4-0+deb12u1 Copyright (c) 2000-2023 the FFmpeg developers\n",
" built with gcc 12 (Debian 12.2.0-14)\n",
" configuration: --prefix=/usr --extra-version=0+deb12u1 --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-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --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 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared\n",
" libavutil 57. 28.100 / 57. 28.100\n",
" libavcodec 59. 37.100 / 59. 37.100\n",
" libavformat 59. 27.100 / 59. 27.100\n",
" libavdevice 59. 7.100 / 59. 7.100\n",
" libavfilter 8. 44.100 / 8. 44.100\n",
" libswscale 6. 7.100 / 6. 7.100\n",
" libswresample 4. 7.100 / 4. 7.100\n",
" libpostproc 56. 6.100 / 56. 6.100\n"
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"../DATASETS/hof/webcam20240110-4.m4v\n",
"check homography file ../DATASETS/hof/webcam20240110-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240110-homography.txt\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"/home/ruben/suspicion/trap/.venv/lib/python3.10/site-packages/numpy/lib/function_base.py:520: RuntimeWarning: Mean of empty slice.\n",
" avg = a.mean(axis, **keepdims_kw)\n",
"/home/ruben/suspicion/trap/.venv/lib/python3.10/site-packages/numpy/core/_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide\n",
" ret = ret.dtype.type(ret / rcount)\n",
"1it [00:02, 2.89s/it]Input #0, rawvideo, from 'pipe:':\n",
" Duration: N/A, start: 0.000000, bitrate: 552960 kb/s\n",
" Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 1280x720, 552960 kb/s, 25 tbr, 25 tbn\n",
"Stream mapping:\n",
" Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))\n",
"[libx264 @ 0x5597952eb880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n",
"[libx264 @ 0x5597952eb880] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit\n",
"Output #0, mpegts, to 'zmq:tcp://0.0.0.0:5556':\n",
" Metadata:\n",
" encoder : Lavf59.27.100\n",
" Stream #0:0: Video: h264, yuv420p(tv, progressive), 1280x720, q=2-31, 25 fps, 90k tbn\n",
" Metadata:\n",
" encoder : Lavc59.37.100 libx264\n",
" Side data:\n",
" cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\n",
"202it [00:06, 61.02it/s].0 size= 103kB time=00:00:00.00 bitrate=76704000.0kbits/s speed=N/A frame= 32 fps=0.0 q=14.0 size= 374kB time=00:00:01.24 bitrate=2473.1kbits/s speed=2.48x frame= 63 fps= 62 q=14.0 size= 717kB time=00:00:02.48 bitrate=2367.6kbits/s speed=2.46x frame= 94 fps= 62 q=13.0 size= 797kB time=00:00:03.72 bitrate=1755.5kbits/s speed=2.45x frame= 125 fps= 62 q=13.0 size= 1146kB time=00:00:04.96 bitrate=1893.3kbits/s speed=2.45x frame= 156 fps= 62 q=16.0 size= 1463kB time=00:00:06.20 bitrate=1933.1kbits/s speed=2.45x frame= 187 fps= 62 q=13.0 size= 1519kB time=00:00:07.44 bitrate=1672.6kbits/s speed=2.45x "
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"33931it [10:15, 52.82it/s]ame= 218 fps= 62 q=14.0 size= 1891kB time=00:00:08.68 bitrate=1784.7kbits/s speed=2.45x frame= 249 fps= 61 q=13.0 size= 1967kB time=00:00:09.92 bitrate=1624.5kbits/s speed=2.45x frame= 280 fps= 61 q=14.0 size= 2309kB time=00:00:11.16 bitrate=1694.7kbits/s speed=2.45x frame= 311 fps= 61 q=17.0 size= 2692kB time=00:00:12.40 bitrate=1778.2kbits/s speed=2.44x frame= 343 fps= 61 q=13.0 size= 2822kB time=00:00:13.68 bitrate=1690.0kbits/s speed=2.45x frame= 374 fps= 61 q=13.0 size= 3143kB time=00:00:14.92 bitrate=1725.7kbits/s speed=2.45x frame= 405 fps= 61 q=17.0 size= 3507kB time=00:00:16.16 bitrate=1777.9kbits/s speed=2.45x frame= 437 fps= 61 q=14.0 size= 3589kB time=00:00:17.44 bitrate=1685.6kbits/s speed=2.45x frame= 468 fps= 61 q=13.0 size= 3916kB time=00:00:18.68 bitrate=1717.5kbits/s speed=2.45x frame= 499 fps= 61 q=13.0 size= 3984kB time=00:00:19.92 bitrate=1638.4kbits/s speed=2.45x frame= 530 fps= 61 q=14.0 size= 4326kB time=00:00:21.16 bitrate=1674.7kbits/s speed=2.45x frame= 561 fps= 61 q=14.0 size= 4667kB time=00:00:22.40 bitrate=1706.6kbits/s speed=2.45x frame= 591 fps= 61 q=13.0 size= 4726kB time=00:00:23.60 bitrate=1640.4kbits/s speed=2.44x frame= 621 fps= 61 q=13.0 size= 5075kB time=00:00:24.80 bitrate=1676.4kbits/s speed=2.44x frame= 651 fps= 61 q=11.0 size= 5393kB time=00:00:26.00 bitrate=1699.3kbits/s speed=2.44x frame= 681 fps= 61 q=13.0 size= 5442kB time=00:00:27.20 bitrate=1639.0kbits/s speed=2.44x frame= 711 fps= 61 q=13.0 size= 5791kB time=00:00:28.40 bitrate=1670.5kbits/s speed=2.43x frame= 741 fps= 61 q=13.0 size= 5840kB time=00:00:29.60 bitrate=1616.2kbits/s speed=2.43x frame= 771 fps= 61 q=13.0 size= 6166kB time=00:00:30.80 bitrate=1640.0kbits/s speed=2.43x frame= 801 fps= 61 q=12.0 size= 6508kB time=00:00:32.00 bitrate=1666.1kbits/s speed=2.43x frame= 831 fps= 61 q=14.0 size= 6637kB time=00:00:33.20 bitrate=1637.8kbits/s speed=2.42x frame= 861 fps= 61 q=13.0 size= 6986kB time=00:00:34.40 bitrate=1663.8kbits/s speed=2.42x frame= 891 fps= 61 q=13.0 size= 7047kB time=00:00:35.60 bitrate=1621.6kbits/s speed=2.42x frame= 921 fps= 61 q=13.0 size= 7400kB time=00:00:36.80 bitrate=1647.4kbits/s speed=2.42x frame= 951 fps= 60 q=11.0 size= 7731kB time=00:00:38.00 bitrate=1666.6kbits/s speed=2.42x frame= 981 fps= 60 q=14.0 size= 7801kB time=00:00:39.20 bitrate=1630.2kbits/s speed=2.41x frame= 1011 fps= 60 q=13.0 size= 8151kB time=00:00:40.40 bitrate=1652.8kbits/s speed=2.41x frame= 1041 fps= 60 q=14.0 size= 8212kB time=00:00:41.60 bitrate=1617.1kbits/s speed=2.41x frame= 1071 fps= 60 q=13.0 size= 8539kB time=00:00:42.80 bitrate=1634.3kbits/s speed=2.41x frame= 1101 fps= 60 q=11.0 size= 8892kB time=00:00:44.00 bitrate=1655.6kbits/s speed=2.41x frame= 1132 fps= 60 q=13.0 size= 8948kB time=00:00:45.24 bitrate=1620.3kbits/s speed=2.41x frame= 1163 fps= 60 q=13.0 size= 9278kB time=00:00:46.48 bitrate=1635.2kbits/s speed=2.41x frame= 1193 fps= 60 q=13.0 size= 9338kB time=00:00:47.68 bitrate=1604.4kbits/s speed=2.41x frame= 1224 fps= 60 q=13.0 size= 9695kB time=00:00:48.92 bitrate=1623.4kbits/s speed=2.41x frame= 1254 fps= 60 q=19.0 size= 10058kB time=00:00:50.12 bitrate=1643.9kbits/s speed=2.41x frame= 1284 fps= 60 q=13.0 size= 10120kB time=00:00:51.32 bitrate=1615.4kbits/s speed=2.41x frame= 1314 fps= 60 q=13.0 size= 10473kB time=00:00:52.52 bitrate=1633.5kbits/s speed=2.41x frame= 1344 fps= 60 q=13.0 size= 10527kB time=00:00:53.72 bitrate=1605.3kbits/s speed=2.41x frame= 1374 fps= 60 q=13.0 size= 10857kB time=00:00:54.92 bitrate=1619.5kbits/s speed=2.41x frame= 1404 fps= 60 q=19.0 size= 11205kB time=00:00:56.12 bitrate=1635.6kbits/s speed= 2.4x frame= 1434 fps= 60 q=13.0 size= 11245kB time=00:00:57.32 bitrate=1607.0kbits/s speed= 2.4x frame= 1464 fps= 60 q=13.0 size= 11587kB time=00:00:58.52 bitrate=1622.0kbits/s speed
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"../DATASETS/hof/webcam20231103-4.m4v\n",
"check homography file ../DATASETS/hof/webcam20231103-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20231103-homography.txt\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"37906it [11:29, 53.61it/s]frame=33944 fps= 55 q=19.0 size= 315888kB time=00:22:37.72 bitrate=1906.0kbits/s speed=2.22x frame=33969 fps= 55 q=18.0 size= 316384kB time=00:22:38.72 bitrate=1907.5kbits/s speed=2.22x frame=33994 fps= 55 q=19.0 size= 316747kB time=00:22:39.72 bitrate=1908.3kbits/s speed=2.22x frame=34017 fps= 55 q=20.0 size= 317275kB time=00:22:40.64 bitrate=1910.2kbits/s speed=2.21x frame=34039 fps= 55 q=20.0 size= 317623kB time=00:22:41.52 bitrate=1911.1kbits/s speed=2.21x frame=34061 fps= 55 q=19.0 size= 318116kB time=00:22:42.40 bitrate=1912.8kbits/s speed=2.21x frame=34085 fps= 55 q=20.0 size= 318407kB time=00:22:43.36 bitrate=1913.2kbits/s speed=2.21x frame=34109 fps= 55 q=17.0 size= 318845kB time=00:22:44.32 bitrate=1914.5kbits/s speed=2.21x frame=34136 fps= 55 q=16.0 size= 319070kB time=00:22:45.40 bitrate=1914.3kbits/s speed=2.21x frame=34166 fps= 55 q=16.0 size= 319428kB time=00:22:46.60 bitrate=1914.8kbits/s speed=2.21x frame=34197 fps= 55 q=15.0 size= 319572kB time=00:22:47.84 bitrate=1913.9kbits/s speed=2.21x frame=34228 fps= 55 q=16.0 size= 319932kB time=00:22:49.08 bitrate=1914.3kbits/s speed=2.21x frame=34259 fps= 55 q=16.0 size= 320296kB time=00:22:50.32 bitrate=1914.8kbits/s speed=2.21x frame=34290 fps= 55 q=16.0 size= 320428kB time=00:22:51.56 bitrate=1913.8kbits/s speed=2.21x frame=34320 fps= 55 q=16.0 size= 320816kB time=00:22:52.76 bitrate=1914.5kbits/s speed=2.21x frame=34348 fps= 55 q=16.0 size= 321041kB time=00:22:53.88 bitrate=1914.3kbits/s speed=2.21x frame=34376 fps= 55 q=17.0 size= 321467kB time=00:22:55.00 bitrate=1915.2kbits/s speed=2.21x frame=34404 fps= 55 q=19.0 size= 321861kB time=00:22:56.12 bitrate=1916.0kbits/s speed=2.21x frame=34433 fps= 55 q=16.0 size= 322036kB time=00:22:57.28 bitrate=1915.5kbits/s speed=2.21x frame=34464 fps= 55 q=16.0 size= 322418kB time=00:22:58.52 bitrate=1916.0kbits/s speed=2.21x frame=34495 fps= 55 q=16.0 size= 322565kB time=00:22:59.76 bitrate=1915.2kbits/s speed=2.21x frame=34526 fps= 55 q=16.0 size= 322939kB time=00:23:01.00 bitrate=1915.7kbits/s speed=2.21x frame=34557 fps= 55 q=17.0 size= 323322kB time=00:23:02.24 bitrate=1916.2kbits/s speed=2.21x frame=34588 fps= 55 q=16.0 size= 323483kB time=00:23:03.48 bitrate=1915.4kbits/s speed=2.22x frame=34619 fps= 55 q=16.0 size= 323854kB time=00:23:04.72 bitrate=1915.9kbits/s speed=2.22x frame=34650 fps= 55 q=15.0 size= 324002kB time=00:23:05.96 bitrate=1915.1kbits/s speed=2.22x frame=34680 fps= 55 q=18.0 size= 324414kB time=00:23:07.16 bitrate=1915.9kbits/s speed=2.22x frame=34709 fps= 55 q=17.0 size= 324844kB time=00:23:08.32 bitrate=1916.8kbits/s speed=2.22x frame=34737 fps= 55 q=18.0 size= 325097kB time=00:23:09.44 bitrate=1916.7kbits/s speed=2.22x frame=34763 fps= 55 q=20.0 size= 325575kB time=00:23:10.48 bitrate=1918.1kbits/s speed=2.22x frame=34786 fps= 55 q=20.0 size= 325946kB time=00:23:11.40 bitrate=1919.0kbits/s speed=2.22x frame=34812 fps= 55 q=19.0 size= 326430kB time=00:23:12.44 bitrate=1920.5kbits/s speed=2.22x frame=34837 fps= 55 q=19.0 size= 326747kB time=00:23:13.44 bitrate=1920.9kbits/s speed=2.21x frame=34860 fps= 55 q=20.0 size= 327273kB time=00:23:14.36 bitrate=1922.8kbits/s speed=2.21x frame=34885 fps= 55 q=19.0 size= 327607kB time=00:23:15.36 bitrate=1923.3kbits/s speed=2.21x frame=34909 fps= 55 q=19.0 size= 328119kB time=00:23:16.32 bitrate=1925.0kbits/s speed=2.21x frame=34933 fps= 55 q=19.0 size= 328468kB time=00:23:17.28 bitrate=1925.7kbits/s speed=2.21x frame=34957 fps= 55 q=19.0 size= 328961kB time=00:23:18.24 bitrate=1927.3kbits/s speed=2.21x frame=34980 fps= 55 q=19.0 size= 329275kB time=00:23:19.16 bitrate=1927.9kbits/s speed=2.21x frame=35002 fps= 55 q=24.0 size= 329742kB time=00:23:20.04 bitrate=1929.4kbits/s speed=2.21x frame=35024 fps= 55 q=18.0 size= 330021kB time=00:23:20.92 bitrate=1929.8kbits/s speed=2.21x frame=35045 fps= 55 q=19.0 size= 330305kB time=00:23:21.76 bitrate=1930.3kbits/s spe
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"../DATASETS/hof/webcam20231103-2.m4v\n",
"check homography file ../DATASETS/hof/webcam20231103-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20231103-homography.txt\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"63326it [19:05, 55.55it/s]frame=37929 fps= 55 q=16.0 size= 365273kB time=00:25:17.12 bitrate=1972.4kbits/s speed=2.21x frame=37955 fps= 55 q=19.0 size= 365757kB time=00:25:18.16 bitrate=1973.6kbits/s speed=2.21x frame=37980 fps= 55 q=17.0 size= 365890kB time=00:25:19.16 bitrate=1973.0kbits/s speed=2.21x frame=38004 fps= 55 q=21.0 size= 366365kB time=00:25:20.12 bitrate=1974.4kbits/s speed=2.21x frame=38029 fps= 55 q=16.0 size= 366550kB time=00:25:21.12 bitrate=1974.1kbits/s speed=2.21x frame=38053 fps= 55 q=22.0 size= 367035kB time=00:25:22.08 bitrate=1975.4kbits/s speed=2.21x frame=38077 fps= 55 q=16.0 size= 367198kB time=00:25:23.04 bitrate=1975.1kbits/s speed=2.21x frame=38100 fps= 55 q=15.0 size= 367340kB time=00:25:23.96 bitrate=1974.6kbits/s speed=2.21x frame=38123 fps= 55 q=17.0 size= 367801kB time=00:25:24.88 bitrate=1975.9kbits/s speed=2.21x frame=38145 fps= 55 q=17.0 size= 367955kB time=00:25:25.76 bitrate=1975.6kbits/s speed=2.21x frame=38167 fps= 55 q=17.0 size= 368409kB time=00:25:26.64 bitrate=1976.9kbits/s speed= 2.2x frame=38189 fps= 55 q=18.0 size= 368634kB time=00:25:27.52 bitrate=1977.0kbits/s speed= 2.2x frame=38213 fps= 55 q=17.0 size= 369112kB time=00:25:28.48 bitrate=1978.3kbits/s speed= 2.2x frame=38237 fps= 55 q=16.0 size= 369322kB time=00:25:29.44 bitrate=1978.2kbits/s speed= 2.2x frame=38261 fps= 55 q=17.0 size= 369801kB time=00:25:30.40 bitrate=1979.5kbits/s speed= 2.2x frame=38285 fps= 55 q=17.0 size= 370003kB time=00:25:31.36 bitrate=1979.3kbits/s speed= 2.2x frame=38312 fps= 55 q=19.0 size= 370499kB time=00:25:32.44 bitrate=1980.6kbits/s speed= 2.2x frame=38342 fps= 55 q=16.0 size= 370701kB time=00:25:33.64 bitrate=1980.1kbits/s speed= 2.2x frame=38372 fps= 55 q=16.0 size= 371149kB time=00:25:34.84 bitrate=1981.0kbits/s speed= 2.2x frame=38402 fps= 55 q=24.0 size= 371618kB time=00:25:36.04 bitrate=1981.9kbits/s speed= 2.2x frame=38432 fps= 55 q=16.0 size= 371739kB time=00:25:37.24 bitrate=1981.0kbits/s speed= 2.2x frame=38462 fps= 55 q=16.0 size= 372198kB time=00:25:38.44 bitrate=1981.9kbits/s speed= 2.2x frame=38492 fps= 55 q=17.0 size= 372383kB time=00:25:39.64 bitrate=1981.3kbits/s speed= 2.2x frame=38522 fps= 55 q=16.0 size= 372872kB time=00:25:40.84 bitrate=1982.4kbits/s speed= 2.2x frame=38552 fps= 55 q=24.0 size= 373365kB time=00:25:42.04 bitrate=1983.5kbits/s speed= 2.2x frame=38582 fps= 55 q=17.0 size= 373541kB time=00:25:43.24 bitrate=1982.9kbits/s speed= 2.2x frame=38612 fps= 55 q=17.0 size= 374022kB time=00:25:44.44 bitrate=1983.9kbits/s speed= 2.2x frame=38642 fps= 55 q=16.0 size= 374250kB time=00:25:45.64 bitrate=1983.5kbits/s speed= 2.2x frame=38672 fps= 55 q=18.0 size= 374734kB time=00:25:46.84 bitrate=1984.6kbits/s speed= 2.2x frame=38702 fps= 55 q=24.0 size= 375265kB time=00:25:48.04 bitrate=1985.8kbits/s speed= 2.2x frame=38732 fps= 55 q=17.0 size= 375492kB time=00:25:49.24 bitrate=1985.5kbits/s speed=2.21x frame=38762 fps= 55 q=16.0 size= 375979kB time=00:25:50.44 bitrate=1986.5kbits/s speed=2.21x frame=38792 fps= 55 q=16.0 size= 376186kB time=00:25:51.64 bitrate=1986.1kbits/s speed=2.21x frame=38822 fps= 55 q=17.0 size= 376651kB time=00:25:52.84 bitrate=1987.0kbits/s speed=2.21x frame=38851 fps= 55 q=15.0 size= 377159kB time=00:25:54.00 bitrate=1988.2kbits/s speed=2.21x frame=38879 fps= 55 q=18.0 size= 377382kB time=00:25:55.12 bitrate=1988.0kbits/s speed=2.21x frame=38907 fps= 55 q=18.0 size= 377849kB time=00:25:56.24 bitrate=1989.0kbits/s speed=2.21x frame=38937 fps= 55 q=16.0 size= 378069kB time=00:25:57.44 bitrate=1988.6kbits/s speed=2.21x frame=38967 fps= 55 q=17.0 size= 378522kB time=00:25:58.64 bitrate=1989.5kbits/s speed=2.21x frame=38997 fps= 55 q=16.0 size= 378733kB time=00:25:59.84 bitrate=1989.0kbits/s speed=2.21x frame=39027 fps= 55 q=17.0 size= 379204kB time=00:26:01.04 bitrate=1990.0kbits/s speed=2.21x frame=39057 fps= 55 q=17.0 size= 379648kB time=00:26:02.24 bitrate=1990.8kbits/s spe
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"../DATASETS/hof/webcam20231103-3.m4v\n",
"check homography file ../DATASETS/hof/webcam20231103-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20231103-homography.txt\n"
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"85103it [25:28, 56.42it/s]frame=63339 fps= 55 q=17.0 size= 668325kB time=00:42:13.52 bitrate=2161.0kbits/s speed=2.22x frame=63369 fps= 55 q=16.0 size= 668808kB time=00:42:14.72 bitrate=2161.5kbits/s speed=2.22x frame=63399 fps= 55 q=17.0 size= 669028kB time=00:42:15.92 bitrate=2161.2kbits/s speed=2.22x frame=63429 fps= 55 q=16.0 size= 669458kB time=00:42:17.12 bitrate=2161.6kbits/s speed=2.22x frame=63459 fps= 55 q=17.0 size= 669886kB time=00:42:18.32 bitrate=2161.9kbits/s speed=2.22x frame=63487 fps= 55 q=17.0 size= 670129kB time=00:42:19.44 bitrate=2161.8kbits/s speed=2.22x frame=63514 fps= 55 q=18.0 size= 670587kB time=00:42:20.52 bitrate=2162.3kbits/s speed=2.22x frame=63541 fps= 55 q=18.0 size= 670841kB time=00:42:21.60 bitrate=2162.2kbits/s speed=2.22x frame=63571 fps= 55 q=16.0 size= 671283kB time=00:42:22.80 bitrate=2162.6kbits/s speed=2.22x frame=63601 fps= 55 q=14.0 size= 671752kB time=00:42:24.00 bitrate=2163.1kbits/s speed=2.22x frame=63629 fps= 55 q=17.0 size= 671979kB time=00:42:25.12 bitrate=2162.9kbits/s speed=2.22x frame=63656 fps= 55 q=17.0 size= 672447kB time=00:42:26.20 bitrate=2163.5kbits/s speed=2.22x frame=63683 fps= 55 q=17.0 size= 672643kB time=00:42:27.28 bitrate=2163.2kbits/s speed=2.22x frame=63709 fps= 55 q=17.0 size= 673099kB time=00:42:28.32 bitrate=2163.8kbits/s speed=2.22x frame=63734 fps= 55 q=17.0 size= 673318kB time=00:42:29.32 bitrate=2163.6kbits/s speed=2.22x frame=63758 fps= 55 q=17.0 size= 673740kB time=00:42:30.28 bitrate=2164.2kbits/s speed=2.22x frame=63782 fps= 55 q=17.0 size= 673946kB time=00:42:31.24 bitrate=2164.0kbits/s speed=2.22x frame=63806 fps= 55 q=18.0 size= 674411kB time=00:42:32.20 bitrate=2164.7kbits/s speed=2.22x frame=63829 fps= 55 q=17.0 size= 674636kB time=00:42:33.12 bitrate=2164.7kbits/s speed=2.22x frame=63852 fps= 55 q=24.0 size= 675068kB time=00:42:34.04 bitrate=2165.3kbits/s speed=2.22x frame=63875 fps= 55 q=16.0 size= 675260kB time=00:42:34.96 bitrate=2165.1kbits/s speed=2.22x frame=63897 fps= 55 q=17.0 size= 675432kB time=00:42:35.84 bitrate=2164.9kbits/s speed=2.22x frame=63919 fps= 55 q=16.0 size= 675844kB time=00:42:36.72 bitrate=2165.5kbits/s speed=2.22x frame=63940 fps= 55 q=18.0 size= 676049kB time=00:42:37.56 bitrate=2165.4kbits/s speed=2.22x frame=63961 fps= 55 q=19.0 size= 676483kB time=00:42:38.40 bitrate=2166.1kbits/s speed=2.22x frame=63980 fps= 55 q=18.0 size= 676661kB time=00:42:39.16 bitrate=2166.0kbits/s speed=2.22x frame=64001 fps= 55 q=15.0 size= 677120kB time=00:42:40.00 bitrate=2166.8kbits/s speed=2.21x frame=64030 fps= 55 q=18.0 size= 677370kB time=00:42:41.16 bitrate=2166.6kbits/s speed=2.21x frame=64061 fps= 55 q=17.0 size= 677830kB time=00:42:42.40 bitrate=2167.0kbits/s speed=2.21x frame=64092 fps= 55 q=17.0 size= 678068kB time=00:42:43.64 bitrate=2166.7kbits/s speed=2.22x frame=64122 fps= 55 q=17.0 size= 678515kB time=00:42:44.84 bitrate=2167.2kbits/s speed=2.22x frame=64152 fps= 55 q=24.0 size= 678977kB time=00:42:46.04 bitrate=2167.6kbits/s speed=2.22x frame=64183 fps= 55 q=17.0 size= 679192kB time=00:42:47.28 bitrate=2167.3kbits/s speed=2.22x frame=64214 fps= 55 q=17.0 size= 679649kB time=00:42:48.52 bitrate=2167.7kbits/s speed=2.22x frame=64245 fps= 55 q=17.0 size= 679881kB time=00:42:49.76 bitrate=2167.4kbits/s speed=2.22x frame=64275 fps= 55 q=17.0 size= 680332kB time=00:42:50.96 bitrate=2167.8kbits/s speed=2.22x frame=64305 fps= 55 q=19.0 size= 680802kB time=00:42:52.16 bitrate=2168.3kbits/s speed=2.22x frame=64335 fps= 55 q=17.0 size= 681069kB time=00:42:53.36 bitrate=2168.1kbits/s speed=2.22x frame=64365 fps= 55 q=17.0 size= 681546kB time=00:42:54.56 bitrate=2168.6kbits/s speed=2.22x frame=64395 fps= 55 q=18.0 size= 681805kB time=00:42:55.76 bitrate=2168.4kbits/s speed=2.22x frame=64424 fps= 55 q=17.0 size= 682264kB time=00:42:56.92 bitrate=2168.9kbits/s speed=2.22x frame=64454 fps= 55 q=21.0 size= 682750kB time=00:42:58.12 bitrate=2169.4kbits/s spe
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"../DATASETS/hof/webcam20240110-2.m4v\n",
"check homography file ../DATASETS/hof/webcam20240110-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240110-homography.txt\n"
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"117183it [34:29, 53.38it/s]rame=85109 fps= 56 q=14.0 size= 918683kB time=00:56:44.32 bitrate=2210.7kbits/s speed=2.23x frame=85140 fps= 56 q=14.0 size= 918764kB time=00:56:45.56 bitrate=2210.1kbits/s speed=2.23x frame=85171 fps= 56 q=13.0 size= 919016kB time=00:56:46.80 bitrate=2209.9kbits/s speed=2.23x frame=85202 fps= 56 q=23.0 size= 919360kB time=00:56:48.04 bitrate=2209.9kbits/s speed=2.23x frame=85233 fps= 56 q=13.0 size= 919401kB time=00:56:49.28 bitrate=2209.2kbits/s speed=2.23x frame=85264 fps= 56 q=13.0 size= 919666kB time=00:56:50.52 bitrate=2209.0kbits/s speed=2.23x frame=85295 fps= 56 q=18.0 size= 919725kB time=00:56:51.76 bitrate=2208.4kbits/s speed=2.23x frame=85325 fps= 56 q=13.0 size= 920015kB time=00:56:52.96 bitrate=2208.3kbits/s speed=2.23x frame=85355 fps= 56 q=17.0 size= 920279kB time=00:56:54.16 bitrate=2208.1kbits/s speed=2.23x frame=85385 fps= 56 q=13.0 size= 920323kB time=00:56:55.36 bitrate=2207.5kbits/s speed=2.23x frame=85416 fps= 56 q=13.0 size= 920623kB time=00:56:56.60 bitrate=2207.4kbits/s speed=2.23x frame=85447 fps= 56 q=13.0 size= 920665kB time=00:56:57.84 bitrate=2206.7kbits/s speed=2.23x frame=85478 fps= 56 q=13.0 size= 920930kB time=00:56:59.08 bitrate=2206.5kbits/s speed=2.23x frame=85509 fps= 56 q=13.0 size= 921230kB time=00:57:00.32 bitrate=2206.4kbits/s speed=2.23x frame=85540 fps= 56 q=13.0 size= 921271kB time=00:57:01.56 bitrate=2205.7kbits/s speed=2.23x frame=85570 fps= 56 q=13.0 size= 921534kB time=00:57:02.76 bitrate=2205.6kbits/s speed=2.23x frame=85600 fps= 56 q=14.0 size= 921626kB time=00:57:03.96 bitrate=2205.0kbits/s speed=2.23x frame=85630 fps= 56 q=13.0 size= 921874kB time=00:57:05.16 bitrate=2204.9kbits/s speed=2.23x frame=85660 fps= 56 q=13.0 size= 922141kB time=00:57:06.36 bitrate=2204.7kbits/s speed=2.23x frame=85690 fps= 56 q=13.0 size= 922187kB time=00:57:07.56 bitrate=2204.1kbits/s speed=2.23x frame=85721 fps= 56 q=13.0 size= 922489kB time=00:57:08.80 bitrate=2204.0kbits/s speed=2.23x frame=85752 fps= 56 q=23.0 size= 922757kB time=00:57:10.04 bitrate=2203.8kbits/s speed=2.23x frame=85783 fps= 56 q=13.0 size= 922803kB time=00:57:11.28 bitrate=2203.1kbits/s speed=2.23x frame=85814 fps= 56 q=13.0 size= 923108kB time=00:57:12.52 bitrate=2203.1kbits/s speed=2.23x frame=85845 fps= 56 q=13.0 size= 923152kB time=00:57:13.76 bitrate=2202.4kbits/s speed=2.23x frame=85876 fps= 56 q=13.0 size= 923418kB time=00:57:15.00 bitrate=2202.2kbits/s speed=2.23x frame=85907 fps= 56 q=14.0 size= 923722kB time=00:57:16.24 bitrate=2202.2kbits/s speed=2.23x frame=85938 fps= 56 q=13.0 size= 923765kB time=00:57:17.48 bitrate=2201.5kbits/s speed=2.23x frame=85969 fps= 56 q=13.0 size= 924031kB time=00:57:18.72 bitrate=2201.3kbits/s speed=2.23x frame=86000 fps= 56 q=14.0 size= 924130kB time=00:57:19.96 bitrate=2200.7kbits/s speed=2.23x frame=86031 fps= 56 q=13.0 size= 924378kB time=00:57:21.20 bitrate=2200.5kbits/s speed=2.23x frame=86062 fps= 56 q=13.0 size= 924644kB time=00:57:22.44 bitrate=2200.4kbits/s speed=2.23x frame=86093 fps= 56 q=13.0 size= 924692kB time=00:57:23.68 bitrate=2199.7kbits/s speed=2.23x frame=86124 fps= 56 q=13.0 size= 924998kB time=00:57:24.92 bitrate=2199.6kbits/s speed=2.23x frame=86155 fps= 56 q=17.0 size= 925269kB time=00:57:26.16 bitrate=2199.5kbits/s speed=2.23x frame=86186 fps= 56 q=13.0 size= 925317kB time=00:57:27.40 bitrate=2198.8kbits/s speed=2.23x frame=86217 fps= 56 q=13.0 size= 925622kB time=00:57:28.64 bitrate=2198.7kbits/s speed=2.23x frame=86248 fps= 56 q=13.0 size= 925666kB time=00:57:29.88 bitrate=2198.1kbits/s speed=2.23x frame=86279 fps= 56 q=13.0 size= 925938kB time=00:57:31.12 bitrate=2197.9kbits/s speed=2.23x frame=86310 fps= 56 q=13.0 size= 926246kB time=00:57:32.36 bitrate=2197.9kbits/s speed=2.23x frame=86340 fps= 56 q=13.0 size= 926294kB time=00:57:33.56 bitrate=2197.2kbits/s speed=2.23x frame=86370 fps= 56 q=13.0 size= 926563kB time=00:57:34.76 bitrate=2197.1kbits/s spe
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"../DATASETS/hof/webcam20240111-2.m4v\n",
"check homography file ../DATASETS/hof/webcam20240111-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240111-homography.txt\n"
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"149742it [44:03, 48.51it/s]frame=117191 fps= 57 q=15.0 size= 1147522kB time=01:18:07.60 bitrate=2005.4kbits/s speed=2.27x frame=117221 fps= 57 q=14.0 size= 1147995kB time=01:18:08.80 bitrate=2005.7kbits/s speed=2.27x frame=117251 fps= 57 q=11.0 size= 1148442kB time=01:18:10.00 bitrate=2006.0kbits/s speed=2.27x frame=117281 fps= 57 q=17.0 size= 1148625kB time=01:18:11.20 bitrate=2005.8kbits/s speed=2.27x frame=117310 fps= 57 q=17.0 size= 1149152kB time=01:18:12.36 bitrate=2006.2kbits/s speed=2.27x frame=117338 fps= 57 q=15.0 size= 1149341kB time=01:18:13.48 bitrate=2006.1kbits/s speed=2.27x frame=117366 fps= 57 q=17.0 size= 1149853kB time=01:18:14.60 bitrate=2006.5kbits/s speed=2.27x frame=117393 fps= 57 q=16.0 size= 1150139kB time=01:18:15.68 bitrate=2006.5kbits/s speed=2.27x frame=117420 fps= 57 q=17.0 size= 1150628kB time=01:18:16.76 bitrate=2006.9kbits/s speed=2.27x frame=117448 fps= 57 q=17.0 size= 1150841kB time=01:18:17.88 bitrate=2006.8kbits/s speed=2.27x frame=117478 fps= 57 q=13.0 size= 1151260kB time=01:18:19.08 bitrate=2007.0kbits/s speed=2.27x frame=117509 fps= 57 q=14.0 size= 1151834kB time=01:18:20.32 bitrate=2007.5kbits/s speed=2.27x frame=117540 fps= 57 q=13.0 size= 1151867kB time=01:18:21.56 bitrate=2007.0kbits/s speed=2.27x frame=117571 fps= 57 q=13.0 size= 1152292kB time=01:18:22.80 bitrate=2007.2kbits/s speed=2.27x frame=117601 fps= 57 q=11.0 size= 1152841kB time=01:18:24.00 bitrate=2007.7kbits/s speed=2.27x frame=117631 fps= 57 q=13.0 size= 1152873kB time=01:18:25.20 bitrate=2007.2kbits/s speed=2.27x frame=117661 fps= 57 q=13.0 size= 1153299kB time=01:18:26.40 bitrate=2007.4kbits/s speed=2.27x frame=117691 fps= 57 q=13.0 size= 1153479kB time=01:18:27.60 bitrate=2007.2kbits/s speed=2.27x frame=117722 fps= 57 q=13.0 size= 1153882kB time=01:18:28.84 bitrate=2007.4kbits/s speed=2.27x frame=117753 fps= 57 q=23.0 size= 1154306kB time=01:18:30.08 bitrate=2007.6kbits/s speed=2.27x frame=117784 fps= 57 q=13.0 size= 1154486kB time=01:18:31.32 bitrate=2007.4kbits/s speed=2.27x frame=117815 fps= 57 q=13.0 size= 1154887kB time=01:18:32.56 bitrate=2007.6kbits/s speed=2.27x frame=117846 fps= 57 q=13.0 size= 1154920kB time=01:18:33.80 bitrate=2007.1kbits/s speed=2.27x frame=117877 fps= 57 q=13.0 size= 1155344kB time=01:18:35.04 bitrate=2007.3kbits/s speed=2.27x frame=117907 fps= 57 q=15.0 size= 1155892kB time=01:18:36.24 bitrate=2007.8kbits/s speed=2.27x frame=117937 fps= 57 q=13.0 size= 1155924kB time=01:18:37.44 bitrate=2007.3kbits/s speed=2.27x frame=117967 fps= 57 q=13.0 size= 1156349kB time=01:18:38.64 bitrate=2007.5kbits/s speed=2.27x frame=117997 fps= 57 q=13.0 size= 1156527kB time=01:18:39.84 bitrate=2007.3kbits/s speed=2.27x frame=118027 fps= 57 q=13.0 size= 1156928kB time=01:18:41.04 bitrate=2007.5kbits/s speed=2.27x frame=118057 fps= 57 q=15.0 size= 1157354kB time=01:18:42.24 bitrate=2007.7kbits/s speed=2.27x frame=118087 fps= 57 q=13.0 size= 1157535kB time=01:18:43.44 bitrate=2007.5kbits/s speed=2.27x frame=118117 fps= 57 q=13.0 size= 1157936kB time=01:18:44.64 bitrate=2007.7kbits/s speed=2.27x frame=118147 fps= 57 q=13.0 size= 1157968kB time=01:18:45.84 bitrate=2007.3kbits/s speed=2.27x frame=118177 fps= 57 q=13.0 size= 1158392kB time=01:18:47.04 bitrate=2007.5kbits/s speed=2.27x frame=118208 fps= 57 q=14.0 size= 1158943kB time=01:18:48.28 bitrate=2007.9kbits/s speed=2.27x frame=118239 fps= 57 q=13.0 size= 1158976kB time=01:18:49.52 bitrate=2007.5kbits/s speed=2.27x frame=118269 fps= 57 q=13.0 size= 1159401kB time=01:18:50.72 bitrate=2007.7kbits/s speed=2.27x frame=118299 fps= 57 q=13.0 size= 1159581kB time=01:18:51.92 bitrate=2007.5kbits/s speed=2.27x frame=118329 fps= 57 q=13.0 size= 1159981kB time=01:18:53.12 bitrate=2007.7kbits/s speed=2.27x frame=118359 fps= 57 q=14.0 size= 1160404kB time=01:18:54.32 bitrate=2007.9kbits/s speed=2.27x frame=118389 fps= 57 q=13.0 size= 1160588kB time=01:18:55.52 bitrate=2007.7kbits/s speed=2.27x frame=118419 fps= 57 q=13.0 size= 1160989kB
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"../DATASETS/hof/webcam20240111-1.m4v\n",
"check homography file ../DATASETS/hof/webcam20240111-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240111-homography.txt\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"202777it [59:05, 53.30it/s]frame=149751 fps= 57 q=14.0 size= 1511408kB time=01:39:50.00 bitrate=2067.0kbits/s speed=2.27x frame=149782 fps= 57 q=14.0 size= 1511538kB time=01:39:51.24 bitrate=2066.8kbits/s speed=2.27x frame=149813 fps= 57 q=13.0 size= 1511970kB time=01:39:52.48 bitrate=2066.9kbits/s speed=2.27x frame=149844 fps= 57 q=14.0 size= 1512209kB time=01:39:53.72 bitrate=2066.8kbits/s speed=2.27x frame=149874 fps= 57 q=13.0 size= 1512661kB time=01:39:54.92 bitrate=2067.0kbits/s speed=2.27x frame=149904 fps= 57 q=20.0 size= 1513081kB time=01:39:56.12 bitrate=2067.2kbits/s speed=2.27x frame=149934 fps= 57 q=13.0 size= 1513113kB time=01:39:57.32 bitrate=2066.8kbits/s speed=2.27x frame=149964 fps= 57 q=13.0 size= 1513660kB time=01:39:58.52 bitrate=2067.2kbits/s speed=2.27x frame=149994 fps= 57 q=13.0 size= 1513693kB time=01:39:59.72 bitrate=2066.8kbits/s speed=2.27x frame=150024 fps= 57 q=13.0 size= 1514115kB time=01:40:00.92 bitrate=2067.0kbits/s speed=2.27x frame=150054 fps= 57 q=20.0 size= 1514660kB time=01:40:02.12 bitrate=2067.3kbits/s speed=2.27x frame=150084 fps= 57 q=13.0 size= 1514694kB time=01:40:03.32 bitrate=2066.9kbits/s speed=2.27x frame=150114 fps= 57 q=13.0 size= 1515118kB time=01:40:04.52 bitrate=2067.1kbits/s speed=2.27x frame=150144 fps= 57 q=14.0 size= 1515263kB time=01:40:05.72 bitrate=2066.9kbits/s speed=2.27x frame=150175 fps= 57 q=13.0 size= 1515700kB time=01:40:06.96 bitrate=2067.0kbits/s speed=2.27x frame=150205 fps= 57 q=18.0 size= 1516122kB time=01:40:08.16 bitrate=2067.2kbits/s speed=2.27x frame=150234 fps= 57 q=13.0 size= 1516153kB time=01:40:09.32 bitrate=2066.8kbits/s speed=2.27x frame=150264 fps= 57 q=13.0 size= 1516702kB time=01:40:10.52 bitrate=2067.2kbits/s speed=2.27x frame=150294 fps= 57 q=13.0 size= 1516734kB time=01:40:11.72 bitrate=2066.8kbits/s speed=2.27x frame=150324 fps= 57 q=13.0 size= 1517155kB time=01:40:12.92 bitrate=2067.0kbits/s speed=2.27x frame=150354 fps= 57 q=20.0 size= 1517699kB time=01:40:14.12 bitrate=2067.3kbits/s speed=2.27x frame=150384 fps= 57 q=13.0 size= 1517731kB time=01:40:15.32 bitrate=2066.9kbits/s speed=2.27x frame=150414 fps= 57 q=13.0 size= 1518152kB time=01:40:16.52 bitrate=2067.1kbits/s speed=2.27x frame=150444 fps= 57 q=14.0 size= 1518294kB time=01:40:17.72 bitrate=2066.9kbits/s speed=2.27x frame=150474 fps= 57 q=13.0 size= 1518730kB time=01:40:18.92 bitrate=2067.1kbits/s speed=2.27x frame=150504 fps= 57 q=20.0 size= 1519153kB time=01:40:20.12 bitrate=2067.2kbits/s speed=2.27x frame=150534 fps= 57 q=13.0 size= 1519186kB time=01:40:21.32 bitrate=2066.9kbits/s speed=2.27x frame=150564 fps= 57 q=13.0 size= 1519732kB time=01:40:22.52 bitrate=2067.2kbits/s speed=2.27x frame=150594 fps= 57 q=16.0 size= 1519817kB time=01:40:23.72 bitrate=2066.9kbits/s speed=2.27x frame=150622 fps= 57 q=16.0 size= 1520320kB time=01:40:24.84 bitrate=2067.2kbits/s speed=2.27x frame=150650 fps= 57 q=16.0 size= 1520579kB time=01:40:25.96 bitrate=2067.2kbits/s speed=2.27x frame=150677 fps= 57 q=16.0 size= 1521076kB time=01:40:27.04 bitrate=2067.5kbits/s speed=2.27x frame=150703 fps= 57 q=23.0 size= 1521553kB time=01:40:28.08 bitrate=2067.7kbits/s speed=2.27x frame=150729 fps= 57 q=16.0 size= 1521732kB time=01:40:29.12 bitrate=2067.6kbits/s speed=2.27x frame=150755 fps= 57 q=19.0 size= 1522301kB time=01:40:30.16 bitrate=2068.1kbits/s speed=2.27x frame=150781 fps= 57 q=16.0 size= 1522477kB time=01:40:31.20 bitrate=2067.9kbits/s speed=2.27x frame=150806 fps= 57 q=18.0 size= 1522946kB time=01:40:32.20 bitrate=2068.2kbits/s speed=2.27x frame=150836 fps= 57 q=13.0 size= 1523028kB time=01:40:33.40 bitrate=2067.9kbits/s speed=2.27x frame=150866 fps= 57 q=13.0 size= 1523600kB time=01:40:34.60 bitrate=2068.3kbits/s speed=2.27x frame=150896 fps= 57 q=13.0 size= 1523632kB time=01:40:35.80 bitrate=2067.9kbits/s speed=2.27x frame=150926 fps= 57 q=13.0 size= 1524053kB time=01:40:37.00 bitrate=2068.1kbits/s speed=2.27x frame=150956 fps= 57 q=17.0 size= 1524596kB
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"../DATASETS/hof/webcam20240110-3.m4v\n",
2024-04-25 16:31:51 +02:00
"check homography file ../DATASETS/hof/webcam20240110-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240110-homography.txt\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"236591it [1:08:46, 56.13it/s]ame=202786 fps= 57 q=14.0 size= 2063107kB time=02:15:11.40 bitrate=2083.6kbits/s speed=2.29x frame=202815 fps= 57 q=13.0 size= 2063389kB time=02:15:12.56 bitrate=2083.6kbits/s speed=2.29x frame=202845 fps= 57 q=14.0 size= 2063454kB time=02:15:13.76 bitrate=2083.4kbits/s speed=2.29x frame=202874 fps= 57 q=16.0 size= 2063760kB time=02:15:14.92 bitrate=2083.4kbits/s speed=2.29x frame=202903 fps= 57 q=20.0 size= 2064067kB time=02:15:16.08 bitrate=2083.4kbits/s speed=2.29x frame=202932 fps= 57 q=13.0 size= 2064109kB time=02:15:17.24 bitrate=2083.1kbits/s speed=2.29x frame=202961 fps= 57 q=13.0 size= 2064367kB time=02:15:18.40 bitrate=2083.1kbits/s speed=2.29x frame=202991 fps= 57 q=13.0 size= 2064488kB time=02:15:19.60 bitrate=2082.9kbits/s speed=2.29x frame=203021 fps= 57 q=13.0 size= 2064731kB time=02:15:20.80 bitrate=2082.8kbits/s speed=2.29x frame=203051 fps= 57 q=10.0 size= 2064993kB time=02:15:22.00 bitrate=2082.8kbits/s speed=2.29x frame=203081 fps= 57 q=13.0 size= 2065112kB time=02:15:23.20 bitrate=2082.6kbits/s speed=2.29x frame=203111 fps= 57 q=13.0 size= 2065353kB time=02:15:24.40 bitrate=2082.5kbits/s speed=2.29x frame=203141 fps= 57 q=13.0 size= 2065397kB time=02:15:25.60 bitrate=2082.3kbits/s speed=2.29x frame=203171 fps= 57 q=13.0 size= 2065656kB time=02:15:26.80 bitrate=2082.2kbits/s speed=2.29x frame=203201 fps= 57 q=11.0 size= 2065979kB time=02:15:28.00 bitrate=2082.2kbits/s speed=2.29x frame=203231 fps= 57 q=13.0 size= 2066027kB time=02:15:29.20 bitrate=2082.0kbits/s speed=2.29x frame=203261 fps= 57 q=13.0 size= 2066278kB time=02:15:30.40 bitrate=2081.9kbits/s speed=2.29x frame=203291 fps= 57 q=13.0 size= 2066401kB time=02:15:31.60 bitrate=2081.7kbits/s speed=2.29x frame=203321 fps= 57 q=13.0 size= 2066646kB time=02:15:32.80 bitrate=2081.7kbits/s speed=2.29x frame=203351 fps= 57 q=10.0 size= 2066909kB time=02:15:34.00 bitrate=2081.6kbits/s speed=2.29x frame=203380 fps= 57 q=13.0 size= 2067028kB time=02:15:35.16 bitrate=2081.5kbits/s speed=2.29x frame=203410 fps= 57 q=13.0 size= 2067272kB time=02:15:36.36 bitrate=2081.4kbits/s speed=2.29x frame=203440 fps= 57 q=13.0 size= 2067317kB time=02:15:37.56 bitrate=2081.1kbits/s speed=2.29x frame=203469 fps= 57 q=13.0 size= 2067580kB time=02:15:38.72 bitrate=2081.1kbits/s speed=2.29x frame=203498 fps= 57 q=13.0 size= 2067699kB time=02:15:39.88 bitrate=2080.9kbits/s speed=2.29x frame=203528 fps= 57 q=13.0 size= 2067942kB time=02:15:41.08 bitrate=2080.9kbits/s speed=2.29x frame=203557 fps= 57 q=14.0 size= 2068199kB time=02:15:42.24 bitrate=2080.8kbits/s speed=2.29x frame=203587 fps= 57 q=13.0 size= 2068318kB time=02:15:43.44 bitrate=2080.7kbits/s speed=2.29x frame=203617 fps= 57 q=13.0 size= 2068561kB time=02:15:44.64 bitrate=2080.6kbits/s speed=2.29x frame=203647 fps= 57 q=13.0 size= 2068602kB time=02:15:45.84 bitrate=2080.3kbits/s speed=2.29x frame=203677 fps= 57 q=13.0 size= 2068938kB time=02:15:47.04 bitrate=2080.4kbits/s speed=2.29x frame=203707 fps= 57 q=14.0 size= 2069181kB time=02:15:48.24 bitrate=2080.3kbits/s speed=2.29x frame=203737 fps= 57 q=13.0 size= 2069226kB time=02:15:49.44 bitrate=2080.0kbits/s speed=2.29x frame=203767 fps= 57 q=13.0 size= 2069487kB time=02:15:50.64 bitrate=2080.0kbits/s speed=2.29x frame=203797 fps= 57 q=13.0 size= 2069611kB time=02:15:51.84 bitrate=2079.8kbits/s speed=2.29x frame=203826 fps= 57 q=13.0 size= 2069859kB time=02:15:53.00 bitrate=2079.8kbits/s speed=2.29x frame=203855 fps= 57 q=17.0 size= 2070119kB time=02:15:54.16 bitrate=2079.7kbits/s speed=2.29x frame=203885 fps= 57 q=13.0 size= 2070240kB time=02:15:55.36 bitrate=2079.5kbits/s speed=2.29x frame=203915 fps= 57 q=13.0 size= 2070483kB time=02:15:56.56 bitrate=2079.5kbits/s speed=2.29x frame=203945 fps= 57 q=14.0 size= 2070530kB time=02:15:57.76 bitrate=2079.2kbits/s speed=2.29x frame=203975 fps= 57 q=14.0 size= 2070834kB time=02:15:58.96 bitrate=2079.2kbits/s speed=2.29x frame=204004 fps= 57 q=18.0 size= 2071104kB
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"../DATASETS/hof/webcam20240110-1.m4v\n",
"check homography file ../DATASETS/hof/webcam20240110-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240110-homography.txt\n"
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"264995it [1:16:49, 52.86it/s]ize= 2292245kB time=02:37:43.68 bitrate=1984.2kbits/s speed=2.29x frame=236623 fps= 57 q=14.0 size= 2292552kB time=02:37:44.88 bitrate=1984.2kbits/s speed=2.29x frame=236653 fps= 57 q=21.0 size= 2292844kB time=02:37:46.08 bitrate=1984.2kbits/s speed=2.29x frame=236682 fps= 57 q=13.0 size= 2292898kB time=02:37:47.24 bitrate=1984.0kbits/s speed=2.29x frame=236712 fps= 57 q=13.0 size= 2293303kB time=02:37:48.44 bitrate=1984.1kbits/s speed=2.29x frame=236742 fps= 57 q=13.0 size= 2293343kB time=02:37:49.64 bitrate=1983.9kbits/s speed=2.29x frame=236772 fps= 57 q=13.0 size= 2293624kB time=02:37:50.84 bitrate=1983.9kbits/s speed=2.29x frame=236802 fps= 57 q=23.0 size= 2293975kB time=02:37:52.04 bitrate=1984.0kbits/s speed=2.29x frame=236832 fps= 57 q=13.0 size= 2294013kB time=02:37:53.24 bitrate=1983.8kbits/s speed=2.29x frame=236863 fps= 57 q=13.0 size= 2294297kB time=02:37:54.48 bitrate=1983.7kbits/s speed= 2.3x frame=236894 fps= 57 q=14.0 size= 2294431kB time=02:37:55.72 bitrate=1983.6kbits/s speed= 2.3x frame=236925 fps= 57 q=13.0 size= 2294703kB time=02:37:56.96 bitrate=1983.6kbits/s speed= 2.3x frame=236956 fps= 57 q=15.0 size= 2294981kB time=02:37:58.20 bitrate=1983.6kbits/s speed= 2.3x frame=236987 fps= 57 q=14.0 size= 2295082kB time=02:37:59.44 bitrate=1983.4kbits/s speed= 2.3x frame=237017 fps= 57 q=14.0 size= 2295395kB time=02:38:00.64 bitrate=1983.4kbits/s speed= 2.3x frame=237046 fps= 57 q=16.0 size= 2295532kB time=02:38:01.80 bitrate=1983.3kbits/s speed= 2.3x frame=237074 fps= 57 q=14.0 size= 2295870kB time=02:38:02.92 bitrate=1983.3kbits/s speed= 2.3x frame=237103 fps= 57 q=21.0 size= 2296249kB time=02:38:04.08 bitrate=1983.4kbits/s speed= 2.3x frame=237132 fps= 57 q=13.0 size= 2296292kB time=02:38:05.24 bitrate=1983.2kbits/s speed= 2.3x frame=237161 fps= 57 q=13.0 size= 2296578kB time=02:38:06.40 bitrate=1983.2kbits/s speed= 2.3x frame=237191 fps= 57 q=13.0 size= 2296711kB time=02:38:07.60 bitrate=1983.1kbits/s speed= 2.3x frame=237221 fps= 57 q=13.0 size= 2296981kB time=02:38:08.80 bitrate=1983.1kbits/s speed= 2.3x frame=237251 fps= 57 q=10.0 size= 2297263kB time=02:38:10.00 bitrate=1983.1kbits/s speed= 2.3x frame=237281 fps= 57 q=13.0 size= 2297305kB time=02:38:11.20 bitrate=1982.8kbits/s speed= 2.3x frame=237312 fps= 57 q=13.0 size= 2297660kB time=02:38:12.44 bitrate=1982.9kbits/s speed= 2.3x frame=237343 fps= 57 q=13.0 size= 2297702kB time=02:38:13.68 bitrate=1982.7kbits/s speed= 2.3x frame=237374 fps= 57 q=13.0 size= 2297983kB time=02:38:14.92 bitrate=1982.6kbits/s speed= 2.3x frame=237405 fps= 57 q=17.0 size= 2298331kB time=02:38:16.16 bitrate=1982.7kbits/s speed= 2.3x frame=237436 fps= 57 q=13.0 size= 2298370kB time=02:38:17.40 bitrate=1982.5kbits/s speed= 2.3x frame=237467 fps= 57 q=13.0 size= 2298649kB time=02:38:18.64 bitrate=1982.4kbits/s speed= 2.3x frame=237498 fps= 57 q=13.0 size= 2298774kB time=02:38:19.88 bitrate=1982.3kbits/s speed= 2.3x frame=237528 fps= 57 q=13.0 size= 2299038kB time=02:38:21.08 bitrate=1982.3kbits/s speed= 2.3x frame=237558 fps= 57 q=14.0 size= 2299317kB time=02:38:22.28 bitrate=1982.3kbits/s speed= 2.3x frame=237588 fps= 57 q=14.0 size= 2299414kB time=02:38:23.48 bitrate=1982.1kbits/s speed= 2.3x frame=237618 fps= 57 q=13.0 size= 2299705kB time=02:38:24.68 bitrate=1982.1kbits/s speed= 2.3x frame=237648 fps= 57 q=13.0 size= 2299744kB time=02:38:25.88 bitrate=1981.9kbits/s speed= 2.3x frame=237679 fps= 57 q=13.0 size= 2300022kB time=02:38:27.12 bitrate=1981.9kbits/s speed= 2.3x frame=237710 fps= 57 q=13.0 size= 2300369kB time=02:38:28.36 bitrate=1981.9kbits/s speed= 2.3x frame=237740 fps= 57 q=13.0 size= 2300408kB time=02:38:29.56 bitrate=1981.7kbits/s speed= 2.3x frame=237770 fps= 57 q=13.0 size= 2300684kB time=02:38:30.76 bitrate=1981.7kbits/s speed= 2.3x frame=237800 fps= 57 q=13.0 size= 2300808kB time=02:38:31.96 bitrate=1981.5kbits/s speed= 2.3x frame=237831 fps= 57 q=13.0 size= 2301071kB time=02:38:33.20 bitrate=1
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"../DATASETS/hof/webcam20240111-3.m4v\n",
2024-04-25 16:31:51 +02:00
"check homography file ../DATASETS/hof/webcam20240111-homography.txt\n",
"Found custom homography file! Using ../DATASETS/hof/webcam20240111-homography.txt\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"318641it [1:32:55, 58.08it/s]frame=265012 fps= 58 q=14.0 size= 2485264kB time=02:56:40.44 bitrate=1920.6kbits/s speed= 2.3x frame=265043 fps= 58 q=13.0 size= 2485347kB time=02:56:41.68 bitrate=1920.4kbits/s speed= 2.3x frame=265074 fps= 58 q=13.0 size= 2485753kB time=02:56:42.92 bitrate=1920.5kbits/s speed= 2.3x frame=265104 fps= 58 q=20.0 size= 2486402kB time=02:56:44.12 bitrate=1920.8kbits/s speed= 2.3x frame=265134 fps= 58 q=13.0 size= 2486446kB time=02:56:45.32 bitrate=1920.6kbits/s speed= 2.3x frame=265164 fps= 58 q=13.0 size= 2486881kB time=02:56:46.52 bitrate=1920.8kbits/s speed= 2.3x frame=265194 fps= 58 q=14.0 size= 2487038kB time=02:56:47.72 bitrate=1920.7kbits/s speed= 2.3x frame=265224 fps= 58 q=15.0 size= 2487516kB time=02:56:48.92 bitrate=1920.8kbits/s speed= 2.3x frame=265252 fps= 58 q=25.0 size= 2488019kB time=02:56:50.04 bitrate=1921.0kbits/s speed= 2.3x frame=265280 fps= 58 q=16.0 size= 2488182kB time=02:56:51.16 bitrate=1920.9kbits/s speed= 2.3x frame=265307 fps= 58 q=18.0 size= 2488749kB time=02:56:52.24 bitrate=1921.2kbits/s speed= 2.3x frame=265335 fps= 58 q=13.0 size= 2488896kB time=02:56:53.36 bitrate=1921.1kbits/s speed= 2.3x frame=265365 fps= 58 q=13.0 size= 2489308kB time=02:56:54.56 bitrate=1921.2kbits/s speed= 2.3x frame=265395 fps= 58 q=14.0 size= 2489469kB time=02:56:55.76 bitrate=1921.1kbits/s speed= 2.3x frame=265425 fps= 58 q=13.0 size= 2489919kB time=02:56:56.96 bitrate=1921.2kbits/s speed= 2.3x frame=265455 fps= 58 q=18.0 size= 2490349kB time=02:56:58.16 bitrate=1921.3kbits/s speed= 2.3x frame=265485 fps= 58 q=13.0 size= 2490385kB time=02:56:59.36 bitrate=1921.1kbits/s speed= 2.3x frame=265515 fps= 58 q=13.0 size= 2490947kB time=02:57:00.56 bitrate=1921.4kbits/s speed= 2.3x frame=265545 fps= 58 q=13.0 size= 2490986kB time=02:57:01.76 bitrate=1921.2kbits/s speed= 2.3x frame=265575 fps= 58 q=13.0 size= 2491418kB time=02:57:02.96 bitrate=1921.3kbits/s speed= 2.3x frame=265605 fps= 58 q=18.0 size= 2491978kB time=02:57:04.16 bitrate=1921.5kbits/s speed= 2.3x frame=265635 fps= 58 q=13.0 size= 2492014kB time=02:57:05.36 bitrate=1921.3kbits/s speed= 2.3x frame=265665 fps= 58 q=13.0 size= 2492450kB time=02:57:06.56 bitrate=1921.4kbits/s speed= 2.3x frame=265695 fps= 58 q=14.0 size= 2492616kB time=02:57:07.76 bitrate=1921.3kbits/s speed= 2.3x frame=265725 fps= 58 q=13.0 size= 2493068kB time=02:57:08.96 bitrate=1921.5kbits/s speed= 2.3x frame=265755 fps= 58 q=18.0 size= 2493499kB time=02:57:10.16 bitrate=1921.6kbits/s speed= 2.3x frame=265784 fps= 58 q=15.0 size= 2493556kB time=02:57:11.32 bitrate=1921.4kbits/s speed= 2.3x frame=265812 fps= 58 q=17.0 size= 2494150kB time=02:57:12.44 bitrate=1921.7kbits/s speed= 2.3x frame=265840 fps= 58 q=13.0 size= 2494341kB time=02:57:13.56 bitrate=1921.6kbits/s speed= 2.3x frame=265869 fps= 58 q=13.0 size= 2494737kB time=02:57:14.72 bitrate=1921.7kbits/s speed= 2.3x frame=265898 fps= 58 q=13.0 size= 2494950kB time=02:57:15.88 bitrate=1921.7kbits/s speed= 2.3x frame=265927 fps= 58 q=15.0 size= 2495369kB time=02:57:17.04 bitrate=1921.8kbits/s speed= 2.3x frame=265954 fps= 58 q=22.0 size= 2495926kB time=02:57:18.12 bitrate=1922.0kbits/s speed= 2.3x frame=265980 fps= 58 q=17.0 size= 2496194kB time=02:57:19.16 bitrate=1922.0kbits/s speed= 2.3x frame=266006 fps= 58 q=18.0 size= 2496804kB time=02:57:20.20 bitrate=1922.3kbits/s speed= 2.3x frame=266034 fps= 58 q=14.0 size= 2496944kB time=02:57:21.32 bitrate=1922.2kbits/s speed= 2.3x frame=266063 fps= 58 q=13.0 size= 2497361kB time=02:57:22.48 bitrate=1922.3kbits/s speed= 2.3x frame=266092 fps= 58 q=16.0 size= 2497495kB time=02:57:23.64 bitrate=1922.2kbits/s speed= 2.3x frame=266121 fps= 58 q=13.0 size= 2497977kB time=02:57:24.80 bitrate=1922.4kbits/s speed= 2.3x frame=266150 fps= 58 q=13.0 size= 2498013kB time=02:57:25.96 bitrate=1922.2kbits/s speed= 2.3x frame=266179 fps= 58 q=13.0 size= 2498444kB time=02:57:27.12 bitrate=1922.3kbits/s speed= 2.3x frame=266208 fps= 58 q=14.0 size= 2499003
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Write file\n"
2024-04-25 16:31:51 +02:00
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2024-04-29 14:46:44 +02:00
"frame=318643 fps= 57 q=15.0 Lsize= 3156297kB time=03:32:25.68 bitrate=2028.6kbits/s speed=2.29x \n",
"video:3009973kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.861295%\n",
"[libx264 @ 0x5597952eb880] frame I:6373 Avg QP:11.64 size:288292\n",
"[libx264 @ 0x5597952eb880] frame P:312270 Avg QP:14.95 size: 3987\n",
"[libx264 @ 0x5597952eb880] mb I I16..4: 100.0% 0.0% 0.0%\n",
"[libx264 @ 0x5597952eb880] mb P I16..4: 0.1% 0.0% 0.0% P16..4: 13.7% 0.0% 0.0% 0.0% 0.0% skip:86.2%\n",
"[libx264 @ 0x5597952eb880] coded y,uvDC,uvAC intra: 84.6% 81.4% 73.8% inter: 4.0% 7.6% 0.8%\n",
"[libx264 @ 0x5597952eb880] i16 v,h,dc,p: 22% 25% 41% 12%\n",
"[libx264 @ 0x5597952eb880] i8c dc,h,v,p: 54% 23% 14% 9%\n",
"[libx264 @ 0x5597952eb880] kb/s:1934.59\n",
"318643it [1:32:56, 57.14it/s]\n"
2024-04-25 16:31:51 +02:00
]
}
],
"source": [
"display(Markdown(\"view stream with `ffplay zmq:tcp://100.109.175.82:5556`\"))\n",
2024-04-29 14:46:44 +02:00
"for detections in tqdm(streamer(store_tracks_for_training(smooth_detections(tracker(frame_generator(video_srcs)))))):\n",
"# for detections in tqdm(store_tracks_for_training(smooth_detections(tracker(frame_generator(video_srcs))))):\n",
2024-04-25 16:31:51 +02:00
"# for frame in frame_generator(video_srcs):\n",
" # print(detections)\n",
" pass\n",
" # if len(detections):\n",
" # print(detections)\n",
" # break\n",
"\n",
" # break\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": ".venv",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
}
},
"nbformat": 4,
"nbformat_minor": 2
}