Copy link to clipboard
Copied
Hello everyone,
I have making mutli-bitrate streaming in FMS and FFMPGE.
In FFMPEG I create 4 bitrate of source video and publish on the FMS through RTMP protocol (rtmp://my-server/livepkgr/mystreamName1?adbe-live-event=liveevent).
Now all configuration is work currently but sometimes I get this errors:
1- TypeError - Error #1009
2- Argument Error invalid bitrate
This is my FFMPEG syntaxt to create multi-bitrate:
ffmpeg -re -i j:\movie\warz.mkv
-preset ultrafast -threads 1 -vcodec libx264 -b:v 720k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 856*360 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation720p?adbe-live-event=relation
-preset ultrafast -threads 1 -vcodec libx264 -b:v 600k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 856*360 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation360p?adbe-live-event=relation
-preset ultrafast -threads 1 -vcodec libx264 -b:v 350k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 570*240 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation240p?adbe-live-event=relation
-preset ultrafast -threads 1 -vcodec libx264 -b:v 98k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 342*144 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation144p?adbe-live-event=relation
-preset ultrafast -threads 1 -vcodec libx264 -b:v 98k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 342*144 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation98p?adbe-live-event=relation
and this is my F4M file:
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<dvrInfo beginOffset="0" endOffset="1800"></dvrInfo>
<baseURL>http://12.11.1.2/hds-live/livepkgr/_definst_/relation</baseURL>
<media href="relation360p.f4m" bitrate="600"/>
<media href="relation240p.f4m" bitrate="350"/>
<media href="relation144p.f4m" bitrate="128"/>
<media href="relation720p.f4m" bitrate="1932"/>
<media href="relation98p.f4m" bitrate="98"/>
</manifest>
Please advise me to fix this problem
any help will be appreciated
Copy link to clipboard
Copied
Unless you can reproduce the issue in Flash player, i am sorry i can not be of much help to you...