Quantcast

FFmpeg changing maximum video bitrate during streaming?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FFmpeg changing maximum video bitrate during streaming?

Dave Ellis
I'm using the following command to stream video: -

ffmpeg.exe -re -i test.avi  -b:v 960k -minrate 960k -maxrate 960k -bufsize
240k -an -s 480x640 -r 30 -threads 0 -vcodec libx264  -preset veryfast
-x264opts keyint=90:no-scenecut=1:min-keyint=90 -vprofile baseline -level
3.0 -pix_fmt yuv420p -f rtp rtp://127.0.0.1:62712

Is there a way of communicating with FFmpeg whilst it is streaming to
change the video bitrate?

I have looked at the filters and zmq but cannot find anything for the video
bitrate.

Thanks

Dave
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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
|  
Report Content as Inappropriate

Re: FFmpeg changing maximum video bitrate during streaming?

Dave Ellis
Does anyone have any ideas on the question I asked previously?
Is this list the best place to ask?


>I'm using the following command to stream video: -
>
>ffmpeg.exe -re -i test.avi  -b:v 960k -minrate 960k -maxrate 960k -bufsize
240k -an -s 480x640 -r 30 -threads 0 -vcodec libx264  -preset veryfast
-x264opts keyint=90:no-scenecut=1:min-keyint=90 -vprofile baseline -level
3.0 -pix_fmt yuv420p -f rtp rtp://127.0.0.1:62712
>
>Is there a way of communicating with FFmpeg whilst it is streaming to
change the video bitrate?
>
>I have looked at the filters and zmq but cannot find anything for the
video bitrate.
>
>Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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
|  
Report Content as Inappropriate

Re: FFmpeg changing maximum video bitrate during streaming?

Moritz Barsnick
On Thu, May 18, 2017 at 15:19:50 +0100, Dave Ellis wrote:
> Is this list the best place to ask?

It probably is, but as far as I can tell, there's no way to reconfigure
the encoder at runtime.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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
|  
Report Content as Inappropriate

Re: FFmpeg changing maximum video bitrate during streaming?

Geek.Song
In reply to this post by Dave Ellis
On Thu, May 18, 2017 at 10:19 PM, Dave Ellis <[hidden email]> wrote:
> Does anyone have any ideas on the question I asked previously?
> Is this list the best place to ask?
>

libx264 does support to change bitrate dynamiclly, but you need do it
by FFmpeg's API

>
>>I'm using the following command to stream video: -
>>
>>ffmpeg.exe -re -i test.avi  -b:v 960k -minrate 960k -maxrate 960k -bufsize
> 240k -an -s 480x640 -r 30 -threads 0 -vcodec libx264  -preset veryfast
> -x264opts keyint=90:no-scenecut=1:min-keyint=90 -vprofile baseline -level
> 3.0 -pix_fmt yuv420p -f rtp rtp://127.0.0.1:62712
>>
>>Is there a way of communicating with FFmpeg whilst it is streaming to
> change the video bitrate?
>>
>>I have looked at the filters and zmq but cannot find anything for the
> video bitrate.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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