Re: RE Video Player LiveCode on Windows
I don't think this is a player problem, it's a script editor issue. The slowdown has been reported before, mostly on Windows, but yesterday I had the identical problem on Mac. Editing slows to a crawl until finally the IDE locks up and you're forced to force quit. To avoid losing work, restart LC when you see the editor begin to be unresponsive. That's not a great solution but it solves things for a while. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 23, 2019 11:31:11 AM "R.H. via use-livecode" wrote: @ Paul Dupuis Thank you very much, Paul, for your detailed answer. I removed my other Codec package and installed the LAV package as recommended by you. It works well! Great. All the videos I have in MP4, etc. are playing now. This makes me happy. But the other biggest problem: My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working with the player and being in edit mode, mainly using the script editor. This happens all the time. There is no exact recipe. After some time, I already notice LC is slowing down (it takes long time for anything to happen) , and soon after that all freezes, and then I have to force-quit and restart all over again. As long as the user mode is on and as long as the player is just playing, it seems to be ok . Except, of course, there is a huge bug list that you mentioned. If anybody else has experienced hanging/freezing LiveCode using the player in edit mode, I would then create a but report because I could not find a similar report there. Unfortunately, there is no very clear recipe yet. Roland ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RE Video Player LiveCode on Windows
I concur with Peter's suggestion. Using LC9.0.5 RELEASE, I have not seen crashes when editing stacks with player objects or changing player properties. LC9.0.5rc1 and LC9.5.0 RELEASE have bugs that can crash the IDE while debugging. However, in our two applications that use the player object, the player is generally not set to any video (filename is empty) while editing. -- Paul On 10/23/2019 12:43 PM, Peter Bogdanoff via use-livecode wrote: Roland, You might try setting filename of the player to empty before going to edit mode (catching the editScript message). In the past, if a player couldn’t find the referenced file it often causes LC to freeze or slow way down, similarly to what you’re reporting. Peter Bogdanoff ArtsInteractive On Oct 23, 2019, at 12:28 PM, R.H. via use-livecode wrote: @ Paul Dupuis Thank you very much, Paul, for your detailed answer. I removed my other Codec package and installed the LAV package as recommended by you. It works well! Great. All the videos I have in MP4, etc. are playing now. This makes me happy. But the other biggest problem: My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working with the player and being in edit mode, mainly using the script editor. This happens all the time. There is no exact recipe. After some time, I already notice LC is slowing down (it takes long time for anything to happen) , and soon after that all freezes, and then I have to force-quit and restart all over again. As long as the user mode is on and as long as the player is just playing, it seems to be ok . Except, of course, there is a huge bug list that you mentioned. If anybody else has experienced hanging/freezing LiveCode using the player in edit mode, I would then create a but report because I could not find a similar report there. Unfortunately, there is no very clear recipe yet. Roland ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RE Video Player LiveCode on Windows
Roland, You might try setting filename of the player to empty before going to edit mode (catching the editScript message). In the past, if a player couldn’t find the referenced file it often causes LC to freeze or slow way down, similarly to what you’re reporting. Peter Bogdanoff ArtsInteractive > On Oct 23, 2019, at 12:28 PM, R.H. via use-livecode > wrote: > > @ Paul Dupuis > > Thank you very much, Paul, for your detailed answer. I removed my other > Codec package and installed the LAV package as recommended by you. It works > well! Great. All the videos I have in MP4, etc. are playing now. This makes > me happy. > > But the other biggest problem: > > My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working > with the player and being in edit mode, mainly using the script editor. > This happens all the time. There is no exact recipe. After some time, I > already notice LC is slowing down (it takes long time for anything to > happen) , and soon after that all freezes, and then I have to force-quit > and restart all over again. > > As long as the user mode is on and as long as the player is just playing, > it seems to be ok . Except, of course, there is a huge bug list that you > mentioned. > > If anybody else has experienced hanging/freezing LiveCode using the player > in edit mode, I would then create a but report because I could not find a > similar report there. Unfortunately, there is no very clear recipe yet. > > Roland > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE Video Player LiveCode on Windows
@ Paul Dupuis Thank you very much, Paul, for your detailed answer. I removed my other Codec package and installed the LAV package as recommended by you. It works well! Great. All the videos I have in MP4, etc. are playing now. This makes me happy. But the other biggest problem: My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working with the player and being in edit mode, mainly using the script editor. This happens all the time. There is no exact recipe. After some time, I already notice LC is slowing down (it takes long time for anything to happen) , and soon after that all freezes, and then I have to force-quit and restart all over again. As long as the user mode is on and as long as the player is just playing, it seems to be ok . Except, of course, there is a huge bug list that you mentioned. If anybody else has experienced hanging/freezing LiveCode using the player in edit mode, I would then create a but report because I could not find a similar report there. Unfortunately, there is no very clear recipe yet. Roland ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Video-Player LiveCode on Windows
LC9 uses DirectShow which Microsoft ships with a very limited number of formats it supports. We recommend people install LAV Filters - a free set of additional codec for DirectShow that provides a format range comparable to Apple AVF https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-Installer.exe Don't let the 0.74.1 version number scare you, there are really very good. Also be aware that there are a bunch of player object bugs: See https://quality.livecode.com/buglist.cgi?query_format=advanced&list_id=92758&short_desc=player&bug_status=UNCONFIRMED&bug_status=PENDING&bug_status=PENDING_AWAITING_FOLLOW_UP&bug_status=EXPERT_REVIEW&bug_status=CONFIRMED&bug_status=CONFIRMED_NOT_REPRODUCED&bug_status=IN_PROGRESS&bug_status=IN_PROGRESS_AWAITING_FOLLOW_UP&bug_status=AWAITING_MERGE&bug_status=AWAITING_TEST&bug_status=AWAITING_RELEASE&bug_status=HIBERNATED&bug_status=REOPENED&short_desc_type=allwordssubstr On 10/21/2019 5:22 PM, R.H. via use-livecode wrote: I am using Windows 10, 64bit, latest update. I am using an Indy license. I am working with LC v9.5.0 Build 15503. Until Christmas I need to develop a small application for music performers and highly controlled playing of video and audio. I am not too experienced with LC's video/audio player capabilities. So i tested. Since I am almost exclusively using the MP4 format, I tried to display videos that work on all other players (Windows Media Player, VLC, Movies & TV, any HTML player), in LC they do not play. Everwhere else, they do. The provided sample video of the player "C:/Program Files/RunRev/LiveCode Indy 9.5/Resources/Sample.mpg" works. But it is an .mpg file. If nothing else works, I have to convert all videos to MPEG? OK. I installed a separat codec on my Windows system. MP4 partially started to work. But most of the time, it does not. Only sound is played, but no video. But even with installed codec that support all kinds of video and audio formats, the LC player does not play .akp or .webm files. In my application it is essential to loop through segments of the video multiple times. The "loop" function cannot be used here as it can not be defined to loop a specified number of times through a segment defined by start-time and stop-time and be user controlled. I just tried a repeat loop that calls the player repeatedly. First, it did not work. But then the solution: The player first must have stopped and must have sent a stop message that can be retrieved from the handler "on playstopped" to start playing again. I am setting a global gVideoEnded. Then starting another play segment loop is possible with a "wait with messages" command waiting for the global flag set to be true. The solution worked with some small MP4 files. But bigger video files (also smaller ones) seem to create problems. For the first time, the video may (or may not) play, but then it may completely stop and not play again. No other video then can be played. Even reloading the same video file will not work then. Often, at this point, the LC IDE stops working and I have to force-quit and restart. Also, from a huge number of local MT4 videos, only a small part will show video while the sound usually plays. To me it appears that either this new version of LC is not working with this player on Windows the way it should, or it is a general bug with the player, or something is wrong with me. I am just asking if anybody experienced problems playing MP4 videos on Windows. I am really interested to know. If it the current player is too buggy then I have to use a Javascript player or play with ffmeg (very nice utility). I cannot spend days or weeks trying to find out what is going wrong. Any experiences playing video in the browser widget? Any other experiences with playing .webm or .akp video files? If others here have same or similar problems and there is no bug report, I will post a bug report. I could not find recent bugs for the player object on Windows describing this problem. Roland ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode