-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoplay feature? #22
Comments
I've been considering adding a playlist function. It wouldn't be hard to generate a playlist for all the files in a directory. For the EPG, do you mean having a UI on the video output? |
For the EPG i meant a GUI themed application that you could choose when a video plays at a certain time of the day. |
@fsphil got to say though this is a great piece of software been having fun with it! |
you can do a "playlist" with ffmpeg... |
@neo7530 I will be honest i have no idea how to implement that into hacktv. |
You have to write a batch / Shell Script and pipe the output into hacktv via stdin. Give me some time, i will test it tomorrow and will write a manual. |
Also another possible feature, having compatibility with open broadcast studio. |
for the playlist-feature: generate two txt-files: files1.txt: files2.txt: then generate a shell-command file: eg: play.sh ffmpeg execute the shell... while playing the content of 'files1.txt' you can edit 'files2.txt'... |
type the ffmpeg as one-liner... |
@neo7530 getting command not found. |
@neo7530 ran the command ffmpeg -f concat -i files1.txt -c copy -f mpegts - | hacktv -f 471250000 -m i -g 47 - |
@neo7530 added -safe 0 before the -i and i now get this av_interleaved_write_frame(): Broken pipe |
Have you wrote the full path in files.txt? /path/to/Video.mkv? Try to write files in Single quotes. '/path/to/Video.mkv' |
@neo7530 yeah still getting broken pipe |
@neo7530 file 'files2.txt' is it suppose to be in ' '? as i notice file files1.txt is different |
Hmm, try it... I have to work. |
I think it is better to leave playlist to ffmpeg pipe. Although for the user it might be a little complicated, example can be given easily, and ffmpeg has already done the hard work. |
It's probably easier to use xargs: |
Alternatively, you can supply wildcards or limited regexp in filenames. ./hacktv -f 855250000 -g 47 somedir/[L-P]*.mkv |
Thanks that worked! Though would like it built into hacktv, but this will work for the time being. |
Could an autoplay feature be added? Would like it to play all the videos in my directory.
Or even an EPG styled kind of editor to play a video/clip at a certain time.
Thanks
The text was updated successfully, but these errors were encountered: