{"id":637,"date":"2016-07-24T08:41:50","date_gmt":"2016-07-24T06:41:50","guid":{"rendered":"http:\/\/wp.multibabirel.ch\/index.php\/2016\/07\/24\/timelapse-avconverter\/"},"modified":"2023-03-15T12:47:51","modified_gmt":"2023-03-15T11:47:51","slug":"timelapse-avconverter","status":"publish","type":"post","link":"https:\/\/wp.multibabirel.ch\/index.php\/2016\/07\/24\/timelapse-avconverter\/","title":{"rendered":"TimeLapse avconverter"},"content":{"rendered":"<p><span style=\"font-family: Monaco\"><span style=\"font-size: 10px\">avconv -r 10 -i a%05d.jpg -r 10 -vcodec libx264 -crf 20 -g 15 -vf crop=2592:1458,scale=1280:720 timelapse2.mp4<\/span><\/span><\/p>\n<p><span style=\"font-family: Menlo\"><span style=\"font-size: 11px\">avconv -r 15 -i a%05d.jpg -r 15 -vcodec libx264 -crf 20 -g 15 -vf scale=1280:-1 timelapsex2.mp4<\/span><\/span><\/p>\n<p><span style=\"font-family: Monaco\"><span style=\"font-size: 10px\">Pour\u00a0renommer les fichiers:<\/span><\/span><\/p>\n<p><span style=\"font-weight: bold\">ls<\/span>\u00a0<span style=\"font-weight: bold\">*<\/span>.jpg<span style=\"font-weight: bold\">|<\/span>\u00a0<span style=\"font-weight: bold\">awk<\/span>\u00a0<span>&lsquo;BEGIN{\u00a0a=0\u00a0}{\u00a0printf\u00a0\u00ab\u00a0mv\u00a0%s a%05d.jpg\\n\u00a0\u00bb,\u00a0$0,\u00a0a++\u00a0}&rsquo;<\/span>\u00a0<span style=\"font-weight: bold\">|<\/span>\u00a0<span style=\"font-weight: bold\">bash<\/span><\/p>\n<p>ou:<\/p>\n<p><span>ls -c | xargs rename\u00a0 &lsquo;s\/^[^\\.]*(\\..*)?$\/our $i; sprintf(\u00ab\u00a0%010d$1\u00a0\u00bb, $i++)\/e&rsquo;<\/span><\/p>\n<p><span><span><\/span><\/span><\/p>\n<p><span>ls -c | xargs rename -n &lsquo;s\/^[^\\.]*(\\..*)?$\/our $i; sprintf(\u00ab\u00a0%010d$1\u00a0\u00bb, $i++)\/e&rsquo; \u00a0<\/span><\/p>\n<p><span>Pour hopital:<\/span><\/p>\n<ul>\n<li>\n<p><span>copy<\/span><\/p>\n<\/li>\n<li>\n<p><span>for file in *; do mv \u00ab\u00a0$file\u00a0\u00bb `echo $file | tr &lsquo; &lsquo; &lsquo;_&rsquo;` ; done \u00a0<\/span><\/p>\n<\/li>\n<li>\n<p><span>ls -c | xargs rename\u00a0 &lsquo;s\/^[^\\.]*(\\..*)?$\/our $i; sprintf(\u00ab\u00a0%010d$1\u00a0\u00bb, $i++)\/e&rsquo;<\/span><\/p>\n<\/li>\n<li>\n<p><span>ffmpeg -framerate 20 -pattern_type glob -i \u00ab\u00a0\/Volumes\/SSD_Alex\/sudall\/*.jpg\u00a0\u00bb -s:v 1440&#215;1080 -c:v libx264 -crf 17 -pix_fmt yuv420p my-timelapse.mp4<\/span><\/p>\n<\/li>\n<\/ul>\n<p><span><span><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>avconv -r 10 -i a%05d.jpg -r 10 -vcodec libx264 -crf 20 -g 15 -vf crop=2592:1458,scale=1280:720 timelapse2.mp4<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-637","post","type-post","status-publish","format-standard","hentry","category-posts"],"_links":{"self":[{"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/posts\/637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/comments?post=637"}],"version-history":[{"count":5,"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/posts\/637\/revisions"}],"predecessor-version":[{"id":750,"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/posts\/637\/revisions\/750"}],"wp:attachment":[{"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/media?parent=637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/categories?post=637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.multibabirel.ch\/index.php\/wp-json\/wp\/v2\/tags?post=637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}