Skip to main content
Inspiring
October 27, 2014
Question

TypeError - Error1009

  • October 27, 2014
  • 0 replies
  • 306 views

Attention please (New finding)

In AMS version 5 two errors including: TypeError - Error #1009 and Argument Error invalid-bitrate happens but these errors wont happen in FMS 4.5.


Below are the explanations regarding the two errors in AMS version 5 extended edition.

1- When I make multi-bitrate from a video and stream them live on Flash Media Server my users can play this videos in "http live streaming" but   sometimes when the second or the third user wants to play this live streams at the same time, previous user becomes DISCONNECTED and gets the Error invalid-bitrate

2- I am making mutli-bitrate streaming in FMS and FFMPGE. In FFMPEG, I create 4 bitrates of source video and publish it on the FMS through RTMP protocol (rtmp://my-server/livepkgr/mystreamName1?adbe-live-event=liveevent).

Now all configurations are working correctly but I get this error: TypeError - Error #1009

Please advise how to correct the above errors in AMS version 5

My codes are as follow

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

The F4m codes are as follow

<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>

    This topic has been closed for replies.