On Thu, 22 Apr 2021 14:22:17 +0200, Moritz Barsnick wrote:
>Hej Bo,
>
>On Wed, Apr 21, 2021 at 16:59:10 +0200, Bo Berglund wrote:
>> But what I have noticed lately is that sometimes the stream it downloads from
>> stops feeding data for a few seconds (don't know for how long) and it seems
>> lik
Hej Bo,
On Wed, Apr 21, 2021 at 16:59:10 +0200, Bo Berglund wrote:
> But what I have noticed lately is that sometimes the stream it downloads from
> stops feeding data for a few seconds (don't know for how long) and it seems
> like
> ffmpeg at that times finishes up the output file and exits.
ff
I am downloading video using this command in a script (on Ubuntu Linux):
"ffmpeg -user_agent \"Mozilla\" -i $VIDEOURL -threads 1 -vf scale=w=-4:h=360
-c:v libx264 -preset fast -crf 26 -c:a copy -t $CAPTURETIME $TARGETFILE"
The arguments $VIDEOURL, $CAPTURETIM and $TARGETFILE are set on call of th