File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 55
66from mapillary_tools .geotag import geotag_videos_from_video
77from mapillary_tools .mp4 import simple_mp4_builder as builder
8+ from mapillary_tools .uploader import VideoUploader
89
910
1011def _parse_args ():
@@ -16,10 +17,12 @@ def _parse_args():
1617
1718def main ():
1819 parsed_args = _parse_args ()
19- video_metadatas = geotag_videos_from_video .GeotagVideosFromVideo (
20+ video_metadatas = geotag_videos_from_video .GeotagVideosFromVideo (). to_description (
2021 [Path (parsed_args .source_mp4_path )]
21- ).to_description ()
22- generator = camm_builder .camm_sample_generator2 (video_metadatas [0 ])
22+ )
23+ generator = camm_builder .camm_sample_generator2 (
24+ VideoUploader .prepare_camm_info (video_metadatas [0 ])
25+ )
2326 with open (parsed_args .source_mp4_path , "rb" ) as src_fp :
2427 with open (parsed_args .target_mp4_path , "wb" ) as tar_fp :
2528 reader = builder .transform_mp4 (
You can’t perform that action at this time.
0 commit comments