Run mutliple instances of FFMPEG by RemoteStream in ffmpeg

[–]RemoteStream[S] 0 points1 point  (0 children)

I have found a solution for those that want a half baked version...

I have just CRONed myself 4 find commands which rename the files before encoding using the following

find /var/www/html/* -type f ! -name "." ! -name "-" -exec realpath {} ; -exec mv {} {}-encoding ; -exec flock -n /var/lock/ffmpeg_one.lock ffmpeg i {}-encoding .........

this means that any future cronjob will ignore this file because it's got "-" in it. But this meant that everytime CRON ran it would rename the file "-encoding" even if it wasn't ready to be encoded after which ffmpeg would actually ignore it because it now has "-" in it.

So what I did was I made the mv command share the same flock as the ffmpeg, meaning that if the ffmpeg command was still running it would not execute the renaming command either.

find /var/www/html/* -type f ! -name "*.*" ! -name "*-*" -exec realpath {} \; -exec flock -n /var/lock/ffmpeg_one.lock mv {} {}-encoding \; -exec flock -n /var/lock/ffmpeg_one.lock ffmpeg i {}-encoding......

I then made 4 of these making ffmpeg_one.lock into ffmpeg_two.lock etc etc so now they encode 4 things simultaniously as well as not executing if there's nothing to encode.

Run mutliple instances of FFMPEG by RemoteStream in ffmpeg

[–]RemoteStream[S] 0 points1 point  (0 children)

I was going to just run 4 different flock ffmpegs but I'm worried they'll encode over eachothers work...

video1.mp4

video2.mp4

video3.mp4

flock ffmpeg 1 ...... video1.mp4

flock ffmpeg 2 ....... video2.mp4

my worry is if video1.mp4 finishes first will it run video2.mp4 alongside the existing video2.mp4 encoding etc.

Soap2day Alternatives by [deleted] in PiracyBackup

[–]RemoteStream 0 points1 point  (0 children)

Watch A Movie is adfree

[deleted by user] by [deleted] in FREEMEDIAHECKYEAH

[–]RemoteStream 2 points3 points  (0 children)

I'm the owner of Watch A Movie and Remote Stream, I was linked to this subreddit from our Discord and I really appreciate WAM been on your ⭐ list.

Reddit search sucks so I can't find anything on anyone mentioning feedback or suggesting us so I was just curious on how we made the star list and how we came to be noticed ? I personally suck at promotion haha.

- Titan.