<?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: Import mp4 files as an object Using Python in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9822644#M5311</link>
    <description>&lt;P&gt;Sorry buddy, I missed your notification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By creating a file node, you are not supposed to see it in Outliner unless Display-&amp;gt; DagObjectsOnly is unticked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's in your scene anyway. To name of your node in encapsulated in the "filenode" variable so to select it just type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;cmds.select(filenode, replace=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Oct 2020 01:27:33 GMT</pubDate>
    <dc:creator>stuzzz</dc:creator>
    <dc:date>2020-10-25T01:27:33Z</dc:date>
    <item>
      <title>Import mp4 files as an object Using Python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9794119#M5308</link>
      <description>&lt;P&gt;Hey guys I have a question pertaining to mp4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I can see from tutorials and such there seems to be a way for Maya to import mp4 using the actual program itself (file-&amp;gt;import etc.). I was wondering if it was possible to do the same thing but within a script. So far I've seen things like launch() but that just launches the video separate from maya. I wish to have it so that it creates an .mp4 object within the workspace if that makes sense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 15:06:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9794119#M5308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import mp4 files as an object Using Python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9794897#M5309</link>
      <description>&lt;P&gt;Here's a quick script for "importing" a video to a file node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;path = "PathToMyVideo"

filenode = cmds.createNode("file")
cmds.setAttr("%s.fileTextureName" % filenode, path, typ="string")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 00:03:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9794897#M5309</guid>
      <dc:creator>stuzzz</dc:creator>
      <dc:date>2020-10-10T00:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import mp4 files as an object Using Python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9797880#M5310</link>
      <description>&lt;P&gt;Hey, thanks for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried running your script but I don't see anything being created in the outliner (which I'm assuming is what is suppose to happen right?)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830304iC75A4062F2C29BAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_1.jpg" alt="Screenshot_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:55:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9797880#M5310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T13:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Import mp4 files as an object Using Python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9822644#M5311</link>
      <description>&lt;P&gt;Sorry buddy, I missed your notification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By creating a file node, you are not supposed to see it in Outliner unless Display-&amp;gt; DagObjectsOnly is unticked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's in your scene anyway. To name of your node in encapsulated in the "filenode" variable so to select it just type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;cmds.select(filenode, replace=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2020 01:27:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-mp4-files-as-an-object-using-python/m-p/9822644#M5311</guid>
      <dc:creator>stuzzz</dc:creator>
      <dc:date>2020-10-25T01:27:33Z</dc:date>
    </item>
  </channel>
</rss>

