This commit is contained in:
j 2025-02-01 12:47:25 +05:30
parent e60ca119e7
commit 8e4a643fd6

View file

@ -215,7 +215,7 @@ class Content(models.Model):
'-i', self.photo.image.path, '-frames:v', '1', image_path
]
subprocess.call(cmd)
return video_url
return self.photo.image.url.replace('.gif', '.mp4')
@cached_property
def image_url(self):