Skip to content

Commit 0775c07

Browse files
committed
convert all gifs to mp4
1 parent 7777e4c commit 0775c07

28 files changed

+1
-1
lines changed

Control/move_to_pose/animation.mp4

2.33 MB
Binary file not shown.

PathPlanning/BugPlanner/animation.mp4

159 KB
Binary file not shown.
594 KB
Binary file not shown.
987 KB
Binary file not shown.
6.32 MB
Loading
7.95 MB
Loading
2.23 MB
Binary file not shown.
393 KB
Binary file not shown.
158 KB
Binary file not shown.

PathPlanning/DStarLite/animation.mp4

237 KB
Binary file not shown.

PathPlanning/DubinsPath/animation.mp4

157 KB
Binary file not shown.
1.91 MB
Binary file not shown.
5.73 MB
Binary file not shown.
71.7 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
336 KB
Binary file not shown.
720 KB
Binary file not shown.
672 KB
Binary file not shown.
586 KB
Binary file not shown.
7.15 MB
Binary file not shown.

convert_gif_2_mp4.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dir_name=$(dirname "$input_file")
1616
base_name=$(basename "$input_file" .gif)
1717
output_file="$dir_name/$base_name.mp4"
1818

19-
ffmpeg -stream_loop 2 -i "$input_file" -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "$output_file"
19+
ffmpeg -stream_loop 7 -i "$input_file" -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "$output_file"
2020

2121
if [ $? -eq 0 ]; then
2222
echo "Conversion successful! MP4 saved to: $output_file"

0 commit comments

Comments
 (0)