Comments (7)
Hi,
in general ffplayout-gui was made for this. I think it still work, but looks ugly and is not good maintained. My dream is to completely rewrite it, but at the moment I don't know how to get the time for it. I think with python pyside2 or pyQT it would not that much difficult to write something what can do this, but I don't have the capacity for that too. ffplayout was also made more for the cloud and there your don't have a GUI.
In my work we use the ffplayout-gui with an open source php login framework. And for the TV we convert the playlist to an mysql database. But this things everybody have to do for him self. I think some work cases are very specific, so is hard to make something general what everybody can use. For example we have an religious internet tv station, so our playlist; categories; ads and so on a totally different to a normal tv station. It would be hard to have a system what everybody can use.
In general my advise would be, to separate both things. The playout and the tracking of the playlist. The new version will have a bit more logging, but more for debugging purposes. To log even the progress could produce to much overhead and maybe instability.
from ffplayout.
How do you see the progress in ffplayout-gui? are you reading from stdout? I'm also doing something similar to what you do in your work and have written a ffplayout-api , but yet there are many features missing- I have so far ported - read ffplayout config file, create playlist config, update playlist config, add/remove/update playlist items, set loop to items and playlist, start/stop playlist.
from ffplayout.
No it reads with php the json playlist and with js it makes the calculation.
In the future I plan a little API to, but mostly for sending text to overlay. I would like to integrate libzmq.
from ffplayout.
got you - the problem with tracking the list by only reading the json file is that you never know which clip is currently running if the clip is repeated in the list.
What I was thinking of is to add a "clip_id
" in the playlist like:
{
"channel": "channel-01",
"date": "2019-11-09",
"program": [
{
"begin": "0:00:00.000",
"duration": 166.4,
"id": 001,
"in": 0,
"out": 332.8,
"source": "/clip1.mov"
},
{
"begin": "0:00:00.000",
"duration": 138.29,
"id": 002,
"in": 0,
"out": 138.29,
"source": "/clip2.mov"
},
{
"begin": "0:00:00.000",
"duration": 572.61,
"id": 003,
"in": 0,
"out": 572.61,
"source": "/clip3.mov"
}
]
}
then log something like:
[2019-11-14 11:47:57,064] [INFO] Play: "/clip1.mov", id: 001
that way - it will be possbile to watch the messages and get the start time of each clip and its position in the list.
from ffplayout.
Normally the start time is know, with that and out
and seek
you can always calculate the current clip. That is what the GUI does and also the engine. But I belief there is may other ways to calculate this. The json playlist format is very open, so you can add as many keys and values you want. The engine just picks what it needs.
from ffplayout.
The engine tracks also the index. If you want you could log this to, it would be the same than the id.
from ffplayout.
I close here. You can open it again, if there is any questions.
from ffplayout.
Related Issues (20)
- How to select a specific audio track HOT 5
- Real configuration files to enable preview stream in stream mode using SRS server HOT 6
- Unable to stream multi channels simultaneously using ffplayout HOT 3
- Live stream overlay HOT 2
- ffplayout built-in player has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource HOT 5
- ffplayout's built-in player: HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://213.100.134.83:8787/live/stream.m3u8'. This request has been blocked; the content must be served over HTTPS. HOT 6
- v0.19 installation issue HOT 4
- [Question] Advertisement marker HOT 4
- Playout system settings are not automatically applied after changes HOT 5
- Incorrect IP (127.0.0.1) parameter in default live stream ingest configuration HOT 8
- Add Json APi to Graphic messages HOT 5
- Ability to add XAML graphic HOT 6
- Ability to add live radio stream HOT 4
- jb-alvarado
- Preview and streaming to facebook HOT 14
- [Question] How to create an Adaptive Bitrate Streaming to an RTMP destination in push mode HOT 7
- PLease Please I need the Corner Preview screen to work , HOT 1
- Add Server TIME to ffplayout Player page on top HOT 1
- HLS mode: Unable to find mapping variant stream HOT 1
- Stream mode: Filter split:output8 has an unconnected output HOT 3
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 ffplayout.