facebookresearch / sam2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
11.86k stars 1.05k forks source link

Issue of downloaded videos from sam2-demo #404

Open spkim8804 opened 1 day ago

spkim8804 commented 1 day ago

Hi,

I ran the sam2-demo on Ubuntu 24.04 LTS with Docker, and it works perfectly fine.

However, when I run the sam2-demo and download the segmented video, the file's FPS is set to 90,000, and the video cannot be played. image

Interestingly, this video opens in a video player on Windows. I suspect there might be an issue during the video export process.

Could you please help me? :(

ljh-7 commented 17 hours ago

Hi,

I ran the sam2-demo on Ubuntu 24.04 LTS with Docker, and it works perfectly fine.

However, when I run the sam2-demo and download the segmented video, the file's FPS is set to 90,000, and the video cannot be played. image

Interestingly, this video opens in a video player on Windows. I suspect there might be an issue during the video export process.

Could you please help me? :(

Do you start demo with only frontend or both frontend and backend?

spkim8804 commented 16 hours ago

I started with both frontend and backend as described in document.