Video Player and Win 10

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Video Player and Win 10

Post 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
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post by thebelg »

I forgot. We use Livecode 9.0.2.
On a iMac all works fine
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Video Player and Win 10

Post 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
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post 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
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post 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
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Video Player and Win 10

Post 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
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post by thebelg »

Is there any solution for this problem by LC
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Video Player and Win 10

Post by Klaus »

Does this happen with other MP4 files, too?
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post by thebelg »

Yes I have a dozen files on this system with nearly the same problem. Why is the current time value so extrem??
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Video Player and Win 10

Post 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)
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post by thebelg »

I will check it a.s.a.p.
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post by thebelg »

Hello Klaus,

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

Regards
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Video Player and Win 10

Post by Klaus »

Hm, should definitively be no problem, sorry, no more brilliant ideas in the moment...
thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm

Re: Video Player and Win 10

Post 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
Post Reply