Page 1 of 1

Video Player and Win 10

Posted: Fri Jan 18, 2019 1:49 pm
by thebelg
I try to use the player on a windows 10 PC.
We use MP4-Videos.
I have installed the LAVFilters.
I now try to set the Source property of the player.
we imports the filename (with Path), but in the field the system enters 4303557231594.
I can not change this Value.
When I look for the status of the player in the application, It is always "paused".

Any Help / Hints

Re: Video Player and Win 10

Posted: Fri Jan 18, 2019 2:00 pm
by thebelg
I forgot. We use Livecode 9.0.2.
On a iMac all works fine

Re: Video Player and Win 10

Posted: Fri Jan 18, 2019 4:15 pm
by Klaus
Hi thebelg,
I now try to set the Source property of the player. we imports the filename (with Path)
so you are setting the filename of a player object, right?
What does "the result" tell you?

Code: Select all

...
set the filename of player xyz to "your pathname/to video/here"
## Should be EMPTY on success and might give a hint what is going wrong.
if the result <> EMPTY then
   answer the result
end if
...
...but in the field the system enters 4303557231594.
What field? What system? :shock:


Best

Klaus

Re: Video Player and Win 10

Posted: Fri Jan 18, 2019 6:11 pm
by thebelg
Hello Klaus
I use a windows 10 system an the field is the “current time”

The source will I test ASAP, but I must be at my office

Regards
Marcel

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 11:09 am
by thebelg
Hello Klaus,
I made thetest and the answer is "could not create movie reference".
I can see the Movie-description in the "filename"-property of the player, and the movie is on the given place.
The "currenttime"-property changes to the value 4767413699670
The command "set the currenttime of player "VideoPlayer" to 0" doen't change this.

Any Help / Hint / suggestion???

Regards
Marcel

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 1:44 pm
by Klaus
Hi Marcel,

that means that LC cannot open/display/play that movie file for whatever reasons, although it should. So all following commands do of course not work on that video.



Best

Klaus

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 4:53 pm
by thebelg
Is there any solution for this problem by LC

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 5:28 pm
by Klaus
Does this happen with other MP4 files, too?

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 5:30 pm
by thebelg
Yes I have a dozen files on this system with nearly the same problem. Why is the current time value so extrem??

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 5:37 pm
by Klaus
What is the codec used inside of the MP4 container? H264?
Sorry, cannot test this, I am a Mac user.
Why is the current time value so extrem??
If LC cannot access the video, then the "currenttime" will show ANY invalid value! 8)

Re: Video Player and Win 10

Posted: Sat Jan 19, 2019 6:27 pm
by thebelg
I will check it a.s.a.p.

Re: Video Player and Win 10

Posted: Mon Jan 21, 2019 7:18 am
by thebelg
Hello Klaus,

In the information window (on mac) I can see
"Codecs: AAC, H.264"

Regards

Re: Video Player and Win 10

Posted: Mon Jan 21, 2019 2:18 pm
by Klaus
Hm, should definitively be no problem, sorry, no more brilliant ideas in the moment...

Re: Video Player and Win 10

Posted: Wed Jan 23, 2019 2:52 pm
by thebelg
Hallo Klaus,

The problem is solved. When you play videos who contains sound, you must attached a audio-device (Speaker), even when you don't use the Ausio.
But, thnaks a lot for your help.

Regards
Marcel