Skip to content

Commit

Permalink
video files for out720x576 with framerate 30 #34
Browse files Browse the repository at this point in the history
  • Loading branch information
mxochicale committed Nov 13, 2023
1 parent 4ef69c6 commit 3093522
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/polyp-dataset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rm kvasir-seg.zip
## Converting images to video
```
cd data/polyp-dataset/Kvasir-SEG/images
ffmpeg -framerate 1 -pattern_type glob -i 'Kvasir-SEG/images/ck*.jpg' -c:v libx264 out720x576.mp4
ffmpeg -framerate 30 -pattern_type glob -i 'Kvasir-SEG/images/ck*.jpg' -c:v libx264 out720x576.mp4
```


Expand All @@ -21,7 +21,7 @@ ffmpeg -framerate 1 -pattern_type glob -i 'Kvasir-SEG/images/ck*.jpg' -c:v libx2
mamba activate cagxVE
#ffmpeg -i out.mp4 -pix_fmt rgb24 -f rawvideo pipe:1 | python convert_video_to_gxf_entities.py --width 1920 --height 1080 --channels 3 --framerate 1 --basename out
#ffmpeg -i out.mp4 -pix_fmt yuvj422p -f rawvideo pipe:1 | python convert_video_to_gxf_entities.py --width 600 --height 500 --channels 3 --framerate 1 --basename out
ffmpeg -i out720x576.mp4 -pix_fmt rgb24 -f rawvideo pipe:1 | python ../../nvidia-clara-agx/holoscan-sdk-scripts/convert_video_to_gxf_entities.py --width 720 --height 576 --channels 3 --framerate 1 --basename out720x576
ffmpeg -i out720x576.mp4 -pix_fmt rgb24 -f rawvideo pipe:1 | python ../../nvidia-clara-agx/holoscan-sdk-scripts/convert_video_to_gxf_entities.py --width 720 --height 576 --channels 3 --framerate 30 --basename out720x576
```
https://github.com/nvidia-holoscan/holoscan-sdk/tree/main/scripts#convert_video_to_gxf_entitiespy
https://docs.nvidia.com/holoscan/sdk-user-guide/gxf/gxf_by_example.html
Expand Down
Binary file modified data/polyp-dataset/out720x576.gxf_entities
Binary file not shown.
Binary file modified data/polyp-dataset/out720x576.gxf_index
Binary file not shown.
Binary file modified data/polyp-dataset/out720x576.mp4
Binary file not shown.

0 comments on commit 3093522

Please sign in to comment.