Skip to main content
January 21, 2009
Answered

Video won't stream. Need help

  • January 21, 2009
  • 7 replies
  • 1246 views
I have a flash video, that will play when localy stored on my hard drive, and it will play as a progressive download (delivered via HTTP), but it will not play if I set it up to stream (delivered via RTMP).

Any thoughts on why this is happening or how I can fix this?

The video is not one I personally created, it was created by one of my partners and sent to me via FTP to load to our CDN. 30 of the 50 files they had sent to us DO STREAM, but the 20 that don't have me baffled.

Any thoughts?

Video Details:
Type: Flash Video File
Size: 5910KB (6052179 bytes)
Media Length: 00:01:54
Video Size: 640x480
Video: FLV4 640x368 [Video]
Audio: MPEG Audio Layer 3 44100Hz stereo 128Kbps [Audio]

Thanks!

Dave
    This topic has been closed for replies.
    Correct answer
    Here is how I fixed the files:

    First I used the FLV Check Tool to determine the error and I came up with -9 which is an Invalid FLV message footer.

    Then I found info on Fixing Flash videos (FLV) for use with Adobe Flash Media Server (FMS) here:
    http://muzso.hu/2008/12/18/fixing-flash-videos-flv-for-use-with-adobe-flash-media-server-fms

    It basically instructs you to use FFMPEG to rewrite the metadata by telling it to copy the video and audio streams over and only write new metadata. So the streams remain untouched (thus video quality stays the same), only the container metadata is regenerated (ie. fixed if it was "broken").

    Here is the FFMPEG line to write into your command line tool:
    ffmpeg -i input.flv -vcodec copy -acodec copy output.flv

    Once I did this and reran FLVCheck Tool, everything passed.

    Now to actually stream the video and see if all is well...

    Thanks everyone for your help!

    Dave

    7 replies

    Correct answer
    January 22, 2009
    Here is how I fixed the files:

    First I used the FLV Check Tool to determine the error and I came up with -9 which is an Invalid FLV message footer.

    Then I found info on Fixing Flash videos (FLV) for use with Adobe Flash Media Server (FMS) here:
    http://muzso.hu/2008/12/18/fixing-flash-videos-flv-for-use-with-adobe-flash-media-server-fms

    It basically instructs you to use FFMPEG to rewrite the metadata by telling it to copy the video and audio streams over and only write new metadata. So the streams remain untouched (thus video quality stays the same), only the container metadata is regenerated (ie. fixed if it was "broken").

    Here is the FFMPEG line to write into your command line tool:
    ffmpeg -i input.flv -vcodec copy -acodec copy output.flv

    Once I did this and reran FLVCheck Tool, everything passed.

    Now to actually stream the video and see if all is well...

    Thanks everyone for your help!

    Dave
    January 22, 2009
    To answer the question about mods and staff.... no, this is a user end forum. On occasion someone from the FMS Engineering team will chime in on a discussion, but for the most part, it's just end users here.
    January 22, 2009
    FLVCheck Tool is a super sweet tool!

    Turns out there is an error -9 which is an Invalid FLV message footer.

    Now back to google to figure out how to fix that. The -m option was not working for me.

    Thanks all for your help!
    January 22, 2009
    Please try using FLVCheck Tool (it is included in the FMS installer ) to confirm (and fix) the file. Among other factors, a common case why an FLV would NOT streamed from FMS is due to absent Metadata information.

    Please let me know if it helps.
    Participant
    January 21, 2009
    Hi Dave,

    Please send me the link to the file you are having the trouble to sream AND the one it works (if it's not heavy), so I can download and forward them to Flash Media Server (FMS) team for farther investigation. Thank you.

    Masanori Oba
    moba@adobe.com
    Flash Authoring QE
    Adobe Systemes, Inc.
    Participating Frequently
    January 21, 2009
    You're not the only one who gets 0 responses, it seems that the majority of threads go un-answered in this forum, including my own!
    January 21, 2009
    Are there moderators or tech staff watching these forums? I ask because on other forums I get relatively quick responses. Odd to get ZERO response.