Skip to main content
Participating Frequently
December 14, 2012
Answered

VOD works with HTTP but not RTMP

  • December 14, 2012
  • 1 reply
  • 2408 views

I have some FLV videos that I can't get to work with RTMP streaming using the VOD app and Strobe player.  They play just fine locally in VLC media player.  They will also play correctly in the Strobe player if accessed with an HTTP request.  When I try to stream using RTMP, playback appears to be normal and I can seek to any location in the video.  However, playback will randomly stop at various points in the middle of the video.  If I debug the player, I see that NetStreamTimeTrait is getting NetStreamCodes.NETSTREAM_PLAY_COMPLETE.

Can anyone tell me how I might fix the FLV file, or what steps I can follow to figure out why playback is stopping early?

These videos were captured using the Wowza DVR application, and I used an HDS capture utility to recompose the video into an FLV.  The resulting FLV was missing the duration metadata, so I used "yamdi" to inject the missing metadata.  I've also tried "flvfix" utilities with no effect.

This topic has been closed for replies.
Correct answer NpComplete

I tried renaming the video to .mp4 and FLVCheck returns:

12-12-17 09:43:31   Error:  -26 File appears to be FLV with wrong extension.test_md_fixed.mp4

The source of all videos in question is Flash Media Live Encoder which is set to use H.264.  The videos that are failing were captured using Wowza's DVR app and then recomposed using KSV's AdobeHDS script. 

I have other FMLE-sourced videos (also encoded with H.264) which I recorded using the Flash Media Server DVRCast application.  These videos pass FLVcheck and play correctly.


Renaming to .mp4 extension as such won't work.. You will have to some tool to convert your FLV to mp4 videos.

1 reply

Adobe Employee
December 17, 2012

Have you run FLVCheck on these files? Do they pass FLVCheck tests?

N TylerAuthor
Participating Frequently
December 17, 2012

FLVCheck reports:

15517068VIDEO
12-12-17 12:49:01Error:-108Invalid video codec.test.flv

If I open the file in VLC player, It shows the video codec as:

H264 - MPEG-4 AVC (part10) (avc1)

This looks the same as other videos that play correctly.  I also get this warning:

Warning:-101Metadata field 'canSeekToEnd' is either missing or set to falsetest.flv
Adobe Employee
December 17, 2012

H264 is not supported codec for FLV format. FLV format for streaming via AMS supports only On2 and Soreson for Video and MP3/Nellymoser/Speex for Audio.

You need to have your H.264 content in Mp4 format. If you just change the extension to .mp4 and then run FLVCheck - does it still throw error.

Also i did not get what did you mean by "This looks the same as other videos that play correctly" - are you saying other files which fail FLVCheck are playing fine?