This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.avi -y -an -sameq -f image2 out/still-%03d.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## SAMPLE data 3603.7517 N 11212.6268 W | |
lat_sign = LAT_FROM_DATA > 0 ? 1:-1 | |
lat = LAT_FROM_DATA | |
lat = lat[0,lat.length-1] #strip N | |
arr = lat.split('.') | |
if arr[0].length == 4 | |
deg= arr[0][0,2].to_f | |
min = arr[0][2,4].to_f | |
seconds = arr[1].to_f | |
lat = (deg + min/60 + seconds/600000).to_f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{exp:channel:categories channel="sections" style="linear"} | |
{"name":"{category_name}", | |
"thumb":"{category_image}", | |
"id":"{category_id}", | |
"image":"{image}", | |
"description":"{category_description}", | |
"pages":{exp:json:entries channel="sections" orderby="display_order" sort="asc" category="{category_id}"}}, | |
{/exp:channel:categories} | |
{"id":"-1"}] |
NewerOlder