Comments (4)
Assuming that the seq is in active/reachable state.
Yes, the correct behavior on a playlist start between 17:16:00 and 18:00:00 should be to enter the seq.
It seems there is a bug. Can you attach me the complete index.smil, please?
from garlic-player.
The example I'm using is below (sensitive info removed). Appreciate your feedback on the construction, as I'm new to SMIL:
<?xml version="1.0" encoding="UTF-8"?> <smil> <head> <meta http-equiv="Refresh" content="30"/> <layout> <root-layout width="3840" height="2160"/> <region xml:id="fullScreen" width="3840px" height="2160px" left="0px" top="0px" z-index="0" mediaAlign="center" backgroundColor="#000000" /> <transition xml:id="fade" type="fade" subtype="crossfade" dur="5s" /> </layout> </head> <body systemComponent="http://www.w3.org/1999/xhtml"> <par dur="indefinite"> <seq repeatCount="indefinite" begin="wallclock(R/2022-03-29T17:16:00/P1D)" end="wallclock(R/2022-03-29T18:00:00/P1D)"> <img src="https://xxxxx/file1.jpg" fit="meetBest" fill="transition" region="fullScreen" dur="5s"/> <video src="https://xxxxxxx/video1.mp4" fit="fill" fill="transition" region="fullScreen" dur="5s"/> <text src="https://xxxxxxx" fit="meetBest" fill="transition" region="fullScreen" dur="5s"/> </seq> </par> </body> </smil>
from garlic-player.
Another expected behavior:
Let's say the start time & sequence is like this
16:00:00 begin time
10 min slide 1 (ends at 16:10:00)
20 min slide 2 (ends at 16:30:00)
15 min slide 3 (ends at 16:45:00)
15 min slide 4 (ends at 17:00:00)
17:00:00 end time
For proper synchronization, if the player were to start at 16:35 it should start playing slide 3 with 5 min already elapsed and if player were to start at 16:47:00 it should start playing slide 4 with two minutes already elapsed.
from garlic-player.
I cannot reproduce it. Your example works on v0.5.0.601 (current dev version).
For the second question, I created a par sequence started
from 23:30:00 then every minute an image change
When started player at 23:34:20 correct number 5 is shown.
Do you try it with the garlic 0.5.0 stable or the current dev version? There were some fixes since last release.
Here is my test smil. The images are from test directory.
You can also try https://saghiadinos.de/garlic-test/issues/32.smil as Content-Url
<?xml version="1.0" encoding="UTF-8"?>
<smil>
<head>
<meta http-equiv="Refresh" content="30"/>
<layout>
<root-layout width="1920" height="1080"/>
<region xml:id="fullScreen" width="1920px" height="1080px" left="0px" top="0px" z-index="0" mediaAlign="center" backgroundColor="#ff00ff" />
</layout>
</head>
<body systemComponent="http://www.w3.org/1999/xhtml">
<par dur="indefinite">
<img src="../images/0001.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:30:00/P1D)" end="wallclock(R/2022-03-29T23:31:00/P1D)" />
<img src="../images/0002.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:31:00/P1D)" end="wallclock(R/2022-03-29T23:32:00/P1D)" />
<img src="../images/0003.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:32:00/P1D)" end="wallclock(R/2022-03-29T23:33:00/P1D)" />
<img src="../images/0004.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:33:00/P1D)" end="wallclock(R/2022-03-29T23:34:00/P1D)" />
<img src="../images/0005.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:34:00/P1D)" end="wallclock(R/2022-03-29T23:35:00/P1D)" />
<img src="../images/0006.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:35:00/P1D)" end="wallclock(R/2022-03-29T23:36:00/P1D)" />
<img src="../images/0007.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:36:00/P1D)" end="wallclock(R/2022-03-29T23:37:00/P1D)" />
<img src="../images/0008.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:37:00/P1D)" end="wallclock(R/2022-03-29T23:38:00/P1D)" />
<img src="../images/0009.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:38:00/P1D)" end="wallclock(R/2022-03-29T23:39:00/P1D)" />
<img src="../images/0010.jpg" region="fullScreen" begin="wallclock(R/2022-03-29T23:39:00/P1D)" end="wallclock(R/2022-03-29T23:40:00/P1D)" />
</par>
</body>
</smil>
from garlic-player.
Related Issues (20)
- mediaAlign not working HOT 7
- How to build garlic-player for Odroid C4? HOT 3
- iCalendar rule support
- invalid seq begin/end causes player to hang HOT 3
- Error while building HOT 5
- Mac player not presenting content HOT 1
- garlic crashes on keypress when smil hasn't downloaded yet HOT 7
- Playback of streaming audio content HOT 3
- Incorrect parsing of content paths HOT 1
- Add screenshots to F-Droid HOT 1
- How do we build source-code? HOT 1
- Storage permission issues on Android v11+ . " Creating or writing to a non-default top level directory is not allowed!" HOT 1
- Unable to compile for Android-x86_64 HOT 3
- APK size / per-ABI builds? HOT 6
- Thanks for the editor HOT 2
- Question on permissions HOT 7
- Icon and screenshots to Izzyondroid
- Retry to reconnect when there's no connection at first
- Use of Garlic Player in a Museum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garlic-player.