{{newin|[[0.10.0]]|100|type=function}}
Creates a new [[VideoStream]]. Currently only Ogg Theora video files are supported. VideoStreams can't draw videos, see [[love.graphics.newVideo]] for that.
{{newobjectnotice}}
== Function ==
=== Synopsis ===
<source lang="lua">
videostream = love.video.newVideoStream( filename )
</source>
=== Arguments ===
{{param|string|filename|The file path to the Ogg Theora video file.}}
=== Returns ===
{{param|VideoStream|videostream|A new VideoStream.}}
== Function ==
=== Synopsis ===
<source lang="lua">
videostream = love.video.newVideoStream( file )
</source>
=== Arguments ===
{{param|File|file|The [[File]] object containing the Ogg Theora video.}}

=== Returns ===
{{param|VideoStream|videostream|A new VideoStream.}}

== See Also ==
* [[parent::love.video]]
* [[Constructs::VideoStream]]
* [[Video]]
[[Category:Functions]]
{{#set:Description=Creates a new [[VideoStream]].}}

== Other Languages ==
{{i18n|love.video.newVideoStream}}