Long story short; I'm running this command to stream a forever growing audio file audio.mpg
into ffmpeg
tail -F audio.mp3 | ffmpeg -i - http://127.0.0.1:8090/feed1.ffm
audio.mp3
is being SSH'd from another server which has a capture device feeding the data through.
This is working correctly, however audio.mp3
is constantly growing, and all I really need is to send the tail mp3
data to ffmpeg
in order encode and send it to ffserver
on the same machine.
Is there a command I can run to output tail -F and also remove the outputted data from audio.mp3
.
In essence, I want to put a 1MB limit on the file size of audio.mp3
Thanks in advance