Need help with Live Streaming using GPU

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help with Live Streaming using GPU

Karan Singh
Hi Team

i am struggling with live streaming of 4k videos with or without GPU.

My question before describing my issue is what is number of 4k videos that
can transcoded and live streamed using below configuration .


1 X R740xd dell system  - configuration is 2 socket , 88 core processors
with 256 GB of RAM- (ubuntu 18.04.02 OS )

 +

Tesla T4 GPU

+

Nginix & RTMP

Transcoding and streaming all happening in one system , viewing of stream
is in windows system with vlc player .


Below is the first command I was trying , the issue is that the video live
streaming runs perfectly with 6 simultaneous streams of 4k but when the 7th
stream starts , all goes bad and fps start dropping [ Its with CPU ] . The
only thing i notice is more CPU utilization and that could be reason of FPS
drop


ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast -tune
zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g 60
-pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k


Some guys on IRC channel recommended me to omit / edit below mentioned
parameters but still its not working

Remove -tune zerolatency

keyint=500 -g 60 , both are same so does use it together

need to limit thread by adding  -thread x


I tried using GPU to scale up the simultaneous streaming but it also going
bad after 6 streams , below is the command . Here I can see less CPU
utilization , like 20% , 80% is still free but GPU is 100% stressed .


fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500 -pix_fmt
yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k


I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization but I
cannot run more than 7 simultaneous streams .


Please help me with correct usage of FFMPEG to scale up the 4k videos .

My end goal is to achieve 1Gbps read/writes on storage media. Network is
not in picture as transcoding and streaming all running on 1 server .




Regards

Karan Singh
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Michael Shaffer
Try setting the output bitrate from the GPU to something higher. You have
it set to 10M. Try 100M. I'm not sure what the maximum bitrate output is.

On Mon, Oct 7, 2019 at 7:15 AM Karan Singh <[hidden email]>
wrote:

> Hi Team
>
> i am struggling with live streaming of 4k videos with or without GPU.
>
> My question before describing my issue is what is number of 4k videos that
> can transcoded and live streamed using below configuration .
>
>
> 1 X R740xd dell system  - configuration is 2 socket , 88 core processors
> with 256 GB of RAM- (ubuntu 18.04.02 OS )
>
>  +
>
> Tesla T4 GPU
>
> +
>
> Nginix & RTMP
>
> Transcoding and streaming all happening in one system , viewing of stream
> is in windows system with vlc player .
>
>
> Below is the first command I was trying , the issue is that the video live
> streaming runs perfectly with 6 simultaneous streams of 4k but when the 7th
> stream starts , all goes bad and fps start dropping [ Its with CPU ] . The
> only thing i notice is more CPU utilization and that could be reason of FPS
> drop
>
>
> ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast -tune
> zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g 60
> -pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k
>
>
> Some guys on IRC channel recommended me to omit / edit below mentioned
> parameters but still its not working
>
> Remove -tune zerolatency
>
> keyint=500 -g 60 , both are same so does use it together
>
> need to limit thread by adding  -thread x
>
>
> I tried using GPU to scale up the simultaneous streaming but it also going
> bad after 6 streams , below is the command . Here I can see less CPU
> utilization , like 20% , 80% is still free but GPU is 100% stressed .
>
>
> fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
> h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500 -pix_fmt
> yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k
>
>
> I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization but I
> cannot run more than 7 simultaneous streams .
>
>
> Please help me with correct usage of FFMPEG to scale up the 4k videos .
>
> My end goal is to achieve 1Gbps read/writes on storage media. Network is
> not in picture as transcoding and streaming all running on 1 server .
>
>
>
>
> Regards
>
> Karan Singh
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Karan Singh
Tried that , it increases the storage bandwidth but the number of videos
running without loss of frames remains same . My source video bit rate
comes  40 mbps when running on local vlc player

Is there any other issue that is causing problems in running more number of
simoultaneus streams ?

On Tuesday, October 8, 2019, Michael Shaffer <[hidden email]> wrote:

> Try setting the output bitrate from the GPU to something higher. You have
> it set to 10M. Try 100M. I'm not sure what the maximum bitrate output is.
>
> On Mon, Oct 7, 2019 at 7:15 AM Karan Singh <[hidden email]>
> wrote:
>
> > Hi Team
> >
> > i am struggling with live streaming of 4k videos with or without GPU.
> >
> > My question before describing my issue is what is number of 4k videos
> that
> > can transcoded and live streamed using below configuration .
> >
> >
> > 1 X R740xd dell system  - configuration is 2 socket , 88 core processors
> > with 256 GB of RAM- (ubuntu 18.04.02 OS )
> >
> >  +
> >
> > Tesla T4 GPU
> >
> > +
> >
> > Nginix & RTMP
> >
> > Transcoding and streaming all happening in one system , viewing of stream
> > is in windows system with vlc player .
> >
> >
> > Below is the first command I was trying , the issue is that the video
> live
> > streaming runs perfectly with 6 simultaneous streams of 4k but when the
> 7th
> > stream starts , all goes bad and fps start dropping [ Its with CPU ] .
> The
> > only thing i notice is more CPU utilization and that could be reason of
> FPS
> > drop
> >
> >
> > ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast
> -tune
> > zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g 60
> > -pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k
> >
> >
> > Some guys on IRC channel recommended me to omit / edit below mentioned
> > parameters but still its not working
> >
> > Remove -tune zerolatency
> >
> > keyint=500 -g 60 , both are same so does use it together
> >
> > need to limit thread by adding  -thread x
> >
> >
> > I tried using GPU to scale up the simultaneous streaming but it also
> going
> > bad after 6 streams , below is the command . Here I can see less CPU
> > utilization , like 20% , 80% is still free but GPU is 100% stressed .
> >
> >
> > fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
> > h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500
> -pix_fmt
> > yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k
> >
> >
> > I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization
> but I
> > cannot run more than 7 simultaneous streams .
> >
> >
> > Please help me with correct usage of FFMPEG to scale up the 4k videos .
> >
> > My end goal is to achieve 1Gbps read/writes on storage media. Network is
> > not in picture as transcoding and streaming all running on 1 server .
> >
> >
> >
> >
> > Regards
> >
> > Karan Singh
> > _______________________________________________
> > ffmpeg-user mailing list
> > [hidden email]
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

kumowoon1025
> Is there any other issue that is causing problems in running more number of
> simoultaneus streams ?

The nginx server, how many workers are running?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Karan Singh
>  The nginx server, how many workers are running?

1024 workers running

On Tue, Oct 8, 2019 at 12:14 PM Ted Park <[hidden email]> wrote:

> > Is there any other issue that is causing problems in running more number
> of
> > simoultaneus streams ?
>
> The nginx server, how many workers are running?
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Karan Singh
Hi Team

Any update on this?


i am struggling with live streaming of 4k videos with or without GPU.

My question before describing my issue is what is number of 4k videos that
can transcoded and live streamed using below configuration .


1 X R740xd dell system  - configuration is 2 socket , 88 core processors
with 256 GB of RAM- (ubuntu 18.04.02 OS )

 +

Tesla T4 GPU

+

Nginix & RTMP

Transcoding and streaming all happening in one system , viewing of stream
is in windows system with vlc player .


Below is the first command I was trying , the issue is that the video live
streaming runs perfectly with 6 simultaneous streams of 4k but when the 7th
stream starts , all goes bad and fps start dropping [ Its with CPU ] . The
only thing i notice is more CPU utilization and that could be reason of FPS
drop


ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast -tune
zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g 60
-pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k


Some guys on IRC channel recommended me to omit / edit below mentioned
parameters but still its not working

Remove -tune zerolatency

keyint=500 -g 60 , both are same so does use it together

need to limit thread by adding  -thread x


I tried using GPU to scale up the simultaneous streaming but it also going
bad after 6 streams , below is the command . Here I can see less CPU
utilization , like 20% , 80% is still free but GPU is 100% stressed .


fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500 -pix_fmt
yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k


I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization but I
cannot run more than 7 simultaneous streams .


Please help me with correct usage of FFMPEG to scale up the 4k videos .

My end goal is to achieve 1Gbps read/writes on storage media. Network is
not in picture as transcoding and streaming all running on 1 server .

On Wed, Oct 9, 2019 at 10:47 AM Karan Singh <[hidden email]>
wrote:

> >  The nginx server, how many workers are running?
>
> 1024 workers running
>
> On Tue, Oct 8, 2019 at 12:14 PM Ted Park <[hidden email]> wrote:
>
>> > Is there any other issue that is causing problems in running more
>> number of
>> > simoultaneus streams ?
>>
>> The nginx server, how many workers are running?
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
>
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Bo Zhou
Have you benchmark the ffmpeg during the runtime to check where is the
bottleneck ?

On Thu, Oct 10, 2019 at 10:11 AM Karan Singh <[hidden email]>
wrote:

> Hi Team
>
> Any update on this?
>
>
> i am struggling with live streaming of 4k videos with or without GPU.
>
> My question before describing my issue is what is number of 4k videos that
> can transcoded and live streamed using below configuration .
>
>
> 1 X R740xd dell system  - configuration is 2 socket , 88 core processors
> with 256 GB of RAM- (ubuntu 18.04.02 OS )
>
>  +
>
> Tesla T4 GPU
>
> +
>
> Nginix & RTMP
>
> Transcoding and streaming all happening in one system , viewing of stream
> is in windows system with vlc player .
>
>
> Below is the first command I was trying , the issue is that the video live
> streaming runs perfectly with 6 simultaneous streams of 4k but when the 7th
> stream starts , all goes bad and fps start dropping [ Its with CPU ] . The
> only thing i notice is more CPU utilization and that could be reason of FPS
> drop
>
>
> ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast -tune
> zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g 60
> -pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k
>
>
> Some guys on IRC channel recommended me to omit / edit below mentioned
> parameters but still its not working
>
> Remove -tune zerolatency
>
> keyint=500 -g 60 , both are same so does use it together
>
> need to limit thread by adding  -thread x
>
>
> I tried using GPU to scale up the simultaneous streaming but it also going
> bad after 6 streams , below is the command . Here I can see less CPU
> utilization , like 20% , 80% is still free but GPU is 100% stressed .
>
>
> fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
> h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500 -pix_fmt
> yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k
>
>
> I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization but I
> cannot run more than 7 simultaneous streams .
>
>
> Please help me with correct usage of FFMPEG to scale up the 4k videos .
>
> My end goal is to achieve 1Gbps read/writes on storage media. Network is
> not in picture as transcoding and streaming all running on 1 server .
>
> On Wed, Oct 9, 2019 at 10:47 AM Karan Singh <[hidden email]>
> wrote:
>
> > >  The nginx server, how many workers are running?
> >
> > 1024 workers running
> >
> > On Tue, Oct 8, 2019 at 12:14 PM Ted Park <[hidden email]> wrote:
> >
> >> > Is there any other issue that is causing problems in running more
> >> number of
> >> > simoultaneus streams ?
> >>
> >> The nginx server, how many workers are running?
> >> _______________________________________________
> >> ffmpeg-user mailing list
> >> [hidden email]
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> To unsubscribe, visit link above, or email
> >> [hidden email] with subject "unsubscribe".
> >
> >
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Karan Singh
Didn't get your point , can you elaborate ?
I am able to run 6 live streams with before mentioned parameters but after
that frames start dropping and CPU/GPU usage reaches 80~100% . Memory and
storage bandwidth is not much used .
If you can help me in correct usage of parameters with live streaming ,
that would be great .

Regards
Karan Singh

On Thu, Oct 10, 2019 at 11:47 AM Bo Zhou <[hidden email]> wrote:

> Have you benchmark the ffmpeg during the runtime to check where is the
> bottleneck ?
>
> On Thu, Oct 10, 2019 at 10:11 AM Karan Singh <[hidden email]
> >
> wrote:
>
> > Hi Team
> >
> > Any update on this?
> >
> >
> > i am struggling with live streaming of 4k videos with or without GPU.
> >
> > My question before describing my issue is what is number of 4k videos
> that
> > can transcoded and live streamed using below configuration .
> >
> >
> > 1 X R740xd dell system  - configuration is 2 socket , 88 core processors
> > with 256 GB of RAM- (ubuntu 18.04.02 OS )
> >
> >  +
> >
> > Tesla T4 GPU
> >
> > +
> >
> > Nginix & RTMP
> >
> > Transcoding and streaming all happening in one system , viewing of stream
> > is in windows system with vlc player .
> >
> >
> > Below is the first command I was trying , the issue is that the video
> live
> > streaming runs perfectly with 6 simultaneous streams of 4k but when the
> 7th
> > stream starts , all goes bad and fps start dropping [ Its with CPU ] .
> The
> > only thing i notice is more CPU utilization and that could be reason of
> FPS
> > drop
> >
> >
> > ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast
> -tune
> > zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g 60
> > -pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k
> >
> >
> > Some guys on IRC channel recommended me to omit / edit below mentioned
> > parameters but still its not working
> >
> > Remove -tune zerolatency
> >
> > keyint=500 -g 60 , both are same so does use it together
> >
> > need to limit thread by adding  -thread x
> >
> >
> > I tried using GPU to scale up the simultaneous streaming but it also
> going
> > bad after 6 streams , below is the command . Here I can see less CPU
> > utilization , like 20% , 80% is still free but GPU is 100% stressed .
> >
> >
> > fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
> > h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500
> -pix_fmt
> > yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k
> >
> >
> > I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization
> but I
> > cannot run more than 7 simultaneous streams .
> >
> >
> > Please help me with correct usage of FFMPEG to scale up the 4k videos .
> >
> > My end goal is to achieve 1Gbps read/writes on storage media. Network is
> > not in picture as transcoding and streaming all running on 1 server .
> >
> > On Wed, Oct 9, 2019 at 10:47 AM Karan Singh <
> [hidden email]>
> > wrote:
> >
> > > >  The nginx server, how many workers are running?
> > >
> > > 1024 workers running
> > >
> > > On Tue, Oct 8, 2019 at 12:14 PM Ted Park <[hidden email]>
> wrote:
> > >
> > >> > Is there any other issue that is causing problems in running more
> > >> number of
> > >> > simoultaneus streams ?
> > >>
> > >> The nginx server, how many workers are running?
> > >> _______________________________________________
> > >> ffmpeg-user mailing list
> > >> [hidden email]
> > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >>
> > >> To unsubscribe, visit link above, or email
> > >> [hidden email] with subject "unsubscribe".
> > >
> > >
> > _______________________________________________
> > ffmpeg-user mailing list
> > [hidden email]
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

Michael Shaffer
I'm no expert but it sounds like you've reached the limitations of your CPU
/ GPU.

On Thu, Oct 10, 2019 at 1:07 AM Karan Singh <[hidden email]>
wrote:

> Didn't get your point , can you elaborate ?
> I am able to run 6 live streams with before mentioned parameters but after
> that frames start dropping and CPU/GPU usage reaches 80~100% . Memory and
> storage bandwidth is not much used .
> If you can help me in correct usage of parameters with live streaming ,
> that would be great .
>
> Regards
> Karan Singh
>
> On Thu, Oct 10, 2019 at 11:47 AM Bo Zhou <[hidden email]>
> wrote:
>
> > Have you benchmark the ffmpeg during the runtime to check where is the
> > bottleneck ?
> >
> > On Thu, Oct 10, 2019 at 10:11 AM Karan Singh <
> [hidden email]
> > >
> > wrote:
> >
> > > Hi Team
> > >
> > > Any update on this?
> > >
> > >
> > > i am struggling with live streaming of 4k videos with or without GPU.
> > >
> > > My question before describing my issue is what is number of 4k videos
> > that
> > > can transcoded and live streamed using below configuration .
> > >
> > >
> > > 1 X R740xd dell system  - configuration is 2 socket , 88 core
> processors
> > > with 256 GB of RAM- (ubuntu 18.04.02 OS )
> > >
> > >  +
> > >
> > > Tesla T4 GPU
> > >
> > > +
> > >
> > > Nginix & RTMP
> > >
> > > Transcoding and streaming all happening in one system , viewing of
> stream
> > > is in windows system with vlc player .
> > >
> > >
> > > Below is the first command I was trying , the issue is that the video
> > live
> > > streaming runs perfectly with 6 simultaneous streams of 4k but when the
> > 7th
> > > stream starts , all goes bad and fps start dropping [ Its with CPU ] .
> > The
> > > only thing i notice is more CPU utilization and that could be reason of
> > FPS
> > > drop
> > >
> > >
> > > ffmpeg -re -i Stranger09.mkv -c:v libx264 -b:v 50M -preset ultrafast
> > -tune
> > > zerolatency -b:a 128k -s 4096x2160 -bufsize 5M -x264opts keyint=500 -g
> 60
> > > -pix_fmt yuv420p -f flv rtmp://194.167.137.11/live-test/Strange09_4k
> > >
> > >
> > > Some guys on IRC channel recommended me to omit / edit below mentioned
> > > parameters but still its not working
> > >
> > > Remove -tune zerolatency
> > >
> > > keyint=500 -g 60 , both are same so does use it together
> > >
> > > need to limit thread by adding  -thread x
> > >
> > >
> > > I tried using GPU to scale up the simultaneous streaming but it also
> > going
> > > bad after 6 streams , below is the command . Here I can see less CPU
> > > utilization , like 20% , 80% is still free but GPU is 100% stressed .
> > >
> > >
> > > fmpeg -hwaccel_device 1 -hwaccel cuvid -re -i Stranger02.mkv -c:v
> > > h264_nvenc -preset fast -b:v 10M -bufsize 20M -x264opts keyint=500
> > -pix_fmt
> > > yuv420p -f flv rtmp://194.167.137.11/live-test/Strange02_4k
> > >
> > >
> > > I tried using GPU + CPU as 80% CPU is free after 100% GPU utilization
> > but I
> > > cannot run more than 7 simultaneous streams .
> > >
> > >
> > > Please help me with correct usage of FFMPEG to scale up the 4k videos .
> > >
> > > My end goal is to achieve 1Gbps read/writes on storage media. Network
> is
> > > not in picture as transcoding and streaming all running on 1 server .
> > >
> > > On Wed, Oct 9, 2019 at 10:47 AM Karan Singh <
> > [hidden email]>
> > > wrote:
> > >
> > > > >  The nginx server, how many workers are running?
> > > >
> > > > 1024 workers running
> > > >
> > > > On Tue, Oct 8, 2019 at 12:14 PM Ted Park <[hidden email]>
> > wrote:
> > > >
> > > >> > Is there any other issue that is causing problems in running more
> > > >> number of
> > > >> > simoultaneus streams ?
> > > >>
> > > >> The nginx server, how many workers are running?
> > > >> _______________________________________________
> > > >> ffmpeg-user mailing list
> > > >> [hidden email]
> > > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >>
> > > >> To unsubscribe, visit link above, or email
> > > >> [hidden email] with subject "unsubscribe".
> > > >
> > > >
> > > _______________________________________________
> > > ffmpeg-user mailing list
> > > [hidden email]
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > [hidden email] with subject "unsubscribe".
> > _______________________________________________
> > ffmpeg-user mailing list
> > [hidden email]
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Live Streaming using GPU

kumowoon1025
In reply to this post by Karan Singh
>
>> The nginx server, how many workers are running?
>
> 1024 workers running
>

That’s probably the max connections per worker, not the number of worker processes.

If you have 1024 worker processes actually running on an 88 core machine that wouldn’t make much sense, please check to see if that is the correct number.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".