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
Location: Germany

Video Player and Win 10

Post by thebelg » Fri Jan 18, 2019 1:49 pm

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
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Fri Jan 18, 2019 2:00 pm

I forgot. We use Livecode 9.0.2.
On a iMac all works fine

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Video Player and Win 10

Post by Klaus » Fri Jan 18, 2019 4:15 pm

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
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Fri Jan 18, 2019 6:11 pm

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
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Sat Jan 19, 2019 11:09 am

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: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Video Player and Win 10

Post by Klaus » Sat Jan 19, 2019 1:44 pm

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
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Sat Jan 19, 2019 4:53 pm

Is there any solution for this problem by LC

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Video Player and Win 10

Post by Klaus » Sat Jan 19, 2019 5:28 pm

Does this happen with other MP4 files, too?

thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Sat Jan 19, 2019 5:30 pm

Yes I have a dozen files on this system with nearly the same problem. Why is the current time value so extrem??

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Video Player and Win 10

Post by Klaus » Sat Jan 19, 2019 5:37 pm

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
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Sat Jan 19, 2019 6:27 pm

I will check it a.s.a.p.

thebelg
Posts: 24
Joined: Thu Nov 01, 2012 8:51 pm
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Mon Jan 21, 2019 7:18 am

Hello Klaus,

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

Regards

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Video Player and Win 10

Post by Klaus » Mon Jan 21, 2019 2:18 pm

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
Location: Germany

Re: Video Player and Win 10

Post by thebelg » Wed Jan 23, 2019 2:52 pm

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

Return to “Getting Started with LiveCode - Complete Beginners”