Comments (3)
Yes, that is definitely in the pipeline. I suspect I will probably implement a way to pass arbitrary arguments to mpv, with video looping tied to its own special shortcut, or perhaps just enable it by default. time will tell...
In the interim, you have a couple options:
The best solution is to probably just edit the relevant S03Video* script to your liking with the "--loop-playlist" flag.
See: https://mpv.io/manual/stable/#playback-control.
Alternatively, (this is not a very good idea) you could simply create a new larger video that is just the old video on repeat a large number of times.
something like: "ffmpeg -stream_loop 10 -i myvideo.mkv -c copy myvideo_looped.mkv" would create a video that repeats 10 times.
see "-stream_loop" at https://ffmpeg.org/ffmpeg.html#toc-Main-options.
It's worth mentioning the initramfs has a max size of (I think) 2GB, so I would recommend the disk or hybrid build style, not the ram one. Also you might be limited to 4GB files on disk. YMMV.
The last thing I can think of (and this is probably a very, very bad idea) is to simply specify the same video multiple times to vobu with the -v option or by creating a folder full of identical videos/symlinks to one video.
something like:
"vobu.sh -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv...."
Some things to know however:
When a video file is specified with -v, vobu stores the filename in an array,
When a directory is specified with -v, the find program is used to collect the videos. see: https://en.wikipedia.org/wiki/Find_(Unix)
Using "-v myvideo.mkv" at infinitum the maximum number of videos is probably limited by the max number of elements bash can store in an array... which is apparently an unlimited number?
See: https://www.gnu.org/software/bash/manual/html_node/Arrays.html
I suspect you would be limited by the largest number that the C language supports.
and I reckon you might have similar problems with find as well.
Now it is interesting that: "ISO 9660 filesystems can have up to 2 exp 32 blocks, i.e. 8 TiB" https://wiki.osdev.org/ISO_9660
So you could have (depending on the runtime/encoding/resolution of the video, your disk size, phase of the moon etc.) so many copies of the video on disk so as to be practically infinite.
But again, this most certainly not a good way to do this, I would just edit the S03Video* scripts.
hope that helps.
from vidos.
I am dissatisfied by your suggested workarounds
from vidos.
closed by 91f201d
from vidos.
Related Issues (1)
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 vidos.