Skip to content

Commit

Permalink
[feat] 데이터 추가를 위한 비디오를 이미지로 변환하는 코드 #81
Browse files Browse the repository at this point in the history
- 1초 당 1장을 저장하도록 1 fps로 변경했습니다.
  • Loading branch information
jeongjae96 committed Aug 16, 2022
1 parent aec2f2a commit d536d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ffmpeg/mp4tojpg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"\n",
" # print('convert video to images:', b[:-4])\n",
"\n",
" os.system(\"ffmpeg -hide_banner -loglevel error -i Movies/\"+ b +' -vf fps=24 -s 640x360 -qscale:v 4 -b 800k images/'+b[:-4]+'/%6d.jpg'\" < /dev/null\")"
" os.system(\"ffmpeg -hide_banner -loglevel error -i Movies/\"+ b +' -vf fps=1 -s 640x360 -qscale:v 4 -b 800k images/'+b[:-4]+'/%6d.jpg'\" < /dev/null\")"
]
},
{
Expand Down

0 comments on commit d536d78

Please sign in to comment.