Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +86 -0
- fat_dataset/dress/agnostic/2.mp4 +3 -0
- fat_dataset/dress/agnostic/2_s.mp4 +3 -0
- fat_dataset/dress/agnostic/5.mp4 +3 -0
- fat_dataset/dress/agnostic/5_s.mp4 +3 -0
- fat_dataset/dress/agnostic_mask/2.mp4 +0 -0
- fat_dataset/dress/agnostic_mask/2_s.mp4 +0 -0
- fat_dataset/dress/agnostic_mask/5.mp4 +0 -0
- fat_dataset/dress/agnostic_mask/5_s.mp4 +0 -0
- fat_dataset/dress/cj.sh +40 -0
- fat_dataset/dress/cloth_mask/2_1.jpg +0 -0
- fat_dataset/dress/cloth_mask/5_4.jpg +0 -0
- fat_dataset/dress/densepose/2.mp4 +3 -0
- fat_dataset/dress/densepose/2_s.mp4 +3 -0
- fat_dataset/dress/densepose/5.mp4 +3 -0
- fat_dataset/dress/densepose/5_s.mp4 +3 -0
- fat_dataset/dress/images/2_1.jpg +0 -0
- fat_dataset/dress/images/5_4.jpg +0 -0
- fat_dataset/dress/videos/2.mp4 +3 -0
- fat_dataset/dress/videos/2_s.mp4 +3 -0
- fat_dataset/dress/videos/5.mp4 +3 -0
- fat_dataset/dress/videos/5_s.mp4 +3 -0
- fat_dataset/lower_body/agnostic/6.mp4 +3 -0
- fat_dataset/lower_body/agnostic/6_s.mp4 +3 -0
- fat_dataset/lower_body/agnostic_mask/6.mp4 +0 -0
- fat_dataset/lower_body/agnostic_mask/6_s.mp4 +0 -0
- fat_dataset/lower_body/cj.sh +40 -0
- fat_dataset/lower_body/cloth_mask/6_2.jpg +0 -0
- fat_dataset/lower_body/densepose/6.mp4 +3 -0
- fat_dataset/lower_body/densepose/6_s.mp4 +3 -0
- fat_dataset/lower_body/images/6_2.jpg +0 -0
- fat_dataset/lower_body/videos/6.mp4 +3 -0
- fat_dataset/lower_body/videos/6_s.mp4 +0 -0
- fat_dataset/upper_body/agnostic/1.mp4 +3 -0
- fat_dataset/upper_body/agnostic/10.mp4 +3 -0
- fat_dataset/upper_body/agnostic/10_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/11.mp4 +3 -0
- fat_dataset/upper_body/agnostic/11_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/12.mp4 +3 -0
- fat_dataset/upper_body/agnostic/12_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/13.mp4 +3 -0
- fat_dataset/upper_body/agnostic/13_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/15.mp4 +3 -0
- fat_dataset/upper_body/agnostic/15_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/1_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/3.mp4 +3 -0
- fat_dataset/upper_body/agnostic/3_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/4.mp4 +3 -0
- fat_dataset/upper_body/agnostic/4_s.mp4 +3 -0
- fat_dataset/upper_body/agnostic/7.mp4 +3 -0
.gitattributes
CHANGED
@@ -1,3 +1,89 @@
|
|
1 |
3/agnostic.mp4 filter=lfs diff=lfs merge=lfs -text
|
2 |
3/densepose.mp4 filter=lfs diff=lfs merge=lfs -text
|
3 |
3/test_video.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
3/agnostic.mp4 filter=lfs diff=lfs merge=lfs -text
|
2 |
3/densepose.mp4 filter=lfs diff=lfs merge=lfs -text
|
3 |
3/test_video.mp4 filter=lfs diff=lfs merge=lfs -text
|
4 |
+
fat_dataset/dress/agnostic/2.mp4 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
fat_dataset/dress/agnostic/2_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
6 |
+
fat_dataset/dress/agnostic/5.mp4 filter=lfs diff=lfs merge=lfs -text
|
7 |
+
fat_dataset/dress/agnostic/5_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
8 |
+
fat_dataset/dress/densepose/2.mp4 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
fat_dataset/dress/densepose/2_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
10 |
+
fat_dataset/dress/densepose/5.mp4 filter=lfs diff=lfs merge=lfs -text
|
11 |
+
fat_dataset/dress/densepose/5_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
12 |
+
fat_dataset/dress/videos/2.mp4 filter=lfs diff=lfs merge=lfs -text
|
13 |
+
fat_dataset/dress/videos/2_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
14 |
+
fat_dataset/dress/videos/5.mp4 filter=lfs diff=lfs merge=lfs -text
|
15 |
+
fat_dataset/dress/videos/5_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
16 |
+
fat_dataset/lower_body/agnostic/6.mp4 filter=lfs diff=lfs merge=lfs -text
|
17 |
+
fat_dataset/lower_body/agnostic/6_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
18 |
+
fat_dataset/lower_body/densepose/6.mp4 filter=lfs diff=lfs merge=lfs -text
|
19 |
+
fat_dataset/lower_body/densepose/6_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
20 |
+
fat_dataset/lower_body/videos/6.mp4 filter=lfs diff=lfs merge=lfs -text
|
21 |
+
fat_dataset/upper_body/agnostic/1.mp4 filter=lfs diff=lfs merge=lfs -text
|
22 |
+
fat_dataset/upper_body/agnostic/10.mp4 filter=lfs diff=lfs merge=lfs -text
|
23 |
+
fat_dataset/upper_body/agnostic/10_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
24 |
+
fat_dataset/upper_body/agnostic/11.mp4 filter=lfs diff=lfs merge=lfs -text
|
25 |
+
fat_dataset/upper_body/agnostic/11_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
26 |
+
fat_dataset/upper_body/agnostic/12.mp4 filter=lfs diff=lfs merge=lfs -text
|
27 |
+
fat_dataset/upper_body/agnostic/12_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
28 |
+
fat_dataset/upper_body/agnostic/13.mp4 filter=lfs diff=lfs merge=lfs -text
|
29 |
+
fat_dataset/upper_body/agnostic/13_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
30 |
+
fat_dataset/upper_body/agnostic/15.mp4 filter=lfs diff=lfs merge=lfs -text
|
31 |
+
fat_dataset/upper_body/agnostic/15_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
32 |
+
fat_dataset/upper_body/agnostic/1_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
33 |
+
fat_dataset/upper_body/agnostic/3.mp4 filter=lfs diff=lfs merge=lfs -text
|
34 |
+
fat_dataset/upper_body/agnostic/3_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
35 |
+
fat_dataset/upper_body/agnostic/4.mp4 filter=lfs diff=lfs merge=lfs -text
|
36 |
+
fat_dataset/upper_body/agnostic/4_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
37 |
+
fat_dataset/upper_body/agnostic/7.mp4 filter=lfs diff=lfs merge=lfs -text
|
38 |
+
fat_dataset/upper_body/agnostic/7_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
39 |
+
fat_dataset/upper_body/agnostic/8.mp4 filter=lfs diff=lfs merge=lfs -text
|
40 |
+
fat_dataset/upper_body/agnostic/8_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
41 |
+
fat_dataset/upper_body/agnostic/9.mp4 filter=lfs diff=lfs merge=lfs -text
|
42 |
+
fat_dataset/upper_body/agnostic/9_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
43 |
+
fat_dataset/upper_body/agnostic_mask/11.mp4 filter=lfs diff=lfs merge=lfs -text
|
44 |
+
fat_dataset/upper_body/agnostic_mask/12.mp4 filter=lfs diff=lfs merge=lfs -text
|
45 |
+
fat_dataset/upper_body/agnostic_mask/9.mp4 filter=lfs diff=lfs merge=lfs -text
|
46 |
+
fat_dataset/upper_body/densepose/1.mp4 filter=lfs diff=lfs merge=lfs -text
|
47 |
+
fat_dataset/upper_body/densepose/10.mp4 filter=lfs diff=lfs merge=lfs -text
|
48 |
+
fat_dataset/upper_body/densepose/10_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
49 |
+
fat_dataset/upper_body/densepose/11.mp4 filter=lfs diff=lfs merge=lfs -text
|
50 |
+
fat_dataset/upper_body/densepose/11_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
51 |
+
fat_dataset/upper_body/densepose/12.mp4 filter=lfs diff=lfs merge=lfs -text
|
52 |
+
fat_dataset/upper_body/densepose/12_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
53 |
+
fat_dataset/upper_body/densepose/13.mp4 filter=lfs diff=lfs merge=lfs -text
|
54 |
+
fat_dataset/upper_body/densepose/13_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
55 |
+
fat_dataset/upper_body/densepose/15.mp4 filter=lfs diff=lfs merge=lfs -text
|
56 |
+
fat_dataset/upper_body/densepose/15_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
57 |
+
fat_dataset/upper_body/densepose/1_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
58 |
+
fat_dataset/upper_body/densepose/3.mp4 filter=lfs diff=lfs merge=lfs -text
|
59 |
+
fat_dataset/upper_body/densepose/3_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
60 |
+
fat_dataset/upper_body/densepose/4.mp4 filter=lfs diff=lfs merge=lfs -text
|
61 |
+
fat_dataset/upper_body/densepose/4_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
62 |
+
fat_dataset/upper_body/densepose/7.mp4 filter=lfs diff=lfs merge=lfs -text
|
63 |
+
fat_dataset/upper_body/densepose/7_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
64 |
+
fat_dataset/upper_body/densepose/8.mp4 filter=lfs diff=lfs merge=lfs -text
|
65 |
+
fat_dataset/upper_body/densepose/8_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
66 |
+
fat_dataset/upper_body/densepose/9.mp4 filter=lfs diff=lfs merge=lfs -text
|
67 |
+
fat_dataset/upper_body/densepose/9_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
68 |
+
fat_dataset/upper_body/videos/1.mp4 filter=lfs diff=lfs merge=lfs -text
|
69 |
+
fat_dataset/upper_body/videos/10.mp4 filter=lfs diff=lfs merge=lfs -text
|
70 |
+
fat_dataset/upper_body/videos/10_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
71 |
+
fat_dataset/upper_body/videos/11.mp4 filter=lfs diff=lfs merge=lfs -text
|
72 |
+
fat_dataset/upper_body/videos/11_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
73 |
+
fat_dataset/upper_body/videos/12.mp4 filter=lfs diff=lfs merge=lfs -text
|
74 |
+
fat_dataset/upper_body/videos/12_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
75 |
+
fat_dataset/upper_body/videos/13.mp4 filter=lfs diff=lfs merge=lfs -text
|
76 |
+
fat_dataset/upper_body/videos/13_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
77 |
+
fat_dataset/upper_body/videos/14.mp4 filter=lfs diff=lfs merge=lfs -text
|
78 |
+
fat_dataset/upper_body/videos/15.mp4 filter=lfs diff=lfs merge=lfs -text
|
79 |
+
fat_dataset/upper_body/videos/15_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
80 |
+
fat_dataset/upper_body/videos/1_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
81 |
+
fat_dataset/upper_body/videos/3.mp4 filter=lfs diff=lfs merge=lfs -text
|
82 |
+
fat_dataset/upper_body/videos/4.mp4 filter=lfs diff=lfs merge=lfs -text
|
83 |
+
fat_dataset/upper_body/videos/4_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
84 |
+
fat_dataset/upper_body/videos/7.mp4 filter=lfs diff=lfs merge=lfs -text
|
85 |
+
fat_dataset/upper_body/videos/7_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
86 |
+
fat_dataset/upper_body/videos/8.mp4 filter=lfs diff=lfs merge=lfs -text
|
87 |
+
fat_dataset/upper_body/videos/8_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
88 |
+
fat_dataset/upper_body/videos/9.mp4 filter=lfs diff=lfs merge=lfs -text
|
89 |
+
fat_dataset/upper_body/videos/9_s.mp4 filter=lfs diff=lfs merge=lfs -text
|
fat_dataset/dress/agnostic/2.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:501cdc921221856f61dfda5bd4cc08837473064748dc2b06d707cd16693ea888
|
3 |
+
size 3878487
|
fat_dataset/dress/agnostic/2_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:daad740a007c4df041707f930dc0a4f901377f41858c1259f973e1d460f056cc
|
3 |
+
size 1384050
|
fat_dataset/dress/agnostic/5.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ef814bfaf4457e7e0db66527d471775d77c1dc5e56466395bee721403a48e78
|
3 |
+
size 5502119
|
fat_dataset/dress/agnostic/5_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5cce43834e8ef796c9141f312006ea6278fe9fe1834e51f018b0cabc13fb6e0
|
3 |
+
size 1539007
|
fat_dataset/dress/agnostic_mask/2.mp4
ADDED
Binary file (723 kB). View file
|
|
fat_dataset/dress/agnostic_mask/2_s.mp4
ADDED
Binary file (253 kB). View file
|
|
fat_dataset/dress/agnostic_mask/5.mp4
ADDED
Binary file (982 kB). View file
|
|
fat_dataset/dress/agnostic_mask/5_s.mp4
ADDED
Binary file (277 kB). View file
|
|
fat_dataset/dress/cj.sh
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# 设置输入文件夹
|
4 |
+
agnostic_dir="agnostic"
|
5 |
+
agnostic_mask_dir="agnostic_mask"
|
6 |
+
densepose_dir="densepose"
|
7 |
+
videos_dir="videos"
|
8 |
+
|
9 |
+
# 设置要修改的视频文件名
|
10 |
+
video_name="5.mp4"
|
11 |
+
|
12 |
+
# 设置裁剪的开始时间和结束时间
|
13 |
+
START_TIME="00:00:01" # 开始时间,格式为 HH:MM:SS
|
14 |
+
END_TIME="00:00:05" # 结束时间,格式为 HH:MM:SS
|
15 |
+
|
16 |
+
|
17 |
+
# 设置输入文件路径
|
18 |
+
agnostic_file="$agnostic_dir/$video_name"
|
19 |
+
agnostic_mask_file="$agnostic_mask_dir/$video_name"
|
20 |
+
densepose_file="$densepose_dir/$video_name"
|
21 |
+
video_file="$videos_dir/$video_name"
|
22 |
+
|
23 |
+
# 检查文件是否存在
|
24 |
+
if [ -f "$agnostic_file" ] && [ -f "$agnostic_mask_file" ] && [ -f "$densepose_file" ] && [ -f "$video_file" ]; then
|
25 |
+
# 设置输出文件路径,加上 _s 后缀
|
26 |
+
output_agnostic="$agnostic_dir/$(basename "$agnostic_file" .mp4)_s.mp4"
|
27 |
+
output_agnostic_mask="$agnostic_mask_dir/$(basename "$agnostic_mask_file" .mp4)_s.mp4"
|
28 |
+
output_densepose="$densepose_dir/$(basename "$densepose_file" .mp4)_s.mp4"
|
29 |
+
output_video="$videos_dir/$(basename "$video_file" .mp4)_s.mp4"
|
30 |
+
|
31 |
+
# 裁剪视频并保存为新的文件名
|
32 |
+
ffmpeg -ss "$START_TIME" -i "$agnostic_file" -to "$END_TIME" -c copy "$output_agnostic"
|
33 |
+
ffmpeg -ss "$START_TIME" -i "$agnostic_mask_file" -to "$END_TIME" -c copy "$output_agnostic_mask"
|
34 |
+
ffmpeg -ss "$START_TIME" -i "$densepose_file" -to "$END_TIME" -c copy "$output_densepose"
|
35 |
+
ffmpeg -ss "$START_TIME" -i "$video_file" -to "$END_TIME" -c copy "$output_video"
|
36 |
+
|
37 |
+
echo "裁剪并保存完成: $video_name"
|
38 |
+
else
|
39 |
+
echo "文件不存在: $video_name"
|
40 |
+
fi
|
fat_dataset/dress/cloth_mask/2_1.jpg
ADDED
fat_dataset/dress/cloth_mask/5_4.jpg
ADDED
fat_dataset/dress/densepose/2.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4be4c1179f323fab2b18b1693af8728fd038933ef7bcf89cd9d109b954cdb91e
|
3 |
+
size 11499819
|
fat_dataset/dress/densepose/2_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adbd1d0dd4cb3da6c996e63eafc6b7fa69608af3a019d4fe34e4005ec49a887f
|
3 |
+
size 3440386
|
fat_dataset/dress/densepose/5.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64cf0646be7d800560e209507ec6da420682e832e27e66eb914041fca50f3570
|
3 |
+
size 12333555
|
fat_dataset/dress/densepose/5_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb5b33bf195e8edf7c314bc7be7b64b9060fa7d210c7f02de19a9dd4ec41353c
|
3 |
+
size 3074650
|
fat_dataset/dress/images/2_1.jpg
ADDED
fat_dataset/dress/images/5_4.jpg
ADDED
fat_dataset/dress/videos/2.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1401ac67f165fd8b9647face82a8f8bac8afa9c0ed3a16f8125c9122d30a8b46
|
3 |
+
size 3898875
|
fat_dataset/dress/videos/2_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1034d33fc16c9245ac6f36d46a00e092aeda83f59580e26456af979a05a3f6b
|
3 |
+
size 1341340
|
fat_dataset/dress/videos/5.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5072a131e9046f237aadfaab9ff4d7532c41d479265e94b7572c19f0c6ce6e4b
|
3 |
+
size 5003657
|
fat_dataset/dress/videos/5_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7ece153f4e0e3c211c01169417cf8409e8a3a9b07193f3c41ba4e363246c73d
|
3 |
+
size 1380150
|
fat_dataset/lower_body/agnostic/6.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71942835510d6746ac6d913181b5c9f54d43d982e3fa9abd876261d30a1aacdb
|
3 |
+
size 5453965
|
fat_dataset/lower_body/agnostic/6_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6df3fdbbc1f76d704b5e471232e33c212ba3d7d1e3d5708df5188f8f52ec44c
|
3 |
+
size 1897976
|
fat_dataset/lower_body/agnostic_mask/6.mp4
ADDED
Binary file (519 kB). View file
|
|
fat_dataset/lower_body/agnostic_mask/6_s.mp4
ADDED
Binary file (187 kB). View file
|
|
fat_dataset/lower_body/cj.sh
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# 设置输入文件夹
|
4 |
+
agnostic_dir="agnostic"
|
5 |
+
agnostic_mask_dir="agnostic_mask"
|
6 |
+
densepose_dir="densepose"
|
7 |
+
videos_dir="videos"
|
8 |
+
|
9 |
+
# 设置要修改的视频文件名
|
10 |
+
video_name="6.mp4"
|
11 |
+
|
12 |
+
# 设置裁剪的开始时间和结束时间
|
13 |
+
START_TIME="00:00:01" # 开始时间,格式为 HH:MM:SS
|
14 |
+
END_TIME="00:00:05" # 结束时间,格式为 HH:MM:SS
|
15 |
+
|
16 |
+
|
17 |
+
# 设置输入文件路径
|
18 |
+
agnostic_file="$agnostic_dir/$video_name"
|
19 |
+
agnostic_mask_file="$agnostic_mask_dir/$video_name"
|
20 |
+
densepose_file="$densepose_dir/$video_name"
|
21 |
+
video_file="$videos_dir/$video_name"
|
22 |
+
|
23 |
+
# 检查文件是否存在
|
24 |
+
if [ -f "$agnostic_file" ] && [ -f "$agnostic_mask_file" ] && [ -f "$densepose_file" ] && [ -f "$video_file" ]; then
|
25 |
+
# 设置输出文件路径,加上 _s 后缀
|
26 |
+
output_agnostic="$agnostic_dir/$(basename "$agnostic_file" .mp4)_s.mp4"
|
27 |
+
output_agnostic_mask="$agnostic_mask_dir/$(basename "$agnostic_mask_file" .mp4)_s.mp4"
|
28 |
+
output_densepose="$densepose_dir/$(basename "$densepose_file" .mp4)_s.mp4"
|
29 |
+
output_video="$videos_dir/$(basename "$video_file" .mp4)_s.mp4"
|
30 |
+
|
31 |
+
# 裁剪视频并保存为新的文件名
|
32 |
+
ffmpeg -ss "$START_TIME" -i "$agnostic_file" -to "$END_TIME" -c copy "$output_agnostic"
|
33 |
+
ffmpeg -ss "$START_TIME" -i "$agnostic_mask_file" -to "$END_TIME" -c copy "$output_agnostic_mask"
|
34 |
+
ffmpeg -ss "$START_TIME" -i "$densepose_file" -to "$END_TIME" -c copy "$output_densepose"
|
35 |
+
ffmpeg -ss "$START_TIME" -i "$video_file" -to "$END_TIME" -c copy "$output_video"
|
36 |
+
|
37 |
+
echo "裁剪并保存完成: $video_name"
|
38 |
+
else
|
39 |
+
echo "文件不存在: $video_name"
|
40 |
+
fi
|
fat_dataset/lower_body/cloth_mask/6_2.jpg
ADDED
fat_dataset/lower_body/densepose/6.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29b92a9ccd67d9c113bf4ad6f57cc27c6098f365deffbb22d16eb7b0b7e6562d
|
3 |
+
size 5663607
|
fat_dataset/lower_body/densepose/6_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2dc64982bc6c568a4e7065403dcb994ae574806dee162fc10aaaba3d4a09337
|
3 |
+
size 1866956
|
fat_dataset/lower_body/images/6_2.jpg
ADDED
fat_dataset/lower_body/videos/6.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:549312228d6f5938ce695c5e32963b12f7f37daf18bcc2f5a930a36dfe276bd3
|
3 |
+
size 2751140
|
fat_dataset/lower_body/videos/6_s.mp4
ADDED
Binary file (961 kB). View file
|
|
fat_dataset/upper_body/agnostic/1.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a67f468096274c3acf09fd3b516ae20bf2c170fdf151076bbeae503130e7fbcd
|
3 |
+
size 6762910
|
fat_dataset/upper_body/agnostic/10.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3464c87668218046fd53680fd781818544c198988735da56942dbd6ed3000ea
|
3 |
+
size 5395443
|
fat_dataset/upper_body/agnostic/10_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca55ccb796df5eec5795f37a13f19f8aa3d44cbafc0e69121ee01fb7a5631f0d
|
3 |
+
size 1768058
|
fat_dataset/upper_body/agnostic/11.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33ed1c657caee89b304565c4f5e61623594084e344935f189daec0f48ecd9d7c
|
3 |
+
size 6116301
|
fat_dataset/upper_body/agnostic/11_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03d08e7cdece79c3fba150e0ce417815e888e7c4e9f84ad1b4ed724a0a6faf0f
|
3 |
+
size 1348808
|
fat_dataset/upper_body/agnostic/12.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa2f05d9ae698e5d50056b43c88f18a7cc7eb495f2a33d8db730d6b03172e91b
|
3 |
+
size 7087228
|
fat_dataset/upper_body/agnostic/12_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f9bde7dc2ec2fe253a724e7d5a66c7bbdf4221ff3dcc3841dd48a6746dcea0f
|
3 |
+
size 1650512
|
fat_dataset/upper_body/agnostic/13.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bca1a4a4f499f9ebf6fcc8062c6aa7d5b99653def7f00ad70520f3243b8ae7b3
|
3 |
+
size 5436599
|
fat_dataset/upper_body/agnostic/13_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e4eb7944319bd02f79904758227194644ab75e50b8067786ba152a16c589e25
|
3 |
+
size 1678383
|
fat_dataset/upper_body/agnostic/15.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73520ca777920650bef0874e7c365c203ac57b37814db8f09aafe2957dbe540c
|
3 |
+
size 6115725
|
fat_dataset/upper_body/agnostic/15_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64d4070c1089310ef34a7fe6fdff404acd10704b88fd445f968fe6ab9fe2a330
|
3 |
+
size 1582494
|
fat_dataset/upper_body/agnostic/1_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4589f999f4a38605d3926aa4fe5ebf51bc7519a570ae3eab104af914f8f29ce
|
3 |
+
size 1995983
|
fat_dataset/upper_body/agnostic/3.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29df4c499800b74e3ccbb5f5309cd6dc6b7cdef5f84a0f0bfb35c712a0ccafb6
|
3 |
+
size 3364329
|
fat_dataset/upper_body/agnostic/3_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00e3fc5812de9289693f3c7efe3e2ae597c1846a795880479de3438d215809d1
|
3 |
+
size 1272958
|
fat_dataset/upper_body/agnostic/4.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c75e8c04081a38fdfa6d128bb430c0a0eae665c0c7081a9353b61c8485d7734
|
3 |
+
size 5914850
|
fat_dataset/upper_body/agnostic/4_s.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e7ec6e4a288eb404251eca655628bba4e8df5b36f084f0aea3ac873ef8ecd90
|
3 |
+
size 1626879
|
fat_dataset/upper_body/agnostic/7.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9282cb4c1261f15867a3f6aa42bf8a4c7ac091084ff731623fa09360d962fdfa
|
3 |
+
size 5258992
|