2
$\begingroup$

For Wolfram Mathematica v13, there are 2 types of importing video:

  • Using the Video[file]: represents video stored in the given
    file.

  • Using the Import[source]: imports data from source, returning a Wolfram Language representation of it.

Are they different? In term of performance, are they the same?

$\endgroup$
4
  • $\begingroup$ As I remember, the Video[file] is a out-of-kernel processing? $\endgroup$
    – yode
    Commented Aug 21, 2022 at 9:42
  • $\begingroup$ can you clarify me, the difference? $\endgroup$
    – Nam Nguyen
    Commented Aug 21, 2022 at 11:21
  • $\begingroup$ @NamNguyen they are exactly the same (if you look at the InputForm of both it should match exactly) $\endgroup$
    – carlog
    Commented Aug 26, 2022 at 18:41
  • $\begingroup$ thank you very much. $\endgroup$
    – Nam Nguyen
    Commented Aug 28, 2022 at 8:30

1 Answer 1

1
$\begingroup$

@carlog has answered that, the InputForm is the same.

So Video[file] and Import[source] is the same.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.