Hi,
How upload video to live stream in RTMPS ?
I try this code in win by FFMPEG . Its ture
How upload video to live stream in RTMPS ?
I try this code in win by FFMPEG . Its ture
B4X:
ffmpeg -re -i video.mp4 -vf "scale=640:480,transpose=1" -vf subtitles=sub.srt -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 600x900 -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -f flv "rtmps://live-upload.site.com:443/rtmp/17897107867023328?s_efg=eyJxZV9ncm91cHMiOnsiaWdfbGl2ZV9lbmFibGVfbGl2ZWRhc2giOnsibGl2ZWRhc2hfbW9kZSI6InByaW1hcnkifSwiaWdfZmJsaXZlX3NlcnZlcl9leHBlcmltZW50Ijp7InNlcnZpY2VfcG9ydCI6 IjE3MDAwIn19fQ%3D%3D&a=ATgXdN_Om_bHjy28"