[FFmpeg-user] how to send rtmp stream with different encoding setting to rtmp server

qw applemax82 at 163.com
Thu Nov 17 14:33:27 EET 2016


Hi,


I have one question about ffmpeg usage. I have one long-time flv file, i.e. file.flv, and use the following commands to do av transcoding and send it to rtmp server.


ffmpeg.exe -re -i file.flv -c:v copy -c:a copy -f flv rtmp://192.168.183.76:1935/live1/abc
ffmpeg.exe -re -i file.flv -c:v libx264 -v:b 2000k -c:a libfdk_aac -v:a 32k -f flv rtmp://192.168.183.76:1935/live1/abc


How to change the encoding settings in the middle of av transcoding? Then, I can send rtmp stream with different encoding settings.


Thanks!


Regards


andrew



More information about the ffmpeg-user mailing list