<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Raster to Video Tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703979#M54501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me. However, if it does not work for anyone, here is additional tip. Do all the above procedure in ArcCatalog and not ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 12:07:44 GMT</pubDate>
    <dc:creator>RamB</dc:creator>
    <dc:date>2016-06-30T12:07:44Z</dc:date>
    <item>
      <title>Raster to Video Tool</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703976#M54498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having an issue exporting my .avi video &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a version of the following script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import system modules&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Set environment settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;env.workspace = "c:/data"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#Set local variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inFolder = "images"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outputVideoFile = "outputVideo.avi"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#Execute RaserToVideo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.RasterToVideo_conversion(inFolder, outputVideoFile, "BMP", "Microsoft Video 1", "TIME", "35", "90")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It says that the codec is "optional" but when I leave it out I get an error stating the value is not a member of Microsoft Video 1 etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I leave the "Microsoft Video 1" in the code, the video is exported but when I try to play the video I get an error saying the file type is supported by the playet but the file was compressed using codec that is not supported. I'm using Windows Media player,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do I need to change to get this to play?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703976#M54498</guid>
      <dc:creator>courtneygarlock</dc:creator>
      <dc:date>2013-03-27T17:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Raster to Video Tool</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703977#M54499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;new problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using this script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Execute RaserToVideo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.RasterToVideo_conversion(inFolder, outputVideoFile, "BMP", "Microsoft Video 1", "TIME", "24", "90")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can not set the time duration "24" any higher. If I set it to 25 (seconds) or above it will not open in windos media player and I get the same error message as before.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703977#M54499</guid>
      <dc:creator>courtneygarlock</dc:creator>
      <dc:date>2013-03-27T17:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Raster to Video Tool</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703978#M54500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Posting on this thread to subscribe and follow along because I suspect this topic will continue on for a while.&amp;nbsp; Unfortunately, it doesn't seem like there has been a whole lot of user-experience postings on this topic and can be difficult to get help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also: I am doing much of my time-series animation work (interpolation results) manually but experiencing a lot of frustration getting things just right.&amp;nbsp; I end up jumping between the Time Slider component and the Animation toolbar as they seem to work hand-in-hand.&amp;nbsp; As well as the time properties of the raster(s) themselves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q: Are you using a Raster Catalog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Q: Have you done what you want manually before attempting to script the process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This has been my workflow, which seems to be a great choice.&amp;nbsp; However, my next step is to script'ize as much of this as possible -- hence my reason for posting on this thread (again sorry for not posting direct answers).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Generate a FGDB of all my Raster Datasets&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a Raster Catalog and populate with the individual Rasters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add a "Time" field and populate with consecutive dates (python/field calculator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Set the time properties when adding the Raster Catalog to the TOC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Symbolize the raster catalog&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Use the tools on the Time Slider to add the date/time stamp to the layout&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Use the Animation Toolbar to export to Video (accepting the defaults).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;j&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 18:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703978#M54500</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-03-27T18:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Raster to Video Tool</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703979#M54501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me. However, if it does not work for anyone, here is additional tip. Do all the above procedure in ArcCatalog and not ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 12:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-video-tool/m-p/703979#M54501</guid>
      <dc:creator>RamB</dc:creator>
      <dc:date>2016-06-30T12:07:44Z</dc:date>
    </item>
  </channel>
</rss>

