H264 VOD (sample)
Hi. We have Flash Interactive Server. Using adobe Sample VOD
Client and sample VOD application FLV streams work ok, but MP4
streams return 404 error.
We tried the same with our own h264 and flv, same thing
happens. All files pass flvcheck.
VOD Client writes "connection error" and we get a 404 error
in our logs.
Same happens with other players too. We have tried it with
9.0.115 flash on windows and linux
(progressive download works with same test files. Adobe HD
gallery also works).
Our conclusion is that this is somehow a problem with FMS3,
but it's strange since we didn't change application in any way, so
it should work out of the box.
Has anyone experienced similar issues?
Thanks!
I had everything in the subdir, so that's what confused me.
After setting it to:
rtmp://123.456.789.101/vod/mp4:subdir/subsubdir/some_file.mp4
everything works. I just noticed, this syntax is used in the
demo application (in the dropdown) so it was stupid of me to miss
it.
Similar Messages
-
Flash Media Server 5 - VOD RTMP Streaming Failing in Subfolders
I've setup a default install of FMS5 and can get the sample.flv file to stream with no issues. I can take my FLVs I wish to stream and put them in the /vod/media folder and stream those. The problem I'm having is when I create a subfolder I can no longer access the file for streaming.
The Path looks like this:
/VOD/media/subfolder/lecture1/mediafile.flv
I've tried
rtmp://domain.com/VOD/_definst_/subfolder/lecture1/mediafile.flv
rtmp://domain.com/VOD/subfolder/lecture1/mediafile.flv
Neither seem to work, I've read through several threads that seem indicate _definst_ solves this problem but I can't seem to get that to work.
Any ideas or help would be great.
Thanks in advance.Thanks, still can't seem to get it to stream here's what I have:
The sample.flv file is in this path:
C:\Program Files\Adobe\Adobe Media Server 5\applications\vod\media\sample.flv
My File is:
C:\Program Files\Adobe\Adobe Media Server 5\applications\vod\media\CPAExam\AUD.v18\MonB_020613_08\MonB_020613_08.flv
These calls work:
rtmp://lme-bisk.thomsonreuters.com/vod/_definst_/CPAExam/AUD.v18/MonB_020613_08/sample
rtmp://lme-bisk.thomsonreuters.com/vod/_definst_/CPAExam/AUD.v18/MonB_020613_08/sample.flv
rtmp://lme-bisk.thomsonreuters.com/vod/sample.flv (basically any URL seems to find sample.flv)
Some sample calls that are not working:
rtmp://lme-bisk.thomsonreuters.com/vod/_definst_/CPAExam/AUD.v18/MonB_020613_08/MonB_02061 3_08.flv
rtmp://lme-bisk.thomsonreuters.com/vod/CPAExam/AUD.v18/MonB_020613_08/MonB_020613_08.flv
rtmp://lme-bisk.thomsonreuters.com/vod/_definst_/CPAExam/AUD.v18/MonB_020613_08/MonB_02061 3_08
rtmp://lme-bisk.thomsonreuters.com/vod/CPAExam/AUD.v18/MonB_020613_08/MonB_020613_08
I can't find any URL that will call the MonB_020613_08.flv succesfully. I can however move that file to the vod/media folder and it works fine. We have hundrends of videos in subfolders as indicated above so moving them all too the root media folder won't work as some filenames may repeat.
Thanks again for the help. -
I have a large collection of FLV video files.
I can stream them perfectly via RTMP. I converted one with the offline converter and the resulting f4f file I am able to stream but not to iOS. I get an error on the iPhone when trying to view the video.
I also tried with a FLV file saved from FME. Again I could convert to f4f offline and stream that file but again in iOS it errors.
What would the best method of delivering my FLV collection to iOS? Do they need to be converted? Why does the converted file not stream?
Can you save local FLV files with FME and then VOD them to iOS?
Pretty much the only file I've been able to stream to iOS is the sample files that come with FMS.
Please help!One other crutial bit of info that may be the lightbulb for someone to help.
The sample .f4v files play fine with:
http://localhost/vod/sample.f4v
If I create a .f4f file with the f4fpackager (from a .flv), I rename it to a .f4v file and then I must use this:
http://localhost/hds-vod/myfile.f4v.f4m
How do I create a regular VOD-able f4v file from my catalog of .flv's? -
ERROR "Application (vod) is not defined." when creating new vhosts
I'm testing FMS 4.5 using the developer edition before upgrading our FMS 3.5 servers to 4.5 but for some reason creating new vhosts doesn't seem to work.
I'm following the exact same steps I would take using v3.5 but 4.5 gives this error:
Sep 29 03:34:24 eventstreaming Javascript[31564]: Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, vhost1.somedomain.com) : Application (vod) is not defined.
Here are the steps I've taken:
Made a copy of folder _defaultVHost_/ named vhost1.somedomain.com/ ( inside conf/_defaultRoot_ )
Made an exact copy of the default FMS4.5 applications/ folder at /home/vhost1/public_html/applications
Edited vhost1.somedomain.com/vhost.xml and changed
<AppsDir>${VHOST.APPSDIR}</AppsDir>
TO
<AppsDir>/home/vhost1/public_html/applications</AppsDir>
Edited /home/vhost1/public_html/applications/vod/Application.xml and changed the path to the media files. i.e.
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
TO
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;/home/vhost1/public_html/applications/vod/media</Streams>
Restarted FMS
The VOD application in the default FMS applications folder works fine but the one for the new vhost doesn't. When I try to connect to rtmp://vhost1.somedomain.com/vod/media/sample.flv I get the error
Sep 29 03:34:24 eventstreaming Javascript[31564]: Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, vhost1.somedomain.com) : Application (vod) is not defined.
No other errors are reported in the logs when I strart FMS. Why is the VOD application not working for new vhosts? Either I'm missing something obvious or the developer edition is restricted to one vhost perhaps?I tried same scenario at my end and its working for me. Probably there is something wrong which you are doing. For developer edition you should be able to have 3 vhosts.
Why are you using URI like this: rtmp://vhost1.somedomain.com/vod/media/sample.flv --> it should be rtmp://vhost1.somedomain.com/vod/sample.flv -
Hi,
I am doing somthing FMS.I download the FMS4 and Adobe Flash Midea Encoder3.5 here.
Installed to my PC,they are working without any configure.
and now I want to develop a client base on gstreamer to play the RTMP:// videos.
My client play VOD video on FMS as rtmp://MYIP/vod/sample.flv without any problem.
When I change to play the live video published by Adobe Flash Midea Encoder3.5,rtmp://MYIP/live/livestream.flv,it can start,but stoped after about 2 second.
I make some debug,it seems the server stop to send data to my client.And after this stoped ,it can not start again,must reboot my client;
I have checked the server with rtmpdump + VLC,it works fine.
The Log in FMS is:
Accepted a connection from IP:192.168.0.95, referrer: , pageurl:
Sending error message: Method not found (FCSubscribe).
Sending error message: Response object not found (_result:2147483647).
"Sending error message: Method not found (FCSubscribe)." this display also with rtmpdump.
"Sending error message: Response object not found (_result:2147483647)." this only with my client,what's the reason?
In my client,I see the following after about 2 second:
WARNING: Stream corrupt?!
ERROR: Wrong data size (16717496), stream corrupted, aborting!
What's happen when my client connect to FMS? What's the defference between VOD and LIVE?
Anyone try this with gstreamer?Thanks a lot for you reply;
With your tool link,it can play the live video from the my server;
But my client is based on Linux,and can not support web browser,so I try to implament it with Gstreamer;
I published the video with the default setting of Adobe Flash Media Encoder 2.5,just set video format to H264.
Today,I make some more debug,
please help to analyse it,maybe you can find some thing form the log;
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : 192.168.0.143
DEBUG: Parsed app : live
DEBUG: Protocol : RTMP
DEBUG: Hostname : 192.168.0.143
DEBUG: Port : 1935
DEBUG: Playpath : livestream
DEBUG: tcUrl : rtmp://192.168.0.143:1935/live
DEBUG: app : live
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 558990173
DEBUG: HandShake: FMS Version : 4.0.0.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
Pipeline is PREROLLING ...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/4,0,0,1121>
DEBUG: Property: <Name: capabilities, NUMBER: 255.00>
DEBUG: Property: <Name: mode, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: Property: <Name: data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 4,0,0,1121>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003,nTime: 0x12c
DEBUG: Invoking createStream
DEBUG: FCSubscribe: livestream
DEBUG: Invoking FCSubscribe
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: livestream
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003,nTime: 0x2255100
DEBUG: RTMP_ClientPacket, received: invoke 119 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Call.Failed>
DEBUG: Property: <Name: description, STRING: Method not found (FCSubscribe).>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 162 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetStream.Play.Reset>
DEBUG: Property: <Name: description, STRING: Playing and resetting livestream.>
DEBUG: Property: <Name: details, STRING: livestream>
DEBUG: Property: <Name: clientid, STRING: oAA7AAAA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 156 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetStream.Play.Start>
DEBUG: Property: <Name: description, STRING: Started playing livestream.>
DEBUG: Property: <Name: details, STRING: livestream>
DEBUG: Property: <Name: clientid, STRING: oAA7AAAA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: RTMP_ClientPacket, received: notify 487 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: author, STRING: >
DEBUG: Property: <Name: copyright, STRING: >
DEBUG: Property: <Name: description, STRING: >
DEBUG: Property: <Name: keywords, STRING: >
DEBUG: Property: <Name: rating, STRING: >
DEBUG: Property: <Name: title, STRING: >
DEBUG: Property: <Name: presetname, STRING: Custom>
DEBUG: Property: <Name: creationdate, STRING: Thu Jun 09 08:55:02 2011
>
DEBUG: Property: <Name: videodevice, STRING: Syntek STK1150>
DEBUG: Property: <Name: framerate, NUMBER: 25.00>
DEBUG: Property: <Name: width, NUMBER: 320.00>
DEBUG: Property: <Name: height, NUMBER: 240.00>
DEBUG: Property: <Name: videocodecid, NUMBER: 7.00>
DEBUG: Property: <Name: videodatarate, NUMBER: 200.00>
DEBUG: Property: <Name: avclevel, NUMBER: 31.00>
DEBUG: Property: <Name: avcprofile, NUMBER: 66.00>
DEBUG: Property: <Name: audiodevice, STRING: Realtek HD Audio Input>
DEBUG: Property: <Name: audiosamplerate, NUMBER: 22050.00>
DEBUG: Property: <Name: audiochannels, NUMBER: 1.00>
DEBUG: Property: <Name: audioinputvolume, NUMBER: 100.00>
DEBUG: Property: <Name: audiocodecid, NUMBER: 2.00>
DEBUG: Property: <Name: audiodatarate, NUMBER: 32.00>
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Thu Jun 09 08:55:02 2011
INFO: videodevice Syntek STK1150
INFO: framerate 25.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid 7.00
INFO: videodatarate 200.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: audiodevice Realtek HD Audio Input
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 100.00
INFO: audiocodecid 2.00
INFO: audiodatarate 32.00
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: ignoring too small video packet: size: 2
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: ignoring too small video packet: size: 2
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: ignoring too small audio packet: size: 0
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
WARNING: Stream corrupt?!
ERROR: Wrong data size (8059624), stream corrupted, aborting!
DEBUG: RTMP_ReadPacket, m_nChannel: 167
DEBUG: RTMP_ClientPacket, unknown packet type received: 0xe3
DEBUG: RTMP_ReadPacket, m_nChannel: 6ad6
DEBUG: RTMP_ReadPacket, m_nChannel: 3d7c
DEBUG: RTMP_ClientPacket, unknown packet type received: 0x00
DEBUG: HandleCtrl, received ctrl. type: 8760, len: 6
DEBUG: HandleCtrl, Stream xx -1742407864
DEBUG: RTMP_ClientPacket, unknown packet type received: 0x2a
DEBUG: RTMP_ClientPacket, unknown packet type received: 0x2a
DEBUG: RTMP_ClientPacket, unknown packet type received: 0x2a
DEBUG: RTMP_ClientPacket, unknown packet type received: 0x2a
DEBUG: RTMP_ClientPacket, unknown packet type received: 0x2a
DEBUG: RTMP_ClientPacket, unknown packet type received: 0xff
DEBUG: RTMP_ClientPacket, unknown packet type received: 0xff
DEBUG: RTMP_ReadPacket, m_nChannel: 5260
DEBUG: RTMP_ReadPacket, failed to allocate packet
Got EOS from element "pipeline0".
Execution ended after 69266417190 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
DEBUG: Invoking deleteStream
Setting pipeline to NULL ...
FREEING pipeline ...
After a short transfers,the client can not get the data.It seems that the Connection reset by peer; -
How can i configure FMS to stream h263/4 with mp3 videos?
Hi,
I have installed Flash media server 3.5, and i have put my vod files under
'C:\Program Files\Adobe\Flash Media Server 3.5\applications\vod\media'
the sample file under this folder given by fms 'sample.flv' is playing fine, (this has VP6 as video codec, mp3 as audio)
"rtmp://my_SYSTEM_IP/vod/sampl"
where i have kept my own file called 09.flv which has H263/mp3, and one more 09_1.flv, which has H264/mp3. But both of the files are not streming. When i tried to play these over vlc it sayes file not found.
But sample video plays.
Is there any way to make work vod files to stream? please help...
ThanksHi all,
Thanks for the answer.
as i said, i can play the VP6 codec files like this
rtmp://MY_SYSTEM_IP/vod/filename
but if the file has h264/h263 codec then
rtmp://MY_SYSTEM_IP/vod/filename
will not stream at all.
Also i tried streaming mp3 files
rtmp://MY_SYSTEM_IP/vod/mp3:filenam.mp3
and this does not stream. but
"rtmp://MY_SYSTEM_IP/vod/mp3:filenam.flv" works how come?
When tried of avi, mpeg, mp4, mov files,
"rtmp://MY_SYSTEM_IP/vod/mp4:sample.mpeg", "rtmp://MY_SYSTEM_IP/vod/mpeg:sample.mpeg",
"rtmp://MY_SYSTEM_IP/vod/mp4:sample.mp4",
"rtmp://MY_SYSTEM_IP/vod/mp4:sample.avi" or "rtmp://MY_SYSTEM_IP/vod/avi:sample.avi"
does not work.
Please help. According to the documentation, http://http://www.adobe.com/devnet/flashmediaserver/articles/beginner_vod_fm3.html
both of flv formats VP6, H264 should work. But i am unable to get this work done.
Does anybody tried streaming H264 vod files?
Please help.
Thanks -
Hello everybody,
I know that's a noob question (as I am) but i can't make it run.
I have an mp4 file and the folders structure is....
Application/test/sources/_definst_
in _definst_ source.mp4
in test folder main.asc file
main.asc file contains
var mystream;
var intervalID;
application.onAppStart = function(){
mystream = Stream.get("mylive");
intervalID = setInterval(startPublish,100); / checking every 100 ms if we can start publish
function startPublish(){
if(checkTime() == true){
clearInterval(intervalID ); //clearing the interval so that startPublish won't be called again
myStream.play("mp4:sample.mp4",0,-1,true) //starting the live publish of recorded file sample.mp4
function checkTime(){
myDate = new Date();
if(myDate.getHours() == 21) // This means its 2 PM
return true;
else
return false;
All this stuff doesn't work. When I go to the admin panel and select test under new instance the stream appears on the left side but if press enter on _definst_ it disappears from the column.
What's wrong?
Is possible with this code run that video on ios devices?
Thank you very muchHi,
By default the FMS looks for the media under <application>/streams/_definst_/ and not sources/_definst_/. In case you want to specify the media location then copy the Application.xml from the vod sample application and edit the Streams tag. For eg :
<StreamManager>
<VirtualDirectory>
<!-- Specifies application specific virtual directory mapping for recorded streams. -->
<Streams>/;<root_install>/applications/vod/sources/_definst_/</Streams>
</VirtualDirectory>
</StreamManager>
This should solve your problem. The main.asc is fine.
Hope this helps.
Thanks,
Apurva -
Help installing fms on windows server 2008
Hello,
I have FMS for developper 3.5.4. I have 2 computers:
One called SVR with windows 2008 on it with iis7.
One called PC with windows 7 which is my client.
I would install FMS on the one called SVR beside IIS7.
What I have done:
I install FMS without apache.
I create a flash file with an flvplayback object which have source property set to "rtmp://SVR/vod/sample.flv"
This swf file is in a html file called test.html
When I try to load this test.html I see the flvplayback object which seems seraching. But nothing happened from SVR or PC.
Is it a problem with FMS, with firewall (I open 80,1935 ports).
Thanks to any help or clue !
N. BaulandHi AbhishekSinha,
1) In taskmanager, I have FMSCore (2 instances - is that normal ?), FMSMaster FMSEdge and FMSAdmin.
2) I've tried following address:
FROM SVR:
address
Result
rtmp://localhost/vod/sample.flv
OK
rtmp://localhost:1935/vod/sample.flv
OK
rtmp://svr/vod/sample.flv
OK
rtmp://svr:1935/vod/sample.flv
OK
rtmp://lan-ip-of-svr/vod/sample.flv
OK
rtmp://lan-ip-of-svr:1935/vod/sample.flv
OK
rtmp://wan-ip-of-svr/vod/sample.flv
OK
rtmp://wan-ip-of-svr:1935/vod/sample.flv
OK
rtmp://public-internet-address/vod/sample.flv
OK
rtmp://public-internet-address:1935/vod/sample.flv
OK
FROM PC:
address
Result
rtmp://localhost/vod/sample.flv
FAILED(normal result)
rtmp://localhost:1935/vod/sample.flv
FAILED (normal result)
rtmp://svr/vod/sample.flv
FAILED ????
rtmp://svr:1935/vod/sample.flv
FAILED ????
rtmp://lan-ip-of-svr/vod/sample.flv
OK
rtmp://lan-ip-of-svr:1935/vod/sample.flv
OK
rtmp://wan-ip-of-svr/vod/sample.flv
OK
rtmp://wan-ip-of-svr:1935/vod/sample.flv
OK
rtmp://public-internet-address/vod/sample.flv
OK
rtmp://public-internet-address:1935/vod/sample.flv
OK
As I've tried all previous time with rtmp://svr/... it has failed. But why can't I get rtmp://svr/... address ? http://svr/... for html page works fine.
http://forums.adobe.com/people/AbhishekSinha -
Proxy / Cache server for flash content / videos / stream
hi there,
i've tried to search the web, but so far no straight answer...
we are looking to implement/deploy a proxy server to cache and then serve flash content (published in the internet), so we can reduce our internet bandwidth utilization. Windows Server 2008 has Windows Media Services which have a feature to cache windows media content or split live stream. (http://www.microsoft.com/windows/windowsmedia/howto/articles/cache_proxy.aspx)
is there a similar product to deal with flash content?
thanks in advance for all responses!I'm more or less in the same boat. I've got the admin console
up. I am able to run the vodtest application locally pointing the
video file to rtmp://localhost/vod/sample.flv or using the server
name instead of localhost as in rtmp://mclmedia/vod/sample.flv
I can also load the html and swf file to my xp machine that
has access to the server via our internal network. (DNS isn't
configured yet) But the connectionFailed message appears when I try
to call the videos using rtmp://mclmedia/vod/sample.flv -
On-demand streaming doesn't work
I want to config the on-demand Adobe MEdia Server on Amazon.
I've done all steps from this instruction http://help.adobe.com/en_US/flashmediaserver/amazonec2/WS6fc2df2b6d2ce24359910e2812c396a83 eb-7ff8.2.html, but it doesn't work.
I check the sample video files in player http://www.osmf.org/configurator/fmp/#
For the video
rtmp://ec2-54-234-27-150.compute-1.amazonaws.com//vod/sample.flv
it says 'Buffering' and nothing more
For the video
http://ec2-54-234-27-150.compute-1.amazonaws.com/vod/hds_sample1_manifest.f4m
it says 'We are having problems with playback. We apologize for the inconvenience'
What's the problem?
I checked the player on this page http://ec2-54-234-27-150.compute-1.amazonaws.com , it works fineAsk in the FMS forum.
Mylenium -
This is a question about the Adobe Media Encoder but I couldn't find a forum just for that so I'm trying here.
When I drop a video file (.mov or .mp4) into the Media Encoder and click on the "Preset" link the status changes to "Skip" and Media Encoder freezes up and I can't choose anything. It's not like its crashing or not responding, its like a error message window as popped up but there's nothing actually there. Either way, I can't choose anything, even in the file drop down menus and basically have to "force quit".
Anyone know whats up??I'm not able to stream FLV files using Strobe Media Playback...I can confirm that the RTMP link i'm using is correct, because I can get the video to play using the stock adobe skins from within Flash itself. Here is a test link to an FLV that will not work using Strobe Media Playback:
rtmp://146.189.194.51/vod/sample.flv
All I get is the "buffering" graphic on the player, and it never connects to the server. I've looked at the logs in the admin console and it doesn't even appear that it's attempting to connect to the FMS. -
Hi,
I am developing an app for iPhone/iPad. The client wants to show some realtime data in the app. Something like a chat application, where even if users don't do anything (flash uses no event), they can see what other users are doing in realtime.
I went through adobe site to see Flash media Server for mobile device. But I am confused on which version of the server should suit the type of app I am developing.
Thanks,
SalimI'm more or less in the same boat. I've got the admin console
up. I am able to run the vodtest application locally pointing the
video file to rtmp://localhost/vod/sample.flv or using the server
name instead of localhost as in rtmp://mclmedia/vod/sample.flv
I can also load the html and swf file to my xp machine that
has access to the server via our internal network. (DNS isn't
configured yet) But the connectionFailed message appears when I try
to call the videos using rtmp://mclmedia/vod/sample.flv -
Live Streaming H.264 Video on iOS using AIR
We would like to build an AIR app that plays Streaming H.264 Live/VOD videos that would work through AIR on the iOS platform.
I've seem some traffic on the forums that RTMP will work to iOS - but additionally heard that video applications that use RTMP streams will be rejected by the Apple App store.
I have seen that progressive H.264 will work - but that's not streaming or live.
HLS would work if we use the StageWebView object; however, that provides us little control/monitoring over the video inside of it; and it's not "really" integrated as a video player.
For OSMF there seems to be a 3rd-Party plugin which will allow OSMF to read HLS streams - but (from what I've heard) is incomplete because it doesn't play adaptive nor is it completely updated for OSMF 1.6.1.
I would love to be wrong here - but is there currently a way to play a Streamed H.264 Video to iOS that is non-RTMP?
I've seem little information as to if F4M streamed files played via OSMF will work on iOS.
Thanks for the info in advance.
-WillI pasted a stripped down version of my test app below, that attempts to playback an m3u8 file. This works for me on an IPad2.
Remember to test on the device itself otherwise wont work.
Dependencies:
1. Air 3.1
2. OSMF 1.6.1
3. Flex SDK 4.6.0
renderMode="direct"
HTH
- Abey
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark"
backgroundAlpha="0"
backgroundColor="#000000"
addedToStage="onViewActivate(event)"
applicationDPI="160">
<fx:Script>
<![CDATA[
private var nc:NetConnection;
private var ns:NetStream;
private var video:Video;
private var currentVidUrl:String;
protected function onViewActivate(event:Event):void
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus, false, 0, true);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityErrorHandler, false, 0, true);
currentVidUrl = "http://fmsserver/hls-vod/sample.mp4.m3u8";
nc.connect(null);
private function onNetStatus(evt:NetStatusEvent):void
switch (evt.info.code) {
case "NetConnection.Connect.Success":
ns = new NetStream(nc);
var client:Object = {};
client.onMetaData = onMetaData;
client.onCuePoint = onCuePoint;
client.onBWDone = onBWDone();
ns.client = client;
nc.client = client;
var v:Vector.<StageVideo> = stage.stageVideos;
if (v.length >= 1) {
var stageVideo:StageVideo = v[0];
stageVideo.viewPort = new Rectangle(0, 0, mediaContainer.width, mediaContainer.height);
stageVideo.attachNetStream(ns);
else {
video = new Video();
video.width = mediaContainer.width;
video.height = mediaContainer.height;
mediaContainer.addChildAt(video,0);
video.attachNetStream(ns);
if (currentVidUrl) {
ns.play(currentVidUrl);
break;
case "NetStream.Publish.BadName":
break;
default:
break;
private function onSecurityErrorHandler(event:SecurityErrorEvent):void
protected function onMetaData(item:Object):void
protected function onCuePoint(item:Object):void
protected function onBWDone():void
]]>
</fx:Script>
<mx:UIComponent id="mediaContainer"
height="100%"
width="100%"/>
</s:Application> -
I have installed a FMS to a CentOS server. I created an application here but I cannot connect to it raising a "Connection Error".
I tried testing it by streaming some videos on the samples on vod. I used the "../samples/videoPlayer/videoplayer.htm" which is locally found on my computer that was included when I installed a FMS too on my local computer (Windows). When I try to load a video from my computer's FMS samples it usually works. I used the following Stream URL here:
rtmp://[MY-IP]/vod/sample.flv
But when I try to load a sample vido from the server i still get "Connection Error". I used the following URL
rtmp://[server-ip]/vod/media/mp4:sample.f4v
The file is located at /applications/vod/media/ which is as far as I know, the vod is the application's name and media is an instance name.
Am i doing the right thing here? I want to know if the problem has something to do with the server. And also, is there a sample working Stream URL on the internet that I can use to test?
TIA!Hi,
First of all these tests are inconclusive as they use server hosted by adobe.com or flashguru.com and checks your browser and this does not show your server port status.
Now coming back to your problem. You say that port 80 is open (Did you telnet from the client?) and still your connection does not go through. What status do you get? Is it "NetConnection.Connect.Rejected" or "NetConnection.Connect.Failed". If you are still getting ""NetConnection.Connect.Failed" it is an issue with network and FMS is unreachable. Otherwise there may be issue with application dir.
Are you connecting to the Live application? Check in your live dir, if allowedHTMLdomains.txt or allowedSWFdomains.txt have been configured to accept certain domains.
Please get back with the above info so that I can narrow down your issue.
Thanks,
Abhishek -
Why can't I change the filename on the streaming server?
I ran into an interesting problem and I am unable to find an answer to this.
Here is the issue.
I encoded a file into .flv format. When I stream the file using RTMP protocol, it streams fine. However, if I change the name of the file ( I can explain why I need to do this, but assume that's part of what I need to do in our product) by appending a string, it fails to playback properly ( note: I modify the playback URLto match the new filename).
Example:
rtmp://localhost/vod/sample.flv
2 changes to make
a) change the filename to sample_mystring.flv in the content folder
b) playback rtmp://localhost/vod/sample_mystring.flv
it does not playback the video.
I am scratching my head, because this is not an expected failure. I am left to wonder if the video player ( in this case FLVPlayer) or the RTMP protocol is requiring the original filename in the stream for it to playback.
I am not familiar with the protocol or its inner-workings, but I hope someone here has some experience or thoughts to help me figure this out. I am stuck.
Thanks for your help!I am back to testing this again, and I have the same issues
I have tried the entries as follows
<VirtualDirectory>
<!-- Specifies application specific virtual directory mapping for recorded streams. -->
<Streams>/;w:\files</Streams>
</VirtualDirectory>
<VirtualDirectory>
<!-- Specifies application specific virtual directory mapping for recorded streams. -->
<Streams>/\\remoteserver\files</Streams>
</VirtualDirectory>
I also checked that the FMS host has access to the remote folder by first sharing the remote folder and
a) creating a common network user "fmsuser" who has access to the remote folders
b) fms startups with log in as "fmsuser".
I can't see the remote files play back. However, the local files play just fine. I also verified that the file is OK using "flvcheck.exe" in the tools directory.
Thanks for your help
Maybe you are looking for
-
Hi Gurus, I have this problem, I am trying to sort a internal table with the syntax after endselect statement and before read table statement SORT ITAB_SBOOK BY NAME name is a field in the table of type CHAR length 25 in actual table and here is how
-
LG Cosmos 2 - volume is too loud even on lowest setting
Hi, I recently got the LG Cosmos 2 and so far I'm fairly pleased with it. The only thing that bothers me is that the volume is very loud even when I set it to the lowest setting. This applies to both the external speaker volume and the headphones vol
-
Photo titles in Apple TV 2?
Am I missing a setting somewhere? How can I get my photo titles to show up on my Apple TV2? It seems only logical that I should be able to somehow see them when I see them either via the web (Mobile Me) or on my iPhone (Gallery) when synched from iPh
-
What are the components & support package levels required in 4.7 to extract
Hi All, In my landscape we have ECC 6.0 and 4.7EE, as of now we are extracting data from ECC 6.0 to BI 7.0.Now we have requirement to extract data from 4.7EE. Could you please suggest me what are the components & support package levels required in 4.
-
Stateful beans in cache doesn't seem to work
I have a stateful bean that I have set max beans in cache to "1". When I deploy it, no errors reported or so, the Weblogic console still states "8" in the column "Cached Beans Current Count" when monitoring the bean. When I view the descriptor in the