[FFmpeg-user] FFMPEG fails 5% responding to SIGTERM and SIGINT
Osama Alshaykh
osama at nxtec-corp.com
Fri Feb 10 09:11:43 EET 2017
Hi,
The console output are normal. We could not stop the process using SIGTERM or SIGINT. The parameters we call are:
DISPLAY=$1
OUTPUT=$2
: ${RESOLUTION:=640x480}
: ${RATE:=30}
: ${PRESET:=veryfast}
: ${QUEUE_SIZE:=4096}
sleep 10
exec ffmpeg -y \
-f x11grab -r $RATE -s $RESOLUTION -thread_queue_size $QUEUE_SIZE -i :$DISPLAY.0+0,0 \
-f alsa -thread_queue_size $QUEUE_SIZE -i plug:asnoop$DISPLAY -acodec libfdk_aac -ar 44100 \
-c:v libx264 -preset $PRESET -pix_fmt yuv420p -r $RATE \
-crf 28 -g 120 -keyint_min 5 -tune zerolatency -threads 1 \
-f mp4 $OUTPUT > /tmp/jibri-ffmpeg-$DISPLAY.out 2>&1 &
We did not try different parameters to duplicate the issue.
Thank you,
Osama
> On Feb 9, 2017, at 3:11 PM, Lou <lou at lrcd.com> wrote:
>
> On Thu, 9 Feb 2017 11:04:32 -0500
> Osama Alshaykh <osama at nxtec-corp.com> wrote:
>
>> I apologize I forgot to include the command we use:
>>
>>
>> ffmpeg -y \
>> -f x11grab -r $RATE -s $RESOLUTION -thread_queue_size $QUEUE_SIZE -i :$DISPLAY.0+0,0 \
>> -f alsa -thread_queue_size $QUEUE_SIZE -i plug:asnoop$DISPLAY -acodec libfdk_aac -ar 44100 \
>> -c:v libx264 -preset $PRESET -pix_fmt yuv420p -r $RATE \
>> -crf 28 -g 120 -keyint_min 5 -tune zerolatency -threads 1 \
>> -f mp4 $OUTPUT > /tmp/jibri-ffmpeg-$DISPLAY.out 2>&1 &
>>
>> Thank you,
>> Osama
>
> You should show the actual, unscripted command and the complete console
> output.
>
> How can we easily duplicate this issue? Does the issue occur on other
> machines? Are x11grab, alsa, libx264 and libfdk_aac required to
> duplicate this issue? What's the simplest command that still shows the
> issue?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list