From 1cf81cc950c77ecca1f76c2e22adccadd00dd0c0 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sat, 19 Sep 2026 18:03:57 -0700 Subject: [PATCH] Record converted playback codec in validation metadata --- roadscore/prototype/prepare_playback_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roadscore/prototype/prepare_playback_video.py b/roadscore/prototype/prepare_playback_video.py index c314eb691b..a3b8205e64 100644 --- a/roadscore/prototype/prepare_playback_video.py +++ b/roadscore/prototype/prepare_playback_video.py @@ -35,7 +35,7 @@ def validate_output(source, output, timestamps): raise ValueError('Output timestamps are not aligned with source frame indices') if abs(float(output['duration'])-count/float(rate))>tolerance: raise ValueError('Output duration differs') - return {'source_frames':count,'output_frames':count,'width':source['width'],'height':source['height'], + return {'codec':'h264','source_frames':count,'output_frames':count,'width':source['width'],'height':source['height'], 'frame_order_verified':True,'timing_verified':True,'rate':str(rate), 'duration':count/float(rate),'verification':'one-to-one sequential transcode; no frame filters, passthrough timing, no B frames; decoded counts and every output PTS checked'}